Return thermodynamic state from p, T, and X or Xi
function setState_pTX extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input Temperature T "Temperature"; input MassFraction X[:] = reference_X "Mass fractions"; output ThermodynamicState state "Thermodynamic state record"; end setState_pTX;