Phase as a function of pressure and specific entropy
function phase_ps extends Modelica.Icons.Function; input SI.Pressure p "Pressure"; input SI.SpecificEntropy s "Specific entropy"; output Integer phase "True if in liquid or gas or supercritical region"; end phase_ps;