blockEventSequencingMultiple
Staging event sequencing for multiple heat pumps
Information
This block applies the staging event sequencing logic of
Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.EventSequencingSingle
to a group of nHp reversible heat pumps and nPhp
polyvalent heat pumps.
To facilitate integration into plant controllers serving both reversible and
polyvalent heat pumps, the output connectors for the isolation valve
commands and the primary pump enable commands have always the same dimension
nHp + nPhp. When a piece of equipment is not present for a
given unit, the corresponding array element is set to false.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nHp | Number of heat pumps | |
| Integer | nPhp | Number of polyvalent eat pumps | |
| Boolean | have_heaWat | Set to true for plants that provide HW | |
| Boolean | have_chiWat | Set to true for plants that provide CHW | |
| Boolean | have_valHpInlIso | Set to true for plants with isolation valves at heat pump inlet | |
| Boolean | have_valHpOutIso | Set to true for plants with isolation valves at heat pump outlet | |
| Boolean | have_valPhpInlIso | Set to true for isolation valves at polyvalent HP inlet | |
| Boolean | have_valPhpOutIso | Set to true for isolation valves at polyvalent HP outlet | |
| Boolean | have_pumPriHdr | Set to true for plants with headered primary pumps | |
| Boolean | have_pumChiWatPriDedHp | Set to true for HP with separate dedicated primary pumps for CHW and HW circuits | |
| Integer | nPumHeaWatPri | Number of primary HW pumps | |
| Integer | nPumChiWatPri | Number of primary CHW pumps | |
| Real | dtVal | 90 | Nominal valve timing |
| Real | dtOff | 180 | Heat pump internal shutdown cycle timing |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nPhp] | u1ShcPhp | SHC enable command – Polyvalent HP | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nHp + nPhp] | u1HeaHpPhp | Heating enable command – HP or polyvalent HP (single mode) | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nPumHeaWatPri] | u1PumHeaWatPriDed_actual | Dedicated primary HW pump status | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nPumChiWatPri] | u1PumChiWatPriDed_actual | Dedicated primary CHW pump status | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp + nPhp] | y1ValHeaWatInlIso | Inlet HW isolation valve command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp + nPhp] | y1ValHeaWatOutIso | Outlet HW isolation valve command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp + nPhp] | y1ValChiWatInlIso | Inlet CHW isolation valve command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp + nPhp] | y1ValChiWatOutIso | Outlet CHW isolation valve command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp + nPhp] | y1PumHeaWatPri | Primary HW pump request to pump staging logic | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp + nPhp] | y1PumChiWatPri | Primary CHW pump request to pump staging logic | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp] | y1Hp | Heat pump enable command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nHp] | y1HeaHp | Heat pump heating mode command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nHp + nPhp] | u1CooHpPhp | Cooling enable command – HP or polyvalent HP (single mode) | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nPhp] | y1HeaPhp | Polyvalent HP heating on/off command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nPhp] | y1CooPhp | Polyvalent HP cooling on/off command | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | u1PumHeaWatPriHdr_actual | Lead headered primary HW pump status | |
| Buildings.Controls.OBC.CDL.Interfaces.BooleanInput | u1PumChiWatPriHdr_actual | Lead headered primary CHW pump status |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| EventSequencingSingle[nHp] | seqEveHp | HP event sequencing | |
| EventSequencingSingle[nPhp] | seqEvePhp | Polyvalent HP event sequencing | |
| Utilities.ConcatenateParameterLogical | u1PumHeaWatPriDed_internal | Prepend with false if nHp+nPhp > nPum | |
| Utilities.ConcatenateParameterLogical | u1PumChiWatPriDed_internal | Prepend with false if nHp+nPhp > nPum | |
| Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator | u1PumHeaWatPriHdr_internal | Replicate | |
| Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator | u1PumChiWatPriHdr_internal | Replicate |
Revisions
-
July 10, 2026, by Antoine Gautier:
First implementation.