Specific heat capacity of CO2 as a function of pressure and enthalpy. Performs interpolation with the tableID declared in the Medium declaration.
function cp_p_h extends Modelica.Icons.Function; input Modelica.Media.Interfaces.Types.AbsolutePressure p "Pressure"; input Modelica.SIunits.SpecificEnthalpy h "Enthalpy"; input Modelica.Blocks.Types.ExternalCombiTable2D tableID; output Modelica.SIunits.SpecificHeatCapacity cp "Specific heat capacity"; end cp_p_h;