Pump.average_head_loss#
- property Pump.average_head_loss#
Get/set Average Conduit Loss.
- Returns:
Parameter Value
- Return type:
Examples:
>>> from pyswmm import Simulation, Links >>> >>> with Simulation('tests/data/model_weir_setting.inp') as sim: ... c1c2 = Links(sim)["C1:C2"] ... print(c1c2.average_head_loss) 0
Setting the value
>>> from pyswmm import Simulation, Links >>> >>> with Simulation('tests/data/model_weir_setting.inp') as sim: ... c1c2 = Links(sim)["C1:C2"] ... print(c1c2.average_head_loss) ... c1c2.average_head_loss = 0.2 ... print(c1c2.average_head_loss) 0 0.2