Intermediate property record for water
function waterBaseProp_ph extends Modelica.Icons.Function; input SI.Pressure p "Pressure"; input 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 Common.IF97BaseTwoPhase aux "Auxiliary record"; end waterBaseProp_ph;