Document Type : Original Research Paper

Authors

1 Drilling and Well Services Department, Badr El-din Petroleum Company (BAPETCO), Cairo, Egypt.

2 Department of Petroleum Engineering, Faculty of Petroleum and Mining Engineering, Suez University, P.O.Box: 43221, Suez, Egypt

3 Egyptian Petroleum Research Institute (EPRI), Nasr City, Cairo, Egypt

Abstract

Kick monitoring, detection, and control are key elements to ensure safe drilling operations and avoid catastrophic blow-out incidents that can cause loss of life, equipment, and environmental damage. Conventional kick detection systems such as the pit volume totalizer and the flow in/out sensors identify the kick after a large amount of influx has been recorded on the surface. So, we aim to recognize the kick before it enters the wellbore by detecting the abnormal formation pressure once the bit penetrates the rock. This paper proposes a new machine learning model as an alternative solution using field drilling parameters such as true vertical depth, porosity, bulk density, resistivity, rate of penetration, weight on bit, rotation per minute, torque, standpipe pressure, flow rate, flowline temperature, and gas level. The data-driven models were developed using three separate algorithms: K-Nearest Neighbor, Random Forest, and XG Boost. 6022 field data points were split for training, testing, and validation processes. On average, the model using the random forest algorithm showed the highest accuracy in forecasting the formation pressure, with root mean squared error values and coefficient of determination values of 12.868 and 0.9638, respectively. Streamlit Deployment tool was used to create a user interface program to facilitate the prediction process. The program was tested using 196 field data points and recorded a high accuracy of 95%. 

Keywords

Main Subjects

[1]. Schools, A. D. (2002). Well control for the rig-site drilling team. Training Manual.
[2]. President Commission. (2011). National Commission on the BP Deepwater Horizon Oil Spill and Offshore Drilling: Deepwater. The Gulf Oil Disaster and the Future of Offshore Drilling.
[3]. Sætren, T. G. (2007). Offshore blow-out accidents: an analysis of causes of vulnerability exposing technological systems to accidents (Master's thesis).
[4]. A. O. Erete, E. E. Okoro, E. Ekeinde, and A. Dosunmu, “A New Approach To Kick Detection and Diagnosis in Drilling Operation,” International Journal of Advanced Research in Education & Technology (IJARET), vol. 3, no. 2, pp. 151–156, 2016.
[5]. Magana-Mora, A., Affleck, M., Ibrahim, M., Makowski, G., Kapoor, H., Otalvora, W. C., ... & Gooneratne, C. P. (2021). Well control space out: A deep-learning approach for the optimization of drilling safety operations. IEEE Access9, 76479-76492.
[6]. Sircar, A., Yadav, K., Rayavarapu, K., Bist, N., & Oza, H. (2021). Application of machine learning and artificial intelligence in oil and gas industry. Petroleum Research6(4), 379-391.
[7]. Muojeke, S., Venkatesan, R., & Khan, F. (2020). Supervised data-driven approach to early kick detection during drilling operation. Journal of Petroleum Science and Engineering192, 107324.
[8]. Khamis, Y. E., El-Rammah, S. G., & Salem, A. M. (2023). Rate of penetration prediction in drilling operation in oil and gas wells by k-nearest neighbors and multi-layer perceptron algorithms. Journal of Mining and Environment14(3), 755-770.
[9]. H. Rabia, Well Engineering & Construction. Entrac Consulting Limited, 2002.
[10]. Chevron Energy Technology Company (CETC), Drilling Well Control Guide. 2006.
[11]. Aramco, S. (2002). Well Control Manual, Drilling and Workover.
[12]. Ahmed, M. A., Hegab, O. A., & Sabry, A. (2016). Early detection enhancement of the kick and near-balance drilling using mud logging warning sign. Egyptian journal of basic and applied sciences3(1), 85-93.
[13]. Tost, B., Rose, K., Aminzadeh, F., Ante, M. A., & Huerta, N. (2016). Kick detection at the bit: Early detection via low cost monitoring (No. NETL-TRS-2-2016). National Energy Technology Laboratory (NETL), Pittsburgh, PA, Morgantown, WV (United States).
[14]. American Petroleum Institute (API), API Standard 53, Well Control Equipment system for Drilling Wells, 5th ed. API Publishing Services, 2018.
[15]. H. Abdul-Ameer, “Machine Learning Methods for Kick Detection (Doctoral Dissertation),” University of Calgary, Calgary, Canada, 2023. doi: https://dx.doi.org/10.11575/PRISM/40680.
[16]. Nayeem, A. A., Venkatesan, R., & Khan, F. (2016). Monitoring of down-hole parameters for early kick detection. Journal of Loss Prevention in the Process Industries40, 43-54.
[17]. Islam, R., Khan, F., & Venkatesan, R. (2017). Real time risk analysis of kick detection: testing and validation. Reliability Engineering & System Safety161, 25-37.
[18]. Faraj, A. K., & Hussein, H. A. H. A. (2022). Calculation Pore Pressure Utilized Two Methods/Case Study of Zubair Oil Field. Texas Journal of Engineering and Technology11, 1-6.
[19]. Nelli, F. (2018). Python data analytics with Pandas, NumPy, and Matplotlib.
[20]. Flach, P. (2012). Machine learning: the art and science of algorithms that make sense of data. Cambridge University Press.
[21]. Osarogiagbon, A., Muojeke, S., Venkatesan, R., Khan, F., & Gillard, P. (2020). A new methodology for kick detection during petroleum drilling using long short-term memory recurrent neural network. Process Safety and Environmental Protection142, 126-137.
[22]. Fjetland, A. K. (2019). Kick Detection During Offshore Drilling Using Artificial Intelligence (Master's thesis, Universitetet i Agder; University of Agder).
[23]. Grus, J. (2019). Data science from scratch: first principles with python. O'Reilly Media.
[24]. Wu, X., Kumar, V., Ross Quinlan, J., Ghosh, J., Yang, Q., Motoda, H., ... & Steinberg, D. (2008). Top 10 algorithms in data mining. Knowledge and information systems14, 1-37.
[25]. Mining, W. I. D. (2006). Introduction to data mining (pp. 2-12). New Jersey: Pearson Education, Inc.
[26]. Breiman, L. (2001). Random forests. Machine learning45, 5-32.
[27]. Bentlemsan, M., Zemouri, E. T., Bouchaffra, D., Yahya-Zoubir, B., & Ferroudji, K. (2014, January). Random forest and filter bank common spatial patterns for EEG-based motor imagery classification. In 2014 5th International conference on intelligent systems, modelling and simulation (pp. 235-238). IEEE.
[28]. Blakely, L., Reno, M. J., & Broderick, R. J. (2018, February). Decision tree ensemble machine learning for rapid QSTS simulations. In 2018 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT) (pp. 1-5). IEEE.
[29]. Chen, T., & Guestrin, C. (2016, August). Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining (pp. 785-794).
[30]. Malik, S., Harode, R., & Kunwar, A. (2020). XGBoost: A deep dive into boosting. Simon Fraser University, 1-21.
[31]. Singh, P. (2021). Deploy machine learning models to production. Cham, Switzerland: Springer.
[32]. Mosca, E., Szigeti, F., Tragianni, S., Gallagher, D., & Groh, G. (2022, October). SHAP-based explanation methods: a review for NLP interpretability. In Proceedings of the 29th international conference on computational linguistics (pp. 4593-4603).