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

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputuConnector of Boolean input signal
Modelica.Blocks.Interfaces.RealOutputyConnector of Real output signal

Revisions

  • January 4, 2011, by Wangda Zuo and Michael Wetter:
    Revised implementation.
  • February 12, 2009, by Michael Wetter:
    First implementation.