modelSelectModeState

Validation model for equipment mode selection

Information

This model validates Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.SelectModeState in a configuration with two reversible heat pumps and two polyvalent heat pumps.

The heating stage index is stepped from stage 0 to stage 4 and the cooling stage index is stepped from stage 0 to stage 3, each independently over time, to exercise equipment selection at each stage. The runtime order of the polyvalent heat pumps is set to the reverse of that of the reversible heat pumps, so that selection by priority order can be observed.

Parameters

TypeNameDefaultDescription
IntegernHp2Number of reversible heat pumps
IntegernPhp2Number of polyvalent units

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTableu1AvaHpHP available signal
Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.SelectModeStateselModEquipment mode selection
Buildings.Controls.OBC.CDL.Integers.Sources.TimeTableuStaHeaHeating stage index
PolyvalentHeatPumps.StagingParametersstaPhpGenerate staging parameters
PolyvalentHeatPumps.ExtractStagingMatrixextStaHeaExtract transpose of heating staging matrix at cooling stage
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTableu1AvaPhp1Polyvalent HP available signal in single mode
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTableu1AvaPhp2Polyvalent HP available signal in SHC mode
Buildings.Controls.OBC.CDL.Integers.Sources.Constant[nHp]idxSorHpHP runtime order
Buildings.Controls.OBC.CDL.Integers.Sources.Constant[nPhp]idxSorPhpPolyvalent HP runtime order
Buildings.Controls.OBC.CDL.Integers.Sources.TimeTableuStaCooCooling stage index
PolyvalentHeatPumps.ExtractStagingMatrixextStaCooExtract transpose of cooling staging matrix at heating stage

Revisions

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