blockDown

Sequence for controlling devices when there is a stage-down command

Information

Block that controls devices when there is a stage-down command. This sequence is for water-cooled primary-only parallel chiller plants with headered chilled water pumps and headered condenser water pumps, or air-cooled primary-only parallel chiller plants with headered chilled water pumps. This development is based on ASHRAE Guideline 36-2021, section 5.20.4.17, which specifies the step-by-step control of devices during the chiller staging down process.

  1. Identify the chiller(s) that should be enabled (and disabled, if have_ponChi=true). This is implemented in block nexChi. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.NextChiller for more descriptions.
  2. Start the staging down process,
    • For any stage change during which a smaller chiller is enabled and a larger chiller is disabled:
      1. Command operating chillers to reduce demand to 75% (chiDemRedFac) of their current load (uChiLoa) or a percentage equal to current stage minimum cycling operative partial load ratio yOpeParLoaRatMin, whichever is greater. Wait until actual demand < 80% of current load up to a maximum of 5 minutes (holChiDemTim) before proceeding.
      2. Slowly change the minimum flow bypass setpoint to the one that includes both chillers are enabled. After the new setpoint is achieved, wait 1 minute (aftByPasSetTim) to allow loop being stabilized.
      3. Enable head pressure control for the chiller being enabled. Wait 30 seconds (waiTim).
      4. Slowly (chaChiWatIsoTim) open the chilled water isolation valve of the smaller chiller being enabled. The valve timing should be determined in the field.
      5. Start the smaller chiller after its chilled water isolation valve is fully open.
      6. Wait 5 minutes (proOnTim) for the newly enabled chiller to prove that it is operating correctly, then shut off the larger chiller and release the demand limit.
    • If staging down from any other stage, shut off the last stage chiller.
    These are implemented in block dowSta. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.DownStart for more descriptions.
  3. When the controller of the chiller being shut off indicates no request for chilled water flow (uChiWatReq=false), slowly (chaChiWatIsoTim) close the chiller's chilled water isolation valve to avoid a sudden change in flow through other operating chillers. This is implemented in block disChiIsoVal. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.CHWIsoVal for more descriptions.
  4. When the controller of the chiller being shut off indicates no request for condenser water flow (uConWatReq=false), disable the chiller's head pressure control loop. This is implemented in block disHeaCon. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.HeadControl for more descriptions.
  5. When the condenser water head pressure control valve is fully closed, shut off the last lag condenser water pump or change the pump speed to that required of the new stage. Block disNexCWP identifies chiller stage for the condenser water pump control ( Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.EnableCWPump) and block conWatPumCon checks if the condenser water pumps have been reset ( Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.CondenserWater.Controller).
  6. Change the chilled water minimum flow setpoint to that appropriate for the new stage. The minimum flow setpoint is reset in block minChiWatFlo ( Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.MinimumFlowBypass.FlowSetpoint).

Parameters

TypeNameDefaultDescription
IntegernChi2Total number of chillers in the plant
IntegernConWatPum2Total number of condenser water pumps
IntegernPlaSta3Total number of plant stages, including stage zero and the stages with a WSE, if applicable
IntegernChiSta3Total number of chiller stages, including stage zero but not the stages with a WSE, if applicable
Booleanhave_airCoofalseTrue: the plant has air cooled chiller
Booleanhave_WSEtrueTrue: have waterside economizer
Booleanhave_ponChifalseTrue: have pony chiller
Booleanhave_parChitrueTrue: the plant has parallel chillers
Booleanhave_heaConWatPumtrueTrue: headered condenser water pumps
Booleanhave_fixSpeConWatPumfalseTrue: fixed speed condenser water pump
Booleanneed_reduceChillerDemandfalseTrue: need limit chiller demand when chiller staging
Disable last chiller
RealchiDemRedFac0.75Demand reducing factor of current operating chillers
RealholChiDemTim300Maximum time to wait for the actual demand less than percentage of current load
RealwaiTim30Waiting time after enabling next head pressure control
RealproOnTim300Enabled chiller operation time to indicate if it is proven on
Disable CHW isolation valve
Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Types.ActuatorchiIsoValTypBuildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Types.Actuator.ModulatingChiller CHW isolation valve type
Booleanhave_twoPosEndSwiChiValfalseTrue for chiller CHW isolation valves with end switch status feedback
RealchaChiWatIsoTimTime to slowly change isolation valve, should be determined in the field
Disable condenser water pump
Real[nPlaSta]staVecPlant stage vector, element value like x.5 means chiller stage x plus WSE
Real[nPlaSta]desConWatPumSpeDesign condenser water pump speed setpoints, according to current chiller stage and WSE status
Integer[nPlaSta]desConWatPumNumDesign number of condenser water pumps that should be enabled, according to current chiller stage and WSE status
Integer[nChiSta]desChiNum{0, 1, 2}Design number of chiller that should be enabled, according to current chiller stage
Reset CHW minimum flow setpoint
RealbyPasSetTimTime to reset minimum by-pass flow
Real[nChi]minFloSetMinimum chilled water flow through each chiller
Real[nChi]maxFloSetMaximum chilled water flow through each chiller
Reset bypass
RealaftByPasSetTim60Time to allow loop to stabilize after resetting minimum chilled water flow setpoint
Advanced › Reset bypass
RealrelFloThr0.95Relative flow rate to check if the flow has achieved setpoint

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuStaSetChiller stage setpoint index
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uChiSetVector of chillers status setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuEndProRising edge: the staging up or down process is done
Buildings.Controls.OBC.CDL.Interfaces.RealInputyOpeParLoaRatMinCurrent stage minimum cycling operative partial load ratio
Buildings.Controls.OBC.CDL.Interfaces.RealInputuChiLoaCurrent chiller load
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uChiChiller status: true=ON
Buildings.Controls.OBC.CDL.Interfaces.RealInputVChiWat_flowMeasured chilled water flow rate
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuChiStaCurrent chiller stage, it would be the same as chiller stage setpoint when it is not in staging process
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uChiHeaConChillers head pressure control status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]u1ChiWatIsoValOpeChiller chilled water isolation valve open end switch. True: the valve is fully open
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]u1ChiWatIsoValCloChiller chilled water isolation valve close end switch. True: the valve is fully closed
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uChiWatReqChilled water request status for each chiller
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uConWatReqCondenser water request status for each chiller
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uChiConIsoValChiller condenser water isolation valve status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuWSEWater side economizer status: true = ON, false = OFF
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuPlaPlant enabling status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyStaProIndicate stage-down status: true=in stage-down process
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyChiDemChiller demand setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nChi]yChiChiller enabling status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyReaDemLimRelease demand limit
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nChi]yChiWatIsoValChilled water isolation valve position setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nChi]y1ChiWatIsoValChiller chilled water isolation valve commanded on
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyTowStaDowTower stage down status: true=stage down cooling tower
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nChi]yChiHeaConChiller head pressure control enabling status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyLeaPumLead condenser water pump status
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyDesConWatPumSpeCondenser water pump design speed at current stage
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyConWatPumNumNumber of operating condenser water pumps
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyChiWatMinFloSetChilled water minimum flow setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyEndStaTriStaging end trigger

Revisions

  • September 23, 2019, by Jianjun Hu:
    First implementation.