blockControllerDualMode

CHW and/or HW minimum flow bypass valve controller

Information

HW minimum flow

The HW minimum flow bypass valve is modulated based on a reverse acting control loop to maintain the primary HW flow rate at setpoint. The setpoint is calculated as described in Buildings.Templates.Plants.Controls.MinimumFlow.Setpoint using the number of units commanded on in heating mode at each stage.

When using isolation valve command signals (have_valInlIso=true or have_valOutIso=true): When any HW isolation valve is commanded open, the HW bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the HW bypass valve loop shall be biased to start with the valve 100 % open.

Otherwise (have_valInlIso=false and have_valOutIso=false):

  • For heating and cooling plants with common dedicated CHW and HW pumps: When any primary pump is proven on and the associated heat pump is commanded in heating mode, the HW bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the HW bypass valve loop shall be biased to start with the valve 100 % open.
  • For any other plants: When any primary HW pump is proven on, the HW bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the HW bypass valve loop shall be biased to start with the valve 100 % open.

CHW minimum flow

The CHW minimum flow bypass valve is modulated based on a reverse acting control loop to maintain the primary CHW flow rate at setpoint. The setpoint is calculated as described in Buildings.Templates.Plants.Controls.MinimumFlow.Setpoint using the number of units commanded on in cooling mode at each stage.

When using isolation valve command signals (have_valInlIso=true or have_valOutIso=true): When any CHW isolation valve is commanded open, the CHW bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the CHW bypass valve loop shall be biased to start with the valve 100 % open.

Otherwise (have_valInlIso=false and have_valOutIso=false):

  • For heating and cooling plants with common dedicated CHW and HW pumps: When any primary pump is proven on and the associated heat pump is commanded in cooling mode, the CHW bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the CHW bypass valve loop shall be biased to start with the valve 100 % open.
  • For any other plants: When any primary CHW pump is proven on, the CHW bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the CHW bypass valve loop shall be biased to start with the valve 100 % open.

Parameters

TypeNameDefaultDescription
Booleanhave_heaWatSet to true for plants that provide HW
Booleanhave_chiWatSet to true for plants that provide CHW
Booleanhave_pumChiWatPriSet to true for plants with separate primary CHW pumps
Booleanhave_valInlIsoSet to true to enable control loop based on inlet isolation valve command
Booleanhave_valOutIsoSet to true to enable control loop based on outlet isolation valve command
IntegernEqu0Number of plant equipment
IntegernEnaHeaWat0Number of enable signals for HW loop – Valve command or pump status
IntegernEnaChiWatnEnaChiWatNumber of enable signals for CHW loop – Valve command or pump status
Real[nEqu]VHeaWat_flow_nominalDesign HW flow rate – Each unit
Real[nEqu]VHeaWat_flow_minMinimum HW flow rate – Each unit
Real[nEqu]VChiWat_flow_nominalDesign CHW flow rate – Each unit
Real[nEqu]VChiWat_flow_minMinimum CHW flow rate – Each unit
Realk1Gain of controller
Modelica.Units.SI.TimeTi0.5Time constant of integrator block

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputVChiWatPri_flowPrimary CHW volume flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealInputVHeaWatPri_flowPrimary HW volume flow rate
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEnaHeaWat]u1PumHeaWatPri_actualPrimary HW pump status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEnaHeaWat]u1ValHeaWatInlIsoEquipment inlet HW isolation valve command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEnaHeaWat]u1ValHeaWatOutIsoEquipment outlet HW isolation valve command
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyValHeaWatMinBypHW minimum flow bypass valve command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEqu]u1EquEquipment enable command
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVHeaWatPriSet_flowPrimary HW flow setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEqu]u1HeaEquEquipment heating/cooling mode command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEnaChiWat]u1PumChiWatPri_actualPrimary CHW pump status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEnaChiWat]u1ValChiWatInlIsoEquipment inlet CHW isolation valve command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEnaChiWat]u1ValChiWatOutIsoEquipment outlet CHW isolation valve command
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyValChiWatMinBypCHW minimum flow bypass valve command
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVChiWatPriSet_flowPrimary CHW flow setpoint

Components

TypeNameDefaultDescription
ControllerctlFloMinHeaWatHW minimum flow control
ControllerctlFloMinChiWatCHW minimum flow control
Utilities.PlaceholderLogical[nEqu]phHeaCooPlaceholder signal for single mode applications
Buildings.Controls.OBC.CDL.Logical.Not[nEqu]u1CooTrue if cooling mode
Buildings.Controls.OBC.CDL.Logical.And[nEqu]onAndHeaTrue if commanded on in heating mode
Buildings.Controls.OBC.CDL.Logical.And[nEqu]onAndCooTrue if commanded on in cooling mode
Utilities.PlaceholderLogical[nEnaChiWat]phPumChiWatPriUse CHW pump signal in case the plant does not have common CHW and HW dedicated pumps
Buildings.Controls.OBC.CDL.Logical.And[nEqu]pumOnAndCooTrue if pump proven on and equipment in cooling mode – Case with common CHW and HW dedicated pumps
Buildings.Controls.OBC.CDL.Logical.And[nEqu]pumOnAndHeaTrue if pump proven on and equipment in heating mode – Case with common CHW and HW dedicated pumps
Utilities.PlaceholderLogical[nEnaHeaWat]phPumHeaWatPriUse HW pump signal in case the plant does not have common CHW and HW dedicated pumps

Revisions

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