Application of Machine Learning Algorithm for Predicting Produced Water Under Various Operating Conditions in an Oilwell

Eriagbaraoluwa Adesina, B. Olusola
{"title":"Application of Machine Learning Algorithm for Predicting Produced Water Under Various Operating Conditions in an Oilwell","authors":"Eriagbaraoluwa Adesina, B. Olusola","doi":"10.2118/211921-ms","DOIUrl":null,"url":null,"abstract":"\n Production optimization is often required to manage increase of undesired reservoir fluids especially water in oil and gas wells. However, this activity needs to be guided by science and data rather than a trial-and-error approach of changing the operating conditions of the well to determine the corresponding production response. Well performance models are often used to predict well behavior at different operating conditions but one of the disadvantages of this method is the inability to predict the water cut based on given well parameters. In this work, we applied the random Forest Regression model, well test data and well performance model to predict the expected water cut while changing the operating conditions of a well.\n We had used four wells to demonstrate the application of machine learning to produced water prediction under different operating conditions. Well performance model which is a combination of Presssure Volume Temperature (PVT) model, inflow performance relationship (IPR) model and vertical lift performance (VLP) model was used to generate the well parameters transferred to the machine learning algorithm. A histogram and box plot were first drawn to understand the distribution of the data and filter the outliers within the dataset because outliers skew the model results. A correlation matrix was now used to understand the relationship between the water cut and the following variables: Flowing Tubing Head Pressure, the Bean Size, the Gas Oil Ratio, and liquid production.\n Thereafter the Random Forest model was applied to the well parameters to get the predicted values. After getting our predicted values from our model, the model results were evaluated with three regression evaluation metrics, the mean absolute error, the mean squared error and the root mean squared error to compare the predicted water cut values with the actual values and return the margin of error in the predictions. The Mean Absolute Error, Mean Squared Error, and Root Mean Squared Error results were within acceptable tolerance. Therefore, given the minimal error values we can conclude that the model can successfully predict water cut values at different operating conditions.\n Based on our evaluation, the bar chart predicted values and actual values showed minimal error margins indicating the model's accuracy can be trusted.\n This paper presents a novel way to estimate the water cut of a well under various operating conditions, a prediction that is not available using existing well performance models.","PeriodicalId":399294,"journal":{"name":"Day 2 Tue, August 02, 2022","volume":"16 14","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Day 2 Tue, August 02, 2022","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2118/211921-ms","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Production optimization is often required to manage increase of undesired reservoir fluids especially water in oil and gas wells. However, this activity needs to be guided by science and data rather than a trial-and-error approach of changing the operating conditions of the well to determine the corresponding production response. Well performance models are often used to predict well behavior at different operating conditions but one of the disadvantages of this method is the inability to predict the water cut based on given well parameters. In this work, we applied the random Forest Regression model, well test data and well performance model to predict the expected water cut while changing the operating conditions of a well. We had used four wells to demonstrate the application of machine learning to produced water prediction under different operating conditions. Well performance model which is a combination of Presssure Volume Temperature (PVT) model, inflow performance relationship (IPR) model and vertical lift performance (VLP) model was used to generate the well parameters transferred to the machine learning algorithm. A histogram and box plot were first drawn to understand the distribution of the data and filter the outliers within the dataset because outliers skew the model results. A correlation matrix was now used to understand the relationship between the water cut and the following variables: Flowing Tubing Head Pressure, the Bean Size, the Gas Oil Ratio, and liquid production. Thereafter the Random Forest model was applied to the well parameters to get the predicted values. After getting our predicted values from our model, the model results were evaluated with three regression evaluation metrics, the mean absolute error, the mean squared error and the root mean squared error to compare the predicted water cut values with the actual values and return the margin of error in the predictions. The Mean Absolute Error, Mean Squared Error, and Root Mean Squared Error results were within acceptable tolerance. Therefore, given the minimal error values we can conclude that the model can successfully predict water cut values at different operating conditions. Based on our evaluation, the bar chart predicted values and actual values showed minimal error margins indicating the model's accuracy can be trusted. This paper presents a novel way to estimate the water cut of a well under various operating conditions, a prediction that is not available using existing well performance models.
机器学习算法在油井不同工况下产出水预测中的应用
为了控制油气井中不期望的储层流体,特别是水的增加,通常需要进行生产优化。然而,这项工作需要以科学和数据为指导,而不是通过改变井的操作条件来确定相应的生产响应的试错方法。井动态模型通常用于预测不同作业条件下的井动态,但这种方法的缺点之一是无法根据给定的井参数预测含水率。在这项工作中,我们应用随机森林回归模型、试井数据和井动态模型来预测井的预期含水率,同时改变井的操作条件。我们使用了四口井来演示机器学习在不同操作条件下预测采出水的应用。利用压力体积温度(PVT)模型、流入动态关系(IPR)模型和垂直举升动态(VLP)模型相结合的井动态模型生成井参数,并将其传递给机器学习算法。首先绘制直方图和箱形图来了解数据的分布并过滤数据集中的异常值,因为异常值会扭曲模型结果。现在使用相关矩阵来了解含水率与以下变量之间的关系:流动油管压力、豆大小、油气比和液体产量。然后将随机森林模型应用于井参数,得到预测值。在得到模型预测值后,采用平均绝对误差、均方误差和均方根误差3个回归评价指标对模型结果进行评价,将预测含水量与实际含水量进行比较,并返回预测值的误差范围。平均绝对误差、均方误差和均方根误差均在可接受范围内。因此,给定最小误差值,我们可以得出结论,该模型可以成功地预测不同操作条件下的含水率值。根据我们的评估,柱状图预测值和实际值显示出最小的误差范围,表明模型的准确性是可信的。本文提出了一种估算不同工况下井含水率的新方法,这是现有井动态模型无法实现的预测。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信