In the two phase region this function returns the interpolated heat capacity between the liquid and vapour state heat capacities.
function specificHeatCapacityCp extends Modelica.Icons.Function; input ThermodynamicState state "thermodynamic state record"; output SpecificHeatCapacity cp "Specific heat capacity at constant pressure"; end specificHeatCapacityCp;