function equilibrium_pTX input Modelica.SIunits.Pressure p "Pressure"; input Modelica.SIunits.Temperature T "Temperature"; input Modelica.SIunits.MassFraction X[nC] = reference_X "Mass fraction"; input Properties state; output FlashProperties eq; end equilibrium_pTX;