Physics-Constrained Neural Network (PcNN): Phase Behavior Modeling for Complex Reservoir Fluids

Author:

Li Yiteng1,He Xupeng1,Zhang Zhen1,Alsinan Marwa2,Kwak Hyung2,Hoteit Hussein1

Affiliation:

1. King Abdullah University of Science and Technology

2. Saudi Aramco

Abstract

AbstractThe highly nonlinear nature of equation-of-state-based (EOS-based) flash calculations encages high-fidelity compositional simulation, as most of the CPU time is spent on detecting phase stability and calculating equilibrium phase amounts and compositions. With the rapid development of machine learning (ML) techniques, they are growing to substitute classical iterative solvers for speeding up flash calculations.However, conventional data-driven neural networks fail to account for physical constraints, like chemical potential equilibrium (equivalent to fugacity equality in the PT flash formulation) and interphase/intraphase mass conservation. In this work, we propose a physics-constrained neural network (PcNN) that first conserves both fugacity equality and mass balance constraints. To ease the inclusion of fugacity equality, it is reformulated in terms of equilibrium ratios and then introduced with a relaxation parameter such that phase split calculations are extended to the single-phase regime. This makes it technologically feasible to incorporate the fugacity equality constraint into the proposed PcNN model without any computational difficulty.The workflow for the development of the proposed PcNN model includes four steps. Step 1: Perform the constrained Latin hypercube sampling (LHS) to generate representative mixtures covering a variety of fluid types, including wet gas, gas condensate, volatile oil, and black oil. Step 2: Conduct PT flash calculations using the Peng-Robinson (PR) EOS for each fluid mixture. A wide range of reservoir pressures and temperatures are considered, from which we sample the training data for each fluid mixture through grid search. Step 3: Build an optimized PcNN model by including the fugacity equality and mass conservation constraints in the loss function. Bayesian optimization is used to determine the optimal hyperparameters. Step 4: Validate the PcNN model. In this step, we conduct blind validation by comparing it with the iterative PT flash algorithm.

Publisher

SPE

Reference37 articles.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3