Skip to contents

Analyse the dangerosity of the simulation

Usage

compute_danger(result_h, opening, room, bound, dt_max, t_max)

Arguments

result_h

matrix containg water level in rooms associated with their time

opening

hydraulic part of the model, containing informations on the exchange

room

hydraulic part of the model, containing informations on the rooms

bound

numeric, matrix of floodwater depth heights by instant t for each exterior opening exposed to flooding

dt_max

numeric, optional; maxmimum timestep for simulation

t_max

numeric, duration of the flood event in seconds, optional; if not provided, calculated using limnigraph

Value

matrix of dangerosity for all openings