blockController

Controller for room VAV box with reheat

Information

Controller for terminal box of VAV system with reheat according to Section 5.6 of ASHRAE Guideline 36, May 2020. It outputs discharge airflow setpoint VSet_flow, damper position setpoint yDam, hot water valve position setpoint yVal, AHU cooling supply temperature setpoint reset request yZonTemResReq, and static pressure setpoint reset request yZonPreResReq, hot water reset request yHeaValResReq and yHotWatPlaReq. It also outputs the alarms about the low airflow yLowFloAla, low discharge temperature yLowTemAla, leaking damper yLeaDamAla and valve yLeaValAla, and airflow sensor calibration alarm yFloSenAla.

The sequence consists of following six subsequences.

a. Heating and cooling control loop

The subsequence is implementd according to Section 5.3.4. The measured zone temperature TZon, zone setpoints temperatures THeaSet and TCooSet are inputs to the instance of class Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.ZoneStates to generate the heating and cooling control loop signal.

b. Active airflow setpoint calculation

This sequence sets the active maximum and minimum airflow according to Section 5.6.4. Depending on operation modes uOpeMod, it sets the airflow rate limits for cooling and heating supply. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.ActiveAirFlow.

c. Damper and valve control

This sequence sets the damper and valve position setpoints for VAV reheat terminal unit. The implementation is according to Section 5.6.5. According to heating and cooling control loop signal, it calculates the discharge air temperature setpoint TDisSet. Along with the active maximum and minimum airflow setpoint, measured zone temperature, the sequence outputs yDam, yVal, TDisSet and discharge airflow rate setpoint VDisSet_flow. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.DamperValves.

d. System reset requests generation

According to Section 5.6.8, 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 hot water plant reset requests yHotWatPlaReq. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.SystemRequests.

e. Alarms

According to Section 5.6.6, this sequence outputs the alarms of low discharge flow, low discharge temperature, leaking damper, leaking valve, and airflow sensor calibration alarm. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Alarms.

f. Testing and commissioning overrides

According to Section 5.6.7, this sequence allows the override the aiflow setpoints, damper and valve position setpoints. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Overrides.

Parameters

TypeNameDefaultDescription
Buildings.Controls.OBC.ASHRAE.G36.Types.VentilationStandardvenStdVentilation standard, ASHRAE 62.1 or Title 24
Booleanhave_winSentrueTrue: the zone has window sensor
Booleanhave_occSentrueTrue: the zone has occupancy sensor
Booleanhave_CO2SentrueTrue: the zone has CO2 sensor
Booleanhave_hotWatCoitrueTrue: the unit has the hot water coil; False: the unit has the modulated electric coil
Booleanpermit_occStandbytrueTrue: occupied-standby mode is permitted
RealVOccMin_flowZone minimum outdoor airflow for occupants
RealVAreMin_flowZone minimum outdoor airflow for building area
Design conditions
RealVAreBreZon_flowDesign area component of the breathing zone outdoor airflow
RealVPopBreZon_flowDesign population component of the breathing zone outdoor airflow
RealVMin_flowDesign zone minimum airflow setpoint
RealVCooMax_flowDesign zone cooling maximum airflow rate
RealVHeaMin_flowDesign zone heating minimum airflow rate, for the reheat box with water hot coil, it should be zero
RealVHeaMax_flowDesign zone heating maximum airflow rate
Control loops › Cooling
RealkCooCon0.1Gain of controller for cooling control loop
RealTiCooCon120Time constant of integrator block for cooling control loop
Control loops › Heating
RealkHeaCon0.1Gain of controller for heating control loop
RealTiHeaCon120Time constant of integrator block for heating control loop
Damper and valve control
RealdTDisZonSetMax11Zone maximum discharge air temperature above heating setpoint
RealTDisMin283.15Lowest discharge air temperature
Damper and valve control › Valve
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 and valve control › Damper
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
System requests
RealthrTemDif3Threshold difference between zone temperature and cooling setpoint for generating 3 cooling SAT reset requests
RealtwoTemDif2Threshold difference between zone temperature and cooling setpoint for generating 2 cooling SAT reset requests
RealthrTDis_117Threshold difference between discharge air temperature and its setpoint for generating 3 hot water reset requests
RealthrTDis_28Threshold difference between discharge air temperature and its setpoint for generating 2 hot water reset requests
System requests › Duration time
RealdurTimTem120Duration time of zone temperature exceeds setpoint
RealdurTimFlo60Duration time of airflow rate less than setpoint
RealdurTimDisAir300Duration time of discharge air temperature less than setpoint
Alarms
RealstaPreMul1Importance multiplier for the zone static pressure reset control loop
RealhotWatRes1Importance multiplier for the hot water reset control loop
ReallowFloTim300Threshold time to check low flow rate
ReallowTemTim600Threshold time to check low discharge temperature
RealfanOffTim600Threshold time to check fan off
RealleaFloTim600Threshold time to check damper leaking airflow
RealvalCloTim900Threshold time to check valve leaking water flow
Time-based suppresion
RealsamplePeriod120Sample period of component, set to the same value as the trim and respond that process static pressure reset
RealchaRat540Gain factor to calculate suppression time based on the change of the setpoint, seconds per Kelvin
RealmaxSupTim1800Maximum suppression time
Advanced
RealdTHys0.25Near zero temperature difference, below which the difference will be seen as zero
ReallooHys0.01Loop output hysteresis below which the output will be seen as zero
RealfloHys0.01*VMin_flowNear zero flow rate, below which the flow rate or difference will be seen as zero
RealdamPosHys0.005Near zero damper position, below which the damper will be seen as closed
RealvalPosHys0.005Near zero valve position, below which the valve will be seen as closed
RealstaTim1800Delay triggering alarms after enabling AHU supply fan
RealiniDam0.01Initial damper position when the damper control is enabled
Advanced › Control loops
RealtimChe30Threshold time to check the zone temperature status
Advanced › Distribution effectiveness
RealzonDisEff_cool1.0Zone cooling air distribution effectiveness
RealzonDisEff_heat0.8Zone heating air distribution effectiveness

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTZonMeasured room temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTCooSetSetpoint temperature for room for cooling
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHeaSetSetpoint temperature for room for heating
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1WinWindow status, normally closed (true), when windows open, it becomes false
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1OccTrue: the zone is populated
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuOpeModZone operation mode
Buildings.Controls.OBC.CDL.Interfaces.RealInputppmCO2SetCO2 concentration setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealInputppmCO2Detected CO2 concentration
Buildings.Controls.OBC.CDL.Interfaces.RealInputTDisMeasured supply air temperature after heating coil
Buildings.Controls.OBC.CDL.Interfaces.RealInputVDis_flowMeasured primary discharge airflow rate
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSupTemperature of the air supplied from central air handler
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSupSetSupply air temperature setpoint from central air handler
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputoveFloSetIndex of overriding flow setpoint, 1: set to zero; 2: set to cooling maximum; 3: set to minimum flow; 4: set to heating maximum
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputoveDamPosIndex of overriding damper position, 1: set to close; 2: set to open
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuHeaOffOverride heating valve position, true: close heating valve
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1FanAHU supply fan status
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1HotPlaHot water plant status
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVSet_flowAirflow setpoint after considering override
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyDamDamper commanded position, or commanded flow rate ratio
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyValHeating valve commanded position, after considering override
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVAdjPopBreZon_flowAdjusted population component breathing zone flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVAdjAreBreZon_flowAdjusted area component breathing zone flow rate
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVMinOA_flowMinimum outdoor airflow setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVZonAbsMin_flowZone absolute minimum outdoor airflow setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVZonDesMin_flowZone design minimum outdoor airflow setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCO2CO2 control loop signal
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 reset requests
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyHotWatPlaReqRequest to heating hot-water plant
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyLowFloAlaLow airflow alarms
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyFloSenAlaAirflow sensor calibration alarm
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyLeaDamAlaLeaking damper alarm
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyLeaValAlaLeaking valve alarm
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyLowTemAlaLow discharge air temperature alarms

Revisions

  • January 12, 2023, by Jianjun Hu:
    Removed the parameter have_preIndDam to exclude the option of using pressure independant damper.
    This is for issue 3139.
  • August 1, 2020, by Jianjun Hu:
    First implementation.