A New Phase-Labeling Method Based on Machine Learning for CO2 Applications

Soham Sheth, James Bennett, D. Kachuma, M. R. Heidari, M. Shaykhattarov
{"title":"A New Phase-Labeling Method Based on Machine Learning for CO2 Applications","authors":"Soham Sheth, James Bennett, D. Kachuma, M. R. Heidari, M. Shaykhattarov","doi":"10.2118/212254-ms","DOIUrl":null,"url":null,"abstract":"\n Phase labeling can be very challenging for complicated compositional simulation cases. Inaccurate labeling can lead to issues ranging from incorrect resource accounting to non-convergent simulation runs. Accurate phase labeling algorithms are computationally demanding and are seldom used in commercial workflows. Instead, cheaper but inaccurate empirical methods are employed such as the Li-correlation (Reid et. el. 1966).\n Phase labelling based on critical temperature alone mis-identifies fluids below the dew point pressure as liquids rather than vapour. This is a particular problem when performing surface flashes of CO2 or H2S rich fluids since both components have critical temperatures above standard temperature. This can lead to failures in the well model, for example when a well is controlled by gas rate but the produced phase is identified as a liquid. The second part of this paper therefore describes a new phase labeling method that uses both the critical temperature and saturation pressure predictions from the ML models to generate accurate labels. Results are presented for CO2 rich fluids. We show that this ML approach can result in accurate labeling and can outperform traditional methods in computational efficiency. We also show the application on simulation cases with complicated field management scenarios that require accurate phase labeling at the in-situ as well as separator conditions.\n The ML workflow is based on a set of two interacting fully connected neural networks, one a classifier and the other a regressor, that are used to replace physical algorithms for single phase labelling and improve the convergence of the simulator. We generate real time compositional training data using different mixing strategies between the injected and the in-situ fluid compositions that can exhibit temporal evolution. In many complicated scenarios, a physical critical temperature as well as saturation pressure does not exist, and the iterative sequence fails to converge. We train the classifier to identify, a-priori, if a sequence of iterations will diverge. The regressor is then trained to predict an accurate value of critical temperature and saturation pressure. A framework is developed inside the simulator based on TensorFlow that aids real time machine learning applications. The training data is generated within the simulator at the beginning of the simulation run and the ML models are trained on this data while the simulator is running. All the run-times presented in this paper include the time taken to generate the training data and train the models.","PeriodicalId":205933,"journal":{"name":"Day 2 Wed, March 29, 2023","volume":"384 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Day 2 Wed, March 29, 2023","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2118/212254-ms","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Phase labeling can be very challenging for complicated compositional simulation cases. Inaccurate labeling can lead to issues ranging from incorrect resource accounting to non-convergent simulation runs. Accurate phase labeling algorithms are computationally demanding and are seldom used in commercial workflows. Instead, cheaper but inaccurate empirical methods are employed such as the Li-correlation (Reid et. el. 1966). Phase labelling based on critical temperature alone mis-identifies fluids below the dew point pressure as liquids rather than vapour. This is a particular problem when performing surface flashes of CO2 or H2S rich fluids since both components have critical temperatures above standard temperature. This can lead to failures in the well model, for example when a well is controlled by gas rate but the produced phase is identified as a liquid. The second part of this paper therefore describes a new phase labeling method that uses both the critical temperature and saturation pressure predictions from the ML models to generate accurate labels. Results are presented for CO2 rich fluids. We show that this ML approach can result in accurate labeling and can outperform traditional methods in computational efficiency. We also show the application on simulation cases with complicated field management scenarios that require accurate phase labeling at the in-situ as well as separator conditions. The ML workflow is based on a set of two interacting fully connected neural networks, one a classifier and the other a regressor, that are used to replace physical algorithms for single phase labelling and improve the convergence of the simulator. We generate real time compositional training data using different mixing strategies between the injected and the in-situ fluid compositions that can exhibit temporal evolution. In many complicated scenarios, a physical critical temperature as well as saturation pressure does not exist, and the iterative sequence fails to converge. We train the classifier to identify, a-priori, if a sequence of iterations will diverge. The regressor is then trained to predict an accurate value of critical temperature and saturation pressure. A framework is developed inside the simulator based on TensorFlow that aids real time machine learning applications. The training data is generated within the simulator at the beginning of the simulation run and the ML models are trained on this data while the simulator is running. All the run-times presented in this paper include the time taken to generate the training data and train the models.
基于机器学习的CO2相位标记新方法
相位标记对于复杂的成分模拟案例来说是非常具有挑战性的。不准确的标记可能导致各种问题,从不正确的资源核算到不收敛的模拟运行。精确的相位标记算法计算量大,很少用于商业工作流程。相反,采用了更便宜但不准确的经验方法,如li相关(Reid等)。1966)。仅基于临界温度的相标记错误地将低于露点压力的流体识别为液体而不是蒸汽。当对富含CO2或H2S的流体进行表面闪蒸时,这是一个特别的问题,因为这两种成分的临界温度都高于标准温度。这可能会导致井模型失效,例如,当一口井由气速控制,但产出相被确定为液体时。因此,本文的第二部分描述了一种新的相位标记方法,该方法使用ML模型的临界温度和饱和压力预测来生成准确的标记。给出了富CO2流体的结果。我们证明了这种机器学习方法可以产生准确的标记,并且在计算效率上优于传统方法。我们还展示了在复杂的现场管理场景的模拟案例中的应用,这些场景需要在现场和分离器条件下进行准确的相位标记。ML工作流程基于一组两个相互作用的完全连接的神经网络,一个是分类器,另一个是回归器,用于取代单相标记的物理算法并提高模拟器的收敛性。我们使用不同的混合策略来生成实时成分训练数据,这些混合策略可以显示注入流体和原位流体成分的时间演化。在许多复杂情况下,物理临界温度和饱和压力不存在,迭代序列不能收敛。我们训练分类器来先验地识别迭代序列是否会发散。然后训练回归器来预测临界温度和饱和压力的准确值。在模拟器内部开发了一个基于TensorFlow的框架,以帮助实时机器学习应用程序。训练数据在模拟运行开始时在模拟器中生成,并且在模拟器运行时对ML模型进行训练。本文给出的所有运行时间都包括生成训练数据和训练模型所花费的时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信