modelOffTimer
Records the time since the input changed to false
Extends from Modelica.Blocks.Interfaces.partialBooleanBlockIcon.
Information
Timer that starts at the initial time with a value of 0,
and gets reset each time the input signal switches to false.
For example, if the simulation starts at t = 10 and at t=11,
the input becomes false, then the timer outputs
y=t-10 for t < 11, and y=t-11 afterwards, unless
the input becomes false again.
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
Modified from IBPSA Library