blockController

Controller for dual-duct terminal unit using mixing control with discharge flow sensor

Information

Controller for dual-duct terminal unit using mixing control with discharge flow sensor according to Section 5.13 of ASHRAE Guideline 36, May 2020. It outputs discharge airflow setpoint VSet_flow, cold and hot duct dampers position setpoint (yCooDam, yHeaDam), cooling supply temperature setpoint reset request yZonCooTemResReq, heating supply temperature setpoint reset request yZonHeaTemResReq, cold-duct static pressure setpoint reset request yColDucPreResReq, hot-duct static pressure setpoint reset request yHotDucPreResReq, heating fan request yHeaFanReq. It also outputs the alarms about the low airflow yLowFloAla, leaking dampers, and airflow sensor(s) calibration alarm.

The sequence consists of 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 airflow according to Section 5.13.4. Depending on operation modes uOpeMod, it sets the airflow rate limits for cooling and heating supply. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.ActiveAirFlow.

c. Dampers control

This sequence sets the dampers position setpoints. The implementation is according to Section 5.13.5. The sequence outputs discharge airflow rate setpoint VSet_flow, cold and hot ducts damper position setpoints (yCooDam, yHeaDam). See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Dampers.

d. System reset requests generation

According to Section 5.13.8, this sequence outputs the system reset requests, i.e. cooling and heating supply air temperature reset requests (yZonCooTemResReq and yZonHeaTemResReq), cold and hot duct static pressure reset requests (yColDucPreResReq and yHotDucPreResReq), and the heating fan requests yHeaFanReq. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.SystemRequests.

e. Alarms

According to Section 5.13.6, this sequence outputs the alarms of low discharge flow, leaking dampers and airflow sensor calibration alarm. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Alarms.

f. Testing and commissioning overrides

According to Section 5.13.7, this sequence allows the override the aiflow and dampers position setpoints. See Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Overrides.

Note that in this implementation, the system request sequence for generating hot-duct pressure reset request needs to know the airflow setpoint. However, the damper control sequence, which is specified in the Section 5.13.5, does not specify the flow setpoint when the zone is in heating state. It directly maps the heating loop output to the heating damper position. To avoid the confusion caused by the wordings in the Section 5.13.5.1.c, the damper control was implemented according to the Figure 5.13.5.

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
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
RealVHeaMax_flowDesign zone heating maximum airflow rate
Control loops › Cooling
RealkCooCon0.1Gain of controller for cooling control loop
RealTiCooCon900Time constant of integrator block for cooling control loop
Control loops › Heating
RealkHeaCon0.1Gain of controller for heating control loop
RealTiHeaCon900Time constant of integrator block for heating control loop
Dampers
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
RealkHeaMaxDam0.5Gain of controller for heating maximum 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
System requests › Duration time
RealdurTimTem120Duration time of zone temperature exceeds setpoint
RealdurTimFlo60Duration time of airflow rate less than setpoint
Alarms
RealstaPreMul1Importance multiplier for the zone static pressure reset control loop
ReallowFloTim300Threshold time to check low flow rate
RealfanOffTim600Threshold time to check fan off
RealleaFloTim600Threshold time to check damper leaking airflow
Time-based suppresion
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
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
Advanced › Time-based suppresion
RealsamplePeriod120Sample period of component, set to the same value as the trim and respond that process static pressure reset

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 discharge air temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTColSupCold duct supply air temperature from central air handler
Buildings.Controls.OBC.CDL.Interfaces.RealInputVDis_flowMeasured discharge airflow rate airflow rate
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1CooAHUCooling air handler status
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHotSupHot duct supply air temperature from central air handler
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputu1HeaAHUHeating air handler status
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.IntegerInputoveCooDamPosIndex of overriding cooling damper position, 1: set to close; 2: set to open
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputoveHeaDamPosIndex of overriding heating damper position, 1: set to close; 2: set to open
Buildings.Controls.OBC.CDL.Interfaces.RealOutputVSet_flowAirflow setpoint after considering override
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCooDamCooling damper commanded position, or commanded flow rate ratio
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyHeaDamHeating damper commanded position, or commanded flow rate ratio
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.IntegerOutputyZonCooTemResReqZone cooling supply air temperature reset request
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyColDucPreResReqCold duct pressure reset requests
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyZonHeaTemResReqZone heating supply air temperature reset request
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyHotDucPreResReqHot duct pressure reset requests
Buildings.Controls.OBC.CDL.Interfaces.IntegerOutputyHeaFanReqHeating fan request
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

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.ActiveAirFlowactAirSetActive airflow setpoint
Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.SystemRequestssysReqSpecify system requests
Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.ControlLoopsconLooHeating and cooling control loop
Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.AlarmsalaGenerate alarms
Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.OverridessetOveOverride setpoints
Buildings.Controls.OBC.ASHRAE.G36.Generic.TimeSuppressiontimSupCooSpecify suppresion time due to the zone cooling setpoint change and check if it has passed the suppresion period
Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.SetpointssetPoiOutput the minimum outdoor airflow rate setpoint, when using ASHRAE 62.1
Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.DampersdamDuaSenDampers control when the unit has single dual airflow sensor
Buildings.Controls.OBC.ASHRAE.G36.Generic.TimeSuppressiontimSupHeaSpecify suppresion time due to the zone heating setpoint change and check if it has passed the suppresion period
Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.SetpointsminFloOutput the minimum outdoor airflow rate setpoint, when using Title 24

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.