modelAirHandlingUnitControlStateGraph
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
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Volume | VRooCor | 2698 | Room volume corridor |
| Modelica.SIunits.Volume | VRooSou | 568.77 | Room volume south |
| Modelica.SIunits.Volume | VRooNor | 568.77 | Room volume north |
| Modelica.SIunits.Volume | VRooEas | 360.08 | Room volume east |
| Modelica.SIunits.Volume | VRooWes | 360.08 | Room volume west |
| Real | conv | 1.2/3600 | Conversion factor for nominal mass flow rate |
| Modelica.SIunits.MassFlowRate | m0_flow_cor | 6*VRooCor*conv | Design mass flow rate core |
| Modelica.SIunits.MassFlowRate | m0_flow_sou | 7*VRooSou*conv | Design mass flow rate perimeter 1 |
| Modelica.SIunits.MassFlowRate | m0_flow_eas | 10*VRooEas*conv | Design mass flow rate perimeter 2 |
| Modelica.SIunits.MassFlowRate | m0_flow_nor | 7*VRooNor*conv | Design mass flow rate perimeter 3 |
| Modelica.SIunits.MassFlowRate | m0_flow_wes | 10*VRooWes*conv | Design mass flow rate perimeter 4 |
| Modelica.SIunits.MassFlowRate | m_flow_nominal | m0_flow_cor + m0_flow_sou + m0_flow_eas + m0_flow_nor + m0_flow_wes | Nominal mass flow rate |
| Modelica.SIunits.Angle | lat | 41.98*3.14159/180 | Latitude |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.BoundaryConditions.WeatherData.Bus | weaBus | Weather Data Bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Sources.Outside | amb | Ambient conditions | |
| Buildings.Fluid.FixedResistances.PressureDrop | fil | Filter | |
| Buildings.Fluid.HeatExchangers.DryEffectivenessNTU | heaCoi | Heating coil | |
| Buildings.Fluid.HeatExchangers.WetCoilCounterFlow | cooCoi | Cooling coil | |
| Buildings.Fluid.FixedResistances.PressureDrop | dpSupDuc | Pressure drop for supply duct | |
| Buildings.Fluid.FixedResistances.PressureDrop | dpRetDuc | Pressure drop for return duct | |
| Buildings.Fluid.Movers.SpeedControlled_y | fanSup | Supply air fan | |
| Buildings.Fluid.Movers.SpeedControlled_y | fanRet | Return air fan | |
| Buildings.Fluid.Sources.FixedBoundary | sinHea | Sink for heating coil | |
| Buildings.Fluid.Sources.FixedBoundary | sinCoo | Sink for cooling coil | |
| Modelica.Blocks.Routing.RealPassThrough | TOut | ||
| Buildings.Fluid.Sensors.TemperatureTwoPort | TSup | ||
| Modelica.Blocks.Sources.Constant | TSupSetHea | Supply air temperature setpoint for heating | |
| Buildings.Controls.Continuous.LimPID | heaCoiCon | Controller for heating coil | |
| Buildings.Controls.Continuous.LimPID | cooCoiCon | Controller for cooling coil | |
| Buildings.Fluid.Sensors.RelativePressure | dpRetFan | Pressure difference over return fan | |
| Buildings.Examples.VAVReheat.Controls.FanVFD | conFanSup | Controller for fan | |
| Buildings.Fluid.Sensors.VolumeFlowRate | senSupFlo | Sensor for supply fan flow rate | |
| Buildings.Controls.SetPoints.OccupancySchedule | occSch | Occupancy schedule | |
| Utilities.AirHandlingUnit.Controls.ModeSelector_VDI3814 | modeSelector | ||
| Buildings.Examples.VAVReheat.Controls.ControlBus | controlBus | ||
| Buildings.Fluid.Sensors.TemperatureTwoPort | TCoiHeaOut | Heating coil outlet temperature | |
| Buildings.Utilities.Math.Min | min | Computes lowest room temperature | |
| Buildings.Utilities.Math.Average | ave | Compute average of room temperatures | |
| Buildings.Fluid.Actuators.Valves.TwoWayLinear | valCoo | Cooling coil valve | |
| Buildings.Fluid.Sources.FixedBoundary | souCoo | Source for cooling coil | |
| Buildings.Examples.VAVReheat.Controls.Economizer | conEco | Controller for economizer | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | TRet | Return air temperature sensor | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | TMix | Mixed air temperature sensor | |
| Buildings.Examples.VAVReheat.Controls.RoomTemperatureSetpoint | TSetRoo | ||
| Buildings.Fluid.Actuators.Valves.TwoWayLinear | valHea | Heating coil valve | |
| Buildings.Fluid.Sources.FixedBoundary | souHea | Source for heating coil | |
| Buildings.Fluid.Actuators.Dampers.MixingBox | eco | Economizer | |
| Buildings.Fluid.Sensors.VolumeFlowRate | VOut1 | Outside air volume flow rate | |
| Buildings.Examples.VAVReheat.Controls.DuctStaticPressureSetpoint | pSetDuc | Duct static pressure setpoint | |
| Buildings.Examples.VAVReheat.ThermalZones.VAVBranch | cor | Zone for core of buildings (azimuth will be neglected) | |
| Buildings.Examples.VAVReheat.ThermalZones.VAVBranch | sou | South-facing thermal zone | |
| Buildings.Examples.VAVReheat.ThermalZones.VAVBranch | eas | East-facing thermal zone | |
| Buildings.Examples.VAVReheat.ThermalZones.VAVBranch | nor | North-facing thermal zone | |
| Buildings.Examples.VAVReheat.ThermalZones.VAVBranch | wes | West-facing thermal zone | |
| Buildings.Examples.VAVReheat.Controls.FanVFD | conFanRet | Controller for fan | |
| Buildings.Fluid.Sensors.VolumeFlowRate | senRetFlo | Sensor for return fan flow rate | |
| Buildings.Fluid.FixedResistances.Junction | splRetRoo1 | Splitter for room return | |
| Buildings.Fluid.FixedResistances.Junction | splRetSou | Splitter for room return | |
| Buildings.Fluid.FixedResistances.Junction | splRetEas | Splitter for room return | |
| Buildings.Fluid.FixedResistances.Junction | splRetNor | Splitter for room return | |
| Buildings.Fluid.FixedResistances.Junction | splSupRoo1 | Splitter for room supply | |
| Buildings.Fluid.FixedResistances.Junction | splSupSou | Splitter for room supply | |
| Buildings.Fluid.FixedResistances.Junction | splSupEas | Splitter for room supply | |
| Buildings.Fluid.FixedResistances.Junction | splSupNor | Splitter for room supply | |
| Buildings.Examples.VAVReheat.Controls.CoolingCoilTemperatureSetpoint | TSetCoo | Setpoint for cooling coil | |
| Buildings.BoundaryConditions.WeatherData.ReaderTMY3 | weaDat | ||
| Buildings.Examples.VAVReheat.ThermalZones.Floor | flo | Model of a floor of the building that is served by this VAV system | |
| Modelica.Blocks.Routing.DeMultiplex5 | TRooAir | Demultiplex for room air temperature |
Contents
| Name | Description |
|---|---|
| Medium 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.