modelAtmosphere

Information

Atmosphere

This components supplies boundaries with prescribed temperature, pression and composition.

If use_p_in is false (default option), the p parameter is used as boundary pressure, and the p_in input connector is disabled.
if use_p_in is true, then the p parameter is ignored, and the value provided by the input connector is used instead.

The same thing goes for the temperature and composition.

Note, that boundary temperature and mass fractions have only an effect if the mass flow is from the boundary into the port. If mass is flowing from the port into the boundary, the boundary definitions, with exception of boundary pressure, do not have an effect.

This module has been developped to be used with an Air or Moist air Media. Indeed, specific function are required when modelling moist air.
When modelling Moist Air, the atmosphere component can supply an over saturated ambiance (meanning that the ambiance contains liquid water = foggy).

Parameters

TypeNameDefaultDescription
Booleanuse_p_infalseGet the pressure from the input connector
Booleanuse_T_infalseGet the temperature from the input connector
Booleanuse_RH_infalseGet the relative humidity from the input connector
Modelica.SIunits.TemperatureT293.15Atmosphere temperature
Modelica.SIunits.Pressurep101325Atmosphere Pressure
RealRH0.6Atmosphere relative humidity - Only accounted if medium == Moist air
Medium.MassFraction[Medium.nX]XMedium.X_defaultusefull except for Moist Air
IntegernPorts0Number of fluidport

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aFluidport
TAeZoSysPro.FluidDynamics.Interfaces.FlowPort_bFlowport
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bHeatport
Modelica.Blocks.Interfaces.RealInputp_in
Modelica.Blocks.Interfaces.RealInputT_in
Modelica.Blocks.Interfaces.RealInputRH_in

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate

Contents

NameDescription
Medium
Medium_MoistAirTAezo