blockOpenLoop
Open-loop controller
Extends from Buildings.Templates.Plants.HeatPumps.Components.Interfaces.PartialController (Interface for heat pump plant controller).
Information
This is an open loop controller providing control inputs for the plant model Buildings.Templates.Plants.HeatPumps.AirToWater. It is only used for testing purposes.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.HeatPumps.Components.Data.Controller | dat (from PartialController) | Parameter record for controller | |
| Integer | nHp (from PartialController) | cfg.nHp | Number of heat pumps (excluding polyvalent HPs) |
| Integer | nPhp (from PartialController) | cfg.nPhp | Number of polyvalent heat pumps |
| Boolean | have_senVHeaWatPri (from PartialController) | Set to true for plants with primary HW flow sensor | |
| Boolean | have_senVHeaWatLoo (from PartialController) | Set to true for plants with HW loop flow sensor | |
| Boolean | have_senVHeaWatSec (from PartialController) | Set to true for plants with secondary HW flow sensor | |
| Boolean | have_senVChiWatPri (from PartialController) | Set to true for plants with primary CHW flow sensor | |
| Boolean | have_senVChiWatLoo (from PartialController) | Set to true for plants with CHW loop flow sensor | |
| Boolean | have_senVChiWatSec (from PartialController) | Set to true for plants with secondary CHW flow sensor | |
| Boolean | have_senTHeaWatPriRet (from PartialController) | Set to true for plants with primary HW return temperature sensor | |
| Boolean | have_senTHeaWatLooRet (from PartialController) | Set to true for plants with HW loop return temperature sensor | |
| Boolean | have_senTChiWatPriRet (from PartialController) | Set to true for plants with primary CHW return temperature sensor | |
| Boolean | have_senTChiWatLooRet (from PartialController) | Set to true for plants with CHW loop return temperature sensor | |
| Boolean | have_senTHeaWatSecSup (from PartialController) | Set to true for plants with secondary HW supply temperature sensor | |
| Boolean | have_senTChiWatSecSup (from PartialController) | Set to true for plants with secondary CHW supply temperature sensor | |
| Boolean | have_senTHeaWatSecRet (from PartialController) | Set to true for plants with secondary HW return temperature sensor | |
| Boolean | have_senTChiWatSecRet (from PartialController) | Set to true for plants with secondary CHW return temperature sensor | |
| Configuration | |||
| Buildings.Templates.Plants.HeatPumps.Configuration.HeatPumpPlant | cfg (from PartialController) | Plant configuration parameters | |
| Buildings.Templates.Plants.HeatPumps.Types.Controller | typ (from PartialController) | Type of controller | |
| Integer | nAirHan (from PartialController) | Number of air handling units served by the plant | |
| Integer | nEquZon (from PartialController) | Number of terminal units (zone equipment) served by the plant | |
| Sensors | |||
| Boolean | have_senTPriRet_select (from PartialController) | false | Set to true for plants with primary CHW/HW return temperature sensor |
| Boolean | have_senTLooRet_select (from PartialController) | false | Set to true for plants with CHW/HW loop return temperature sensor (load side of minimum flow bypass) |
| Boolean | have_senDpHeaWatRemWir (from PartialController) | false | Set to true for remote HW differential pressure sensor(s) hardwired to plant or pump controller |
| Integer | nSenDpHeaWatRem (from PartialController) | 1 | Number of remote HW differential pressure sensors used for HW pump speed control |
| Boolean | have_senDpChiWatRemWir (from PartialController) | have_senDpHeaWatRemWir | Set to true for remote CHW differential pressure sensor(s) hardwired to plant or pump controller |
| Integer | nSenDpChiWatRem (from PartialController) | 1 | Number of remote CHW differential pressure sensors used for CHW pump speed control |
| Plant enable | |||
| Boolean | have_inpSch (from PartialController) | false | Set to true to provide schedule via software input point |
| Real[:,2] | schHea (from PartialController) | dat.schHea | Heating mode enable schedule |
| Real[:,2] | schCoo (from PartialController) | dat.schCoo | Cooling mode enable schedule |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Templates.Plants.HeatPumps.Interfaces.Bus | bus (from PartialController) | Plant control bus | |
| Buildings.Templates.AirHandlersFans.Interfaces.Bus[nAirHan] | busAirHan (from PartialController) | Air handling unit control bus | |
| Buildings.Templates.ZoneEquipment.Interfaces.Bus[nEquZon] | busEquZon (from PartialController) | Terminal unit control bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Controls.PrimaryPumpSignalRouting | rouPumChiWatPri (from PartialController) | Primary CHW pump signal routing | |
| Controls.PrimaryPumpSignalRouting | rouPumHeaWatPri (from PartialController) | Primary HW pump signal routing | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp + nPhp] | THeaWatSupSet | HW supply temperature set point | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp + nPhp] | TChiWatSupSet | CHW supply temperature set point | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp] | y1ValHeaWatHpInlIso | Heat pump inlet HW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp] | y1ValHeaWatHpOutIso | Heat pump outlet HW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp] | y1ValChiWatHpInlIso | Heat pump inlet CHW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp] | y1ValChiWatHpOutIso | Heat pump outlet CHW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp] | y1Hp | Heat pump start/stop command | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp] | y1HeaHp | Heat pump heating mode command | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumHeaWatPri] | y1PumHeaWatPri | Primary CHW pump start/stop command | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumChiWatPri] | y1PumChiWatPri | Primary CHW pump start/stop command | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumHeaWatSec] | y1PumHeaWatSec | Secondary HW pump start/stop command | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumChiWatSec] | y1PumChiWatSec | Secondary CHW pump start/stop command | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | yPumHeaWatSec | Secondary HW pump speed signal | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | yPumChiWatSec | Secondary CHW pump speed signal | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | yPumHeaWatPriHdr | Headered primary HW pump speed signal | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | yPumChiWatPriHdr | Headered primary CHW pump speed signal | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[cfg.nPumHeaWatPri] | yPumHeaWatPriDed | Dedicated primary HW pump speed signal | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[cfg.nPumChiWatPri] | yPumChiWatPriDed | Dedicated primary CHW pump speed signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp] | y1ValChiWatPhpInlIso | Polyvalent HP inlet CHW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp] | y1ValChiWatPhpOutIso | Polyvalent HP outlet CHW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp] | y1ValHeaWatPhpInlIso | Polyvalent HP inlet HW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp] | y1ValHeaWatPhpOutIso | Polyvalent HP outlet HW isolation valve opening signal | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp] | y1HeaPhp | Polyvalent HP heating on/off command | |
| Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp] | y1CooPhp | Polyvalent HP cooling on/off command |
Revisions
-
July 10, 2026, by Antoine Gautier:
Updated for plants with polyvalent heat pumps.
This is for #4512. -
March 29, 2024, by Antoine Gautier:
First implementation.