tcra.functionality package

Submodules

tcra.functionality.Functionality module

The tcra functionality analysis module contains function to estimate functionality of buildings by connecting performance of building and electrical system.

calculate_fs(df, dmg_col, dmg_epn_col)[source]

this function estimates functionality of buildings.

Parameters:
  • dmg_col – building inventory with damage state of building

  • dmg_epn_col – electrical system inventory with failure state

Returns:

functionality of building

Return type:

FS

Module contents