intermediate property record for water
function waterBaseProp_ph import ThermoSysPro; extends Modelica.Icons.Function; input Units.SI.Pressure p "pressure"; input Units.SI.SpecificEnthalpy h "specific enthalpy"; input Integer phase = 0 "phase: 2 for two-phase, 1 for one phase, 0 if unknown"; input Integer region = 0 "if 0, do region computation, otherwise assume the region is this input"; output ThermoSysPro.Properties.WaterSteam.Common.IF97BaseTwoPhase aux "auxiliary record"; end waterBaseProp_ph;