Support non-structural losses
Currently, risk calculators only consider structural costs and losses. The user should be allowed to provide an exposure containing costs not only for the physical structure of an asset but also for the contents (e.g. equipment), non structural components (e.g. water plumbers) and occupants as well. Then, given in input distinct vulnerability models for each type of costs the risk calculators will compute their standard outcomes for each type of costs. E.g.
structural_
contents_
occupants_
non_structural_
For the last one, the exposure schema needs to be modified to include the value of non structural components.
In the case of computing losses for occupants, the user should be able to specify multiple occupants value for an asset each one identified by a time value, e.g.
<occupants description=
<occupants description=
<occupants description=
In the case of the scenario calculator a specific value could be choosen. In the other calculators, the mean value is used.
Implementation suggestion: In order to avoid moving the same hazard data we should avoid distributing the computation over kind of losses.