Md Ferdous Wahid, R. Tafreshi, Zurwa Khan, A. Retnanto
{"title":"A Machine Learning Approach to Predict the Pressure Gradient of Different Oil-Water Flow Patterns in a Horizontal Wellbore","authors":"Md Ferdous Wahid, R. Tafreshi, Zurwa Khan, A. Retnanto","doi":"10.2118/204552-ms","DOIUrl":null,"url":null,"abstract":"\n Fluid pressure gradient in a wellbore plays a significant role to efficiently transport between source and separator facilities. The mixture of two immiscible fluids manifests in various flow patterns such as stratified, dispersed, intermittent, and annular flow, which can significantly influence the fluid’s pressure gradient. However, previous studies have only used limited flow patterns when developing their data-driven model. The aim of this study is to develop a uniform data-driven model using machine-learning (ML) algorithms that can accurately predict the pressure gradient for the oil-water flow with two stratified and seven dispersed flow patterns in a horizontal wellbore. Two different machine-learning algorithms, Artificial Neural Network (ANN) and Random Forest (RF), were employed to predict the pressure gradients. A total of 662 experimental points from nine different flow patterns were extracted from five sources that include twelve variables for different physical properties of oil-water, wellbore’s surface roughness, and input diameter. The variables are entrance length to diameter ratio, oil and water viscosity, density, velocity, and surface tension, between oil and water surface tension, surface roughness, input diameter, and flow pattern. The algorithms’ performance was evaluated using median absolute percentage error (MdAPE) and root mean squared error (RMSE). A repeated train-test split strategy was used where the final MdAPE and RMSE were computed from the average of all repetitions. The MdAPE and RMSE for the prediction of pressure gradients are 13.89% and 0.138 kPa/m using RF and 12.17% and 0.088 kPa/m using ANN, respectively. The ML algorithms’ ability to model the pressure gradient is demonstrated using measured vs. predicted analysis where the experimental data points are mostly located in close proximity of the diagonal line, indicating a suitable generalization of the models. Comparing the performance between RF and ANN shows that the latter algorithm’s prediction accuracy is significantly better (p<0.01).","PeriodicalId":11320,"journal":{"name":"Day 3 Tue, November 30, 2021","volume":"60 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-12-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Day 3 Tue, November 30, 2021","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2118/204552-ms","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Fluid pressure gradient in a wellbore plays a significant role to efficiently transport between source and separator facilities. The mixture of two immiscible fluids manifests in various flow patterns such as stratified, dispersed, intermittent, and annular flow, which can significantly influence the fluid’s pressure gradient. However, previous studies have only used limited flow patterns when developing their data-driven model. The aim of this study is to develop a uniform data-driven model using machine-learning (ML) algorithms that can accurately predict the pressure gradient for the oil-water flow with two stratified and seven dispersed flow patterns in a horizontal wellbore. Two different machine-learning algorithms, Artificial Neural Network (ANN) and Random Forest (RF), were employed to predict the pressure gradients. A total of 662 experimental points from nine different flow patterns were extracted from five sources that include twelve variables for different physical properties of oil-water, wellbore’s surface roughness, and input diameter. The variables are entrance length to diameter ratio, oil and water viscosity, density, velocity, and surface tension, between oil and water surface tension, surface roughness, input diameter, and flow pattern. The algorithms’ performance was evaluated using median absolute percentage error (MdAPE) and root mean squared error (RMSE). A repeated train-test split strategy was used where the final MdAPE and RMSE were computed from the average of all repetitions. The MdAPE and RMSE for the prediction of pressure gradients are 13.89% and 0.138 kPa/m using RF and 12.17% and 0.088 kPa/m using ANN, respectively. The ML algorithms’ ability to model the pressure gradient is demonstrated using measured vs. predicted analysis where the experimental data points are mostly located in close proximity of the diagonal line, indicating a suitable generalization of the models. Comparing the performance between RF and ANN shows that the latter algorithm’s prediction accuracy is significantly better (p<0.01).