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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | minOnTime | Minimal time the device is turned on or off |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BooleanInput | u (from BooleanSISO) | Connector of Boolean input signal | |
| BooleanOutput | y (from BooleanSISO) | Connector of Boolean output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Timer | runTim | Counts the seconds the heat pump is locked still | |
| Modelica.Blocks.Logical.GreaterEqualThreshold | runTimGreMin | Checks 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)