modelOffTimer
Records the time since the input changed to false
Extends from Modelica.Blocks.Interfaces.partialBooleanBlockIcon.
Information
Block that records the time that has elapsed since its input signal switched to false.
At the beginning of the simulation, this block outputs the time that has elapsed since the start of the simulation. Afterwards, whenever its input switches to false, the timer is reset.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | u | Connector of Boolean input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Connector of Real output signal |
Revisions
-
January 4, 2011, by Wangda Zuo and Michael Wetter:
Revised implementation. -
February 12, 2009, by Michael Wetter:
First implementation.