Phasepy: A Python based framework for fluid phase equilibria and interfacial properties computation

Chaparro, Gustavo; Mejia, Andres

Abstract

Phasepy is a Python based package for fluid phase equilibria and interfacial properties calculation from equation of state (EoS). Phasepy uses several tools (i.e., NumPy, SciPy, Pandas, Matplotlib) allowing use Phasepy under Jupyter Notebooks. Phasepy models phase equilibria with the traditional phi-gamma and phi-phi approaches, where phi(fugacity coefficient) can be modeled as a perfect gas, virial gas or EoS fluid, whereas gamma(activity coefficient) can be described by conventional models (NRTL, Wilson, Redlich-Kister expansion, and the group contribution modified-UNIFAC). Interfacial properties are based on the square gradient theory couple to phi-phi approach. The available EoSs are the cubic EoS family extended to mixtures through the quadratic, modified-Huron-Vidal, and Wong-Sandler mixing rules. Phasepy allows to analyze phase stability, compute phase equilibria, interfacial properties, and optimize their parameters for vapor-liquid, liquid-liquid, and vapor-liquid-liquid equilibria for multicomponent mixtures. Phasepy implementation, and robustness are illustrated for binary and ternary mixtures.

Más información

Título según WOS: Phasepy: A Python based framework for fluid phase equilibria and interfacial properties computation
Título de la Revista: JOURNAL OF COMPUTATIONAL CHEMISTRY
Volumen: 41
Número: 29
Editorial: WILEY-BLACKWELL
Fecha de publicación: 2020
Página de inicio: 2504
Página final: 2526
DOI:

10.1002/jcc.26405

Notas: ISI