Compute specific volume
function v_pTX input Modelica.SIunits.AbsolutePressure p "Pressure"; input Modelica.SIunits.Temperature T "Temperature"; input Modelica.SIunits.MassFraction[nS] X "Mass fraction"; output Modelica.SIunits.SpecificVolume v "Specific volume"; end v_pTX;