Support for non structural losses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
Critical
|
matley |
Bug Description
The user should be able to specify multiple vulnerability files instead of a single one. E.g.
structural_
occupants_
contents_
non_structural_
These 4 params substitute the old one ("vulnerability
Additionally for the scenario calculator a new parameter, time_event, is required only if contents_
time_event = day
It is used to get the proper occupants value from the exposure file.
If an exposure lacks some value (e.g. no occupants but occupants_
For each kind of output (e.g. LossCurve) we will end up with a final output for each vulnerability model specified.
Therefore, if previously we had x loss curve set, we will end up with (at most) 4 x loss curve set (one for each vulnerability file specified).
Changed in oq-engine: | |
status: | In Progress → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/gem/ oq-engine/ pull/1168