feos.eos.PhaseEquilibrium.bubble_point¶
- static PhaseEquilibrium.bubble_point(eos, temperature_or_pressure, liquid_molefracs, tp_init=None, vapor_molefracs=None, max_iter_inner=None, max_iter_outer=None, tol_inner=None, tol_outer=None, verbosity=None)¶
Compute a phase equilibrium for given temperature or pressure and liquid mole fractions.
- Parameters:
eos (EquationOfState) – The equation of state.
temperature_or_pressure (SINumber) – The system temperature_or_pressure.
liquid_molefracs (numpy.ndarray) – The mole fraction of the liquid phase.
tp_init (SINumber, optional) – The system pressure/temperature used as starting condition for the iteration.
vapor_molefracs (numpy.ndarray, optional) – The mole fraction of the vapor phase used as starting condition for iteration.
max_iter_inner (int, optional) – The maximum number of inner iterations.
max_iter_outer (int, optional) – The maximum number of outer iterations.
tol_inner (float, optional) – The solution tolerance in the inner loop.
tol_outer (float, optional) – The solution tolerance in the outer loop.
verbosity (Verbosity, optional) – The verbosity.
- Return type: