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