blockController

Controller for room VAV box

Information

Controller for terminal box of VAV system with reheat according to ASHRAE Guideline 36, Part 5.E. It outputs damper position yDam, hot water valve position yVal, AHU cooling supply temperature setpoint reset request yZonTemResReq, and static pressure setpoint reset request yZonPreResReq.

The sequence consists of four subsequences.

a. Heating and cooling control loop

The subsequence is implementd according to Part 5.B.5. The measured zone temperature TZon, zone setpoints temperatures TZonHeaSet and TZonCooSet are inputs to the block conHeaLoo and conCooLoo to generate the control loop signal.

b. Active airflow setpoint calculation

This sequence sets the active maximum and minimum airflow according to Part 5.E.3-5. Depending on operation modes uOpeMod, it sets the airflow rate limits for cooling and heating supply. See Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.ActiveAirFlow.

c. Damper and valve control

This sequence sets the damper and valve position for VAV reheat terminal unit. The implementation is according to Part 5.E.6. According to heating and cooling control loop signal, it calculates the discharge air temperature setpoint TDisHeaSet. Along with the defined maximum and minimum airflow, measured zone temperature, the sequence outputs yDam, yVal, TDisHeaSet and discharge airflow rate setpoint VDisSet_flow. See Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.DamperValves.

d. System reset requests generation

According to Part 5.E.9, this sequence outputs the system reset requests, i.e. cooling supply air temperature reset requests yZonTemResReq, static pressure reset requests yZonPreResReq, hot water reset requests yHeaValResReq, and the boiler plant reset requests yHeaPlaReq. See Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SystemRequests.

Parameters

TypeNameDefaultDescription
RealsamplePeriodSample period of component, set to the same value as the trim and respond that process yPreSetReq
RealV_flow_nominalVolume flow rate of this thermal zone
RealAFloArea of the zone
Cooling loop signal
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeCooBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkCoo0.1Gain for cooling control loop signal
RealTiCoo900Time constant of integrator block for cooling control loop signal
RealTdCoo0.1Time constant of derivative block for cooling control loop signal
Heating loop signal
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeHeaBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkHea0.1Gain for heating control loop signal
RealTiHea900Time constant of integrator block for heating control loop signal
RealTdHea0.1Time constant of derivative block for heating control loop signal
Valve
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeValBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkVal0.5Gain of controller for valve control
RealTiVal300Time constant of integrator block for valve control
RealTdVal0.1Time constant of derivative block for valve control
Damper
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeDamBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkDam0.5Gain of controller for damper control
RealTiDam300Time constant of integrator block for damper control
RealTdDam0.1Time constant of derivative block for damper control
Airflow setpoint › Zone sensors
Booleanhave_occSenfalseSet to true if the zone has occupancy sensor
Booleanhave_winSenfalseSet to true if the zone has window status sensor
Booleanhave_CO2SenfalseSet to true if the zone has CO2 sensor
Airflow setpoint › Nominal conditions
RealVDisCooSetMax_flowV_flow_nominalZone maximum cooling airflow setpoint
RealVDisSetMin_flow0.15*V_flow_nominalZone minimum airflow setpoint
RealVDisHeaSetMax_flow0.3*V_flow_nominalZone maximum heating airflow setpoint
RealVDisConMin_flow0.1*V_flow_nominalVAV box controllable minimum
RealVOutPerAre_flow3e-4Outdoor air rate per unit area
RealVOutPerPer_flow2.5e-3Outdoor air rate per person
RealCO2Set894CO2 setpoint in ppm
Damper and valve › Parameters
RealdTDisZonSetMax11Zone maximum discharge air temperature above heating setpoint
RealTDisMin283.15Lowest discharge air temperature
System requests › Parameters
Booleanhave_heaWatCoitrueFlag, true if there is a hot water coil
Booleanhave_heaPlafalseFlag, true if there is a boiler plant
RealerrTZonCoo_12.8Limit value of difference between zone temperature and cooling setpoint for generating 3 cooling SAT reset requests
RealerrTZonCoo_21.7Limit value of difference between zone temperature and cooling setpoint for generating 2 cooling SAT reset requests
RealerrTDis_117Limit value of difference between discharge air temperature and its setpoint for generating 3 hot water reset requests
RealerrTDis_28.3Limit value of difference between discharge air temperature and its setpoint for generating 2 hot water reset requests
System requests › Duration times
RealdurTimTem120Duration time of zone temperature exceeds setpoint
RealdurTimFlo60Duration time of airflow rate less than setpoint
RealdurTimDisAir300Duration time of discharge air temperature is less than setpoint

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTZonHeaSetSetpoint temperature for room for heating
Buildings.Controls.OBC.CDL.Interfaces.RealInputTZonCooSetSetpoint temperature for room for cooling
Buildings.Controls.OBC.CDL.Interfaces.RealInputTZonMeasured room temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTDisMeasured supply air temperature after heating coil
Buildings.Controls.OBC.CDL.Interfaces.RealInputVDis_flowMeasured discharge airflow rate
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSupAHUAHU supply air temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputppmCO2Measured CO2 concentration
Buildings.Controls.OBC.CDL.Interfaces.RealInputnOccNumber of occupants
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuWinWindow status, true if open, false if closed
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuOpeModZone operation mode
Buildings.Controls.OBC.CDL.Interfaces.RealInputyDam_actualActual VAV damper position
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyValSignal for heating coil valve
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyDamSignal for VAV damper
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyZonTemResReqZone cooling supply air temperature reset request
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyZonPreResReqZone static pressure reset requests
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyHeaValResReqHot water temperature reset requests
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyHeaPlaReqHeating plant request

Components

TypeNameDefaultDescription
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.ActiveAirFlowactAirSetActive airflow rate setpoint
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.DamperValvesdamValDamper and valve controller
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SystemRequestssysReqNumber of system requests
Buildings.Controls.OBC.CDL.Reals.PIDWithResetconHeaLooHeating loop signal
Buildings.Controls.OBC.CDL.Reals.PIDWithResetconCooLooCooling loop signal

Revisions

  • November 5, 2021 by Karthik Devaprasad:
    Added missing outputs yHeaValResReq and yHeaPlaReq for requests to heating plant.
  • October 9, 2020, by Jianjun Hu:
    Changed the default heating maximum airflow setpoint to 30% of the zone nominal airflow.
    This is for issue 2172.
  • April 18, 2020, by Jianjun Hu:
    Added actual VAV damper position as the input for generating system request.
    This is for issue 1873.
  • March 06, 2020, by Jianjun Hu:
    Added default component name.
    This is for issue 1809.
  • November 15, 2017, by Michael Wetter:
    Added integrator reset.
  • October 27, 2017, by Jianjun Hu:
    Moved it from example package.
  • September 25, 2017, by Michael Wetter:
    First implementation.