pytuflow.TCFRunState.tscf

pytuflow.TCFRunState.tscf#

TCFRunState.tscf()#

Returns the model’s TSCF ControlFileRunState instance.

Returns:

The TSCF ControlFileRunState instance.

Return type:

ControlFileRunState

Raises:

KeyError – If the SWMM Control File is not found in the control file.

Example

>>> tcf = ... # assuming is an instance of TCF
>>> tscf = tcf.context().tscf()