blockUp

Sequence for control devices when there is stage-up command

Information

Block that controls devices when there is a stage-up 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.16, which specifies the step-by-step control of devices during the chiller staging up 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. Command operating chillers to reduce demand to 75% (chiDemRedFac) of their current load (uChiLoa). Wait until actual demand < 80% of current load up to a maximum of 5 minutes (holChiDemTim) before proceeding. This is implemented in block chiDemRed. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.ReduceDemand for more descriptions.
  3. Reset the minimum chilled water flow setpoint,
    • For any stage change during which a smaller chiller is disabled and a larger chiller is enabled, slowly change (byPasSetTim) the minimum chilled water flow setpoint to the one that includes both chillers are enabled. After the new setpoint is achieved, wait 1 minute (aftByPasSetTim) to allow loop to stabilize.
    • For any other stage change, reset (byPasSetTim) the minimum chilled water flow setpoint to the one that includes the new chiller. After the new setpoint is achieved, wait 1 minute (aftByPasSetTim) to allow loop to stabilize.
    The minimum flow setpoint is reset in block minChiWatFlo ( Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.MinimumFlowBypass.FlowSetpoint). Block minBypSet checks if the new setpoint is achieved ( Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.ResetMinBypass).
  4. Start the next condenser water pump and (or) change the condenser water pump speed to that required of the new stage. Wait 10 seconds (thrTimEnb). Block enaNexCWP 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).
  5. Enabled head pressure control for the being enabled chiller. Wait 30 seconds (waiTim). This is implemented in block enaHeaCon. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.HeadControl for more descriptions.
  6. Slowly (chaChiWatIsoTim) open the chilled water isolation valve of the chiller being enabled. The valve timing should be determined in the field. This is implemented in block enaChiIsoVal. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.CHWIsoVal for more descriptions.
  7. End the staging up process:
    • If the stage change does not require one chiller to be enabled and another chiller to be disabled, start the next stage chiller after the isolation valve is fully open.
    • If the stage change does require one chiller to be enabled and another chiller to be disabled, starting the next stage chiller after the isolation valve is fully open, then shut off the smaller chiller, close the chiller's chilled water isolation valve, disable the head pressure control loop, and change the minimum chilled water flow setpoint to the one for the new stage.
    • Release the demand limit, which marks the end of the staging process.
    These are implemented in the block endUp. See Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.Processes.Subsequences.UpEnd for more descriptions.

Parameters

TypeNameDefaultDescription
IntegernChi2Total number of chillers in the plant
IntegernConWatPum2Total number of condenser water pumps
IntegernPlaSta6Total 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_fixSpeConWatPumtrueTrue: fixed speed condenser water pump
Booleanneed_reduceChillerDemandfalseTrue: need limit chiller demand when chiller staging
RealdelStaCha900Hold period for each stage change
Limit chiller demand
RealchiDemRedFac0.75Demand reducing factor of current operating chillers
RealholChiDemTim300Maximum time to wait for the actual demand less than percentage of current load
Reset CHW minimum flow setpoint
RealbyPasSetTim300Time to reset minimum bypass flow
Real[nChi]minFloSet{0.0089, 0.0089}Minimum chilled water flow through each chiller
Real[nChi]maxFloSet{0.025, 0.025}Maximum chilled water flow through each chiller
Reset bypass
RealaftByPasSetTim60Time to allow loop to stabilize after resetting minimum chilled water flow setpoint
Enable condenser water pump
Real[nPlaSta]staVec{0, 0.5, 1, 1.5, 2, 2.5}Plant stage vector, element value like x.5 means chiller stage x plus WSE
Real[nPlaSta]desConWatPumSpe{0, 0.5, 0.75, 0.6, 0.75, 0.9}Design condenser water pump speed setpoints, according to current chiller stage and WSE status
Integer[nPlaSta]desConWatPumNum{0, 1, 1, 2, 2, 2}Design 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
Enable head pressure control
RealthrTimEnb10Threshold time to enable head pressure control after condenser water pump being reset
RealwaiTim30Waiting time after enabling next head pressure control
Enable 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
RealchaChiWatIsoTim300Time to slowly change isolation valve, should be determined in the field
Enable next chiller
RealproOnTim300Threshold time to check after newly enabled chiller being operated
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.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.BooleanInput[nChi]uChiConIsoValChiller condenser water isolation valve status
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.BooleanInputuEnaPlaTrue: the plant is just enabled
Buildings.Controls.OBC.CDL.Interfaces.BooleanInput[nChi]uConWatReqCondenser water request status for each chiller
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuWSEWater side economizer status: true = ON, false = OFF
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.BooleanInputuPlaPlant enabling status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyStaProIndicate if it is in stage-up process: true=in stage-up process
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyChiDemChiller demand setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyChiWatMinFloSetChilled water minimum flow setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyTowStaUpTower stage up status: true=stage up cooling tower
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.BooleanOutput[nChi]yChiHeaConChiller head pressure control enabling status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nChi]y1ChiWatIsoValChiller chilled water isolation valve commanded on
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[nChi]yChiWatIsoValChilled water isolation valve position setpoint
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutput[nChi]yChiChiller enabling status
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputyEndStaTriStaging end trigger

Revisions

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