This function shall be used in order to calculate the thermodynamic state record for the vapor phase boundary. It requires the saturation record as input which can be determined by both functions setSat_p and setSat_T:
Example:
Medium.AbsolutePressure p=0.5e5; // Viscosity on the vapor phase boundary Modelica.SIunits.DynamicViscosity eta_vap; equation eta_vap = Medium.DynamicViscosity(Medium.setBubbleState(Medium.setSat_p(p)));
It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).