blockController

Single Zone AHU controller that composes subsequences for controlling fan speed, economizer, and supply air temperature

Information

Block for single zone VAV control. It outputs supply fan speed, supply air temperature setpoints for heating, economizer and cooling, zone air heating and cooling setpoints, outdoor and return air damper positions, and valve positions of heating and cooling coils.

It is implemented according to the ASHRAE Guideline 36, Part 5.18.

The sequences consist of the following subsequences.

Supply fan speed control

The fan speed control is implemented according to PART 5.18.4. It outputs the control signal yFan to adjust the speed of the supply fan. See Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Supply for more detailed description.

Supply air temperature setpoints

The supply air temperature setpoints control sequences are implemented based on PART 5.18.4. They are implemented in the same control block as the supply fan speed control. The supply air temperature setpoint for heating and economizer is the same; while the supply air temperature setpoint for cooling has a separate control loop. See Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Supply for more detailed description.

Economizer control

The Economizer control block outputs outdoor and return air damper position, i.e. yOutDamPos and yRetDamPos, as well as control signal for heating coil yHeaCoi. Optionally, there is also an override for freeze protection, which is not part of Guideline 36. See Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Controller for more detailed description.

Minimum outdoor airflow

Control sequences are implemented to compute the minimum outdoor airflow setpoint, which is used as an input for the economizer control. More detailed information can be found at Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.OutsideAirFlow.

Zone air heating and cooling setpoints

Zone air heating and cooling setpoints as well as system operation modes are detailed at Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.ModeAndSetPoints.

Parameters

TypeNameDefaultDescription
Booleanhave_winSenCheck if the zone has window status sensor
Booleanhave_occSenSet to true if zones have occupancy sensor
Zone setpoints
RealTZonHeaOn293.15Heating setpoint during on
RealTZonHeaOff285.15Heating setpoint during off
RealTZonCooOn297.15Cooling setpoint during on
RealTZonCooOff303.15Cooling setpoint during off
Cooling loop control
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 control
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
Cooling coil control
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeCooCoiBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkCooCoi0.1Gain for cooling coil control signal
RealTiCooCoil900Time constant of integrator block for cooling coil control signal
RealTdCooCoil0.1Time constant of derivative block for cooling coil control signal
VAV Setpoints › Temperature limits
RealTSupSetMaxMaximum supply air temperature for heating
RealTSupSetMinMinimum supply air temperature for cooling
VAV Setpoints › Speed
RealyHeaMaxMaximum fan speed for heating
RealyMinMinimum fan speed
RealyCooMax1Maximum fan speed for cooling
Outside Air Flow › Nominal condition
RealVOutPerAre_flow3e-4Outdoor air rate per unit area
RealVOutPerPer_flow2.5e-3Outdoor air rate per person
RealAFloFloor area
Outside Air Flow › Occupancy
RealoccDen0.05Default number of person in unit area
RealzonDisEffHea0.8Zone air distribution effectiveness during heating
RealzonDisEffCoo1.0Zone air distribution effectiveness during cooling
Economizer › General
Booleanuse_enthalpyfalseSet to true if enthalpy measurement is used in addition to temperature measurement
Booleanuse_fixed_plus_differential_drybulbfalseSet to true to only evaluate fixed plus differential dry bulb temperature high limit cutoff; shall not be used with enthalpy
Booleanuse_TMixtrueSet to true if mixed air temperature measurement is enabled
Booleanuse_G36FreProfalseSet to true if G36 freeze protection is implemented
RealuMin0.1Lower limit of controller output uTSup at which the dampers are at their limits
RealuMax0.9Upper limit of controller output uTSup at which the dampers are at their limits
Economizer › Advanced
RealdelEntHis1000Delta between the enthalpy hysteresis high and low limits
Economizer › Modulation
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeModBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkMod1Gain of modulation controller
RealTiMod300Time constant of modulation controller integrator block
RealTdMod0.1Time constant of derivative block for modulation controller
Economizer › Freeze protection
Buildings.Controls.OBC.CDL.Types.SimpleControllercontrollerTypeFreBuildings.Controls.OBC.CDL.Types.SimpleController.PIType of controller
RealkFre0.1Gain for mixed air temperature tracking for freeze protection, used if use_TMix=true
RealTiFre120Time constant of controller for mixed air temperature tracking for freeze protection. Require TiFre < TiMinOut
RealTdFre0.1Time constant of derivative block for freeze protection
RealTFreSet277.15Lower limit for mixed air temperature for freeze protection, used if use_TMix=true
Economizer › Commissioning
RealVOutMin_flow1.0Calculated minimum outdoor airflow rate
RealVOutDes_flow2.0Calculated design outdoor airflow rate
RealyDam_VOutMin_minSpe0.4OA damper position to supply minimum outdoor airflow at minimum fan speed
RealyDam_VOutMin_maxSpe0.3OA damper position to supply minimum outdoor airflow at maximum fan speed
RealyDam_VOutDes_minSpe0.9OA damper position to supply design outdoor airflow at minimum fan speed
RealyDam_VOutDes_maxSpe0.8OA damper position to supply design outdoor airflow at maximum fan speed
RealoutDamPhyPosMax1.0Physically fixed maximum position of the outdoor air damper
RealoutDamPhyPosMin0.0Physically fixed minimum position of the outdoor air damper
RealretDamPhyPosMax1.0Physically fixed maximum position of the return air damper
RealretDamPhyPosMin0.0Physically fixed minimum position of the return air damper
Adjust temperature setpoint › General
BooleancooAdjfalseFlag, set to true if both cooling and heating setpoint are adjustable separately
BooleanheaAdjfalseFlag, set to true if heating setpoint is adjustable
BooleansinAdjfalseFlag, set to true if both cooling and heating setpoint are adjustable through a single common knob
BooleanignDemLimfalseFlag, set to true to exempt individual zone from demand limit setpoint adjustment
Adjust temperature setpoint › Limits
RealTZonCooOnMax300.15Maximum cooling setpoint during on
RealTZonCooOnMin295.15Minimum cooling setpoint during on
RealTZonHeaOnMax295.15Maximum heating setpoint during on
RealTZonHeaOnMin291.15Minimum heating setpoint during on
RealTZonCooSetWinOpe322.15Cooling setpoint when window is open
RealTZonHeaSetWinOpe277.15Heating setpoint when window is open
Adjust temperature setpoint › Demand control adjustment
RealincTSetDem_10.56Cooling setpoint increase value (degC) when cooling demand limit level 1 is imposed
RealincTSetDem_21.1Cooling setpoint increase value (degC) when cooling demand limit level 2 is imposed
RealincTSetDem_32.2Cooling setpoint increase value (degC) when cooling demand limit level 3 is imposed
RealdecTSetDem_10.56Heating setpoint decrease value (degC) when heating demand limit level 1 is imposed
RealdecTSetDem_21.1Heating setpoint decrease value (degC) when heating demand limit level 2 is imposed
RealdecTSetDem_32.2Heating setpoint decrease value (degC) when heating demand limit level 3 is imposed
Advanced
RealuLow-0.1Low limit of the hysteresis for checking temperature difference
RealuHigh0.1High limit of the hysteresis for checking temperature difference

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputTOutOutside air temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputwarUpTimWarm-up time retrieved from optimal warm-up block
Buildings.Controls.OBC.CDL.Interfaces.RealInputcooDowTimCool-down time retrieved from optimal cool-down block
Buildings.Controls.OBC.CDL.Interfaces.RealInputtNexOccTime to next occupied period
Buildings.Controls.OBC.CDL.Interfaces.RealInputTZonMeasured zone temperatures
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputuOccCurrent occupancy period, true if it is in occupant period
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuCooDemLimLevCooling demand limit level
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuHeaDemLimLevHeating demand limit level
Buildings.Controls.OBC.CDL.Interfaces.RealInputTSupMeasured supply air temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTCutEconomizer high limit cutoff. Fixed dry bulb or differential dry bulb temeprature
Buildings.Controls.OBC.CDL.Interfaces.RealInputTMixMeasured mixed air temperature, used for freeze protection if use_TMix is true
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.RealInputhOutOutdoor air enthalpy
Buildings.Controls.OBC.CDL.Interfaces.RealInputhCutEconomizer enthalpy high limit cutoff. Fixed enthalpy or differential enthalpy
Buildings.Controls.OBC.CDL.Interfaces.RealInputTRetUsed only for fixed plus differential dry bulb temperature high limit cutoff
Buildings.Controls.OBC.CDL.Interfaces.IntegerInputuFreProStaFreeze protection status, used if use_G36FrePro=true
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTSupHeaEcoTemperature setpoint for heating coil and for economizer
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTSupCooCooling supply air temperature setpoint
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyFanFan speed
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTZonHeaSetHeating setpoint temperature
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTZonCooSetCooling setpoint temperature
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyHeaCoiHeating coil control signal
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyCooCoiCooling coil control signal
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyOutDamPosOutdoor air damper position
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyRetDamPosReturn air damper position

Components

TypeNameDefaultDescription
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.ModeAndSetPointsmodSetPoiZone setpoint and operation mode
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.SupplysetPoiVAVSupply air set point and fan signal for single zone VAV system
Buildings.Controls.OBC.CDL.Reals.PIDWithResetcooPIZone cooling control signal
Buildings.Controls.OBC.CDL.Reals.PIDWithResetheaPIZone heating control signal
Buildings.Controls.OBC.CDL.Reals.AverageaveAverage of zone heating and cooling setpoint
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.ControllerconEcoEconomizer control sequence
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.OutsideAirFlowoutAirSetPoiOutput the minimum outdoor airflow rate setpoint
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.ZoneStatezonStaZone state
Buildings.Controls.OBC.CDL.Integers.Sources.ConstantconIntUnoccupied mode
Buildings.Controls.OBC.CDL.Integers.EqualintEquCheck if current operation mode is unoccupied mode
Buildings.Controls.OBC.CDL.Logical.NotswitchIf in unoccupied mode, switch off
Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.CoolingCoilcooCoiController for cooling coil valve
Buildings.Controls.OBC.CDL.Logical.Sources.ConstantwinWindow status
Buildings.Controls.OBC.CDL.Reals.GreaterThresholdhavOccCheck if there is occupant

Revisions

  • March 1, 2023, by Michael Wetter:
    Changed constants from 0 to 0.0 and 1 to 1.0.
    This is for #3267.
  • June 20, 2020, by Jianjun Hu:
    Updated the block of specifying operating mode and setpoints.
    This is for #1893.
  • March 10, 2020, by Jianjun Hu:
    Replaced the block for calculating the operation mode and setpoint temperature with the one from the terminal unit package. The new block does not have vector-valued calculations.
    This is for #1709.
  • August 3, 2019, by David Blum & Kun Zhang:
    First implementation.