Intermediate property record for water
function waterBaseProp_ps extends Modelica.Icons.Function; input SI.Pressure p "Pressure"; input SI.SpecificEntropy s "Specific entropy"; 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_ps;