Kwame Sarkodie , Joseph Agyepong , Emmanuel Agyei , Godfred Arkoh , Rhoda Arhin , Franklin Ankomah , Caspar Daniel Adenutsi , Samuel Erzuah
{"title":"Machine learning-based surrogate correlation for prediction of wax deposition rate in oil and gas pipelines","authors":"Kwame Sarkodie , Joseph Agyepong , Emmanuel Agyei , Godfred Arkoh , Rhoda Arhin , Franklin Ankomah , Caspar Daniel Adenutsi , Samuel Erzuah","doi":"10.1016/j.petlm.2026.03.002","DOIUrl":null,"url":null,"abstract":"<div><div>This study developed a data-driven surrogate-box correlation to predict wax deposition rates in crude-oil pipelines and help address the limited generalizability of empirical and mechanistic models under variable flow and thermal conditions. Literature-derived dataset of 215 experimental and field observations was compiled with inputs as oil temperature <span><math><msub><mi>T</mi><mi>o</mi></msub></math></span>, wall temperature <span><math><msub><mi>T</mi><mi>w</mi></msub></math></span>, dynamic viscosity <span><math><mrow><mi>μ</mi></mrow></math></span>, wall shear stress <span><math><mrow><mi>σ</mi></mrow></math></span>, flow velocity <span><math><msub><mi>v</mi><mi>f</mi></msub></math></span>, wall temperature gradient <span><math><mrow><mo>Δ</mo><mi>T</mi></mrow></math></span>, and wall concentration gradient <span><math><mrow><mo>Δ</mo><mi>C</mi></mrow></math></span>, and target as wax deposition rate <span><math><msub><mi>δ</mi><mi>W</mi></msub></math></span> (g·m<sup>-</sup><sup>2</sup>.h<sup>-1</sup>). After outlier control, standardization, and ANOVA-based feature engineering, Five supervised black-box models; SVR, Random Forest, MLP, Gradient Boosting, and KNN, models were trained with an 80/20 train–test split, 5-fold cross-validated, hyperparameter-tuned and evaluated using MSE, RMSE, MAE, <span><math><mrow><msup><mi>R</mi><mn>2</mn></msup></mrow></math></span>, and AAPRE. The top performing model, KNN, was modeled into an interpretable surrogate via elastic net (benchmarked against polynomial Ridge degree-2/3) to yield a closed-form correlation. KNN achieved excellent test performance (<span><math><mrow><msup><mi>R</mi><mn>2</mn></msup><mo>=</mo><mn>0.985</mn></mrow></math></span>, RMSE ⁓ 0.101, AAPRE ⁓ 5.09%), outperforming alternative models. The Elastic Net surrogate preserved predictive ability with balanced generalization (<span><math><mrow><msup><mi>R</mi><mn>2</mn></msup></mrow></math></span> ≈ 0.61–0.65 for train/validation/test) while exposing parameter level effects and nonlinear interactions among temperature, viscosity, shear stress, velocity, and wall-scale gradients. When compared to a physics-based correlation, the surrogate exhibited tighter clustering to measurements, which indicates improved field relevance. The principal contribution of this study is a hybrid workflow that couples high-accuracy black-box learning with transparent surrogate modeling to help enable real-time monitoring and control, proactive pigging scheduling, and optimized chemical/thermal treatments of oil flow in pipelines. The resulting correlation offers a deployable, interpretable alternative to nontransparent machine learning models or assumption-heavy empirical relations, with clear value for flow-assurance planning and operational reliability.</div></div>","PeriodicalId":37433,"journal":{"name":"Petroleum","volume":"12 2","pages":"Pages 350-365"},"PeriodicalIF":5.5000,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Petroleum","FirstCategoryId":"1087","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2405656126000192","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/3/6 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0
Abstract
This study developed a data-driven surrogate-box correlation to predict wax deposition rates in crude-oil pipelines and help address the limited generalizability of empirical and mechanistic models under variable flow and thermal conditions. Literature-derived dataset of 215 experimental and field observations was compiled with inputs as oil temperature , wall temperature , dynamic viscosity , wall shear stress , flow velocity , wall temperature gradient , and wall concentration gradient , and target as wax deposition rate (g·m-2.h-1). After outlier control, standardization, and ANOVA-based feature engineering, Five supervised black-box models; SVR, Random Forest, MLP, Gradient Boosting, and KNN, models were trained with an 80/20 train–test split, 5-fold cross-validated, hyperparameter-tuned and evaluated using MSE, RMSE, MAE, , and AAPRE. The top performing model, KNN, was modeled into an interpretable surrogate via elastic net (benchmarked against polynomial Ridge degree-2/3) to yield a closed-form correlation. KNN achieved excellent test performance (, RMSE ⁓ 0.101, AAPRE ⁓ 5.09%), outperforming alternative models. The Elastic Net surrogate preserved predictive ability with balanced generalization ( ≈ 0.61–0.65 for train/validation/test) while exposing parameter level effects and nonlinear interactions among temperature, viscosity, shear stress, velocity, and wall-scale gradients. When compared to a physics-based correlation, the surrogate exhibited tighter clustering to measurements, which indicates improved field relevance. The principal contribution of this study is a hybrid workflow that couples high-accuracy black-box learning with transparent surrogate modeling to help enable real-time monitoring and control, proactive pigging scheduling, and optimized chemical/thermal treatments of oil flow in pipelines. The resulting correlation offers a deployable, interpretable alternative to nontransparent machine learning models or assumption-heavy empirical relations, with clear value for flow-assurance planning and operational reliability.
期刊介绍:
Examples of appropriate topical areas that will be considered include the following: 1.comprehensive research on oil and gas reservoir (reservoir geology): -geological basis of oil and gas reservoirs -reservoir geochemistry -reservoir formation mechanism -reservoir identification methods and techniques 2.kinetics of oil and gas basins and analyses of potential oil and gas resources: -fine description factors of hydrocarbon accumulation -mechanism analysis on recovery and dynamic accumulation process -relationship between accumulation factors and the accumulation process -analysis of oil and gas potential resource 3.theories and methods for complex reservoir geophysical prospecting: -geophysical basis of deep geologic structures and background of hydrocarbon occurrence -geophysical prediction of deep and complex reservoirs -physical test analyses and numerical simulations of reservoir rocks -anisotropic medium seismic imaging theory and new technology for multiwave seismic exploration -o theories and methods for reservoir fluid geophysical identification and prediction 4.theories, methods, technology, and design for complex reservoir development: -reservoir percolation theory and application technology -field development theories and methods -theory and technology for enhancing recovery efficiency 5.working liquid for oil and gas wells and reservoir protection technology: -working chemicals and mechanics for oil and gas wells -reservoir protection technology 6.new techniques and technologies for oil and gas drilling and production: -under-balanced drilling/gas drilling -special-track well drilling -cementing and completion of oil and gas wells -engineering safety applications for oil and gas wells -new technology of fracture acidizing