Function that calculates the pressure vapor based on temperature and specific volume
function pressureVap_Tv input Modelica.Units.SI.Temperature T "Temperature of refrigerant"; input Modelica.Units.SI.SpecificVolume v "Specific volume of refrigerant"; output Modelica.Units.SI.AbsolutePressure p "Pressure of refrigerant vapor"; end pressureVap_Tv;