Deltares / ra2ce

RA2CE helps to quantify resilience of critical infrastructure networks, prioritize interventions and adaptation measures and select the most appropriate action perspective to increase resilience considering future conditions.
https://deltares.github.io/ra2ce/
Other
11 stars 2 forks source link

Hazard name is parsed wrongly for AggregateWlEnum.MEAN #569

Closed sahand-asgarpour closed 2 months ago

sahand-asgarpour commented 2 months ago

Ra2ce version checks

Reproducible example

all_agg_types = { "max": "maximum", "min": "minimum", "mean": "average", "fr": "fraction of network segment impacted by hazard", }

Current behaviour

results in saving g EVi_av or dam_x_av in hazard names and look for these attributes to find the inundated links or segments. This search will not find any impacted links and results in incorrect analyes (e.g., losses, redundancy, ...).

Desired behaviour

all_agg_types = { "max": "maximum", "min": "minimum", "mean": "mean", "fr": "fraction of network segment impacted by hazard", }

Additional context

No response