modelAirElementGeneral

An air element for three-dimensional air flow simulation

Information

This partial model defines the base functionalities of an air element for tree-dimensional air flow simulation in rooms.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.SpecificHeatCapacitycAir1005.00Specific heat capacity
Modelica.Units.SI.SpecificHeatCapacitycH201860.0Specific heat capacity of water vapor
Modelica.Units.SI.SpecificHeatCapacitycH20Liq4190.0Specific heat capacity of liquid water
Modelica.Units.SI.MolarMassn0.0289644Molar mass of dry air: 0.0289644 kg / mol
Modelica.Units.SI.DynamicViscositynu18.232*10^(-6)Dynamic viscosity
Modelica.Units.SI.Densityrho_nominal1.2Air density under nominal conditions
Modelica.Units.SI.TemperatureT_nominal293.15Air temperature under nominal conditions
RealR_v461.4Gas constant for water vapor to be used in the gas equation
RealrH2O2500000.0Enthalpy of vaporization for water
Modelica.Units.SI.MassmAir_startdx*dy*dz*rho_nominalStart value Mass of dry air of the air volume
Modelica.Units.SI.MassmH2OAir_startx_start*dx*dy*dz*rho_nominalStart value Mass of water vapor
Modelica.Units.SI.InternalEnergyU_start(rho_nominal*(dx*dy*dz)*cAir + rho_nominal*(dx*dy*dz)*x_start*cH20)*T_start + rH2O*rho_nominal*(dx*dy*dz)*x_startStart value of the internal energy of the air volume
Modelica.Units.SI.Lengthpos{posX, posY, posZ}
Modelica.Units.SI.LengthdxscalF[1]
Modelica.Units.SI.LengthdyscalF[2]
Modelica.Units.SI.LengthdzscalF[3]
Modelica.Units.SI.Lengthdim{dx, dy, dz}
General › Dimension
Modelica.Units.SI.LengthscalFDimension of this finite volume [edge lengths x,y,z]
General › Position
Modelica.Units.SI.LengthposXFV absolute central position X
Modelica.Units.SI.LengthposYFV absolute central position Y
Modelica.Units.SI.LengthposZFV absolute central position Z
General › Boundaries
BooleanBCwall_southfalseInner or boundary volume (direction X1)
BooleanBCwall_northfalseInner or boundary volume (direction X2)
BooleanBCwall_floorfalseInner or boundary volume (direction Y1)
BooleanBCwall_rooffalseInner or boundary volume (direction Y2)
BooleanBCwall_eastfalseInner or boundary volume (direction Z1)
BooleanBCwall_westfalseInner or boundary volume (direction Z2)
Initialization
Modelica.Units.SI.TemperatureT_start293.15Start value air temperature
Modelica.Units.SI.Densityrho_start1.2Start value air density
Modelica.Units.SI.MassFractionx_start0.005Start value air moisture
Modelica.Units.SI.MassmH2OLiq_start0.0Start value Mass of liquid water
General › Sources
Modelica.Units.SI.MassFlowRateSourceM_flow0.0Source Option
Modelica.Units.SI.SpecificEnthalpySource_hcAir*T_startSource Option

Components

TypeNameDefaultDescription
BuildingSystems.Buildings.Airvolumes.AirElements.FluidPropfluidRecord of fluid properties {T, p, rho, h, x}
Modelica.Units.SI.VelocityvVecCharacteristic Velocity
Modelica.Units.SI.VelocityvelMagStart value of the air speed (magnitude of the velocity)
BuildingSystems.Types.RelativeHumidityphiStart value of the relative humidity
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_X1Connection to flow-/wall-element, direction X1
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_X2Connection to flow-/wall-element, direction X2
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Y1Connection to flow-/wall-element, direction Y1
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Y2Connection to flow-/wall-element, direction Y2
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Z1Connection to flow-/wall-element, direction Z1
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Z2Connection to flow-/wall-element, direction Z2
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidHeatExtheatPort_intern
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort_extern
BuildingSystems.Buildings.Airvolumes.Interfaces.AssessmentPortassessementPort

Revisions

  • February 21, 2017, by Christoph Nytsch-Geusen:
    Re-integration into the BuildingSystems library.
  • October 31, 2016, by Katharina Mucha:
    First implementation.