feos.eos.PhaseEquilibrium.dew_point¶
- static PhaseEquilibrium.dew_point(eos, temperature_or_pressure, vapor_molefracs, tp_init=None, liquid_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 vapor mole fractions.
- Parameters:
eos (EquationOfState) – The equation of state.
temperature_or_pressure (SINumber) – The system temperature or pressure.
vapor_molefracs (numpy.ndarray) – The mole fraction of the vapor phase.
tp_init (SINumber, optional) – The system pressure/temperature used as starting condition for the iteration.
liquid_molefracs (numpy.ndarray, optional) – The mole fraction of the liquid 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: