modelAirHandlingUnitControlStateGraph

Reimplemented modeSelector using State Graph models . Model modified from Buildings library model VAVReheat.ClosedLoop

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Note

This model is derived from Buildings library developed by LBNL, USA. We simply substituted the model modeSelector with a different Class reimplementing the state based control using models from BuildingControlLib.BuildingControl.VDI3814.

Original Documentation

This model consist of an HVAC system, a building envelope model and a model for air flow through building leakage and through open doors based on wind pressure and flow imbalance of the HVAC system.

The HVAC system is a variable air volume (VAV) flow system with economizer and a heating and cooling coil in the air handler unit. There is also a reheat coil and an air damper in each of the five zone inlet branches. The figure below shows the schematic diagram of the HVAC system

image

The control is an implementation of the control sequence VAV 2A2-21232 of the Sequences of Operation for Common HVAC Systems (ASHRAE, 2006). In this control sequence, the supply fan speed is regulated based on the duct static pressure. The return fan controller tracks the supply fan air flow rate reduced by a fixed offset. The duct static pressure is adjusted so that at least one VAV damper is 90% open. The economizer dampers are modulated to track the setpoint for the mixed air dry bulb temperature. Priority is given to maintain a minimum outside air volume flow rate. In each zone, the VAV damper is adjusted to meet the room temperature setpoint for cooling, or fully opened during heating. The room temperature setpoint for heating is tracked by varying the water flow rate through the reheat coil. There is also a finite state machine that transitions the mode of operation of the HVAC system between the modes occupied, unoccupied off, unoccupied night set back, unoccupied warm-up and unoccupied pre-cool. In the VAV model, all air flows are computed based on the duct static pressure distribution and the performance curves of the fans. Local loop control is implemented using proportional and proportional-integral controllers, while the supervisory control is implemented using a finite state machine.

To model the heat transfer through the building envelope, a model of five interconnected rooms is used. The five room model is representative of one floor of the new construction medium office building for Chicago, IL, as described in the set of DOE Commercial Building Benchmarks (Deru et al, 2009). There are four perimeter zones and one core zone. The envelope thermal properties meet ASHRAE Standard 90.1-2004. The thermal room model computes transient heat conduction through walls, floors and ceilings and long-wave radiative heat exchange between surfaces. The convective heat transfer coefficient is computed based on the temperature difference between the surface and the room air. There is also a layer-by-layer short-wave radiation, long-wave radiation, convection and conduction heat transfer model for the windows. The model is similar to the Window 5 model and described in TARCOG 2006.

Each thermal zone can have air flow from the HVAC system, through leakages of the building envelope (except for the core zone) and through bi-directional air exchange through open doors that connect adjacent zones. The bi-directional air exchange is modeled based on the differences in static pressure between adjacent rooms at a reference height plus the difference in static pressure across the door height as a function of the difference in air density. There is also wind pressure acting on each facade. The wind pressure is a function of the wind speed and wind direction. Therefore, infiltration is a function of the flow imbalance of the HVAC system and of the wind conditions.

References

ASHRAE. Sequences of Operation for Common HVAC Systems. ASHRAE, Atlanta, GA, 2006.

Deru M., K. Field, D. Studer, K. Benne, B. Griffith, P. Torcellini, M. Halverson, D. Winiarski, B. Liu, M. Rosenberg, J. Huang, M. Yazdanian, and D. Crawley. DOE commercial building research benchmarks for commercial buildings. Technical report, U.S. Department of Energy, Energy Efficiency and Renewable Energy, Office of Building Technologies, Washington, DC, 2009.

TARCOG 2006: Carli, Inc., TARCOG: Mathematical models for calculation of thermal performance of glazing systems with our without shading devices, Technical Report, Oct. 17, 2006.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.VolumeVRooCor2698Room volume corridor
Modelica.SIunits.VolumeVRooSou568.77Room volume south
Modelica.SIunits.VolumeVRooNor568.77Room volume north
Modelica.SIunits.VolumeVRooEas360.08Room volume east
Modelica.SIunits.VolumeVRooWes360.08Room volume west
Realconv1.2/3600Conversion factor for nominal mass flow rate
Modelica.SIunits.MassFlowRatem0_flow_cor6*VRooCor*convDesign mass flow rate core
Modelica.SIunits.MassFlowRatem0_flow_sou7*VRooSou*convDesign mass flow rate perimeter 1
Modelica.SIunits.MassFlowRatem0_flow_eas10*VRooEas*convDesign mass flow rate perimeter 2
Modelica.SIunits.MassFlowRatem0_flow_nor7*VRooNor*convDesign mass flow rate perimeter 3
Modelica.SIunits.MassFlowRatem0_flow_wes10*VRooWes*convDesign mass flow rate perimeter 4
Modelica.SIunits.MassFlowRatem_flow_nominalm0_flow_cor + m0_flow_sou + m0_flow_eas + m0_flow_nor + m0_flow_wesNominal mass flow rate
Modelica.SIunits.Anglelat41.98*3.14159/180Latitude

Connectors

TypeNameDefaultDescription
Buildings.BoundaryConditions.WeatherData.BusweaBusWeather Data Bus

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.OutsideambAmbient conditions
Buildings.Fluid.FixedResistances.PressureDropfilFilter
Buildings.Fluid.HeatExchangers.DryEffectivenessNTUheaCoiHeating coil
Buildings.Fluid.HeatExchangers.WetCoilCounterFlowcooCoiCooling coil
Buildings.Fluid.FixedResistances.PressureDropdpSupDucPressure drop for supply duct
Buildings.Fluid.FixedResistances.PressureDropdpRetDucPressure drop for return duct
Buildings.Fluid.Movers.SpeedControlled_yfanSupSupply air fan
Buildings.Fluid.Movers.SpeedControlled_yfanRetReturn air fan
Buildings.Fluid.Sources.FixedBoundarysinHeaSink for heating coil
Buildings.Fluid.Sources.FixedBoundarysinCooSink for cooling coil
Modelica.Blocks.Routing.RealPassThroughTOut
Buildings.Fluid.Sensors.TemperatureTwoPortTSup
Modelica.Blocks.Sources.ConstantTSupSetHeaSupply air temperature setpoint for heating
Buildings.Controls.Continuous.LimPIDheaCoiConController for heating coil
Buildings.Controls.Continuous.LimPIDcooCoiConController for cooling coil
Buildings.Fluid.Sensors.RelativePressuredpRetFanPressure difference over return fan
Buildings.Examples.VAVReheat.Controls.FanVFDconFanSupController for fan
Buildings.Fluid.Sensors.VolumeFlowRatesenSupFloSensor for supply fan flow rate
Buildings.Controls.SetPoints.OccupancyScheduleoccSchOccupancy schedule
Utilities.AirHandlingUnit.Controls.ModeSelector_VDI3814modeSelector
Buildings.Examples.VAVReheat.Controls.ControlBuscontrolBus
Buildings.Fluid.Sensors.TemperatureTwoPortTCoiHeaOutHeating coil outlet temperature
Buildings.Utilities.Math.MinminComputes lowest room temperature
Buildings.Utilities.Math.AverageaveCompute average of room temperatures
Buildings.Fluid.Actuators.Valves.TwoWayLinearvalCooCooling coil valve
Buildings.Fluid.Sources.FixedBoundarysouCooSource for cooling coil
Buildings.Examples.VAVReheat.Controls.EconomizerconEcoController for economizer
Buildings.Fluid.Sensors.TemperatureTwoPortTRetReturn air temperature sensor
Buildings.Fluid.Sensors.TemperatureTwoPortTMixMixed air temperature sensor
Buildings.Examples.VAVReheat.Controls.RoomTemperatureSetpointTSetRoo
Buildings.Fluid.Actuators.Valves.TwoWayLinearvalHeaHeating coil valve
Buildings.Fluid.Sources.FixedBoundarysouHeaSource for heating coil
Buildings.Fluid.Actuators.Dampers.MixingBoxecoEconomizer
Buildings.Fluid.Sensors.VolumeFlowRateVOut1Outside air volume flow rate
Buildings.Examples.VAVReheat.Controls.DuctStaticPressureSetpointpSetDucDuct static pressure setpoint
Buildings.Examples.VAVReheat.ThermalZones.VAVBranchcorZone for core of buildings (azimuth will be neglected)
Buildings.Examples.VAVReheat.ThermalZones.VAVBranchsouSouth-facing thermal zone
Buildings.Examples.VAVReheat.ThermalZones.VAVBrancheasEast-facing thermal zone
Buildings.Examples.VAVReheat.ThermalZones.VAVBranchnorNorth-facing thermal zone
Buildings.Examples.VAVReheat.ThermalZones.VAVBranchwesWest-facing thermal zone
Buildings.Examples.VAVReheat.Controls.FanVFDconFanRetController for fan
Buildings.Fluid.Sensors.VolumeFlowRatesenRetFloSensor for return fan flow rate
Buildings.Fluid.FixedResistances.JunctionsplRetRoo1Splitter for room return
Buildings.Fluid.FixedResistances.JunctionsplRetSouSplitter for room return
Buildings.Fluid.FixedResistances.JunctionsplRetEasSplitter for room return
Buildings.Fluid.FixedResistances.JunctionsplRetNorSplitter for room return
Buildings.Fluid.FixedResistances.JunctionsplSupRoo1Splitter for room supply
Buildings.Fluid.FixedResistances.JunctionsplSupSouSplitter for room supply
Buildings.Fluid.FixedResistances.JunctionsplSupEasSplitter for room supply
Buildings.Fluid.FixedResistances.JunctionsplSupNorSplitter for room supply
Buildings.Examples.VAVReheat.Controls.CoolingCoilTemperatureSetpointTSetCooSetpoint for cooling coil
Buildings.BoundaryConditions.WeatherData.ReaderTMY3weaDat
Buildings.Examples.VAVReheat.ThermalZones.FloorfloModel of a floor of the building that is served by this VAV system
Modelica.Blocks.Routing.DeMultiplex5TRooAirDemultiplex for room air temperature

Contents

NameDescription
MediumA
MediumWMedium model for water

Revisions

  • May 19, 2016, by Michael Wetter:
    Changed chilled water supply temperature to 6ˆC. This is for #509.
  • April 26, 2016, by Michael Wetter:
    Changed controller for freeze protection as the old implementation closed the outdoor air damper during summer. This is for #511.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • September 24, 2015 by Michael Wetter:
    Set default temperature for medium to avoid conflicting start values for alias variables of the temperature of the building and the ambient air. This is for issue 426.