Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Asset Model

ERAD defines defines two classes, AssetState and Asset, which model the state and characteristics of an asset in relation to various hazard models. AssetState calculates survival probabilities based on hazard vectors like earthquake, fire, wind, and flood, while Asset manages the asset’s attributes and updates its survival probability using fragility curves.

An example of the asset model can be built using the example method

from erad.models.asset import Asset

asset = Asset.example()
asset.pprint()
Loading...

Asset survival probability is updated using the update_survival_probability methods. This method as input, the fragility curves and hazard model.

from erad.systems import AssetSystem

asset_system = AssetSystem(auto_add_composed_components=True)
asset_system.add_component(asset)
asset_system.info()
Loading...
Loading...