Specific Helmholtz energy of CO2
function helmholtz_p_h extends Modelica.Icons.Function; input Modelica.Media.Interfaces.Types.AbsolutePressure p "Pressure"; input Modelica.SIunits.SpecificEnthalpy h "Specific enthalpy"; input Modelica.Blocks.Types.ExternalCombiTable2D tableID "Table with the values to interpolate"; output Modelica.SIunits.SpecificHelmholtzFreeEnergy helmholtz "Specific Helmholtz energy"; end helmholtz_p_h;