Oil Pipeline Leak Detection in Iraqi Oil Fields based on 1DCNN

(1) * Mustafa Raad Al-Khalidi Mail (Al-Furat Al-Awsat Technical University, Iraq)
(2) Ahmad Taha Abdulsadda Mail (Al-Furat Al-Awsat Technical University, Iraq)
(3) Mudafeer Sadaq Al Zuhryi Mail (Al-Furat Al-Awsat Technical University, Iraq)
*corresponding author

Abstract


The oil industry plays a crucial role in Iraq's economy. There's a growing need for technologies that can quickly detect leaks in oil pipelines because leaks can have serious ramifications, including monetary losses, endangerment to public safety, environmental degradation, and resource waste. Advances in technology and software have made it possible to detect leaks. Current approaches often require manual extraction of features, which can be slow and inefficient. This paper presents a new method that proposes using convolutional neural networks (CNNs) for automatic feature extraction. The Iraqi Ministry of Oil, specifically the Basra Oil Company, provided the dataset, such as total distance (km), pressure (bar), and flow rate (STB/d). We split the data into training (70%) and testing (30%) sets. then we calculate metrics such as confusion matrices, accuracy, precision, recall, and F-score to evaluate performance and calculate errors from the regression analysis (root mean square error, root mean absolute error, and relative error). Our contribution to this work is to use 1DCNN to identify leaks, pinpoint their location, and even predict the amount of spilled oil, unlike other research that only uses it to evaluate the presence or absence of a leak only. Additionally, we've created a user-friendly interface for the system. Finally, compare the proposed approach with conventional and alternative methods to show its efficiency. In the future, we plan to expand the system to assess pipeline corrosion and predict its remaining lifespan.

Keywords


Oil Pipelines; Leak Detection; Leak Localization; Mathematical Model; 1DCNN

   

DOI

https://doi.org/10.31763/ijrcs.v4i1.1319
      

Article metrics

10.31763/ijrcs.v4i1.1319 Abstract views : 263 | PDF views : 74

   

Cite

   

Full Text

Download

References


[1] K. Rehman and F. Nawaz, “Remote pipeline monitoring using Wireless Sensor Networks,” 2017 International Conference on Communication, Computing and Digital Systems (C-CODE), pp. 32-37, 2017, https://doi.org/10.1109/C-CODE.2017.7918897.

[2] L. Boaz, S. Kaijage and R. Sinde, “An overview of pipeline leak detection and location systems,” Proceedings of the 2nd Pan African International Conference on Science, Computing and Telecommunications (PACT 2014), pp. 133-137, 2014, https://doi.org/10.1109/SCAT.2014.7055147.

[3] Q. Xiao, J. Li, J. Sun, H. Feng, and S. Jin, “Natural-gas pipeline leak location using variational mode decomposition analysis and cross-time–frequency spectrum,” Measurement, vol. 124, pp. 163-172, 2018, https://doi.org/10.1016/j.measurement.2018.04.030.

[4] R. Cramer, D. Shaw, R. Tulalian, P. Angelo, and M. van Stuijvenberg, “Detecting and correcting pipeline leaks before they become a big problem,” Marine Technology Society Journal, vol. 49, no. 1, pp. 31-46, 2015, https://doi.org/10.4031/MTSJ.49.1.1.

[5] Z. Jia, Z. Wang, W. Sun, and Z. Li, “Pipeline leakage localization based on distributed FBG hoop strain measurements and support vector machine,” Optik, vol. 176, pp. 1-13, 2019, https://doi.org/10.1016/j.ijleo.2018.09.048.

[6] A. Lukman, A. EMMANUEL, N. Chinonso, A. Mutiu, A. James, and K. Jonathan, “An anti-theft oil pipeline vandalism detection: embedded system development,” International journal of engineering science and application, vol. 2, no. 2, pp. 55-64, 2018, https://dergipark.org.tr/en/pub/ijesa/issue/38052/408770#article_cite.

[7] M. Wasim and M. B. Djukic, “External corrosion of oil and gas pipelines: A review of failure mechanisms and predictive preventions,” Journal of Natural Gas Science and Engineering, vol. 100, p. 104467, 2022, https://doi.org/10.1016/j.jngse.2022.104467.

[8] B. M. S. Arifin, Z. Li, S. L. Shah, G. A. Meyer, and A. Colin, “A novel data-driven leak detection and localization algorithm using the Kantorovich distance,” Computers & Chemical Engineering, vol. 108, pp. 300-313, 2018, https://doi.org/10.1016/j.compchemeng.2017.09.022.

[9] D. T. Thekkuden, A.-H. I. Mourad, and A.-H. Bouzid, “Failures and leak inspection techniques of tube-to-tubesheet joints: A review,” Engineering Failure Analysis, vol. 130, p. 105798, 2021, https://doi.org/10.1016/j.engfailanal.2021.105798.

[10] N. Li, J. Wang, R. Liu, and M. Höök, “Methane emission reduction in China's natural gas industry: Construction of technology inventory and selection of optimal technology programs,” Sustainable Production and Consumption, vol. 44, pp. 39-54, 2024, https://doi.org/10.1016/j.spc.2023.12.002.

[11] K. Siler-Evans, A. Hanson, C. Sunday, N. Leonard, and M. Tumminello, “Analysis of pipeline accidents in the United States from 1968 to 2009,” International journal of critical infrastructure protection, vol. 7, no. 4, pp. 257-269, 2014, https://doi.org/10.1016/j.ijcip.2014.09.002.

[12] I. Bolotina, V. Borikov, V. Ivanova, K. Mertins, and S. Uchaikin, “Application of phased antenna arrays for pipeline leak detection,” Journal of Petroleum Science and Engineering, vol. 161, pp. 497-505, 2018, https://doi.org/10.1016/j.petrol.2017.10.059.

[13] L. Meng, L. Yuxing, W. Wuchang, and F. Juntao, “Experimental study on leak detection and location for gas pipeline based on acoustic method,” Journal of Loss Prevention in the Process Industries, vol. 25, no. 1, pp. 90-102, 2012, https://doi.org/10.1016/j.jlp.2011.07.001.

[14] H. Jin, L. Zhang, W. Liang, and Q. Ding, “Integrated leakage detection and localization model for gas pipelines based on the acoustic wave method,” Journal of Loss Prevention in the Process Industries, vol. 27, pp. 74-88, 2014, https://doi.org/10.1016/j.jlp.2013.11.006.

[15] Y. Mahmutoglu and K. Turk, “A passive acoustic based system to locate leak hole in underwater natural gas pipelines,” Digital Signal Processing, vol. 76, pp. 59-65, 2018, https://doi.org/10.1016/j.dsp.2018.02.007.

[16] K. Lim, L. Wong, W. K. Chiu, and J. Kodikara, “Distributed fiber optic sensors for monitoring pressure and stiffness changes in out‐of‐round pipes,” Structural Control and Health Monitoring, vol. 23, no. 2, pp. 303-314, 2016, https://doi.org/10.1002/stc.1771.

[17] Z. Jia, L. Ren, H. Li, and W. Sun, “Pipeline leak localization based on FBG hoop strain sensors combined with BP neural network,” Applied Sciences, vol. 8, no. 2, p. 146, 2018, https://doi.org/10.3390/app8020146.

[18] W. H. Png, H. S. Lin, C. H. Pua, and F. Abd Rahman, “Pipeline monitoring and leak detection using Loop integrated Mach Zehnder Interferometer optical fiber sensor,” Optical Fiber Technology, vol. 46, pp. 221-225, 2018, https://doi.org/10.1016/j.yofte.2018.10.013.

[19] S.-H. Ni, Y.-H. Huang, K.-F. Lo, and D.-C. Lin, “Buried pipe detection by ground penetrating radar using the discrete wavelet transform,” Computers and Geotechnics, vol. 37, no. 4, pp. 440-448, 2010, https://doi.org/10.1016/j.compgeo.2010.01.003.

[20] Q. Hoarau, G. Ginolhac, A. M. Atto, and J.-M. Nicolas, “Robust adaptive detection of buried pipes using GPR,” Signal Processing, vol. 132, pp. 293-305, 2017, https://doi.org/10.1016/j.sigpro.2016.07.001.

[21] H. Li, D. -Y. Xiao and X. Zhao, “Morphological filtering assisted field-pipeline small leakage detection,” 2009 IEEE International Conference on Systems, Man and Cybernetics, pp. 3769-3774, 2009, https://doi.org/10.1109/ICSMC.2009.5346676.

[22] M. R. Delgado and O. B. Mendoza, “A comparison between leak location methods based on the negative pressure wave,” 2017 14th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE), pp. 1-6, 2017, https://doi.org/10.1109/ICEEE.2017.8108841.

[23] Q. Chen et al., “Effect of rubber washers on leak location for assembled pressurized liquid pipeline based on negative pressure wave method,” Process Safety and Environmental Protection, vol. 119, pp. 181-190, 2018, https://doi.org/10.1109/ICEEE.2017.8108841.

[24] S. I. Kam, “Mechanistic modeling of pipeline leak detection at fixed inlet rate,” Journal of Petroleum Science and Engineering, vol. 70, no. 3-4, pp. 145-156, 2010, https://doi.org/10.1016/j.petrol.2009.09.008.

[25] S. Tian, J. Du, S. Shao, H. Xu, and C. Tian, “A study on a real-time leak detection method for pressurized liquid refrigerant pipeline based on pressure and flow rate,” Applied Thermal Engineering, vol. 95, pp. 462-470, 2016, https://doi.org/10.1016/j.applthermaleng.2015.11.067.

[26] G. He et al., “A method for simulating the entire leaking process and calculating the liquid leakage volume of a damaged pressurized pipeline,” Journal of hazardous materials, vol. 332, pp. 19-32, 2017, https://doi.org/10.1016/j.jhazmat.2017.02.039.

[27] Z. Yang, S. Fan and T. Xiong, “Simulation and Numerical Calculation on Pipeline Leakage Process,” 2010 2nd International Symposium on Information Engineering and Electronic Commerce, pp. 1-5, 2010, https://doi.org/10.1109/IEEC.2010.5533189.

[28] X. Li, G. Chen, R. Zhang, H. Zhu, J. Fu, “Simulation and assessment of underwater gas release and dispersion from subsea gas pipelines leak,” Process Safety and Environmental Protection, vol. 119, pp. 46-57, 2018, https://doi.org/10.1016/j.psep.2018.07.015.

[29] J. Wan, Y. Yu, Y. Wu, R. Feng, and N. Yu, “Hierarchical leak detection and localization method in natural gas pipeline monitoring sensor networks,” Sensors, vol. 12, no. 1, pp. 189-214, 2011, https://doi.org/10.3390/s120100189.

[30] M. H. Manekiya and P. Arulmozhivarman, “Leakage detection and estimation using IR thermography,” 2016 International Conference on Communication and Signal Processing (ICCSP), pp. 1516-1519, 2016, https://doi.org/10.1109/ICCSP.2016.7754411.

[31] J. Sun, Z. Peng, and J. Wen, “Leakage aperture recognition based on ensemble local mean decomposition and sparse representation for classification of natural gas pipeline,” Measurement, vol. 108, pp. 91-100, 2017, https://doi.org/10.1016/j.measurement.2017.05.029.

[32] Y. Gao, Y. Liu, Y. Ma, X. Cheng, and J. Yang, “Application of the differentiation process into the correlation-based leak detection in urban pipeline networks,” Mechanical Systems and Signal Processing, vol. 112, pp. 251-264, 2018, https://doi.org/10.1016/j.ymssp.2018.04.036.

[33] S. Yin et al., “Mass transfer characteristics of pipeline leak-before-break in a nuclear power station,” Applied Thermal Engineering, vol. 142, pp. 194-202, 2018, https://doi.org/10.1016/j.applthermaleng.2018.06.077.

[34] N. Turner, “Hardware and software techniques for pipeline integrity and leak detection monitoring,” SPE Offshore Europe Conference and Exhibition, pp. SPE-23044, 1991, https://doi.org/10.2118/23044-MS.

[35] P.-S. Murvay and I. Silea, “A survey on gas leak detection and localization techniques,” Journal of Loss Prevention in the Process Industries, vol. 25, no. 6, pp. 966-973, 2012, https://doi.org/10.1016/j.jlp.2012.05.010.

[36] M. Ayaz and H. Yüksel, “Design of a new cost-efficient automation system for gas leak detection in industrial buildings,” Energy and Buildings, vol. 200, pp. 1-10, 2019, https://doi.org/10.1016/j.enbuild.2019.07.038.

[37] D. Matko, G. Geiger, and T. Werner, “Neural net versus classical models for the detection and localization of leaks in pipelines,” Mathematical and Computer Modelling of Dynamical Systems, vol. 12, no. 6, pp. 505-517, 2006, https://doi.org/10.1080/13873950500068526.

[38] D. Chatzigeorgiou, K. Youcef-Toumi, and R. Ben-Mansour, “Design of a novel in-pipe reliable leak detector,” IEEE/ASmE Transactions on mechatronics, vol. 20, no. 2, pp. 824-833, 2015, https://doi.org/10.1109/TMECH.2014.2308145.

[39] M. A. Adegboye, W.-K. Fung, and A. Karnik, “Recent advances in pipeline monitoring and oil leakage detection technologies: Principles and approaches,” Sensors, vol. 19, no. 11, p. 2548, 2019, https://doi.org/10.3390/s19112548.

[40] S. Sangeethaa and P. Uma Maheswari, “An intelligent model for blood vessel segmentation in diagnosing DR using CNN,” Journal of medical systems, vol. 42, no. 10, p. 175, 2018, https://doi.org/10.1007/s10916-018-1030-6.

[41] L. Song et al., “A deep multi-modal CNN for multi-instance multi-label image classification,” IEEE Transactions on Image Processing, vol. 27, no. 12, pp. 6025-6038, 2018, https://doi.org/10.1109/TIP.2018.2864920.

[42] A. Ullah, J. Ahmad, K. Muhammad, M. Sajjad, and S. W. Baik, “Action recognition in video sequences using deep bi-directional LSTM with CNN features,” IEEE access, vol. 6, pp. 1155-1166, 2017, https://doi.org/10.1109/ACCESS.2017.2778011.

[43] J. M. Brown et al., “Automated diagnosis of plus disease in retinopathy of prematurity using deep convolutional neural networks,” JAMA ophthalmology, vol. 136, no. 7, pp. 803-810, 2018, https://doi.org/10.1001/jamaophthalmol.2018.1934.

[44] V. Gulshan et al., “Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs,” jama, vol. 316, no. 22, pp. 2402-2410, 2016, https://doi.org/10.1001/jama.2016.17216.

[45] A. S. Coyner et al., “Automated fundus image quality assessment in retinopathy of prematurity using deep convolutional neural networks,” Ophthalmology retina, vol. 3, no. 5, pp. 444-450, 2019, https://doi.org/10.1016/j.oret.2019.01.015.

[46] P. Rajpurkar et al., “Chexnet: Radiologist-level pneumonia detection on chest x-rays with deep learning,” arXiv preprint arXiv:1711.05225, 2017, https://doi.org/10.48550/arXiv.1711.05225.

[47] L. Jones, D. Golan, S. Hanna, and M. Ramachandran, “Artificial intelligence, machine learning and the evolution of healthcare: A bright future or cause for concern?,” Bone & joint research, vol. 7, no. 3, pp. 223-225, 2018, https://doi.org/10.1302/2046-3758.73.BJR-2017-0147.R1.

[48] J. De Fauw et al., “Clinically applicable deep learning for diagnosis and referral in retinal disease,” Nature medicine, vol. 24, no. 9, pp. 1342-1350, 2018, https://doi.org/10.1038/s41591-018-0107-6.

[49] J. Moor, “The Dartmouth College artificial intelligence conference: The next fifty years,” Ai Magazine, vol. 27, no. 4, pp. 87-91, 2006, https://ojs.aaai.org/aimagazine/index.php/aimagazine/article/view/1911.

[50] P. Ritter, M. Schirner, A. R. McIntosh, and V. K. Jirsa, “The virtual brain integrates computational modeling and multimodal neuroimaging,” Brain connectivity, vol. 3, no. 2, pp. 121-145, 2013, https://doi.org/10.1089/brain.2012.0120.

[51] R. Yamashita, M. Nishio, R. K. G. Do, and K. Togashi, “Convolutional neural networks: an overview and application in radiology,” Insights into imaging, vol. 9, pp. 611-629, 2018, https://doi.org/10.1007/s13244-018-0639-9.

[52] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: a simple way to prevent neural networks from overfitting,” The journal of machine learning research, vol. 15, no. 1, pp. 1929-1958, 2014, https://www.jmlr.org/papers/volume15/srivastava14a/srivastava14a.pdf?utm_content=buffer79b43&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer.

[53] S. Kiranyaz, T. Ince, R. Hamila and M. Gabbouj, “Convolutional Neural Networks for patient-specific ECG classification,” 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 2608-2611, 2015, https://doi.org/10.1109/EMBC.2015.7318926.

[54] S. Kiranyaz, T. Ince, and M. Gabbouj, “Personalized monitoring and advance warning system for cardiac arrhythmias,” Scientific reports, vol. 7, no. 1, p. 9270, 2017, https://doi.org/10.1038/s41598-017-09544-z.

[55] O. Avci, O. Abdeljaber, S. Kiranyaz, M. Hussein, and D. J. Inman, “Wireless and real-time structural damage detection: A novel decentralized method for wireless sensor networks,” Journal of Sound and Vibration, vol. 424, pp. 158-172, 2018, https://doi.org/10.1016/j.jsv.2018.03.008.

[56] O. Avci, O. Abdeljaber, S. Kiranyaz, and D. Inman, “Structural damage detection in real time: implementation of 1D convolutional neural networks for SHM applications,” Structural Health Monitoring & Damage Detection, pp. 49-54, 2017, https://doi.org/10.1007/978-3-319-54109-9_6.

[57] O. Abdeljaber, O. Avci, S. Kiranyaz, M. Gabbouj, and D. J. Inman, “Real-time vibration-based structural damage detection using one-dimensional convolutional neural networks,” Journal of Sound and Vibration, vol. 388, pp. 154-170, 2017, https://doi.org/10.1016/j.jsv.2016.10.043.

[58] O. Avci, O. Abdeljaber, S. Kiranyaz, B. Boashash, H. Sodano, and D. J. Inman, “Efficiency validation of one dimensional convolutional neural networks for structural damage detection using a SHM benchmark data,” 5th International Congress on Sound and Vibration 2018, pp. 4600-4607, 2018, https://www.diva-portal.org/smash/record.jsf?pid=diva2%3A1362683.

[59] O. Abdeljaber, O. Avci, M. S. Kiranyaz, B. Boashash, H. Sodano, and D. J. Inman, “1-D CNNs for structural damage detection: Verification on a structural health monitoring benchmark data,” Neurocomputing, vol. 275, pp. 1308-1317, 2018, https://doi.org/10.1016/j.neucom.2017.09.069.

[60] T. Ince, S. Kiranyaz, L. Eren, M. Askar, and M. Gabbouj, “Real-time motor fault detection by 1-D convolutional neural networks,” IEEE Transactions on Industrial Electronics, vol. 63, no. 11, pp. 7067-7075, 2016, https://doi.org/10.1109/TIE.2016.2582729.

[61] S. Kiranyaz, A. Gastli, L. Ben-Brahim, N. Al-Emadi, and M. Gabbouj, “Real-time fault detection and identification for MMC using 1-D convolutional neural networks,” IEEE Transactions on Industrial Electronics, vol. 66, no. 11, pp. 8760-8771, 2019, https://doi.org/10.1109/TIE.2018.2833045.

[62] O. Abdeljaber, S. Sassi, O. Avci, S. Kiranyaz, A. A. Ibrahim, and M. Gabbouj, “Fault detection and severity identification of ball bearings by online condition monitoring,” IEEE Transactions on Industrial Electronics, vol. 66, no. 10, pp. 8136-8147, 2019, https://doi.org/10.1109/TIE.2018.2886789.

[63] L. Eren, T. Ince, and S. Kiranyaz, “A generic intelligent bearing fault diagnosis system using compact adaptive 1D CNN classifier,” Journal of Signal Processing Systems, vol. 91, pp. 179-189, 2019, https://doi.org/10.1007/s11265-018-1378-3.

[64] P. A. Opala, “Influence of lime and phosphorus application rates on growth of maize in an acid soil,” Advances in Agriculture, vol. 2017, 2017, https://doi.org/10.1155/2017/7083206.

[65] P. Sukarno, K. A. Sidarto, A. Trisnobudi, D. I. Setyoadi, N. Rohani, and D. Darmadi, “Leak detection modeling and simulation for oil pipeline with artificial intelligence method,” Journal of Engineering and Technological Sciences, vol. 39 B, no. 1, pp. 1-19, 2007, https://doi.org/10.5614/itbj.eng.sci.2007.39.1.1.

[66] M. Chaczykowski, A. J. Osiadacz, and F. Uilhoorn, “Exergy-based analysis of gas transmission system with application to Yamal-Europe pipeline,” Applied Energy, vol. 88, no. 6, pp. 2219-2230, 2011, https://doi.org/10.1016/j.apenergy.2010.12.045.

[67] R. Ben-Mansour, M. Habib, A. Khalifa, K. Youcef-Toumi, and D. Chatzigeorgiou, “Computational fluid dynamic simulation of small leaks in water pipelines for direct leak pressure transduction,” Computers & Fluids, vol. 57, pp. 110-123, 2012, https://doi.org/10.1016/j.compfluid.2011.12.016.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2023 Mustafa Raad Alkhalidi

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

 


About the JournalJournal PoliciesAuthor Information

International Journal of Robotics and Control Systems
e-ISSN: 2775-2658
Website: https://pubs2.ascee.org/index.php/IJRCS
Email: ijrcs@ascee.org
Organized by: Association for Scientific Computing Electronics and Engineering (ASCEE)Peneliti Teknologi Teknik IndonesiaDepartment of Electrical Engineering, Universitas Ahmad Dahlan and Kuliah Teknik Elektro
Published by: Association for Scientific Computing Electronics and Engineering (ASCEE)
Office: Jalan Janti, Karangjambe 130B, Banguntapan, Bantul, Daerah Istimewa Yogyakarta, Indonesia