pelicun.tests.dl_calculation.e9.custom_pop

Functions

auto_populate(aim)

Populates the DL model for tsunami example using custom fragility functions

pelicun.tests.dl_calculation.e9.custom_pop.auto_populate(aim)[source]

Populates the DL model for tsunami example using custom fragility functions

Assumptions: * Everything relevant to auto-population is provided in the Buiding Information Model (AIM). * The information expected in the AIM file is described in the parse_AIM method.

Parameters:
aim: dictionary

Contains the information that is available about the asset and will be used to auto-populate the damage and loss model.

Returns:
GI_ap: dictionary

Contains the extended AIM data.

DL_ap: dictionary

Contains the auto-populated loss model.