Phasepy: A Python based framework for fluid phase equilibria and interfacial properties computation
- 1 September 2020
- journal article
- research article
- Published by Wiley in Journal of Computational Chemistry
- Vol. 41 (29) , 2504-2526
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 ϕ–γ and ϕ–ϕ approaches, where ϕ (fugacity coefficient) can be modeled as a perfect gas, virial gas or EoS fluid, whereas γ (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 ϕ–ϕ 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.Keywords
Funding Information
- Fondo Nacional de Desarrollo Científico y Tecnológico (1190107)
This publication has 54 references indexed in Scilit:
- SciPy 1.0: fundamental algorithms for scientific computing in PythonNature Methods, 2020
- Thermodynamic Modeling with Equations of State: Present Challenges with Established MethodsIndustrial & Engineering Chemistry Research, 2017
- The NumPy Array: A Structure for Efficient Numerical ComputationComputing in Science & Engineering, 2011
- Cython: The Best of Both WorldsComputing in Science & Engineering, 2011
- Industrial Requirements for Thermodynamics and Transport PropertiesIndustrial & Engineering Chemistry Research, 2010
- Python: An Ecosystem for Scientific ComputingComputing in Science & Engineering, 2010
- Phase Stability Analysis in Binary SystemsPhysics and Chemistry of Liquids, 2000
- A method for the simultaneous phase equilibria and stability calculations for multiphase reacting and non-reacting systemsFluid Phase Equilibria, 1991
- The isothermal flash problem. Part I. StabilityFluid Phase Equilibria, 1982
- Semiempirical theory of surface tensions of pure normal alkanes and alcoholsAIChE Journal, 1978