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 | |
| Boolean | have_senTHeaWatSecRet (from PartialController) | if cfg.have_hrc then true elseif cfg.typPumHeaWatSec == Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None then false else have_senTHeaWatSecRet_select | Set to true for plants with secondary HW return temperature sensor |
| Boolean | have_senTChiWatSecRet (from PartialController) | if cfg.have_hrc then true elseif cfg.typPumChiWatSec == Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None then false else have_senTChiWatSecRet_select | Set to true for plants with secondary CHW return temperature sensor |
| Configuration | |||
| Buildings.Templates.Plants.HeatPumps.Configuration.HeatPumpPlant | cfg (from PartialController) | Plant configuration parameters | |
| Integer | nHp (from PartialController) | cfg.nHp | Number of heat pumps |
| 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 | |
| Boolean | have_senVHeaWatPri_select (from PartialController) | false | Set to true for plants with primary HW flow sensor |
| Boolean | have_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 |
| Boolean | have_senVHeaWatSec (from PartialController) | cfg.typPumHeaWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None | Set to true for plants with secondary HW flow sensor |
| Boolean | have_senVChiWatPri_select (from PartialController) | have_senVHeaWatPri_select | Set to true for plants with primary CHW flow sensor |
| Boolean | have_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 |
| Boolean | have_senVChiWatSec (from PartialController) | cfg.typPumChiWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None | Set to true for plants with secondary CHW flow sensor |
| Boolean | have_senTHeaWatPriRet_select (from PartialController) | false | Set to true for plants with primary HW return temperature sensor |
| Boolean | have_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 |
| Boolean | have_senTChiWatPriRet_select (from PartialController) | have_senTHeaWatPriRet_select | Set to true for plants with primary CHW return temperature sensor |
| Boolean | have_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 |
| Boolean | have_senTHeaWatSecSup (from PartialController) | cfg.typPumHeaWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None | Set to true for plants with secondary HW supply temperature sensor |
| Boolean | have_senTChiWatSecSup (from PartialController) | cfg.typPumChiWatSec <> Buildings.Templates.Plants.HeatPumps.Types.PumpsSecondary.None | Set to true for plants with secondary CHW supply temperature sensor |
| 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 |
| Sensors | |||
| Boolean | have_senTHeaWatSecRet_select (from PartialController) | false | Set to true for plants with secondary HW return temperature sensor |
| Boolean | have_senTChiWatSecRet_select (from PartialController) | have_senTHeaWatSecRet_select | Set to true for plants with secondary CHW return temperature sensor |
| 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 |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp] | THeaWatSupSet | Heat pump HW supply temperature set point | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[nHp] | TChiWatSupSet | Heat pump 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 |