WOLFRAM SYSTEM MODELER

FixedAmbient

Ambient pressure, temperature and mass fraction source

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Examples.Utilities.FixedAmbient"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (7)

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

Connectors (1)

port

Type: FluidPort_b

Description: Fluid connector with outlined icon

Components (1)

medium

Type: BaseProperties

Description: Medium in the source

Used in Components (2)

PartialTestModel

Modelica.Media.Examples.Utilities

Basic test model to test a medium

PartialTestModel2

Modelica.Media.Examples.Utilities

Slightly larger test model to test a medium