Outfall.initial_depth#
- property Outfall.initial_depth#
Get/set node initial depth.
- Returns:
Parameter Value
- Return type:
Examples:
>>> from pyswmm import Simulation, Nodes >>> >>> with Simulation('tests/data/model_weir_setting.inp') as sim: ... j1 = Nodes(sim)["J1"] ... print(j1.initial_depth) 0
Setting the value
>>> from pyswmm import Simulation, Nodes >>> >>> with Simulation('tests/data/model_weir_setting.inp') as sim: ... j1 = Nodes(sim)["J1"] ... print(j1.initial_depth) ... j1.initial_depth = 1 ... print(j1.initial_depth) 0 1