Subcatchment.runon#
- property Subcatchment.runon#
Get Subcatchment Results for Run On.
If Simulation is not running this method will raise a warning and return 0.
- Returns:
Parameter Value
- Return type:
Examples:
>>> from pyswmm import Simulation, Subcatchments >>> >>> with Simulation('tests/data/model_weir_setting.inp') as sim: ... s1 = Subcatchments(sim)["S1"] ... for step in sim: ... print(s1.runon) 0 1.2 1.5 1.9 1.2