Pump.inlet_node#

property Pump.inlet_node#

Get link inlet node ID.

Returns:

Inlet node ID

Return type:

str

Examples:

>>> from pyswmm import Simulation, Links
>>>
>>> with Simulation('tests/data/model_weir_setting.inp') as sim:
...     c1c2 = Links(sim)["C1:C2"]
...     print(c1c2.inlet_node)
C1