Return thermodynamic state as function of p, T and composition X
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; end setState_pTX;