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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.