
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
| Type | Name | Default | Description |
| Ambient pressure or ambient density |
| Boolean | use_p_ambient | true | Select p_ambient or d_ambient |
| Medium.AbsolutePressure | p_ambient | 101325 | Ambient pressure |
| Medium.Density | d_ambient | 1 | Ambient density |
| Ambient temperature or ambient specific enthalpy |
| Boolean | use_T_ambient | true | Select T_ambient or h_ambient |
| Medium.Temperature | T_ambient | Modelica.Units.Conversions.from_degC(20) | Ambient temperature |
| Medium.SpecificEnthalpy | h_ambient | 1.e4 | Ambient specific enthalpy |
| Only for multi-substance flow |
| Medium.MassFraction[Medium.nX] | X_ambient | | Ambient mass fractions m_i/m |
Components
| Type | Name | Default | Description |
| Medium.BaseProperties | medium | | Medium in the source |
Contents
| Name | Description |
Medium | Medium model |