Function that calculates the specific isobaric heat capacity of vapor based on temperature and specific volume
function specificIsobaricHeatCapacityVap_Tv input Modelica.Units.SI.Temperature T "Temperature of refrigerant"; input Modelica.Units.SI.SpecificVolume v "Specific volume of refrigerant"; output Modelica.Units.SI.SpecificHeatCapacity cp "Specific isobaric heat capacity"; end specificIsobaricHeatCapacityVap_Tv;