Electric power facility repair cost#
Description
This analysis estimates the repair costs of electric power facilities for different simulation scenarios based on their damage states, replacement costs, and damage ratios.
Contributors
Implementation: Hesam Talebiyan, Chen Wang, and NCSA IN-CORE Dev Team
Input Parameters
key name |
type |
name |
description |
---|---|---|---|
|
|
Result name |
Name of the result dataset. |
|
|
Number of CPUs |
If using parallel execution, the number of cpus to request. |
Input Datasets
key name |
type |
name |
description |
---|---|---|---|
|
Electric Power Facilities |
Electric Power Facilities. |
|
|
Replacement Cost |
Repair cost of the node in the complete damage state (= Replacement cost). |
|
|
Sample Damage States |
Sample damage states from Monte Carlo Simulation. |
|
|
Damage Ratios Table |
Damage Ratios Table. |
Output datasets
key name |
type |
name |
description |
---|---|---|---|
|
Repair Cost |
A csv file with repair cost and budget for each electric power facility. |
(* required)
Execution
code snippet:
client = IncoreClient()
# Create electric power facility repair cost analysis
epf_repair_cost = EpfRepairCost(client)
epf_repair_cost.load_remote_input_dataset("epfs", epf_id)
epf_repair_cost.load_remote_input_dataset("replacement_cost", replacement_cost_id)
# Can be chained with MCS
epf_repair_cost.load_remote_input_dataset("sample_damage_states", sample_damage_states_id)
# damage ratios
epf_repair_cost.load_remote_input_dataset("epf_dmg_ratios", epf_dmg_ratios_id)
epf_repair_cost.set_parameter("result_name", "test_epf")
epf_repair_cost.set_parameter("num_cpu", 4)
# Run Analysis
epf_repair_cost.run_analysis()
full analysis: epf_repair_cost.ipynb