Energies (Nov 2024)
Gas Pipeline Leak Detection by Integrating Dynamic Modeling and Machine Learning Under the Transient State
Abstract
This study focused on developing machine learning models to detect leak size and location in transient state conditions. The model was designed for an onshore methane–hydrogen blending gas pipeline in Canada. Base case simulations revealed significant effects on mass flow and pressure due to leaks, with the system taking approximately 6 h to reach a steady state from transient conditions. This made it essential to analyze the flow characteristics during the transient state. Trend data from the pipeline’s inlet and outlet were examined, considering the leak size and location. To better represent the data over time, a method was used to create two-dimensional images, which were then fed into a CNN (convolutional neural network) for training. The model’s accuracy was assessed using classification accuracy and a confusion matrix. By refining the data acquisition process and implementing targeted screening procedures, the model’s classification accuracy increased to over 80%. In conclusion, this study demonstrates that machine learning can enable rapid and accurate leak detection in transient state conditions. The findings are expected to complement existing leak detection methods and support operators in making faster, more informed decisions.
Keywords