modelOffTimer

Example model for off timer

Extends from TRANSFORM.Icons.Example (Icon for runnable examples).

Information

The input to the two timers are alternating boolean values. Whenever the input becomes false(=0), the timer is reset. The figures below show the input and output of the blocks.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanPulsebooleanPulse
TRANSFORM.Blocks.OffTimeroffTim1
TRANSFORM.Blocks.OffTimeroffTim2
Modelica.Blocks.Logical.Notnot1
Utilities.ErrorAnalysis.UnitTestsunitTests

Revisions