The
thermodynamic state record is computed from density
d
, temperature T
and composition
X
.
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"; end setState_dTX;