blockAssertMinimumRuntime

Assert that polyvalent heat pumps are not short cycling

Information

This block asserts that each polyvalent heat pump does not short cycle, based on its heating and cooling on/off commands.

If use_runTim=true (default), it asserts that each mode command remains true for at least dt_min before it turns false.

If use_runTim=false, it asserts that each mode command remains false for at least dt_min before it turns true.

Parameters

TypeNameDefaultDescription
Booleanuse_runTimtrueSet to true to assert minimum runtime, false for minimum off time
IntegernUniNumber of units
Realdt_min10*60Minimum runtime or off-time
Stringmessageif use_runTim then "Polyvalent HP minimum runtime is not met." else "Polyvalent HP minimum off-time is not met."Warning message

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nUni]u1HeaPolyvalent HP heating on/off command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nUni]u1CooPolyvalent HP cooling on/off command

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Logical.TrueFalseHold[nUni]holHeaHeating command held for minimum runtime or off-time
Buildings.Controls.OBC.CDL.Logical.Xor[nUni]xorHeaTrue if heating command differs from held command
Buildings.Controls.OBC.CDL.Logical.TrueFalseHold[nUni]holCooCooling command held for minimum runtime or off-time
Buildings.Controls.OBC.CDL.Logical.Xor[nUni]xorCooTrue if cooling command differs from held command
Buildings.Controls.OBC.CDL.Logical.Nor[nUni]norTrue if minimum runtime or off-time is met
Buildings.Controls.OBC.CDL.Utilities.Assert[nUni]assRunTimAssert that minimum runtime or off-time is met

Revisions

  • July 10, 2026, by Antoine Gautier:
    First implementation.