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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.SpecificHeatCapacity | cAir | 1005.00 | Specific heat capacity |
| Modelica.Units.SI.SpecificHeatCapacity | cH20 | 1860.0 | Specific heat capacity of water vapor |
| Modelica.Units.SI.SpecificHeatCapacity | cH20Liq | 4190.0 | Specific heat capacity of liquid water |
| Modelica.Units.SI.MolarMass | n | 0.0289644 | Molar mass of dry air: 0.0289644 kg / mol |
| Modelica.Units.SI.DynamicViscosity | nu | 18.232*10^(-6) | Dynamic viscosity |
| Modelica.Units.SI.Density | rho_nominal | 1.2 | Air density under nominal conditions |
| Modelica.Units.SI.Temperature | T_nominal | 293.15 | Air temperature under nominal conditions |
| Real | R_v | 461.4 | Gas constant for water vapor to be used in the gas equation |
| Real | rH2O | 2500000.0 | Enthalpy of vaporization for water |
| Modelica.Units.SI.Mass | mAir_start | dx*dy*dz*rho_nominal | Start value Mass of dry air of the air volume |
| Modelica.Units.SI.Mass | mH2OAir_start | x_start*dx*dy*dz*rho_nominal | Start value Mass of water vapor |
| Modelica.Units.SI.InternalEnergy | U_start | (rho_nominal*(dx*dy*dz)*cAir + rho_nominal*(dx*dy*dz)*x_start*cH20)*T_start + rH2O*rho_nominal*(dx*dy*dz)*x_start | Start value of the internal energy of the air volume |
| Modelica.Units.SI.Length | pos | {posX, posY, posZ} | |
| Modelica.Units.SI.Length | dx | scalF[1] | |
| Modelica.Units.SI.Length | dy | scalF[2] | |
| Modelica.Units.SI.Length | dz | scalF[3] | |
| Modelica.Units.SI.Length | dim | {dx, dy, dz} | |
| General › Dimension | |||
| Modelica.Units.SI.Length | scalF | Dimension of this finite volume [edge lengths x,y,z] | |
| General › Position | |||
| Modelica.Units.SI.Length | posX | FV absolute central position X | |
| Modelica.Units.SI.Length | posY | FV absolute central position Y | |
| Modelica.Units.SI.Length | posZ | FV absolute central position Z | |
| General › Boundaries | |||
| Boolean | BCwall_south | false | Inner or boundary volume (direction X1) |
| Boolean | BCwall_north | false | Inner or boundary volume (direction X2) |
| Boolean | BCwall_floor | false | Inner or boundary volume (direction Y1) |
| Boolean | BCwall_roof | false | Inner or boundary volume (direction Y2) |
| Boolean | BCwall_east | false | Inner or boundary volume (direction Z1) |
| Boolean | BCwall_west | false | Inner or boundary volume (direction Z2) |
| Initialization | |||
| Modelica.Units.SI.Temperature | T_start | 293.15 | Start value air temperature |
| Modelica.Units.SI.Density | rho_start | 1.2 | Start value air density |
| Modelica.Units.SI.MassFraction | x_start | 0.005 | Start value air moisture |
| Modelica.Units.SI.Mass | mH2OLiq_start | 0.0 | Start value Mass of liquid water |
| General › Sources | |||
| Modelica.Units.SI.MassFlowRate | SourceM_flow | 0.0 | Source Option |
| Modelica.Units.SI.SpecificEnthalpy | Source_h | cAir*T_start | Source Option |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BuildingSystems.Buildings.Airvolumes.AirElements.FluidProp | fluid | Record of fluid properties {T, p, rho, h, x} | |
| Modelica.Units.SI.Velocity | vVec | Characteristic Velocity | |
| Modelica.Units.SI.Velocity | velMag | Start value of the air speed (magnitude of the velocity) | |
| BuildingSystems.Types.RelativeHumidity | phi | Start value of the relative humidity | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluid | flowPort_X1 | Connection to flow-/wall-element, direction X1 | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluid | flowPort_X2 | Connection to flow-/wall-element, direction X2 | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluid | flowPort_Y1 | Connection to flow-/wall-element, direction Y1 | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluid | flowPort_Y2 | Connection to flow-/wall-element, direction Y2 | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluid | flowPort_Z1 | Connection to flow-/wall-element, direction Z1 | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidFluid | flowPort_Z2 | Connection to flow-/wall-element, direction Z2 | |
| BuildingSystems.Buildings.Airvolumes.Interfaces.FluidHeatExt | heatPort_intern | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort_extern | ||
| BuildingSystems.Buildings.Airvolumes.Interfaces.AssessmentPort | assessementPort |
Revisions
-
February 21, 2017, by Christoph Nytsch-Geusen:
Re-integration into the BuildingSystems library. -
October 31, 2016, by Katharina Mucha:
First implementation.