modelFixedAmbient

Ambient pressure, temperature and mass fraction source

Information

Model FixedAmbient_pt defines constant values for ambient conditions:

  • Ambient pressure.
  • Ambient temperature.
  • Ambient mass fractions (only for multi-substance flow).

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

Parameters

TypeNameDefaultDescription
Ambient pressure or ambient density
Booleanuse_p_ambienttrueSelect p_ambient or d_ambient
Medium.AbsolutePressurep_ambient101325Ambient pressure
Medium.Densityd_ambient1Ambient density
Ambient temperature or ambient specific enthalpy
Booleanuse_T_ambienttrueSelect T_ambient or h_ambient
Medium.TemperatureT_ambientModelica.Units.Conversions.from_degC(20)Ambient temperature
Medium.SpecificEnthalpyh_ambient1.e4Ambient specific enthalpy
Only for multi-substance flow
Medium.MassFraction[Medium.nX]X_ambientAmbient mass fractions m_i/m

Connectors

TypeNameDefaultDescription
FluidPort_bport

Components

TypeNameDefaultDescription
Medium.BasePropertiesmediumMedium in the source

Contents

NameDescription
MediumMedium model