Skip to contents

The function searches for the python module that calculates the indoor hydraulic behavior, passes values to the hydraulic model and returns results

Usage

py_simulate_hydraulics(
  dataexch,
  datarooms,
  databound,
  dtmax = 0.5,
  t = 0,
  tmax,
  ID,
  envname
)

Arguments

dataexch

numeric, matrix of openings and their dimensions

datarooms

numeric, matrix of room dimensions

databound

numeric, limnigraph describing the flood event

dtmax

numeric, simulation time step, default to 0.5 (default value fixed by Pascal Finaud-Guyot. Non-modifiable without adjusting python model)

t

numeric, time step where the flood event starts, default to 0

tmax

numeric, time step where the flood event ends

ID

character, simulation ID

envname

character; name of the python's virtual environment.

Value

data.frame of hydraulic values: water exchanges through openings and floodwater depth in rooms