.ThermofluidStream.Media.XRGMedia.NH3_ph.setBubbleState

Information

This function shall be used in order to calculate the thermodynamic state record for the liquid 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=3e5;
  // Viscosity on the liquid phase boundary
  Modelica.SIunits.DynamicViscosity eta_liq;

equation

  eta_liq = Medium.DynamicViscosity(Medium.setBubbleState(Medium.setSat_p(p)));

Restrictions

It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).


Generated at 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos