functiondensity_ph
Density as function of pressure and specific enthalpy
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | pressure | |
| SpecificEnthalpy | h | specific enthalpy | |
| Integer | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Density | d | density |