blockOnPastThreshold

Returns true if the device stays on for longer than a threshold time

Extends from Modelica.Blocks.Interfaces.BooleanSISO (Single Input Single Output control block with signals of type Boolean).

Information

This block delays a true signal and only returns true if the device stays on (true) for longer than a threshold time. If the device is switched off before the threshold time, this block continues returning false.

This block is used to check the mimimal on- or off-time of a device.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeminOnTimeMinimal 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.GreaterEqualThresholdrunTimGreMinChecks if the on-time is greater than the minimal on-time

Revisions

  • October 2, 2022 by Fabian Wuellhorst:
    Renaming according to Buildings guideline (see issue #1576)
  • November 26, 2018 by Fabian Wuellhorst:
    First implementation (see issue AixLib #577)