functionwater_ph

Calculate the property record for dynamic simulation properties using p,h as states

Extends from Modelica.Icons.Function.

Inputs

TypeNameDefaultDescription
SI.PressurepPressure
SI.SpecificEnthalpyhSpecific enthalpy
Integerphase0Phase: 2 for two-phase, 1 for one phase, 0 if unknown

Outputs

TypeNameDefaultDescription
ThermofluidStream.Media.myMedia.Common.ThermoFluidSpecial.ThermoProperties_phproProperty record for dynamic simulation