Return saturated ThermodynamicState record as function of p,gas fraction and composition X
function setState_pThetaX extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input MassFraction theta "gas mass fraction"; input MassFraction X[:] = reference_X "Mass fractions of components"; output ThermodynamicState state "Thermodynamic state record"; end setState_pThetaX;