blockController

Minimum flow bypass valve controller

Information

The minimum flow bypass valve is modulated based on a reverse acting control loop to maintain the primary flow rate at setpoint. The setpoint is calculated as described in Buildings.Templates.Plants.Controls.MinimumFlow.Setpoint.

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

Otherwise (have_valInlIso=false and have_valOutIso=false): When any primary pump is proven on, the bypass valve control loop is enabled. The valve is opened 100 % otherwise. When enabled, the bypass valve loop shall be biased to start with the valve 100 % open.

Parameters

TypeNameDefaultDescription
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
IntegernEna0Number of enable signals – Valve command or pump status
Real[:]V_flow_nominalDesign flow rate – Each unit
Real[:]V_flow_minMinimum flow rate – Each unit
Realk1Gain of controller
Modelica.Units.SI.TimeTi0.5Time constant of integrator block

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputVPri_flowPrimary volume flow rate
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEna]u1PumPri_actualPrimary pump status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEna]u1ValInlIsoInlet isolation valve command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEna]u1ValOutIsoOutlet isolation valve command
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyValve command
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nEqu]u1EquEquipment enable command
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVPriSet_flowPrimary flow setpoint

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.Utilities.PIDWithEnablectlPI controller
Buildings.Controls.OBC.CDL.Logical.MultiOranyValInlIsoTrue if any valve commanded open
Buildings.Controls.OBC.CDL.Logical.MultiOranyValOutIsoTrue if any valve commanded open
Buildings.Controls.OBC.CDL.Logical.MultiOranyPumPriTrue if any pump proven on
Utilities.PlaceholderLogicalphValInlIsoPlaceholder signal
Utilities.PlaceholderLogicalphValOutIsoPlaceholder signal
Utilities.PlaceholderLogicalphPrumPriPlaceholder signal
Buildings.Controls.OBC.CDL.Logical.MultiOranyTrue if any enable condition met
SetpointsetFloMinCalculate minimum flow setpoint

Revisions

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