Skip to contents

Analyse the hydraulics of the model

Usage

compute_hydraulic(
  opening,
  room,
  bound,
  dt_max,
  t_start = 0,
  t_max,
  r_names_to_merge = NULL,
  detail = TRUE
)

Arguments

opening

data.frame, containing informations on the openings, coming from the hydraulic part of the model

room

data.frame, containing informations on the rooms, coming from the hydraulic part of the model

bound

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

dt_max

numeric, optional; maximum timestep for simulation

t_start

numeric, start time of the simulation

t_max

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

r_names_to_merge

list of room vectors to be merged

detail

boolean, if FALSE only return hmax

Value

lists of hydraulic values: water exchange through openings and floodwater depth in rooms