Saturation temperature is computed from pressure using the IAPWS-IF97 formulation.
function saturationTemperature input AbsolutePressure psat "Saturation pressure"; output Temperature Tsat "Saturation temperature"; end saturationTemperature;