FixedAmbientAmbient pressure, temperature and mass fraction source |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Model FixedAmbient_pt defines constant values for ambient conditions:
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.
use_p_ambient |
Value: true Type: Boolean Description: Select p_ambient or d_ambient |
---|---|
p_ambient |
Value: 101325 Type: AbsolutePressure (Pa) Description: Ambient pressure |
d_ambient |
Value: 1 Type: Density (kg/m³) Description: Ambient density |
use_T_ambient |
Value: true Type: Boolean Description: Select T_ambient or h_ambient |
T_ambient |
Value: Modelica.Units.Conversions.from_degC(20) Type: Temperature (K) Description: Ambient temperature |
h_ambient |
Value: 1.e4 Type: SpecificEnthalpy (J/kg) Description: Ambient specific enthalpy |
X_ambient |
Value: Type: MassFraction[Medium.nX] (kg/kg) Description: Ambient mass fractions m_i/m |
port |
Type: FluidPort_b |
---|
medium |
Type: BaseProperties Description: Medium in the source |
---|
Modelica.Media.Examples.Utilities Basic test model to test a medium |
|
Modelica.Media.Examples.Utilities Slightly larger test model to test a medium |