functiondensity_phX_state
returns density for given p and h
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEnthalpy | h | Enthalpy | |
| MassFraction[nX] | X | Mass fractions | |
| ThermodynamicState | state |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Density | d | density |