Return saturationPressures for gases and water
partial function saturationPressures extends Modelica.Icons.Function; input SI.Pressure p; input SI.Temp_K T; input SI.MassFraction X[:] "mass fractions m_x/m_Sol"; input SI.MolarMass MM[:] "molar masses of components"; output SI.Pressure[nX_gas] p_sat; end saturationPressures;