Shadfar Davoodi , Evgeny Burnaev , Amir H. Mohammadi
{"title":"Machine-learning modeling of water, oil, and solids content in oil-based drilling muds: An alternative approach to retort test","authors":"Shadfar Davoodi , Evgeny Burnaev , Amir H. Mohammadi","doi":"10.1016/j.colsurfa.2025.138500","DOIUrl":null,"url":null,"abstract":"<div><div>Monitoring the content of water, oil, and solids in oil-based muds (OBMs) is crucial in maintaining a smooth and efficient well-drilling process. Nevertheless, the only measurement method available, the retort test, is time-consuming, preventing the drilling-mud crew from frequently measuring these three OBM parameters. To address this issue, the present study leverages a vast field dataset to build robust, novel machine-learning models that precisely predict the content of water, oil, and solids in OBMs using five frequently measured drilling fluid parameters. In this regard, following the removal of outliers and the selection of the most influential variables, four predictive models, namely, multi-layer extreme learning machine, extreme gradient boosting (XGB), and their hybrid forms with particle swarm optimization (PSO), were developed and precisely evaluated using multiple performance and uncertainty measurement analyses. Among the developed models, the XGB-PSO consistently outperformed others across the training, validation, and blind testing phases, achieving the lowest average absolute relative errors in predicting the target parameters. A comprehensive performance assessment revealed that the XGB-PSO model exhibited minimal systematic bias, strong resistance to noise, the lowest risk of overfitting, as indicated by stable learning curves, and high reliability, confirmed by the narrowest bootstrapped confidence intervals. Finally, Shapley additive explanations analysis performed on the best-performing predictive models revealed mud weight as the most influential feature in predicting the target parameters. In contrast, Marsh funnel viscosity and mud type showed relatively minor influences. During drilling operations, this intelligent approach can assist the drilling-mud crew in making frequent and credible determinations of the water, oil, and solids content in OBMs.</div></div>","PeriodicalId":278,"journal":{"name":"Colloids and Surfaces A: Physicochemical and Engineering Aspects","volume":"728 ","pages":"Article 138500"},"PeriodicalIF":5.4000,"publicationDate":"2025-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Colloids and Surfaces A: Physicochemical and Engineering Aspects","FirstCategoryId":"92","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0927775725024045","RegionNum":2,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CHEMISTRY, PHYSICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Monitoring the content of water, oil, and solids in oil-based muds (OBMs) is crucial in maintaining a smooth and efficient well-drilling process. Nevertheless, the only measurement method available, the retort test, is time-consuming, preventing the drilling-mud crew from frequently measuring these three OBM parameters. To address this issue, the present study leverages a vast field dataset to build robust, novel machine-learning models that precisely predict the content of water, oil, and solids in OBMs using five frequently measured drilling fluid parameters. In this regard, following the removal of outliers and the selection of the most influential variables, four predictive models, namely, multi-layer extreme learning machine, extreme gradient boosting (XGB), and their hybrid forms with particle swarm optimization (PSO), were developed and precisely evaluated using multiple performance and uncertainty measurement analyses. Among the developed models, the XGB-PSO consistently outperformed others across the training, validation, and blind testing phases, achieving the lowest average absolute relative errors in predicting the target parameters. A comprehensive performance assessment revealed that the XGB-PSO model exhibited minimal systematic bias, strong resistance to noise, the lowest risk of overfitting, as indicated by stable learning curves, and high reliability, confirmed by the narrowest bootstrapped confidence intervals. Finally, Shapley additive explanations analysis performed on the best-performing predictive models revealed mud weight as the most influential feature in predicting the target parameters. In contrast, Marsh funnel viscosity and mud type showed relatively minor influences. During drilling operations, this intelligent approach can assist the drilling-mud crew in making frequent and credible determinations of the water, oil, and solids content in OBMs.
期刊介绍:
Colloids and Surfaces A: Physicochemical and Engineering Aspects is an international journal devoted to the science underlying applications of colloids and interfacial phenomena.
The journal aims at publishing high quality research papers featuring new materials or new insights into the role of colloid and interface science in (for example) food, energy, minerals processing, pharmaceuticals or the environment.