intermediate property record for water
function waterBaseProp_ps import ThermoSysPro; extends Modelica.Icons.Function; input Units.SI.Pressure p "pressure"; input Units.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 ThermoSysPro.Properties.WaterSteam.Common.IF97BaseTwoPhase aux "auxiliary record"; end waterBaseProp_ps;