This function adds the ideal gas contribution of the fundamental equation to the residual contribution and computes the helmholtz derivatives w.r.t. temperature and density.
function f_R1234yf
extends Modelica.Icons.Function;
input Modelica.Units.SI.Density d "density";
input Modelica.Units.SI.Temperature T "temperature";
output Common.HelmholtzDerivs f "helmholtz derivatives";
end f_R1234yf;