Outfall.total_outflow#

property Outfall.total_outflow#

Get Node Results for Total Outflow Rate.

If Simulation is not running this method will raise a warning and return 0.

Returns:

Parameter Value

Return type:

float

Examples:

>>> from pyswmm import Simulation, Nodes
>>>
>>> with Simulation('tests/data/model_weir_setting.inp') as sim:
...     j1 = Nodes(sim)["J1"]
...     for step in sim:
...         print(j1.total_outflow)
0
1.2
1.5
1.9
1.2