blockAssertMinimumRuntime
Assert that heat pumps are not short cycling
Information
This block asserts that each heat pump does not short cycle, based on its enable and heating/cooling mode commands.
If use_runTim=true (default), it asserts that the heat pump has
been enabled in the same mode for at least dt_min before its
enable command turns false or its mode command changes.
If use_runTim=false, it asserts that the heat pump has been
commanded off and its mode command hasn't changed for at least
dt_min before its enable command turns true again
or its mode command changes.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | have_chiWat | Set to true for reversible HP, false for heating-only HP | |
| Boolean | use_runTim | true | Set to true to assert minimum runtime, false for minimum off time |
| Integer | nUni | Number of units | |
| Real | dt_min | 10*60 | Minimum runtime or off-time |
| String | message | if use_runTim then "HP minimum runtime is not met." else "HP minimum off-time is not met." | Warning message |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nUni] | u1 | HP on/off command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nUni] | u1Hea | HP heating/cooling mode command: true=heating, false=cooling |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold[nUni] | holOn | On/off command held for minimum runtime or off-time | |
| Buildings.Controls.OBC.CDL.Logical.Xor[nUni] | xorOn | True if on/off command differs from held command | |
| Utilities.PlaceholderLogical[nUni] | phHea | Placeholder signal | |
| Buildings.Controls.OBC.CDL.Logical.TrueFalseHold[nUni] | holHea | Mode command held for minimum runtime or off-time | |
| Buildings.Controls.OBC.CDL.Logical.Xor[nUni] | xorHea | True if mode command differs from held command | |
| Buildings.Controls.OBC.CDL.Logical.Nor[nUni] | nor | True if minimum runtime or off-time is met | |
| Buildings.Controls.OBC.CDL.Utilities.Assert[nUni] | assRunTim | Assert that minimum runtime or off-time is met |
Revisions
-
July 10, 2026, by Antoine Gautier:
First implementation.