modelAirElementHygroThermal

A hygro-thermal finite volume air element

Extends from BuildingSystems.Buildings.BaseClasses.AirElementGeneral (An air element for three-dimensional air flow simulation).

Information

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

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.SpecificHeatCapacitycAir (from AirElementGeneral)1005.00Specific heat capacity
Modelica.Units.SI.SpecificHeatCapacitycH20 (from AirElementGeneral)1860.0Specific heat capacity of water vapor
Modelica.Units.SI.SpecificHeatCapacitycH20Liq (from AirElementGeneral)4190.0Specific heat capacity of liquid water
Modelica.Units.SI.MolarMassn (from AirElementGeneral)0.0289644Molar mass of dry air: 0.0289644 kg / mol
Modelica.Units.SI.DynamicViscositynu (from AirElementGeneral)18.232*10^(-6)Dynamic viscosity
Modelica.Units.SI.Densityrho_nominal (from AirElementGeneral)1.2Air density under nominal conditions
Modelica.Units.SI.TemperatureT_nominal (from AirElementGeneral)293.15Air temperature under nominal conditions
RealR_v (from AirElementGeneral)461.4Gas constant for water vapor to be used in the gas equation
RealrH2O (from AirElementGeneral)2500000.0Enthalpy of vaporization for water
Modelica.Units.SI.MassmAir_start (from AirElementGeneral)dx*dy*dz*rho_nominalStart value Mass of dry air of the air volume
Modelica.Units.SI.MassmH2OAir_start (from AirElementGeneral)x_start*dx*dy*dz*rho_nominalStart value Mass of water vapor
Modelica.Units.SI.InternalEnergyU_start (from AirElementGeneral)(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 (from AirElementGeneral){posX, posY, posZ}
Modelica.Units.SI.Lengthdx (from AirElementGeneral)scalF[1]
Modelica.Units.SI.Lengthdy (from AirElementGeneral)scalF[2]
Modelica.Units.SI.Lengthdz (from AirElementGeneral)scalF[3]
Modelica.Units.SI.Lengthdim (from AirElementGeneral){dx, dy, dz}
Modelica.Units.SI.MassFlowRatemoistureSourcesMflow0
Modelica.Units.SI.SpecificEnthalpymoistureSource_hcAir*T_start
General › Dimension
Modelica.Units.SI.LengthscalF (from AirElementGeneral)Dimension of this finite volume [edge lengths x,y,z]
General › Position
Modelica.Units.SI.LengthposX (from AirElementGeneral)FV absolute central position X
Modelica.Units.SI.LengthposY (from AirElementGeneral)FV absolute central position Y
Modelica.Units.SI.LengthposZ (from AirElementGeneral)FV absolute central position Z
General › Boundaries
BooleanBCwall_south (from AirElementGeneral)falseInner or boundary volume (direction X1)
BooleanBCwall_north (from AirElementGeneral)falseInner or boundary volume (direction X2)
BooleanBCwall_floor (from AirElementGeneral)falseInner or boundary volume (direction Y1)
BooleanBCwall_roof (from AirElementGeneral)falseInner or boundary volume (direction Y2)
BooleanBCwall_east (from AirElementGeneral)falseInner or boundary volume (direction Z1)
BooleanBCwall_west (from AirElementGeneral)falseInner or boundary volume (direction Z2)
Initialization
Modelica.Units.SI.TemperatureT_start (from AirElementGeneral)293.15Start value air temperature
Modelica.Units.SI.Densityrho_start (from AirElementGeneral)1.2Start value air density
Modelica.Units.SI.MassFractionx_start (from AirElementGeneral)0.005Start value air moisture
Modelica.Units.SI.MassmH2OLiq_start (from AirElementGeneral)0.0Start value Mass of liquid water
General › Sources
Modelica.Units.SI.MassFlowRateSourceM_flow (from AirElementGeneral)0.0Source Option
Modelica.Units.SI.SpecificEnthalpySource_h (from AirElementGeneral)cAir*T_startSource Option

Connectors

TypeNameDefaultDescription
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_X1 (from AirElementGeneral)Connection to flow-/wall-element, direction X1
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_X2 (from AirElementGeneral)Connection to flow-/wall-element, direction X2
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Y1 (from AirElementGeneral)Connection to flow-/wall-element, direction Y1
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Y2 (from AirElementGeneral)Connection to flow-/wall-element, direction Y2
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Z1 (from AirElementGeneral)Connection to flow-/wall-element, direction Z1
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluidflowPort_Z2 (from AirElementGeneral)Connection to flow-/wall-element, direction Z2
BuildingSystems.Buildings.Airvolumes.Interfaces.FluidHeatExtheatPort_intern (from AirElementGeneral)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort_extern (from AirElementGeneral)
BuildingSystems.Buildings.Airvolumes.Interfaces.AssessmentPortassessementPort (from AirElementGeneral)

Components

TypeNameDefaultDescription
BuildingSystems.Buildings.Airvolumes.AirElements.FluidPropfluid (from AirElementGeneral)Record of fluid properties {T, p, rho, h, x}
Modelica.Units.SI.VelocityvVec (from AirElementGeneral)Characteristic Velocity
Modelica.Units.SI.VelocityvelMag (from AirElementGeneral)Start value of the air speed (magnitude of the velocity)
BuildingSystems.Types.RelativeHumidityphi (from AirElementGeneral)Start value of the relative humidity
Modelica.Units.SI.MassmAirMass of dry air
Modelica.Units.SI.MassmH2OAirMass of water vapor in the air
Modelica.Units.SI.MassmH2OLiqMass of liquid water
Modelica.Units.SI.InternalEnergyUU_startInternal energy of the air volume

Revisions

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