functionwater_ph
Calculate the property record for dynamic simulation properties using p,h as states
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Pressure | |
| SI.SpecificEnthalpy | h | Specific enthalpy | |
| Integer | phase | 0 | Phase: 2 for two-phase, 1 for one phase, 0 if unknown |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Media.Common.ThermoFluidSpecial.ThermoProperties_ph | pro | Property record for dynamic simulation |