PTFlash : A vectorized and parallel deep learning framework for two-phase flash calculation
نویسندگان
چکیده
Phase equilibrium calculations are an essential part of numerical simulations multi-component multi-phase flow in porous media, accounting for the largest share computational time. In this work, we introduce a fast and parallel framework, PTFlash, that vectorizes algorithms required two-phase flash calculation using PyTorch, can facilitate wide range downstream applications. Vectorization promotes parallelism consequently leads to attractive hardware-agnostic acceleration. addition, further accelerate design two task-specific neural networks, one predicting stability given mixtures other providing estimates distribution coefficients, which trained offline help shorten computation time by sidestepping analysis reducing number iterations reach convergence. The evaluation PTFlash was conducted on three case studies involving hydrocarbons, CO2 N2, phase tested over large temperature, pressure composition conditions, Soave–Redlich–Kwong (SRK) equation state. We compare with in-house thermodynamic library, Carnot, written C++ performing CPU. Results show speed-ups up order magnitude scale calculations, while maintaining perfect precision reference solution provided Carnot.
منابع مشابه
a framework for identifying and prioritizing factors affecting customers’ online shopping behavior in iran
the purpose of this study is identifying effective factors which make customers shop online in iran and investigating the importance of discovered factors in online customers’ decision. in the identifying phase, to discover the factors affecting online shopping behavior of customers in iran, the derived reference model summarizing antecedents of online shopping proposed by change et al. was us...
15 صفحه اولAsphaltene Deposition Modeling during Natural Depletion and Developing a New Method for Multiphase Flash Calculation
The specific objective of this paper is to develop a fully implicit compositional simulator for modeling asphaltene deposition during natural depletion. In this study, a mathematical model for asphaltene deposition modeling is presented followed by the solution approach using the fully implicit scheme. A thermodynamic model for asphaltene precipitation and the numerical methods for performing f...
متن کاملA multi-scale framework for multi-phase equilibrium flash
A general multi-scale framework for multi-component, multi-phase equilibrium flash calculations, which uses information at the molecular and bulk fluid length scales, is described. The multi-scale Gibbs–Helmholtz constrained (GHC) EOS approach of Lucia (2010) is extended to include the use of (1) coarse grained NTP Monte Carlo simulations to gather pure component internal energies of departure,...
متن کاملTwo-step Modified SOM for Parallel Calculation
This paper presents a simple modification of classic Kohonen network (SOM), which allows parallel processing of input data vectors or partitioning the problem in case of insufficient memory for all vectors from the training set. The algorithm pre-selects potential centroids of data clusters and uses them as weight vectors in the final SOM network. We have demonstrated the usage of this algorith...
متن کاملA Probabilistic Framework for Deep Learning
We develop a probabilistic framework for deep learning based on the Deep Rendering Mixture Model (DRMM), a new generative probabilistic model that explicitly capture variations in data due to latent task nuisance variables. We demonstrate that max-sum inference in the DRMM yields an algorithm that exactly reproduces the operations in deep convolutional neural networks (DCNs), providing a first ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Fuel
سال: 2023
ISSN: ['0016-2361', '1873-7153']
DOI: https://doi.org/10.1016/j.fuel.2022.125603