Forecasting Drilling Mud Losses Using Python
https://doi.org/10.23947/2587-8999-2024-8-4-19-26
Abstract
Introduction. Drilling mud losses are among the most common complications encountered during well drilling. Forecasting these losses is a priority as it helps minimize drilling fluid wastage and prevent wellbore incidents. Mud loss events are primarily influenced by the geological properties of the formations being drilled. Understanding the relationship between mud loss occurrences and the geological characteristics of the formations has both fundamental and practical significance. Given the complexity of predicting mud loss probabilities using traditional mathematical models, this study aims to develop a machine-learning-based system to predict the probability of mud losses based on well location and stratigraphic description.
Materials and Methods. Experimental data from 735 wells at the Shkapovskoye oil field, including well location coordinates, geological layer indices, and mud loss intensities, were prepared for computational analysis. The dataset was divided into training and testing subsets. The classification problem was addressed using four intensity classes with the following machine learning models: Decision Tree, Random Forest, and Linear Discriminant Analysis.
Results. Predictions generated by the three models were compared against the experimental data in the test set. The evaluation metrics included accuracy and recall. All three models achieved an average prediction accuracy of 91%. Linear Discriminant Analysis was identified as the most accurate model.
Discussion and Conclusion. High-accuracy predictions enable reliable forecasting of the probability and intensity of mud losses based on the location and stratigraphic description of new wells. The study presents three machine learning methods that demonstrated superior results in solving this problem.
About the Authors
N. V. KornilaevRussian Federation
Nikita V. Kornilaev - student at the Department of Information Technologies and Applied Mathematics
1, Kosmonavtov str., Ufa, 450064
K. F. Koledina
Russian Federation
Kamila F. Koledina - Dr. Sc. (Phys.-Math.), Associate Professor at the Department of Information Technologies and Applied Mathematics ; Research Fellow
1, Kosmonavtov str., 450064, Ufa
450075, October ave., 141, Ufa
References
1. Shipovskiy K.A., Tsirkova V.S., Koval M.E., Kozhin V.N. Regularities of the distribution of lost circulation areas in single reefs of the depression zone of the Kama-Kinel downfold system. Exposition Oil & Gas. 2021;1(80):34–39. (In Russ.) https://doi.org/10.24412/2076-6785-2021-1-34-39
2. Eremin N.A., Selenginsky D.A. On the possibilities of applying artificial intelligence methods in solving oil and gas problems. Proceedings of Tula State University. Earth sciences. 2023;1(1):201–211. (In Russ.) https://doi.org/10.46689/2218-5194-2023-1-1-201-211
3. Abu-Abed F.N., Borisov N.A., Khabarov A.R. The use of pattern recognition methods for the analysis of emergency situations. In: Collection of articles of the XVI International scientific and practical conference “Mathematical methods and information technologies in economics, Sociology and Education”. Penza: Autonomous non-profit scientific and educational organization “Volga House of Knowledge”; 2005. pp. 428‒431. (In Russ.).
4. Kodirov Sh.Sh., Shestakov A.L. Development of an artificial neural network for predicting the tack of drill pipe columns. Bulletin of SUSU. The series “Computer technology, control, radio electronics”. 2019;19(3):20–32. (In Russ.) https://doi.org/10.14529/ctcr190302
5. Dmitrievsky A.N., Eremin N.A., Chernikov A.D., Zinatulina L.I. The use of artificial intelligence methods to prevent complications during well construction. Proceedings of Tula State University. Earth sciences. 2021;4:132–145. (In Russ.) https://doi.org/10.46689/2218-5194-2021-4-1-132-144
6. Lind Yu.B., Kabirova A.R., Nurislamova L.F. Predicting complications in the drilling process using parallel computing technology. In: Proceedings of the international scientific conference “Parallel Computing Technologies”. Novosibirsk: SUSU Publishing Center; 2012. pp. 571–576. (In Russ.)
7. Trebin G.F., Charygin N.V., Obukhova T.M. Oil fields of the Soviet Union. Guide. 2nd ed., additional and revised. Moscow: Nedra; 1980. 583 p. (In Russ.)
8. DecisionTrees — Geeksforgeeks. URL: https://www.geeksforgeeks.org/decision-tree-introduction-example/ (accessed: 21.04.2024).
9. Random Forest Algorithm in Machine Learning — Geekforgeeks. URL: https://www.geeksforgeeks.org/randomforest-algorithm-in-machine-learning/ (accessed: 21.04.2024).
10. Linear Discriminant Analysis in Machine Learning — GeeksforGeeks. URL: https://www.geeksforgeeks.org/mllinear-discriminant-analysis/ (accessed: 21.04.2024).
Review
For citations:
Kornilaev N.V., Koledina K.F. Forecasting Drilling Mud Losses Using Python. Computational Mathematics and Information Technologies. 2024;8(4):19-26. https://doi.org/10.23947/2587-8999-2024-8-4-19-26