modelMixedAir

Model of a room in which the air is completely mixed

Extends from Buildings.ThermalZones.Detailed.BaseClasses.RoomHeatMassBalance.

Information

Room model that assumes the air to be completely mixed.

See Buildings.ThermalZones.Detailed.UsersGuide for detailed explanations.

Parameters

TypeNameDefaultDescription
Ports
Booleanuse_C_flowfalseSet to true to enable input connector for trace substance that is connected to room air
Dynamics › Zone air
Modelica.Fluid.Types.DynamicsenergyDynamicsModelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance for zone air: dynamic (3 initialization options) or steady state
RealmSenFac1Factor for scaling the sensible thermal mass of the zone air volume
Initialization
Medium.AbsolutePressurep_startMedium.p_defaultStart value of zone air pressure
Medium.TemperatureT_startMedium.T_defaultStart value of zone air temperature
Medium.MassFraction[Medium.nX]X_startMedium.X_defaultStart value of zone air mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_startfill(0, Medium.nC)Start value of zone air trace substances
Medium.ExtraProperty[Medium.nC]C_nominalfill(1E-2, Medium.nC)Nominal value of zone air trace substances. (Set to typical order of magnitude.)

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[nConExtWin]uShaControl signal for the shading device (removed if no shade is present)
Modelica.Blocks.Interfaces.RealInput[Medium.nC]C_flowTrace substance mass flow rate added to the room air. Enable if use_C_flow = true
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[NConExtWin]HGloGlobal solar irradiance
Buildings.Controls.OBC.CDL.Interfaces.RealOutput[NConExtWin]QTraGloTransmitted global solar radiation
Buildings.Controls.OBC.CDL.Reals.Add[NConExtWin]gloSolGlobal solar irradiance
Buildings.Controls.OBC.CDL.Reals.Add[NConExtWin]traSolTransmitted solar radiation
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[NConExtWin]conConstant zero
Buildings.Controls.OBC.CDL.Reals.Sources.Constant[NConExtWin]con1Constant zero

Contents

NameDescription
MediumMedium in the component

Revisions

  • March 3, 2022, by Michael Wetter:
    Made massDynamics final.
    This is for issue 1542.
  • September 16, 2021, by Michael Wetter:
    Removed parameter lat because the latitude is now obtained from the weather data bus.
    This is for IBPSA, #1477.
  • April 8, 2019, by Michael Wetter:
    Propagated parameter mSenFac.
    This is for issue Buildings #1405.
  • September 8, 2017, by Michael Wetter:
    Enabled input connector C_flow to allow adding trace substances.
    This is for issue 481.
  • October 29, 2016, by Michael Wetter:
    Removed inheritance from Buildings.Fluid.Interfaces.LumpedVolumeDeclarations to provide better comments.
  • May 2, 2016, by Michael Wetter:
    Refactored implementation of latent heat gain. This is for issue 515.
  • February 12, 2015, by Michael Wetter:
    Propagated initial states to the fluid volume.
  • August 1, 2013, by Michael Wetter:
    Introduced base class Buildings.ThermalZones.Detailed.BaseClasses.RoomHeatMassBalance as the latent heat gains are treated differently in the mixed air and in the CFD model.
  • July 16, 2013, by Michael Wetter:
    Redesigned implementation to remove one level of model hierarchy on the room-side heat and mass balance. This change was done to facilitate the implementation of non-uniform room air heat and mass balance, which required separating the convection and long-wave radiation models.
    Changed assignment solRadExc(tauGla={0.6 for i in 1:NConExtWin}) to solRadExc(tauGla={datConExtWin[i].glaSys.glass[datConExtWin[i].glaSys.nLay].tauSol for i in 1:NConExtWin}) to better take into account the solar properties of the glass.
  • March 7 2012, by Michael Wetter:
    Added optional parameters ove and sidFin to the parameter datConExtWin. This allows modeling windows with an overhang or with side fins.
  • February 8 2012, by Michael Wetter:
    Changed model to use new implementation of Buildings.HeatTransfer.Radiosity.OutdoorRadiosity. This change leads to the use of the same equations for the radiative heat transfer between window and ambient as is used for the opaque constructions.
  • December 12, 2011, by Wangda Zuo:
    Add glass thickness as a parameter for conExtWinRad. It is needed by the claculation of property for uncoated glass.
  • December 6, 2011, by Michael Wetter:
    Fixed bug that caused convective heat gains to be removed from the room instead of added to the room. This error was caused by a wrong sign in Buildings.ThermalZones.Detailed.BaseClasses.HeatGain. This closes ticket issue 46.
  • August 9, 2011, by Michael Wetter:
    Fixed bug that caused too high a surface temperature of the window frame. The previous version did not compute the infrared radiation exchange between the window frame and the sky. This has been corrected by adding the instance skyRadExcWin and the parameter absIRFra to the model Buildings.ThermalZones.Detailed.BaseClasses.ExteriorBoundaryConditionsWithWindow. This closes ticket issue 36.
  • August 9, 2011 by Michael Wetter:
    Changed assignment of tilt in instances bouConExt and bouConExtWin. This fixes the bug in issue 35 that led to the wrong solar radiation gain for roofs and floors.
  • March 23, 2011, by Michael Wetter:
    Propagated convection model to exterior boundary condition models.
  • December 14, 2010, by Michael Wetter:
    First implementation.