feos.dft.Adsorption3D.phase_equilibrium¶
- static Adsorption3D.phase_equilibrium(functional, temperature, p_min, p_max, pore, molefracs=None, solver=None, max_iter=None, tol=None, verbosity=None)¶
Calculate a phase equilibrium in a pore.
- Parameters:
functional (HelmholtzEnergyFunctional) – The Helmholtz energy functional.
temperature (SINumber) – The temperature.
p_min (SINumber) – A suitable lower limit for the pressure.
p_max (SINumber) – A suitable upper limit for the pressure.
pore (Pore) – The pore parameters.
molefracs (numpy.ndarray[float], optional) – For a mixture, the molefracs of the bulk system.
solver (DFTSolver, optional) – Custom solver options.
max_iter (int, optional) – The maximum number of iterations of the phase equilibrium calculation.
tol (float, optional) – The tolerance of the phase equilibrium calculation.
verbosity (Verbosity, optional) – The verbosity of the phase equilibrium calculation.
- Return type:
Adsorption