modelOffTimer_DerivativeInformed
Records the time since the input changed to false considering the slope of the signal
Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).
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.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | positiveDerivative | true | Specify direction upon when trigger is reset |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | u | Connector of Boolean input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Connector of Real output signal | |
| Modelica.Blocks.Interfaces.RealInput | s |
Revisions
Modified from IBPSA Library