blockController
Extends from BaseClasses.PartialController.
Information
This block implements the following control functions.
- Plant heating and cooling staging and HRC operating mode selection, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPlant.
- CW loop operating mode selection, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.ModeCondenserLoop.
- TES tank cycle flag selection, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.TankCycle.
- Load balancing, temperature and flow setpoint tracking for chillers and HRCs depending on active operating modes, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.ValveCondenserEvaporator.
- Cooling tower pumps and cooling tower fans control, see description in Buildings.DHC.Plants.Combined.Controls.BaseClasses.CoolingTowerLoop.
- Air-to-water heat pump control, see below.
- CHW, HW, CWE and CWC pumps, see below.
Heat pumps
Heat pumps are enabled whenever Charge Assist mode is active and any CWC pump is enabled. Heat pumps are disabled otherwise.
The supply temperature setpoint is 3 K plus the highest setpoint of the active tank cycle. Note that no limitation of the setpoint value per HP manufacturer specification is taken into account.
CHW, HW, CWE and CWC pumps
The lead pump is enabled based on the logic described in Buildings.DHC.Plants.Combined.Controls.BaseClasses.ValveCondenserEvaporator.
Pumps are staged based on the logic described in Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPump.
When any pump is enabled, the pump speed is modulated by a PI controller tracking a differential pressure setpoint at the boundaries of the circuit served by the pump. The control loop is biased to launch from 100 % (maximum speed). All pumps within the same group receive the same speed command signal.
The differential pressure setpoint for the CHW and HW loops is provided as a control input. Ideally, a reset logic based on consumer valve requests should be implemented to adapt those setpoints to the demand. For the sake of simplicity, the differential pressure setpoint for the CWC and CWE loops is a fixed parameter (design pressure drop).
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Routing.BooleanScalarReplicator | repHeaPum | Replicate signal | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToReal | cvtValBypTan | Convert DO to AO | |
| Buildings.Controls.OBC.CDL.Reals.Switch[nChiHea] | TChiHeaSupSet | Switch supply temperature setpoint | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPump | staPumChiWat | CHW pump staging | |
| Buildings.Controls.OBC.Utilities.PIDWithEnable | pumChiWat | Pump speed controller | |
| Buildings.Controls.OBC.Utilities.PIDWithEnable | pumHeaWat | Pump speed controller | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPump | staPumHeaWat | HW pump staging | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPump | staPumConWatCon | CW pump staging | |
| Buildings.Controls.OBC.Utilities.PIDWithEnable | pumConWatCon | Pump speed controller | |
| Buildings.Controls.OBC.Utilities.PIDWithEnable | pumConWatEva | Pump speed controller | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.StagingPump | staPumConWatEva | CW pump staging | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | dpConNom | Constant | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | dpEvaNom | Constant | |
| BaseClasses.StagingPlant | staPla | Plant staging | |
| Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator | repTSet | Replicate signal | |
| Buildings.Controls.OBC.CDL.Routing.RealScalarReplicator | repTSet1 | Replicate signal | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.ModeCondenserLoop | modConLoo | Condenser loop operating mode | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.TankCycle | cycTan | Determine tank cycle | |
| Buildings.Controls.OBC.CDL.Integers.Equal | isModChaAss | Return true if charge assist mode is active | |
| Buildings.Controls.OBC.CDL.Integers.Sources.Constant | chaAss | Charge assist mode index | |
| Buildings.Controls.OBC.CDL.Logical.And | assAndPum | Charge assist mode and any CW pump On | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant[2] | THeaPumSetVal | HP supply temperature setpoint for each tank cycle | |
| Buildings.Controls.OBC.CDL.Routing.RealExtractor | extIndRea | Extract active setpoint | |
| Buildings.Controls.OBC.CDL.Integers.Sources.Constant | heaRej | Heat rejection mode index | |
| Buildings.Controls.OBC.CDL.Integers.Equal | isModHeaRej | Return true if heat rejection mode is active | |
| Buildings.Controls.OBC.CDL.Logical.Not | isModNotHeaRej | Return true if heat rejection mode is NOT active | |
| BaseClasses.ValveCondenserEvaporator | valConEva | Controller for chiller and HRC condenser and evaporator valves | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.DirectHeatRecovery | dirHeaCoo | Control logic for HRC in direct HR mode | |
| Buildings.DHC.Plants.Combined.Controls.BaseClasses.CoolingTowerLoop | coo | Cooling tower loop | |
| Buildings.Controls.OBC.CDL.Logical.Or | u1CooOrHea | Plant Enable signal: either cooling or heating is enabled |
Revisions
-
February 24, 2023, by Antoine Gautier:
First implementation.