function s_pTX input Modelica.SIunits.AbsolutePressure p "Pressure"; input Modelica.SIunits.Temperature T "Temperature"; input Modelica.SIunits.MassFraction[nS] X "Mass fraction"; output Modelica.SIunits.SpecificEntropy s "Specific entropy"; end s_pTX;