Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Power Example for EQ (E16) and moveE16 to E15 #37

Merged
merged 2 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ E16 - Water Distribution Network and Performance Assessment
===============================================

+-----------------+------------------------------------------------------------+
| Download files | :examplesgithub:`Download <E16WDNRecoveryAndPerformanceAssessment/>` |
| Download files | :examplesgithub:`Download <E15WDNRecoveryAndPerformanceAssessment/>` |
+-----------------+------------------------------------------------------------+

This example demonstrates the performance assessment of water distribution systems using REWET. REWET is designed to evaluate the functionality of a water distribution system following catastrophic events that cause damage to the infrastructure. The method is outlined in the dissertation by Naeimi Dafchahi, S., & Davidson, R. A. (2023), titled "Post-event restoration simulation of water distribution systems: a generally applicable approach."
Expand All @@ -14,7 +14,7 @@ For the purposes of this example, we will consider an earthquake as the baseline
:width: 400px
:align: center

In the following steps, we will guide you through each stage of the assessment. However, as outlined in the online user's manual, these procedures can be serialized to and loaded immediately from a JSON file, which for this example may be found :examplesgithub:`here <E16WDNRecoveryAndPerformanceAssessment/input.json>`. We can open the input.json file using R2D so that the following panels are set.
In the following steps, we will guide you through each stage of the assessment. However, as outlined in the online user's manual, these procedures can be serialized to and loaded immediately from a JSON file, which for this example may be found :examplesgithub:`here <E15WDNRecoveryAndPerformanceAssessment/input.json>`. We can open the input.json file using R2D so that the following panels are set.

#. **VIZ** The visualization panel in the following figure shows the location of the assets considered in this example.

Expand Down
103 changes: 103 additions & 0 deletions E16ElectricPowerEarthquake/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

E16 - Power Damage Assessment Under Earthquake Harzard
===============================================

+-----------------+------------------------------------------------------------+
| Download files | :examplesgithub:`Download <E16PowerEQHAZUS/>` |
+-----------------+------------------------------------------------------------+

This example demonstrates the damage assessment of electrical power network due to ground shaking and failure caused by earthquake using the HAZUS methodology.
To achieve this, use data that are already provided from BRAILS. The event data is generated using the Regional Earthquake Event Generation tool.
The damage assessment is performed using the PELICUN damage model - inline with HAZUS methodology.

.. figure:: r2dt-0016.png
:width: 400px
:align: center

In the following steps, we will guide you through each stage of the assessment. However, as outlined in the online user's manual, these procedures can be serialized
to and loaded immediately from a JSON file, which for this example may be found :examplesgithub:`here <E16PowerEQHAZUS/input.json>`. We can open the input.json file using R2D so that the following panels are set.

#. **VIZ** The visualization panel in the following figure shows the location of the assets considered in this example.

.. figure:: figures/r2dt-0016-VIZ.png
:width: 800px
:align: center


#. **GI** Generally, the unit system and asset type are prescribed in this panel. However, in this example, we use an INP file for the WDN input and the unit specified in the INP file. We are considering Water Distribution Network as asset types, and we are interested in the **engineering demand parameters**.

.. figure:: figures/r2dt-0016-GI.png
:width: 800px
:align: center

#. **HAZ** In our assessment of electrical power network, we utilize the **Regional Earthquake Event Generation tool** from the Regional Resilience Determination (R2D) Tool.
This specific tool allows us to generate intensity measures (IMs) for earthquake events (e.g., PGA, PGD due to liquifaction, etc.).
The usage of the tool is explained :ref:`here<ground_motion_tool>`, so we won't go into explaining the details.
Once we have created these IM values using the tool, we can employ them for damage estimation within the R2D framework.

.. note:: Alternatively, users have the flexibility to provide IM values generated by other models, as long as they adhere to an acceptable format.
.. note:: Units are set according to the explanation in the Regional Earthquake Event Generation tool :ref:`documentation<ground_motion_tool>`.

.. figure:: figures/r2dt-0016-HAZ.png
:width: 800px
:align: center


#. **ASD** An electrical power network consists of generation, subtations, distribution/transfer towers in teh HAZUS methodology.
Consequently, GEOJSON to Asset tool is selected to translate such information, provided by BRAILS, to assets for R2D tool in its backend.

.. figure:: figures/r2dt-0016-ASD.png
:width: 800px
:align: center

#. **HTA** In the ‘Hazard to Asset’ tab, the user specifies the method for hazard mapping.
We select the **Nearest Neighbor** method. Next, we provide the number of IM samples, and the number of neighbors from which
the values are assessed at each asset’s location, as shown in the following figure. We leave the random seed as it is.

.. figure:: figures/r2dt-0016-HTA.png
:width: 800px
:align: center

#. **MOD** We do not modle teh response of any of teh asset elements in electrical power network damage assesment due to earthquake.
Thus, we select **None** from the dropdown menu on **Power Network Modeling**.

.. figure:: figures/r2dt-0016-MOD.png
:width: 800px
:align: center

#. **ANA** In the analysis panel, **IMasEDP** is selected from the primary dropdown for the Water Distribution Network.

.. figure:: figures/r2dt-0015-ANA.png
:width: 600px
:align: center

#. **DL** We selected **PELICUN** for damage modeling in the context of WDN (Water Distribution Network) systems. Since the damage estimates rely on IM (Intensity Measure) values, we employ the HAZUS MH EQ IM method. The sample size specifies the number of damage samples. For the remaining aspects, we maintain them as they are.

.. figure:: figures/r2dt-0015-DL.png
:width: 800px
:align: center

#. **SP** We do not use the **System Performance** for thsi example as this example is only about the damage assessment. Thus, we select **None** from the dropdown menu.

.. figure:: figures/r2dt-0016-SP.png
:width: 800px
:align: center

#. **UQ** For this example the UQ dropdown box should be set to None

.. figure:: figures/r2dt-0016-UQ.png
:width: 800px
:align: center

#. **UQ** The random variable panel will be left empty for this example.

.. figure:: figures/r2dt-0016-RV.png
:width: 800px
:align: center

#. **Result** This tab is designed to provide general results to the user. A power user may utilize the raw data provided by R2DTool to produce the specific data they need.
Results for electrical power damage assessemnt due to mean state of the assets.

.. figure:: figures/r2dt-0016-Result.png
:width: 800px
:align: center
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
171 changes: 171 additions & 0 deletions E16ElectricPowerEarthquake/input.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"Applications": {
"Assets": {
"PowerNetwork": {
"Application": "GEOJSON_TO_ASSET",
"ApplicationData": {
"Circuit": {
"filter": "1-100"
},
"Generation": {
"filter": "1-100"
},
"Substation": {
"filter": "1-100"
},
"assetSourceFile": "input_powerdata.geojson",
"pathToSource": "{Current_Dir}/input_data"
}
}
},
"DL": {
"PowerNetwork": {
"Application": "Pelicun3",
"ApplicationData": {
"DL_Method": "HAZUS MH EQ IM",
"Realizations": 5,
"auto_script": "PelicunDefault/Hazus_Earthquake_IM.py",
"coupled_EDP": true,
"detailed_results": false,
"ground_failure": false,
"log_file": true,
"regional": "true"
}
}
},
"EDP": {
"Buildings": {
"Application": "StandardEarthquakeEDP",
"ApplicationData": {
}
}
},
"Events": [
{
"Application": "SimCenterEvent",
"ApplicationData": {
},
"EventClassification": "Earthquake"
}
],
"Modeling": {
"PowerNetwork": {
"Application": "None",
"ApplicationData": {
}
}
},
"RegionalEvent": {
"Application": "UserInputGM",
"ApplicationData": {
}
},
"RegionalMapping": {
"PowerNetwork": {
"Application": "NearestNeighborEvents",
"ApplicationData": {
"neighbors": 4,
"samples": 5,
"seed": 510
}
}
},
"Simulation": {
"PowerNetwork": {
"Application": "IMasEDP",
"ApplicationData": {
}
}
},
"SystemPerformance": {
"PowerNetwork": {
"Application": "None",
"ApplicationData": {
}
}
},
"UQ": {
}
},
"Assets": {
"PowerNetwork": {
}
},
"Author": "SimCenter",
"DL": {
"PowerNetwork": {
}
},
"DefaultValues": {
"driverFile": "driver",
"edpFiles": [
"EDP.json"
],
"filenameDL": "BIM.json",
"filenameEDP": "EDP.json",
"filenameEVENT": "EVENT.json",
"filenameSAM": "SAM.json",
"filenameSIM": "SIM.json",
"rvFiles": [
"SAM.json",
"EVENT.json",
"SIM.json"
],
"workflowInput": "scInput.json",
"workflowOutput": "EDP.json"
},
"Modeling": {
"PowerNetwork": {
}
},
"Name": "Power Network",
"RegionalEvent": {
"eventFile": "EventGrid.csv",
"eventFilePath": "{Current_Dir}/input_data/IMs",
"units": {
"PGA": "g"
}
},
"RegionalMapping": {
"PowerNetwork": {
}
},
"Simulation": {
"PowerNetwork": {
"type": "IMasEDP"
}
},
"SystemPerformance": {
"PowerNetwork": {
}
},
"UQ": {
},
"WorkflowType": "Parametric Study",
"assets": {
"buildings": false,
"gas": false,
"power": true,
"soil": false,
"transportation": false,
"waste": false,
"water": false
},
"commonFileDir": "input_data",
"outputs": {
"AIM": false,
"DM": true,
"DV": true,
"EDP": true,
"IM": false
},
"randomVariables": [
],
"runType": "runningLocal",
"type": "Earthquake",
"units": {
"force": "kips",
"length": "ft",
"time": "sec"
}
}
3 changes: 3 additions & 0 deletions E16ElectricPowerEarthquake/input_data/Crew_Data/Net3DA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DistYardID,Curr.-X-Coord,Curr.-Y-Coord,Home-X-Coord,Home-Y-Coord,Number,Shift
Northern,10,10,10,10,1,D
Northern,10,10,10,10,1,N
3 changes: 3 additions & 0 deletions E16ElectricPowerEarthquake/input_data/Crew_Data/Net3RA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DistYardID,Curr.-X-Coord,Curr.-Y-Coord,Home-X-Coord,Home-Y-Coord,Number,Shift
Northern,20,20,20,20,1,D
Northern,20,20,20,20,1,N
Loading