Subcatchment.subcatchmentid#

property Subcatchment.subcatchmentid#

Get Subcatchment ID.

Returns:

Parameter Value

Return type:

float

Examples:

>>> from pyswmm import Simulation, Subcatchments
>>>
>>> with Simulation('tests/data/model_weir_setting.inp') as sim:
...     s1 = Subcatchments(sim)["S1"]
...     print(s1.subcatchmentid)
S1