Building damage#
Description
This analysis computes building damage based on a particular hazard. Currently supported hazards are: earthquake, tsunami, tornado, hurricane and flood.
The process for computing the structural damage is similar to other parts of the built environment. First, a fragility is obtained based on the hazard type and attributes of the building. Based on the fragility, the hazard intensity at the location of the building is computed. Using this information, the probability of exceeding each limit state is computed, along with the probability of damage. For the case of an earthquake hazard, soil information can be used to modify the damage probabilities to include damage due to liquefaction.
The outputs of this analysis are CSV file with probabilities of damage and JSON file with information about hazard and fragilities.
Input parameters
key name |
type |
name |
description |
---|---|---|---|
|
|
Result name |
Name of the result dataset. |
|
|
Hazard type |
Hazard type (earthquake, tsunami, tornado, hurricaneWindfields). |
|
|
Hazard id |
ID of the hazard from the Hazard service. |
|
|
Fragility key |
Fragility key used in mapping dataset. |
|
|
Liquefaction |
Use liquefaction, if applicable to the hazard. |
|
|
Uncertainty |
Use hazard uncertainty. |
|
|
Seed |
Initial value to seed the random number generator. |
|
|
Number of CPUs |
Number of CPUs used for parallel computation. |
|
|
Liquefaction id |
Liquefaction geology/susceptibility dataset id. |
Input datasets
key name |
type |
name |
description |
---|---|---|---|
|
|
Building dataset |
A building dataset. |
|
DFR3 Mapping Set |
DFR3 Mapping Set. |
|
|
Retrofit Strategy |
Building retrofit strategy that contains guid and retrofit method. |
Input Hazards
key name |
type |
name |
description |
---|---|---|---|
|
|
Hazard |
Supported hazard object for using local and remote hazards. |
Output datasets
key name |
type |
parent key |
name |
description |
---|---|---|---|---|
|
|
Results |
A dataset containing results |
|
|
|
Results |
Information about applied hazard value and fragility |
(* required)
Execution
code snippet:
# Create building damage
bldg_dmg = BuildingDamage(client)
# Load input dataset
bldg_dmg.load_remote_input_dataset("buildings", bldg_dataset_id)
# Load fragility mapping
fragility_service = FragilityService(client)
mapping_set = MappingSet(fragility_service.get_mapping(mapping_id))
bldg_dmg.set_input_dataset('dfr3_mapping_set', mapping_set)
# Specify the result name
result_name = "memphis_bldg_dmg_result"
# Set analysis parameters
bldg_dmg.set_parameter("result_name", result_name)
bldg_dmg.set_parameter("hazard_type", hazard_type)
bldg_dmg.set_parameter("hazard_id", hazard_id)
bldg_dmg.set_parameter("num_cpu", 10)
# Run building damage analysis
bldg_dmg.run_analysis()
full analysis: building_dmg.ipynb