We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LG

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Physics > Chemical Physics

Title: PTFlash : A deep learning framework for isothermal two-phase equilibrium calculations

Authors: Jingang Qu (MLIA, IFPEN), Thibault Faney (IFPEN), Jean-Charles de Hemptinne (IFPEN), Soleiman Yousef (IFPEN), Patrick Gallinari (MLIA)
Abstract: Phase equilibrium calculations are an essential part of numerical simulations of multi-component multi-phase flow in porous media, accounting for the largest share of the computational time. In this work, we introduce a GPUenabled, fast, and parallel framework, PTFlash, that vectorizes algorithms required for isothermal two-phase flash calculations using PyTorch, and can facilitate a wide range of downstream applications. In addition, to further accelerate PTFlash, we design two task-specific neural networks, one for predicting the stability of given mixtures and the other for providing estimates of the distribution coefficients, which are trained offline and help shorten computation time by sidestepping stability analysis and reducing the number of iterations to reach convergence. The evaluation of PTFlash was conducted on three case studies involving hydrocarbons, CO 2 and N 2 , for which the phase equilibrium was tested over a large range of temperature, pressure and composition conditions, using the Soave-Redlich-Kwong (SRK) equation of state. We compare PTFlash with an in-house thermodynamic library, Carnot, written in C++ and performing flash calculations one by one on CPU. Results show speed-ups on large scale calculations up to two order of magnitudes, while maintaining perfect precision with the reference solution provided by Carnot.
Subjects: Chemical Physics (physics.chem-ph); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2205.03090 [physics.chem-ph]
  (or arXiv:2205.03090v2 [physics.chem-ph] for this version)

Submission history

From: Jingang Qu [view email]
[v1] Fri, 6 May 2022 09:13:47 GMT (3203kb,D)
[v2] Thu, 19 May 2022 06:59:28 GMT (3202kb,D)

Link back to: arXiv, form interface, contact.