modelPartialHVAC

Partial model of variable air volume flow system with terminal reheat that serves five thermal zones

Information

This partial model consist of an HVAC system that serves multiple thermal zones.

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 zone inlet branches. The figure below shows the schematic diagram of an HVAC system that supplies 5 zones:

image

The control sequences for this HVAC system are added in the two models that extend this model, namely Buildings.Examples.VAVReheat.ASHRAE2006 and Buildings.Examples.VAVReheat.Guideline36.

Parameters

TypeNameDefaultDescription
IntegernumZon5Total number of served VAV boxes
Modelica.Units.SI.Volume[numZon]VRooRoom volume per zone
Modelica.Units.SI.Area[numZon]AFloFloor area per zone
Modelica.Units.SI.AreaATotsum(AFlo)Total floor area for all zone
Realconv1.2/3600Conversion factor for nominal mass flow rate
Modelica.Units.SI.HeatFlowRateQHeaAHU_flow_nominalmHeaAir_flow_nominal*cpAir*(THeaAirSup_nominal - THeaAirMix_nominal)Nominal heating heat flow rate of air handler unit coil
Modelica.Units.SI.HeatFlowRateQCooAHU_flow_nominal1.3*mCooAir_flow_nominal*cpAir*(TCooAirSup_nominal - TCooAirMix_nominal)Nominal total cooling heat flow rate of air handler unit coil (negative number)
RealratOAFlo_A0.3e-3Outdoor airflow rate required per unit area
RealratOAFlo_P2.5e-3Outdoor airflow rate required per person
RealratP_A5e-2Occupant density
RealeffZ0.8Zone air distribution effectiveness (limiting value)
RealdivP0.7Occupant diversity ratio
Modelica.Units.SI.VolumeFlowRate[numZon]VZonOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFlo_A)*AFlo/effZZone outdoor air flow rate of each VAV box
Modelica.Units.SI.VolumeFlowRateVou_flow_nominal(divP*ratOAFlo_P*ratP_A + ratOAFlo_A)*sum(AFlo)System uncorrected outdoor air flow rate
RealeffVenif divP < 0.6 then 0.88*divP + 0.22 else 0.75System ventilation efficiency
Modelica.Units.SI.VolumeFlowRateVot_flow_nominalVou_flow_nominal/effVenSystem design outdoor air flow rate
Modelica.Units.SI.PressureDifferencedpBuiStaSet12Building static pressure
RealyFanMin0.1Minimum fan speed
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Nominal mass flow rate
Modelica.Units.SI.MassFlowRate[numZon]mCooVAV_flow_nominalDesign mass flow rate per zone for cooling
Modelica.Units.SI.MassFlowRate[numZon]mHeaVAV_flow_nominal0.3*mCooVAV_flow_nominalDesign mass flow rate per zone for heating
Modelica.Units.SI.MassFlowRatemAir_flow_nominalmCooAir_flow_nominalNominal mass flow rate for fan
Modelica.Units.SI.MassFlowRatemCooAir_flow_nominal0.7*sum(mCooVAV_flow_nominal)Nominal mass flow rate for fan
Modelica.Units.SI.MassFlowRatemHeaAir_flow_nominal0.7*sum(mHeaVAV_flow_nominal)Nominal mass flow rate for fan
Modelica.Units.SI.MassFlowRatemHeaWat_flow_nominalQHeaAHU_flow_nominal/cpWat/10Nominal water mass flow rate for heating coil in AHU
Modelica.Units.SI.MassFlowRatemCooWat_flow_nominalQCooAHU_flow_nominal/cpWat/(-6)Nominal water mass flow rate for cooling coil
Room temperature setpoints
Modelica.Units.SI.TemperatureTHeaOn293.15Heating setpoint during on
Modelica.Units.SI.TemperatureTHeaOff285.15Heating setpoint during off
Modelica.Units.SI.TemperatureTCooOn297.15Cooling setpoint during on
Modelica.Units.SI.TemperatureTCooOff303.15Cooling setpoint during off
Air handler unit nominal temperatures and humidity
Modelica.Units.SI.TemperatureTCooAirMix_nominal303.15Mixed air temperature during cooling nominal conditions (used to size cooling coil)
Modelica.Units.SI.TemperatureTCooAirSup_nominal285.15Supply air temperature during cooling nominal conditions (used to size cooling coil)
Modelica.Units.SI.MassFractionwCooAirMix_nominal0.017Humidity ratio of mixed air at a nominal conditions used to size cooling coil (in kg/kg dry total)
Modelica.Units.SI.TemperatureTCooWatInl_nominal279.15Cooling coil nominal inlet water temperature
Modelica.Units.SI.TemperatureTHeaAirMix_nominal277.15Mixed air temperature during heating nominal conditions (used to size heating coil)
Modelica.Units.SI.TemperatureTHeaAirSup_nominal285.15Supply air temperature during heating nominal conditions (used to size heating coil)
Modelica.Units.SI.TemperatureTHeaWatInl_nominalReheat coil nominal inlet water temperature

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_a[numZon]port_supAirSupply air to thermal zones
Modelica.Fluid.Interfaces.FluidPort_a[numZon]port_retAirReturn air from thermal zones
Modelica.Blocks.Interfaces.RealInput[numZon]TRooRoom temperatures
BoundaryConditions.WeatherData.BusweaBusWeather data bus
Modelica.Fluid.Interfaces.FluidPort_aportHeaCoiSupHeating coil loop supply
Modelica.Fluid.Interfaces.FluidPort_bportHeaCoiRetHeating coil loop return
Modelica.Fluid.Interfaces.FluidPort_aportHeaTerSupTerminal heat loop supply
Modelica.Fluid.Interfaces.FluidPort_bportHeaTerRetTerminal heat loop return
Modelica.Fluid.Interfaces.FluidPort_aportCooCoiSupCooling coil loop supply
Modelica.Fluid.Interfaces.FluidPort_bportCooCoiRetCoolin coil loop return

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.OutsideambAmbient conditions
Buildings.Fluid.HeatExchangers.DryCoilEffectivenessNTUheaCoiHeating coil
Fluid.HeatExchangers.WetCoilEffectivenessNTUcooCoiCooling coil
Buildings.Fluid.FixedResistances.PressureDropdpRetDucPressure drop for return duct
Buildings.Fluid.Movers.Preconfigured.SpeedControlled_yfanSupSupply air fan
Buildings.Fluid.Sensors.VolumeFlowRatesenSupFloSensor for supply fan flow rate
Buildings.Fluid.Sensors.VolumeFlowRatesenRetFloSensor for return fan flow rate
Modelica.Blocks.Routing.RealPassThroughTOut
Buildings.Fluid.Sensors.TemperatureTwoPortTSup
Buildings.Fluid.Sensors.RelativePressuredpDisSupFanSupply fan static discharge pressure
Buildings.Controls.SetPoints.OccupancyScheduleoccSchOccupancy schedule
Buildings.Fluid.Sensors.TemperatureTwoPortTRetReturn air temperature sensor
Buildings.Fluid.Sensors.TemperatureTwoPortTMixMixed air temperature sensor
Buildings.Fluid.Sensors.VolumeFlowRateVOut1Outside air volume flow rate
ResultsresResults of the simulation
Fluid.Actuators.Dampers.ExponentialdamRetReturn air damper
Fluid.Actuators.Dampers.ExponentialdamOutOutdoor air damper
Fluid.FixedResistances.JunctionsplCooSupFlow splitter
Fluid.Actuators.Valves.TwoWayEqualPercentagevalCooCoiValve for cooling coil
Fluid.FixedResistances.JunctionsplCooRetFlow splitter
Fluid.Movers.Preconfigured.SpeedControlled_ypumCooCoiSupply air fan
Fluid.Movers.Preconfigured.SpeedControlled_ypumHeaCoiPump for heating coil
Fluid.Actuators.Valves.TwoWayEqualPercentagevalHeaCoiValve for heating coil
Fluid.FixedResistances.JunctionsplHeaRetFlow splitter
Fluid.FixedResistances.JunctionsplHeaSupFlow splitter
Buildings.Examples.VAVReheat.BaseClasses.VAVReheatBox[numZon]VAVBoxVAV boxes
Buildings.Fluid.FixedResistances.Junction[numZon - 1]splRetRooSplitter for room return air
Buildings.Fluid.FixedResistances.Junction[numZon - 1]splSupRooSplitter for room supply air
Fluid.FixedResistances.PressureDropdpSupDucPressure drop for supply duct
Fluid.FixedResistances.JunctionsplRetOutFlow splitter

Contents

NameDescription
MediumA
MediumWMedium model for water
ResultsprotectedModel to store the results of the simulation

Revisions

  • February 7, 2023, by Jianjun Hu:
    Set the value of parameter transferHeat to true for the mixed air temperature sensor.
  • February 6, 2023, by Jianjun Hu:
    Added junction to mix the return and outdoor air.
    This is for issue #3230.
  • August 22, 2022, by Hongxiang Fu:
    Replaced fan and pump models with preconfigured mover models. This is for issue #2668.
  • April 26, 2022, by Michael Wetter:
    Changed fan efficiency calculation to use Euler number.
    This is for #2668.
  • November 9, 2021, by Baptiste Ravache:
    Vectorized the terminal boxes to be expanded to any number of zones.
    This is for issue #2735.
  • October 4, 2021, by Michael Wetter:
    Refactored Buildings.Examples.VAVReheat and its base classes to separate building from HVAC model.
    This is for issue #2652.
  • September 3, 2021, by Michael Wetter:
    Updated documentation.
    This is for issue #2600.
  • August 24, 2021, by Michael Wetter:
    Changed model to include the hydraulic configurations of the cooling coil, heating coil and VAV terminal box.
    This is for issue #2594.
  • June 30, 2021, by Antoine Gautier:
    Changed cooling coil model. This is for issue #2549.
  • May 6, 2021, by David Blum:
    Change to from_dp=false for all mixing box dampers.
    This is for issue #2485.
  • April 30, 2021, by Michael Wetter:
    Reformulated replaceable class and introduced floor areas in base class to avoid access of components that are not in the constraining type.
    This is for issue #2471.
  • April 16, 2021, by Michael Wetter:
    Refactored model to implement the economizer dampers directly in Buildings.Examples.VAVReheat.BaseClasses.PartialHVAC rather than through the model of a mixing box. Since the version of the Guideline 36 model has no exhaust air damper, this leads to simpler equations.
    This is for issue #2454.
  • March 11, 2021, by Michael Wetter:
    Set parameter in weather data reader to avoid computation of wet bulb temperature which is need needed for this model.
  • February 03, 2021, by Baptiste Ravache:
    Refactored the sizing of the heating coil in the VAVBranch (renamed VAVReheatBox) class.
    This is for #2024.
  • July 10, 2020, by Antoine Gautier:
    Added design parameters for outdoor air flow.
    This is for #2019
  • November 25, 2019, by Milica Grahovac:
    Declared the floor model as replaceable.
  • September 26, 2017, by Michael Wetter:
    Separated physical model from control to facilitate implementation of alternate control sequences.
  • 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.