modelWellMixedAir

Zone air model assuming perfectly mixed air

Extends from IDEAS.Buildings.Components.ZoneAirModels.BaseClasses.PartialAirModel (Partial for air models).

Information

Perfectly mixed air model.

Main equations

This model computes a single air temperature that is used to evaluate convective heat transfer of all surfaces, components connected to gainCon (e.g. radiators), etc. The air outlet temperature equals the well mixed air temperature.

Assumption and limitations

This model is not valid for buildings where stratification occurs, e.g. when using floor cooling or ceiling heating.

When dry air is used, then the relative humidity output is set to zero.

Typical use and important parameters

The zone air volume Vto determines the thermal mass of the air. This mass may be artificially increased using mSenFac if desired, e.g. to take into account the thermal mass of furniture.

Dynamics

This model only contains states to represent the energy and mass dynamics, typically using a temperature and pressure variable. Parameters energyDynamics and massDynamics may be used to change the model dynamics.

Validation

See BESTEST.

Parameters

TypeNameDefaultDescription
IntegernSurf (from PartialAirModel)Number of connected surfaces
IntegernSeg (from PartialAirModel)1Number of air segments
IntegernPorts (from PartialAirModel)Number of fluid port connections to zone air volume
Modelica.Units.SI.VolumeVtot (from PartialAirModel)Total zone air volume
Modelica.Units.SI.MassFlowRatem_flow_nominal (from PartialAirModel)Nominal flow rate of the ventilation system
StateSelectstateSelectTVolif sim.linearise then StateSelect.prefer else StateSelect.defaultSet to .prefer to use temperature as a state in mixing volume
Dynamics › Conservation equations
Modelica.Fluid.Types.DynamicsenergyDynamics (from LumpedVolumeDeclarations)Modelica.Fluid.Types.Dynamics.DynamicFreeInitialType of energy balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicssubstanceDynamics (from LumpedVolumeDeclarations)energyDynamicsType of independent mass fraction balance: dynamic (3 initialization options) or steady state
Modelica.Fluid.Types.DynamicstraceDynamics (from LumpedVolumeDeclarations)energyDynamicsType of trace substance balance: dynamic (3 initialization options) or steady state
Advanced › Dynamics
Modelica.Fluid.Types.DynamicsmassDynamics (from LumpedVolumeDeclarations)energyDynamicsType of mass balance: dynamic (3 initialization options) or steady state, must be steady state if energyDynamics is steady state
Initialization
Medium.AbsolutePressurep_start (from LumpedVolumeDeclarations)Medium.p_defaultStart value of pressure
Medium.TemperatureT_start (from LumpedVolumeDeclarations)Medium.T_defaultStart value of temperature
Medium.MassFraction[Medium.nX]X_start (from LumpedVolumeDeclarations)Medium.X_defaultStart value of mass fractions m_i/m
Medium.ExtraProperty[Medium.nC]C_start (from LumpedVolumeDeclarations)fill(0, Medium.nC)Start value of trace substances
Medium.ExtraProperty[Medium.nC]C_nominal (from LumpedVolumeDeclarations)fill(1E-2, Medium.nC)Nominal value of trace substances. (Set to typical order of magnitude.)
Dynamics
RealmSenFac (from LumpedVolumeDeclarations)1Factor for scaling the sensible thermal mass of the volume
Advanced
BooleanallowFlowReversal (from PartialAirModel)true= false to simplify equations, assuming, but not enforcing, no flow reversal

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputE (from PartialAirModel)Model internal energy
Modelica.Blocks.Interfaces.RealOutputQGai (from PartialAirModel)Model internal energy
Modelica.Blocks.Interfaces.RealOutputTAir (from PartialAirModel)Zone air temperature
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aports_surf (from PartialAirModel)Heat convection ports for surfaces
Modelica.Blocks.Interfaces.RealInputinc (from PartialAirModel)Inclination angle of surface
Modelica.Blocks.Interfaces.RealInputA (from PartialAirModel)Surface area of surfaces
Modelica.Blocks.Interfaces.RealInputazi (from PartialAirModel)Azimuth of surface
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialAirModel)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialAirModel)
Modelica.Fluid.Interfaces.FluidPorts_aports (from PartialAirModel)Ports connector for multiple ports
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aports_air (from PartialAirModel)Heat convection ports for air volumes
Modelica.Blocks.Interfaces.RealInputmWat_flow (from PartialAirModel)Moisture mass flow rate being added to the zone air
Modelica.Blocks.Interfaces.RealInput[max(Medium.nC, 1)]C_flow (from PartialAirModel)Trace substance mass flow rate being added to the zone air
Modelica.Blocks.Interfaces.RealOutputphi (from PartialAirModel)Relative humidity in the zone
Modelica.Blocks.Interfaces.RealOutputppm (from PartialAirModel)CO2 concentration in the zone

Components

TypeNameDefaultDescription
IDEAS.BoundaryConditions.SimInfoManagersim (from PartialAirModel)Simulation information manager for climate data
RealACH(sum(m_flow_pos)*3600/rho_default)/VtotAir change rate per hour

Contents

NameDescription
MixingVolumeNominalprotectedTo avoid warning when modifying parameters of protected submodel dynBal of MixingVolumeMoistAir

Revisions

  • March 21, 2022 by Filip Jorissen:
    Disabled latent heat gains when the medium contains no water. #1251.
  • November 21, 2020 by Filip Jorissen:
    Avoiding warnings for one port sensors.
  • December 13, 2019 by Filip Jorissen:
    Directly referencing IDEAS.Media.Air instead of Medium to avoid warnings in Dymola and errors in OpenModelica. #1097.
  • March 29, 2019 by Filip Jorissen:
    Added start value for CO2 concentration for #1004.
  • February 14, 2019 by Filip Jorissen:
    Changed default value of stateSelectTVol. See #982.
  • December 11, 2018 by Filip Jorissen:
    Revised mixing volume connection order to avoid triggering flow reversal warnings. See #964.
  • August 30, 2018 by Damien Picard:
    Added constant StateSelectTVol to be able to select preferred state of mixing volume. See #905.
  • July 27, 2018 by Filip Jorissen:
    Added nominal values for m, mXi and mC. See #864.
  • Added output for the CO2 concentration. See #868.
  • April 27, 2018 by Filip Jorissen:
    Created MixingVolumeNominalU such that MixingVolume can be used without generating a warning.
  • April 27, 2018 by Filip Jorissen:
    Added nominal value for internal energy of mixing volume. See #797.
  • Modified model for supporting new interzonal air flow models. Air leakage model and its parameters have been removed. See #796.
  • August 5, 2017 by Filip Jorissen:
    Added support for dry air.
  • November 15, 2016 by Filip Jorissen:
    Revised documentation.
  • August 26, 2016 by Filip Jorissen:
    Added support for conservation of energy.
  • April 30, 2016, by Filip Jorissen:
    First implementation.