function pressure_dTX extends Modelica.Icons.Function; input Density d; input Temperature T; input MassFraction X[:] = reference_X "mass fraction m_NaCl/m_Sol"; input FixedPhase phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known"; output Modelica.SIunits.Pressure p; end pressure_dTX;