blockTimeControl

Counts seconds a device is turned on and returns true if the time is inside given boundaries

Extends from Modelica.Blocks.Interfaces.BooleanSISO (Single Input Single Output control block with signals of type Boolean), AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

When the input is true, a timer thats counting seconds until it is false again. As long as the counted time is smaller than a given minimal time, the block yields false.

This block is used to check the mimimal run- or loctime of a device.

  • November 26, 2018  by Fabian Wüllhorst:
    First implementation (see issue #577)

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeminRunTimeMinimal time the device is turned on or off

Connectors

TypeNameDefaultDescription
BooleanInputu (from BooleanSISO)Connector of Boolean input signal
BooleanOutputy (from BooleanSISO)Connector of Boolean output signal

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.TimerrunTimCounts the seconds the heat pump is locked still
Modelica.Blocks.Logical.GreaterEqualThresholdrunTimGreaterMinChecks if the runtime is greater than the minimal runtime