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
Booleanhave_senTHeaWatSecRet (from PartialController)if cfg.have_hrc then true elseif cfg.typPumHeaWatSec == Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None then false else have_senTHeaWatSecRet_selectSet to true for plants with secondary HW return temperature sensor
Booleanhave_senTChiWatSecRet (from PartialController)if cfg.have_hrc then true elseif cfg.typPumChiWatSec == Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None then false else have_senTChiWatSecRet_selectSet to true for plants with secondary CHW return temperature sensor
Configuration
Buildings.Templates.Plants.HeatPumps.Configuration.HeatPumpPlantcfg (from PartialController)Plant configuration parameters
IntegernHp (from PartialController)cfg.nHpNumber of heat pumps
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
Booleanhave_senVHeaWatPri_select (from PartialController)falseSet to true for plants with primary HW flow sensor
Booleanhave_senVHeaWatPri (from PartialController)cfg.have_heaWat and (if cfg.have_hrc or not have_senVHeaWatSec or cfg.typDis == Buildings.Templates.Plants.HeatPumps.Types.Distribution.Variable1Only then true else have_senVHeaWatPri_select)Set to true for plants with primary HW flow sensor
Booleanhave_senVHeaWatSec (from PartialController)cfg.typPumHeaWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.NoneSet to true for plants with secondary HW flow sensor
Booleanhave_senVChiWatPri_select (from PartialController)have_senVHeaWatPri_selectSet to true for plants with primary CHW flow sensor
Booleanhave_senVChiWatPri (from PartialController)cfg.have_chiWat and (if cfg.have_hrc or not have_senVChiWatSec or cfg.typDis <> Buildings.Templates.Plants.HeatPumps.Types.Distribution.Variable1Only then true else have_senVChiWatPri_select)Set to true for plants with primary CHW flow sensor
Booleanhave_senVChiWatSec (from PartialController)cfg.typPumChiWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.NoneSet to true for plants with secondary CHW flow sensor
Booleanhave_senTHeaWatPriRet_select (from PartialController)falseSet to true for plants with primary HW return temperature sensor
Booleanhave_senTHeaWatPriRet (from PartialController)cfg.have_heaWat and (if cfg.have_hrc or not have_senTHeaWatSecRet then true else have_senTHeaWatPriRet_select)Set to true for plants with primary HW return temperature sensor
Booleanhave_senTChiWatPriRet_select (from PartialController)have_senTHeaWatPriRet_selectSet to true for plants with primary CHW return temperature sensor
Booleanhave_senTChiWatPriRet (from PartialController)cfg.have_chiWat and (if cfg.have_hrc or not have_senTChiWatSecRet then true else have_senTChiWatPriRet_select)Set to true for plants with primary CHW return temperature sensor
Booleanhave_senTHeaWatSecSup (from PartialController)cfg.typPumHeaWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.NoneSet to true for plants with secondary HW supply temperature sensor
Booleanhave_senTChiWatSecSup (from PartialController)cfg.typPumChiWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.NoneSet to true for plants with secondary CHW supply temperature sensor
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
Sensors
Booleanhave_senTHeaWatSecRet_select (from PartialController)falseSet to true for plants with secondary HW return temperature sensor
Booleanhave_senTChiWatSecRet_select (from PartialController)have_senTHeaWatSecRet_selectSet to true for plants with secondary CHW return temperature sensor
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
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp]THeaWatSupSetHeat pump HW supply temperature set point
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp]TChiWatSupSetHeat pump CHW 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