modelChilledWaterBypass

Controller for chilled water bypass valve

Information

This model implements the chilled water loop bypass valve control logic as follows:

When the plant is on, the PID controller controls the valve opening ratio to reach the scaled mass flow rate setpoint.

The setpoint is mMin_flow multiplied by the number of chillers that are on. mMin_flow is the minimum mass flow rate required by one chiller.

This control sequence assumes that all the chillers are identical and the cooling load is evenly split between all of the chillers that are on.

Parameters

TypeNameDefaultDescription
IntegernumChiNumber of chillers
RealmMin_flowMinimum mass flow rate of single chiller
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
Realk0.06Gain of controller
RealTi60Time constant of Integrator block

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[numChi]chiOnOn signals of the chillers
Buildings.Controls.OBC.CDL.Interfaces.RealInputmFloChiMass flow rate through the chillers
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyBypass valve opening ratio

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Reals.PIDWithResetbypValConChilled water bypass valve controller
Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger[numChi]booToIntBoolean signal to integer
Buildings.Controls.OBC.CDL.Integers.GreaterThresholdintGreThrGreater than zero
Buildings.Controls.OBC.CDL.Integers.MultiSumnumChiOnNumber of chillers on
Buildings.Controls.OBC.CDL.Conversions.IntegerToRealintToReaInteger to real
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermFloSetScaNormalize mass flowrate setpoint
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermFloBypScaNormalize the measured mass flowrate

Revisions

  • January 27, 2023, by Michael Wetter:
    Removed connection to itself.
  • December 14, 2022, by Kathryn Hinkelman:
    Corrected measured mass flow rate to be on the chiller leg in order to control minimum flow rate through the chillers.
    This is for #2912.
  • May 3, 2021 by Jing Wang:
    First implementation.