functiondensity_ps
Computes density as a function of pressure and specific enthalpy
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEntropy | s | Specific entropy | |
| FixedPhase | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
| Integer | region | Region | If 0, region is unknown, otherwise known and this input |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Density | d | Density |