blockSC_closing_value

Timer measuring the time from the time instant where the Boolean input became true

Extends from Modelica.Blocks.Icons.PartialBooleanBlock (Basic graphical layout of logical block).

Information

When the Boolean input "u" becomes true, the timer is started and the output "y" is the time from the time instant where u became true. The timer is stopped and the output is reset to zero, once the input becomes false.

Parameters

TypeNameDefaultDescription
BooleanwarmDaytrueTrue if warm day, False if cold day
BooleanopeningtrueTrue if opening, False if closing

Connectors

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

Components

TypeNameDefaultDescription
Utilities.SC_opening_closingSC_value