Skip to main content

Tool for Recovery Estimation And Downtime Simulation of buildings

Project description

TREADS: Tool for Recovery Estimation And Downtime Simulation of buildings

Introduction

treads is a Python package to evaluate earthquake induced downtime and model recovery of buildings. This tool implements the framework presented in:

Molina Hutt, C., Vahanvaty, T. and Kourehpaz, P. (2021). “An analytical framework to assess earthquake induced downtime and model recovery of buildings.” Earthquake Spectra, Accepted.

This tool is fully compatible with SimCenter’s tool for loss assessment, i.e., pelicun (https://github.com/NHERI-SimCenter/pelicun)

Requirements

treads runs under Python 3.6+. The following packages are required for it to work properly:

numpy pandas os sys more_itertools json

You can install these using pip.

Installation

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

pip install treads

Basic Demo

import DT_calculation 	# refer to "Example" folder

input_parameters = 'input_parameters.json'
RCtable_input = 'Repair_Class_Table.csv'
IF_delays_input = 'IF_delays_input.csv'

DMG_input = 'DMG.csv' 	# pelicun output
DL_summary_input = 'DL_summary.csv' 	# pelicun output
DV_rec_time_input = 'DV_rec_time.csv' 	# pelicun output

output_path = '**insert output directory here**'

DT_calculation.run_treads(input_parameters, RCtable_input, IF_delays_input, DMG_input, DL_summary_input, DV_rec_time_input, output_path)

Outputs

treads estimates earthquake-induced downtime to achieve Functional Recovery (FR), Re-Occupancy (RO), and Shelter-in-Place (SiP) post-earthquake recovery states for residential buildings. The following output files will be generated once you run treads:

  • RC_component.csv: Component repair class matrix.
  • DT_summary.csv: 10th percentile, 90th percentile, median, and mean downtime estimates.
  • RS_stats.csv: Probability of a building not achieving different recovery states immediately after an earthquake.
  • DT_stepfunc_xx.csv: Governing recovery trajectories to each recovery state (xx= FR, RO, SiP).
  • DT_path_xx.xlsx: Recovery trajectories to each recovery state for each repair path (xx= FR, RO, SiP).
  • RT_stepfunc_xx.xlsx: Repair time stepping functions for each repair sequence when each recovery state is achieved (xx= FR, RO, SiP).
  • RT_RSeq_xx.csv: Repair time per story for each repair sequence when each recovery state is achieved (xx= FR, RO, SiP).
  • IF_delays.csv: Impeding factor delays.

Tutorials

YouTube tutorials coming soon.

Contact

Pouria Kourehpaz, University of British Columbia, Vancouver, BC, Canada. email: pouria.kourehpaz@ubc.ca

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treads-1.0.1.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treads-1.0.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file treads-1.0.1.tar.gz.

File metadata

  • Download URL: treads-1.0.1.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for treads-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a6d2f849a72d3fda18252f3a6adf2e4232bc75aeaabb677aae169e48249bc03e
MD5 c14c87770824280f7eec69642c5dc1a6
BLAKE2b-256 0e24ba5daa66463b7545317e3a5c7c529765d810b6086419034d978694330538

See more details on using hashes here.

File details

Details for the file treads-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: treads-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for treads-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b4fc5f7368105a9c75ba3399dc5b8277f865e36ae49cb62c937bfc56e4145f5
MD5 f9d91563e2f3a4539e46f688660baa33
BLAKE2b-256 e3e6b030563d193a4efe18f917e26a55019aebcab03b1a56f6c10877d0ce5bf5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page