Function to calculate analytic derivatives for computing d and t given p and s
function Gibbs2_ps extends Modelica.Icons.Function; input ThermofluidStream.Media.myMedia.Common.GibbsDerivs2 g "Dimensionless derivatives of Gibbs function"; output ThermofluidStream.Media.myMedia.Common.NewtonDerivatives_ps nderivs "Derivatives for Newton iteration to compute T from p and s"; end Gibbs2_ps;