gem / oq-engine

OpenQuake Engine: a software for Seismic Hazard and Risk Analysis
https://github.com/gem/oq-engine/#openquake-engine
GNU Affero General Public License v3.0
377 stars 273 forks source link

Make the consequence module more generic and flexible #7162

Open micheles opened 2 years ago

micheles commented 2 years ago

The script in oq-risk-tests by @raoanirudh does not work with engine 3.12+ for several reasons (changed sap, changed the datastore, moved modules around). A good idea would be to integrate it in the engine since now the event based damage calculator is a lot more powerful that it was in the past. This is a lot of work.

raoanirudh commented 1 year ago

For a generic and flexible consequence module, we would need to handle the following things cleanly and consistently:

nicolepaul commented 1 year ago

Please note that the homeless calculations should be using residents (and not occupants_avg or occupants_night). More background here: https://github.com/gem/oq-engine/issues/8788