blockModeControl

Mode control and setpoint selection

Information

Mode control

If the following equation is true prior to enabling the HRC, set the control mode to heating. Otherwise, set the control mode to cooling.

QChiWatReq_flow > QHeaWatReq_flow * (1 - 1 / COPHea_nominal)

Write mode via the chiller’s BACnet interface prior to sending the chiller an enable command.

Setpoint

When the control mode is cooling, the active setpoint shall be the CHW supply temperature setpoint. When the control mode is heating, the active setpoint shall be the HW supply temperature setpoint.

Details

The condition "prior to enabling the HRC" is evaluated in the block Buildings.Templates.Plants.Controls.HeatRecoveryChillers.Enable.

Parameters

TypeNameDefaultDescription
Information provided by designer
RealCOPHea_nominalHeating COP at design heating conditions

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1SetModEnable mode setting
Buildings.Controls.OBC.CDL.Interfaces.RealInputQChiWatReq_flowCHW load
Buildings.Controls.OBC.CDL.Interfaces.RealInputQHeaWatReq_flowHW load
Buildings.Controls.OBC.CDL.Interfaces.RealInputTChiWatSupSetActive CHW supply temperature setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHeaWatSupSetActive HW supply temperature setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputy1CooMode command: true for cooling, false for heating
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTSupSetActive supply temperature setpoint

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.MultiplyByParameterQEvaHea_flowCompute evaporator heat flow rate in heating mode
Buildings.Controls.OBC.CDL.Reals.LesslesTrue (cooling) if CHW load lower than evaporator heat flow rate in heating mode
Buildings.Controls.OBC.CDL.Reals.SwitchselTSupSetSelect supply temperature setpoint
Buildings.Controls.OBC.CDL.Logical.SwitchsetModSet mode if mode setting enabled, otherwise reuse previous mode
Buildings.Controls.OBC.CDL.Logical.PrepreModPrevious mode setting

Revisions

  • May 31, 2024, by Antoine Gautier:
    First implementation.