Skip to main content

Cordons in Recovery Assessments of Neighborhoods following Earthquake Simulations

What is it?

cranes is a Python package that implements the recovery simulation framework described in Hulsey, A.M., Baker, J.W., Deierlein, G.G. (2021) "High-resolution post-earthquake recovery simulation: Impact of safety cordons." Earthquake Spectra. (In Review)

What can I use it for?

cranes performs post-earthquake recovery assessments at the community-level, using a building inventory (with accompanying vulnerability profiles) and regional ground motion maps to simulate damage, the resulting safety cordons around tall buildings with impaired collapse safety, and the recovery process for each building in the community. The results are presented as recovery curves that quantify the cumulative loss in building functionality across the community as a function of time. The full set of recovery curves reflects the uncertainty in both the shaking intensity due to a scenario earthquake and the vulnerability of the buildings to the shaking. These results are further distilled into scalar metrics for the expected loss of functionality in the first year and the probability of achieving the community's recovery targets. These metrics are useful for investigating the efficacy of various mitigation strategies to expedite recovery.

How does it work?

cranes simulates many realizations of community damage and recovery to account for the uncertainty in both the shaking intensity due to a scenario earthquake and the vulnerability of the buildings to the shaking. This method of handling uncertainty (known as Monte Carlo simulation) is consistent with many state of the art practices for individual building performance assessments (e.g FEMA P-58). Each community realization is based on a unique ground motion map, sampled from a set of maps that collectively represents the potential variability in shaking intensities that could be generated by the scenario earthquake. (See the seaturtles Python package for more details.) The uncertainty of each building's vulnerability to ground shaking is represented by a "vulnerability profile" - set of stored FEMA P-58 realizations for the potential range of post-earthquake conditions. Each building's condition is sampled from its vulnerability profile, based on the map's relevant shaking intensity (considering the site location, soil conditions, and the building period). Once each building's post-earthquake condition is sampled, safety cordons are assigned to tall buildings with impaired collapse safety. The presence of these cordons is then included among each neighboring building's impeding factors that must be resolved prior to initiating building repairs. (See the REDi methodology for details on simulating the impeding factor durations.) The impeding factor durations and repair times are summed to obtain recovery times for each building, which can then be aggregated to track the community recovery over time.

How can I get started?

You can get oriented with the example hosted at DesignSafe, doi:10.17603/ds2-dpam-dm40.

The outputs folder contains results of the case study in Hulsey et al. (2021):

  • case_study_results.h5: results of the case study
  • median_ground_motion_comparison_results.h5: results without considering the variability of the ground motions

You can explore these results using the Jupyter Notebooks included in the journal figures folder. While they were created to produce the figures in Hulsey et at. (2021), they also serve as an orientation for accessing, viewing, and understanding the data.

The inputs folder contains the data used to simulate the case study results.

  • SF_Downtown_Inventory.csv: locations and attributes of each buildings in the case study area
  • Mw7.2_SanAndreas_GroundMotionMaps.h5: simulated ground motion maps
  • Vulnerabilities_original.h5: building vulnerability profiles for each building
  • Vulnerabilities_retrofits.h5: building vulnerability profiles, assuming the retrofitted buildings conform to current design requirements

You can use these inputs to re-simulate the results via the Run Recovery Simulation Jupyter Notebook. Note that the analysis is probabilistic so the new results will not be identical to those in case_study_results file. Alternatively, you can modify the assumptions in each analysis case to consider other mitigation strategies or sensitivity analyses or import your own input files. It would be helpful to explore how each analysis case is stored in the results file before making modifications.

Installation

cranes is available at the Python Package Index (PyPI). You can simply install it using pip as follows:

pip install cranes

License

cranes is distributed under the MIT license, see LICENSE.

Contact

Anne Hulsey, University of Auckland, anne.hulsey@auckland.ac.nz

Metadata

Release files for cranes 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cranes 1.0.0
File Size Uploaded
cranes-1.0.0.tar.gz 23.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cranes 1.0.0
File Interpreter ABI Platform
cranes-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.2 kB

Release files / cranes-1.0.0.tar.gz

Download URL cranes-1.0.0.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
04e32a9d5f0ad222308d8c2afb9d18bd44f6fb22ae8e3b9f295fbc5b4e869f5a
BLAKE2b-256 checksum
How to use checksums
2bfce225dd02ed7a314a95de86ae68da174c24e40b540cafedd274130a71d0c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.6.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

Release files / cranes-1.0.0-py3-none-any.whl

Download URL cranes-1.0.0-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5dcf569025a3f30dc2c96e292a7dd975a581e0f2d409463c7888be032201b3b
BLAKE2b-256 checksum
How to use checksums
ab4083382f287fdde2ced6050dcff838bdcf1e9f115c4503ddeea91f26129446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.6.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page