'timeInState()'

timeInState()

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This operator returns the time (in seconds) since a transition was made to the active state in a state machine.

Syntax

timeInState()

Description

Returns the time duration as Real in [s] since a transition was made to the currently active state.