Outfall.lateral_inflow#

property Outfall.lateral_inflow#

Get Node Results for lateral Inflow 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.lateral_inflow)
0
0.25
0.25
0.3
0.4