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

TypeNameDefaultDescription
Buildings.Templates.Plants.HeatPumps.Components.Data.Controllerdat (from PartialController)Parameter record for controller
IntegernHp (from PartialController)cfg.nHpNumber of heat pumps (excluding polyvalent HPs)
IntegernPhp (from PartialController)cfg.nPhpNumber of polyvalent heat pumps
Booleanhave_senVHeaWatPri (from PartialController)Set to true for plants with primary HW flow sensor
Booleanhave_senVHeaWatLoo (from PartialController)Set to true for plants with HW loop flow sensor
Booleanhave_senVHeaWatSec (from PartialController)Set to true for plants with secondary HW flow sensor
Booleanhave_senVChiWatPri (from PartialController)Set to true for plants with primary CHW flow sensor
Booleanhave_senVChiWatLoo (from PartialController)Set to true for plants with CHW loop flow sensor
Booleanhave_senVChiWatSec (from PartialController)Set to true for plants with secondary CHW flow sensor
Booleanhave_senTHeaWatPriRet (from PartialController)Set to true for plants with primary HW return temperature sensor
Booleanhave_senTHeaWatLooRet (from PartialController)Set to true for plants with HW loop return temperature sensor
Booleanhave_senTChiWatPriRet (from PartialController)Set to true for plants with primary CHW return temperature sensor
Booleanhave_senTChiWatLooRet (from PartialController)Set to true for plants with CHW loop return temperature sensor
Booleanhave_senTHeaWatSecSup (from PartialController)Set to true for plants with secondary HW supply temperature sensor
Booleanhave_senTChiWatSecSup (from PartialController)Set to true for plants with secondary CHW supply temperature sensor
Booleanhave_senTHeaWatSecRet (from PartialController)Set to true for plants with secondary HW return temperature sensor
Booleanhave_senTChiWatSecRet (from PartialController)Set to true for plants with secondary CHW return temperature sensor
Configuration
Buildings.Templates.Plants.HeatPumps.Configuration.HeatPumpPlantcfg (from PartialController)Plant configuration parameters
Buildings.Templates.Plants.HeatPumps.Types.Controllertyp (from PartialController)Type of controller
IntegernAirHan (from PartialController)Number of air handling units served by the plant
IntegernEquZon (from PartialController)Number of terminal units (zone equipment) served by the plant
Sensors
Booleanhave_senTPriRet_select (from PartialController)falseSet to true for plants with primary CHW/HW return temperature sensor
Booleanhave_senTLooRet_select (from PartialController)falseSet to true for plants with CHW/HW loop return temperature sensor (load side of minimum flow bypass)
Booleanhave_senDpHeaWatRemWir (from PartialController)falseSet to true for remote HW differential pressure sensor(s) hardwired to plant or pump controller
IntegernSenDpHeaWatRem (from PartialController)1Number of remote HW differential pressure sensors used for HW pump speed control
Booleanhave_senDpChiWatRemWir (from PartialController)have_senDpHeaWatRemWirSet to true for remote CHW differential pressure sensor(s) hardwired to plant or pump controller
IntegernSenDpChiWatRem (from PartialController)1Number of remote CHW differential pressure sensors used for CHW pump speed control
Plant enable
Booleanhave_inpSch (from PartialController)falseSet to true to provide schedule via software input point
Real[:,2]schHea (from PartialController)dat.schHeaHeating mode enable schedule
Real[:,2]schCoo (from PartialController)dat.schCooCooling mode enable schedule

Connectors

TypeNameDefaultDescription
Buildings.Templates.Plants.HeatPumps.Interfaces.Busbus (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

TypeNameDefaultDescription
Controls.PrimaryPumpSignalRoutingrouPumChiWatPri (from PartialController)Primary CHW pump signal routing
Controls.PrimaryPumpSignalRoutingrouPumHeaWatPri (from PartialController)Primary HW pump signal routing
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp + nPhp]THeaWatSupSetHW supply temperature set point
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp + nPhp]TChiWatSupSetCHW supply temperature set point
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp]y1ValHeaWatHpInlIsoHeat pump inlet HW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp]y1ValHeaWatHpOutIsoHeat pump outlet HW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp]y1ValChiWatHpInlIsoHeat pump inlet CHW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp]y1ValChiWatHpOutIsoHeat pump outlet CHW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp]y1HpHeat pump start/stop command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nHp]y1HeaHpHeat pump heating mode command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumHeaWatPri]y1PumHeaWatPriPrimary CHW pump start/stop command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumChiWatPri]y1PumChiWatPriPrimary CHW pump start/stop command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumHeaWatSec]y1PumHeaWatSecSecondary HW pump start/stop command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[cfg.nPumChiWatSec]y1PumChiWatSecSecondary CHW pump start/stop command
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantyPumHeaWatSecSecondary HW pump speed signal
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantyPumChiWatSecSecondary CHW pump speed signal
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantyPumHeaWatPriHdrHeadered primary HW pump speed signal
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantyPumChiWatPriHdrHeadered primary CHW pump speed signal
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[cfg.nPumHeaWatPri]yPumHeaWatPriDedDedicated primary HW pump speed signal
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[cfg.nPumChiWatPri]yPumChiWatPriDedDedicated primary CHW pump speed signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp]y1ValChiWatPhpInlIsoPolyvalent HP inlet CHW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp]y1ValChiWatPhpOutIsoPolyvalent HP outlet CHW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp]y1ValHeaWatPhpInlIsoPolyvalent HP inlet HW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp]y1ValHeaWatPhpOutIsoPolyvalent HP outlet HW isolation valve opening signal
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp]y1HeaPhpPolyvalent HP heating on/off command
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable[nPhp]y1CooPhpPolyvalent 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.