returns the vapour quality
function vapourQuality_sat input ThermodynamicState state; input SaturationProperties sat; output MassFraction x; end vapourQuality_sat;