partial function setState_dTX extends Modelica.Icons.Function; input Density d "density"; input Temperature T "Temperature"; input MassFraction X[:] = reference_X "Mass fractions"; output ThermodynamicState state "thermodynamic state record"; end setState_dTX;