Storage.losses#

property Storage.losses#

Get Node Results for Losses Rate (Evap and Exfiltration).

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.losses)
0
0.01
0.01
0.01
0.01