Natural gas pipeline leakage detecting and positioning method and system
By introducing micro-perturbations in natural gas pipelines and combining simulation models and sensor data for comparative analysis, the problem of low accuracy in natural gas pipeline leak detection is solved, and fast and accurate leak point location and long-term effective leak monitoring are achieved.
Patent Information
- Application Number
- CN202410790381.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
AI Technical Summary
The existing technology has low accuracy in natural gas pipeline leakage detection, resulting in inaccurate positioning and difficulty in adapting to performance changes caused by pipeline aging and other factors.
Using methods based on pipe network modeling and micro-perturbation technology, leak events are simulated by introducing micro-perturbations into the pipe network, and the simulation model and sensor data are combined for comparative analysis to optimize the simulation model to improve positioning accuracy.
It achieves fast and accurate leak point location, adapts to pipeline performance changes over time, reduces operation and maintenance costs, and improves the accuracy of leak detection.
Smart Images

Figure CN118623237A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data analysis, and in particular to a natural gas pipeline leakage detection and positioning method and system. Background Art
[0002] The effective management and maintenance of natural gas pipeline networks is crucial to energy security and environmental protection. With technological advancements, the use of advanced simulation methods for pipeline network monitoring and leak detection has become a key industry trend. These technologies not only improve the efficiency and safety of pipeline network operations but also play a key role in ensuring public safety. Accurately and rapidly locating leaks is particularly important in large and complex natural gas pipeline networks, ensuring stable system operation and minimizing economic losses.
[0003] There are two main approaches to locating natural gas pipeline leaks: one is monitoring using external sensors, including acoustic detection, infrared imaging, chemical detection, and pressure and flow monitoring; the other is numerical simulation based on pipeline fluid and leak characteristics. Both approaches have their advantages. Equipment monitoring is direct, real-time, and applicable to a variety of environments, but can be susceptible to environmental interference and has high deployment and maintenance costs. Simulation methods offer the advantages of efficiency, accuracy, and the ability to simulate complex situations, but they can be limited by model accuracy and data integrity.
[0004] Chinese patent publication number CN111428320B proposes a parallel computing method for dynamic and online simulation modeling of pipeline networks, which can efficiently utilize computing resources, improve simulation speed, and is suitable for multi-threading, multi-processing, and even computer clusters, thereby improving the computational efficiency of simulations. Chinese patent publication number CN106844814B proposes a leakage detection method for large and complex natural gas pipeline networks. Through static and online simulation combined with parameter learning, it realizes the identification and diagnosis of leakage status of large and complex oil and gas pipeline systems. Chinese patent publication number CN109344436B proposes an online simulation method for large and complex natural gas pipeline networks, which can track the hydraulic and thermal changes of the pipeline network system in real time and is suitable for describing the response process of various operations and events. Chinese patent publication number CN115127036 proposes a method and system for locating leakage in municipal gas pipeline networks. Combining monitoring data from a limited number of sensors with artificial intelligence models, it can efficiently identify the leakage status of complex pipeline networks.
[0005] Current technology and research have made significant progress in natural gas pipeline network simulation and leak detection. However, due to factors such as engineering implementation errors and pipeline aging, the actual pipeline state is significantly different from the ideal state, which can lead to distortion of simulation results and greatly reduce the accuracy of pipeline leak location.
[0006] How to efficiently and accurately detect and locate natural gas pipeline leaks is a technical problem that needs to be solved. Summary of the Invention
[0007] The technical task of the present invention is to address the above shortcomings and provide a natural gas pipeline leak detection and positioning method and system to solve the technical problem of how to efficiently and accurately realize natural gas pipeline leak detection and positioning.
[0008] In a first aspect, the present invention provides a natural gas pipeline leak detection and positioning method, comprising the following steps:
[0009] Pipeline network modeling: Build a pipeline network model based on the logistics structure and physical characteristics of the natural gas pipeline;
[0010] Select the micro-disturbance location: Analyze the pipe network model and select key nodes where flow and pressure changes are sensitive to leak detection as micro-disturbance introduction points;
[0011] Introducing micro-disturbance: Execute micro-disturbance operation at the preset time and micro-disturbance introduction point, and simulate leakage events through the pressure and flow changes generated by the micro-disturbance operation;
[0012] Real-time data collection preparation: Deploy sensors in the pipe network model to collect pressure and flow changes caused by micro-disturbance;
[0013] Perform real-time data collection: When micro-disturbance occurs, sensors collect changes in pressure and flow at each node in the pipeline network as monitoring data;
[0014] Start online simulation: Based on the pipeline network model and perturbation parameters, the simulation model simulates the propagation process of the perturbation in the pipeline, and obtains the changes in pressure and flow at each node of the pipeline network as prediction data;
[0015] Data comparison and analysis: Compare and analyze the predicted data output by the simulation model with the monitoring data collected by the sensor, and locate the leakage point in the pipeline network based on the comparison and analysis results to obtain the leakage location;
[0016] Evaluate and adjust the simulation model: Optimize the model parameters based on the identified leak location.
[0017] Preferably, introducing the micro-perturbation comprises the following steps:
[0018] Determine the type and scale of micro-disturbance: Set a micro-disturbance plan based on the functional characteristics of the pipeline network and the target detection sensitivity. Use the micro-disturbance plan to determine whether to quickly open or close the valve, as well as the amplitude and duration of the valve operation;
[0019] Introducing micro-disturbance into the pipe network: performing micro-disturbance operations according to the micro-disturbance plan at the predetermined time and micro-disturbance introduction point;
[0020] Evaluate the impact of micro-disturbance on the pipeline network: After a micro-disturbance occurs, analyze the response of the pipeline network, including the propagation of the pulse wave in the pipeline network.
[0021] Preferably, when determining the type and size of the micro-disturbance, the pressure and flow changes caused by the valve are estimated based on the Bernoulli equation, and the calculation formula is as follows:
[0022]
[0023] Where P is the pressure, ρ is the fluid density, v is the flow velocity, g is the acceleration due to gravity, and h is the height.
[0024] Preferably, the propagation of the pulse wave is described by the wave equation, which is expressed as follows:
[0025]
[0026] Where p is pressure, t is time, x is position, and c is wave speed.
[0027] Preferably, the data comparison analysis includes the following steps:
[0028] Obtaining prediction data from the simulation model: Using the simulation model to simulate the propagation of micro-disturbance in the pipe network, the data generated by the simulation model is collected, including the predicted changes in pressure and flow at each node in the pipe network as prediction data;
[0029] Acquire actual data from pipe network sensors: Synchronously collect the actual data recorded by each sensor in the pipe network as monitoring data, including the actual pressure and flow changes at each node in the pipe network;
[0030] Comparison of forecast data and monitoring data: Comparison of forecast data and monitoring data is conducted through data analysis methods, and the differences between forecast data and monitoring data are analyzed as comparative analysis results. Data analysis methods include statistical analysis and pattern recognition.
[0031] Identify the leak location based on comparative analysis results: Analyze abnormal patterns in monitoring data and predicted data using data analysis technology, estimate the leakage flow rate based on the leakage flow rate, simulate the impact of the leakage on the pressure and flow of the pipeline network based on the leakage flow rate and leakage location through the leakage impact model, analyze the data differences between each monitoring point in the pipeline network based on the leakage flow estimation and the leakage impact model, and locate the leak point using the least squares method or machine learning algorithm to obtain the leak location;
[0032] The leakage flow estimation calculation formula is as follows:
[0033]
[0034] Where Q is the leakage flow, C is the flow coefficient, A is the leakage hole area, g is the acceleration of gravity, and h is the pressure head difference;
[0035] The calculation formula of the leakage impact model is as follows:
[0036] ΔP=f(Q,L,D),
[0037] Where ΔP is the pressure change, Q is the leakage flow rate, L is the distance from the leakage point to the monitoring point, and D is the pipe diameter.
[0038] In a second aspect, the present invention provides a natural gas pipeline leak detection and positioning system for detecting and locating natural gas pipeline leaks using the natural gas pipeline leak detection and positioning method according to any one of the first aspects. The system includes a pipeline network modeling module, a micro-disturbance location selection module, a micro-disturbance introduction module, a real-time data collection preparation module, a real-time data collection execution module, an online simulation startup module, a data comparison and analysis module, and a simulation model evaluation and adjustment module.
[0039] The pipeline network modeling module is used to perform the following: construct a pipeline network model based on the logistics structure and physical characteristics of the natural gas pipeline;
[0040] The micro-disturbance location selection module is used to perform the following: analyze the pipe network model and select key nodes where flow and pressure changes are sensitive to leak detection as micro-disturbance introduction points;
[0041] The micro-disturbance introduction module is used to perform the following: perform micro-disturbance operations at preset times and micro-disturbance introduction points, and simulate leakage events through pressure and flow changes generated by the micro-disturbance operations;
[0042] The real-time data collection preparation module is used to perform the following: deploy sensors in the pipe network model, and the sensors are used to collect pressure and flow changes caused by micro-disturbance;
[0043] The real-time data collection execution module is used to perform the following: when micro-disturbance occurs, the pressure and flow changes at each node of the pipeline network are collected through sensors as monitoring data;
[0044] The online simulation startup module is used to perform the following: based on the pipeline network model and the perturbation parameters, the simulation model simulates the propagation process of the perturbation in the pipeline, and obtains the changes of pressure and flow at each node of the pipeline network as prediction data;
[0045] The data comparison and analysis module is used to perform the following operations: compare and analyze the predicted data output by the simulation model with the monitoring data collected by the sensor, locate the leakage point of the pipeline network based on the comparison and analysis results, and obtain the leakage location;
[0046] The simulation model evaluation and adjustment module is used to perform the following: optimizing the model parameters of the simulation model based on the identified leakage location.
[0047] Preferably, the perturbation introduction module is configured to perform the following:
[0048] Determine the type and scale of micro-disturbance: Set a micro-disturbance plan based on the functional characteristics of the pipeline network and the target detection sensitivity. Use the micro-disturbance plan to determine whether to quickly open or close the valve, as well as the amplitude and duration of the valve operation;
[0049] Introducing micro-disturbance into the pipe network: performing micro-disturbance operations according to the micro-disturbance plan at the predetermined time and micro-disturbance introduction point;
[0050] Evaluate the impact of micro-disturbance on the pipeline network: After a micro-disturbance occurs, analyze the response of the pipeline network, including the propagation of the pulse wave in the pipeline network.
[0051] Preferably, when determining the type and scale of the micro-disturbance, the micro-disturbance introduction module is used to estimate the pressure and flow changes caused by the valve based on the Bernoulli equation, and the calculation formula is as follows:
[0052]
[0053] Where P is the pressure, ρ is the fluid density, v is the flow velocity, g is the acceleration due to gravity, and h is the height.
[0054] Preferably, the propagation of the pulse wave is described by the wave equation, which is expressed as follows:
[0055]
[0056] Where p is pressure, t is time, x is position, and c is wave speed.
[0057] Preferably, the data comparison and analysis module is used to perform the following:
[0058] Obtaining prediction data from the simulation model: Using the simulation model to simulate the propagation of micro-disturbance in the pipe network, the data generated by the simulation model is collected, including the predicted changes in pressure and flow at each node in the pipe network as prediction data;
[0059] Acquire actual data from pipe network sensors: Synchronously collect the actual data recorded by each sensor in the pipe network as monitoring data, including the actual pressure and flow changes at each node in the pipe network;
[0060] Comparison of forecast data and monitoring data: Comparison of forecast data and monitoring data is conducted through data analysis methods, and the differences between forecast data and monitoring data are analyzed as comparative analysis results. Data analysis methods include statistical analysis and pattern recognition.
[0061] Identify the leak location based on comparative analysis results: Analyze abnormal patterns in monitoring data and predicted data using data analysis technology, estimate the leakage flow rate based on the leakage flow rate, simulate the impact of the leakage on the pressure and flow of the pipeline network based on the leakage flow rate and leakage location through the leakage impact model, analyze the data differences between each monitoring point in the pipeline network based on the leakage flow estimation and the leakage impact model, and locate the leak point using the least squares method or machine learning algorithm to obtain the leak location;
[0062] The leakage flow estimation calculation formula is as follows:
[0063]
[0064] Where Q is the leakage flow, C is the flow coefficient, A is the leakage hole area, g is the acceleration of gravity, and h is the pressure head difference;
[0065] The calculation formula of the leakage impact model is as follows:
[0066] ΔP=f(Q,L,D),
[0067] Where ΔP is the pressure change, Q is the leakage flow rate, L is the distance from the leakage point to the monitoring point, and D is the pipe diameter.
[0068] The natural gas pipeline leak detection and positioning method and system of the present invention have the following advantages:
[0069] 1. Rapidly locate the leak point: Using advanced data analysis methods, the leak location can be quickly and accurately located, significantly shortening the response time and improving the efficiency of emergency treatment;
[0070] 2. Adapt to changes in the pipeline network: This technology can adapt to performance changes of pipelines due to aging or other factors over time, maintaining long-term and effective leakage monitoring;
[0071] 3. Optimize maintenance and operations: Accurate leak detection and location help optimize pipeline network maintenance and operation strategies, reduce operation and maintenance costs, and improve system stability;
[0072] 4. Improve leak detection accuracy: By comparing simulation and measured data, this technology significantly improves the accuracy of leak detection and reduces the possibility of false alarms and missed alarms. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0074] The present invention will be further described below with reference to the accompanying drawings.
[0075] Figure 1 This is a flowchart of a natural gas pipeline leak detection and positioning method according to Example 1. DETAILED DESCRIPTION
[0076] The present invention will be further described below with reference to the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it. However, the embodiments given are not intended to limit the present invention. Unless there is a conflict, the embodiments of the present invention and the technical features in the embodiments may be combined with each other.
[0077] The embodiments of the present invention provide a natural gas pipeline leak detection and positioning method and system for solving the technical problem of how to efficiently and accurately realize natural gas pipeline leak detection and positioning.
[0078] Example 1:
[0079] The invention provides a natural gas pipeline leak detection and positioning method, which includes eight steps: pipeline network modeling, selecting micro-disturbance locations, introducing micro-disturbance, preparing for real-time data collection, executing real-time data collection, starting online simulation, data comparison and analysis, and evaluating and adjusting the simulation model.
[0080] Step S100: Pipeline network modeling: constructing a pipeline network model based on the logistics structure and physical characteristics of the natural gas pipeline.
[0081] Step S100 collects data such as pipeline length, diameter, and material, and uses specialized software such as a GIS system or pipeline simulation software to create a detailed digital model of the natural gas pipeline network. This model accurately reflects the physical structure and functional characteristics of the pipeline network, providing a foundation for subsequent simulation analysis and leak detection.
[0082] Step S200 selects the micro-disturbance position: the pipe network model is analyzed, and key nodes whose flow and pressure changes are sensitive to leakage detection are selected as micro-disturbance introduction points.
[0083] In this embodiment, step S200 selects key nodes where flow and pressure changes are most sensitive to leak detection as micro-disturbance introduction points based on the pipe network model analysis. This step is crucial to identifying locations that are most sensitive to system changes, ensuring that micro-disturbance can be effectively propagated and detected.
[0084] Step S300 introduces micro-disturbance: at a preset time and micro-disturbance introduction point, a micro-disturbance operation is performed, and a leakage event is simulated through the pressure and flow changes generated by the micro-disturbance operation.
[0085] In this embodiment, step S300 rapidly opens and closes valves to induce pressure changes in the pipeline network: valves are rapidly operated at selected locations to introduce controlled micro-perturbations. The resulting pressure and flow changes simulate potential leak events, providing a recognizable signal for the detection system to test its ability to respond to actual leaks.
[0086] As a specific implementation, this step includes the following three operations.
[0087] (1) Determine the type and scale of micro-disturbance: According to the functional characteristics of the pipeline network and the target detection sensitivity, set the micro-disturbance scheme, and determine whether to quickly open or close the valve and determine the amplitude and duration of the valve operation through the micro-disturbance scheme.
[0088] This step involves carefully designing the specific perturbation scheme based on the specific characteristics of the pipeline network (such as pipe size, fluid characteristics, system layout) and the target detection sensitivity. This includes deciding whether to open or close the valve quickly, as well as the amplitude and duration of the valve operation. The goal is to generate enough pressure changes to be detected in subsequent steps. At the same time, it is necessary to ensure that this micro-perturbation does not negatively affect the normal operation of the pipeline network. Use the Bernoulli equation to estimate the flow rate and pressure changes caused by valve operation:
[0089]
[0090] Where P is pressure, ρ is fluid density, v is flow velocity, g is acceleration due to gravity, and h is altitude.
[0091] (2) Introducing micro-disturbance into the pipe network: performing micro-disturbance operations according to the micro-disturbance scheme at the predetermined time and micro-disturbance introduction point.
[0092] At the predetermined location and time, the micro-perturbation operation is implemented according to the design plan, usually by quickly operating the valve through an automated control system. The key to this step is to ensure that the micro-perturbation is executed as planned so that the expected pulse wave is generated and that these waves can effectively propagate in the pipe network. The accuracy of the operation is crucial to the success of leak detection in subsequent steps. The propagation of the pulse wave can be described by the wave equation
[0093]
[0094] Where p is pressure, t is time, x is position, and c is wave velocity. This equation helps predict the speed and behavior of pressure waves in pipes.
[0095] (3) Evaluate the impact of micro-disturbance on the pipeline network: After the micro-disturbance occurs, analyze the response of the pipeline network, including the propagation of the pulse wave in the pipeline network.
[0096] After the micro-perturbation occurs, the response of the pipeline network is observed and analyzed, particularly the propagation of the pulse wave. This step requires consideration of the nonlinear characteristics of the pipeline, such as the effects of friction, bends, branches, and connections on pressure wave propagation. These nonlinear factors can cause pressure wave attenuation, reflection, or distortion, thus affecting leak detection accuracy.
[0097] Step S400: Real-time data collection preparation: deploying sensors in the pipe network model, the sensors are used to collect pressure and flow changes caused by micro-disturbance.
[0098] In this embodiment, step S400 configures the sensor network and prepares for data collection: sensors are deployed throughout the pipe network to ensure they can capture pressure and flow changes caused by micro-perturbations. This includes calibrating the sensors to ensure they can accurately record data and preparing the data transmission system to transmit the monitoring data in real time.
[0099] Step S500 performs real-time data collection: when micro-disturbance occurs, the pressure and flow changes at each node of the pipe network are collected by sensors as monitoring data.
[0100] In this embodiment, step S500 collects real-time monitoring data such as pressure and flow of the pipeline system when a micro-disturbance occurs. These data will reflect the impact of the micro-disturbance on the pipeline network and provide key information for subsequent simulation analysis and leak detection.
[0101] Step S600 starts the online simulation: based on the pipe network model and the perturbation parameters, the propagation process of the perturbation in the pipe is simulated by the simulation model, and the changes of pressure and flow at each node of the pipe network are obtained as prediction data.
[0102] In this embodiment, step S600 uses simulation software to simulate the propagation of micro-disturbance in the pipeline based on the pipeline model and micro-disturbance parameters. This step aims to predict the behavior of micro-disturbance in the actual pipeline network through computer simulation, providing a theoretical basis for comparative analysis.
[0103] Step S700: Data comparison and analysis: The predicted data output by the simulation model is compared and analyzed with the monitoring data collected by the sensor, and the leakage point of the pipeline network is located according to the comparison and analysis results to obtain the leakage position.
[0104] In this embodiment, step S700 compares simulated and measured data to identify leaks: Online simulation results are compared and analyzed with real-time monitoring data to identify discrepancies. This step not only involves comparing the differences between simulated and real-world data, but also uses these discrepancies to determine the specific location and potential scale of the leak. By comprehensively analyzing the simulation model output and actual monitoring data, leaks in the pipe network can be accurately identified and located. This process is the core of the detection process, ensuring effective leak identification and timely response.
[0105] The specific operations are as follows:
[0106] (1) Obtaining prediction data from the simulation model: The propagation process of micro-disturbance in the pipeline network is simulated by the simulation model, and the data generated by the simulation model are collected, including the predicted changes in pressure and flow at each node of the pipeline network as prediction data.
[0107] This operation runs an online simulation model to simulate the propagation of micro-disturbances through the pipe network. The generated data is collected, including predicted changes in parameters such as pressure and flow at various points in the pipe network. This data serves as a theoretical baseline for leak detection and is used for comparison with actual monitoring data.
[0108] (2) Obtaining actual data from pipe network sensors: Synchronously collect the actual data recorded by each sensor in the pipe network as monitoring data, including the actual changes in pressure and flow at each node in the pipe network.
[0109] This operation acquires real-time data from pipe network sensors: It synchronously collects real-time data recorded by various sensors in the pipe network. This data reflects the actual response of the pipe network to micro-perturbations, including actual pressure and flow changes. Ensuring the accuracy and integrity of this data is crucial for subsequent analysis.
[0110] (3) Comparison of predicted data and monitoring data: The predicted data and monitoring data are compared and analyzed through data analysis methods, and the differences between the predicted data and monitoring data are analyzed as the comparative analysis results. The data analysis methods include statistical analysis and pattern recognition.
[0111] This operation compares simulated data with measured data in detail, analyzing the differences between the two. Data analysis methods, such as statistical analysis or pattern recognition, are used to identify unusual patterns in the data. These anomalies may be caused by leaks and are therefore key to identifying leaks.
[0112] (4) Identify the leakage location based on the comparative analysis results: Analyze the abnormal patterns in the monitoring data and the predicted data based on data analysis technology, estimate the leakage flow based on the leakage flow, simulate the impact of the leakage on the pressure and flow of the pipeline network based on the leakage flow and the leakage location through the leakage impact model, analyze the data differences of each monitoring point in the pipeline network based on the leakage flow estimation and the leakage impact model, and locate the leakage point based on the least squares method or machine learning algorithm to obtain the leakage location.
[0113] The leakage flow estimation calculation formula is as follows:
[0114]
[0115] Where Q is the leakage flow, C is the flow coefficient, A is the leakage hole area, g is the acceleration of gravity, and h is the pressure head difference;
[0116] The calculation formula of the leakage impact model is as follows:
[0117] ΔP=f(Q,L,D),
[0118] Where ΔP is the pressure change, Q is the leakage flow rate, L is the distance from the leakage point to the monitoring point, and D is the pipe diameter.
[0119] Step S800 evaluates and adjusts the simulation model: optimizes the model parameters of the simulation model based on the identified leakage location.
[0120] In this embodiment, step S800 evaluates the accuracy of the simulation model based on the leak identification results and makes adjustments as necessary. This may include optimizing model parameters or updating the model to reflect actual changes in the pipeline network, thereby improving the accuracy and efficiency of future detections. This step ensures that the simulation model can continuously adapt to dynamic changes in the pipeline network, maintaining its effectiveness and reliability in long-term operation.
[0121] Example 2:
[0122] The present invention provides a natural gas pipeline leak detection and positioning system, comprising a pipeline network modeling module, a micro-disturbance location selection module, a micro-disturbance introduction module, a real-time data collection preparation module, a real-time data collection execution module, an online simulation startup module, a data comparison and analysis module, and a simulation model evaluation and adjustment module. The system detects and locates natural gas pipeline leaks using the method disclosed in Example 1.
[0123] The pipeline network modeling module is used to perform the following: construct a pipeline network model based on the logistics structure and physical characteristics of the natural gas pipeline.
[0124] The pipeline network modeling module in this embodiment is used to create a detailed digital model of the natural gas pipeline network by collecting data such as pipeline length, diameter, and material, using specialized software such as a GIS system or pipeline network simulation software. This model accurately reflects the physical structure and functional characteristics of the pipeline network, providing a foundation for subsequent simulation analysis and leak detection.
[0125] The micro-disturbance location selection module is used to perform the following: analyze the pipe network model and select key nodes where flow and pressure changes are sensitive to leakage detection as micro-disturbance introduction points.
[0126] The perturbation location selection module in this embodiment is used to select key nodes where flow and pressure changes are most sensitive to leak detection as perturbation introduction points based on pipe network model analysis. The key to this module's operation is identifying locations that are most sensitive to system changes, ensuring that perturbations are effectively propagated and detected.
[0127] The micro-disturbance introduction module is used to perform the following: perform micro-disturbance operations at preset times and micro-disturbance introduction points, and simulate leakage events through pressure and flow changes generated by the micro-disturbance operations.
[0128] This embodiment's micro-disturbance introduction module is used to rapidly open and close valves to induce pressure changes in the pipeline network. This module rapidly operates valves at selected locations, introducing controlled micro-disturbances. The resulting pressure and flow changes simulate potential leak events, providing a recognizable signal for the detection system to test its ability to respond to actual leaks.
[0129] As a specific implementation, the perturbation introduction module is used to perform the following three operations.
[0130] (1) Determine the type and scale of micro-disturbance: According to the functional characteristics of the pipeline network and the target detection sensitivity, set the micro-disturbance scheme, and determine whether to quickly open or close the valve and determine the amplitude and duration of the valve operation through the micro-disturbance scheme.
[0131] This step involves carefully designing the specific perturbation scheme based on the specific characteristics of the pipeline network (such as pipe size, fluid characteristics, system layout) and the target detection sensitivity. This includes deciding whether to open or close the valve quickly, as well as the amplitude and duration of the valve operation. The goal is to generate enough pressure changes to be detected in subsequent steps. At the same time, it is necessary to ensure that this micro-perturbation does not negatively affect the normal operation of the pipeline network. Use the Bernoulli equation to estimate the flow rate and pressure changes caused by valve operation:
[0132]
[0133] Where P is pressure, ρ is fluid density, v is flow velocity, g is acceleration due to gravity, and h is altitude.
[0134] (2) Introducing micro-disturbance into the pipe network: performing micro-disturbance operations according to the micro-disturbance scheme at the predetermined time and micro-disturbance introduction point.
[0135] At the predetermined location and time, the micro-perturbation operation is implemented according to the design plan, usually by quickly operating the valve through an automated control system. The key to this step is to ensure that the micro-perturbation is executed as planned so that the expected pulse wave is generated and that these waves can effectively propagate in the pipe network. The accuracy of the operation is crucial to the success of leak detection in subsequent steps. The propagation of the pulse wave can be described by the wave equation
[0136]
[0137] Where p is pressure, t is time, x is position, and c is wave velocity. This equation helps predict the speed and behavior of pressure waves in pipes.
[0138] (3) Evaluate the impact of micro-disturbance on the pipeline network: After the micro-disturbance occurs, analyze the response of the pipeline network, including the propagation of the pulse wave in the pipeline network.
[0139] After the micro-perturbation occurs, the response of the pipeline network is observed and analyzed, particularly the propagation of the pulse wave. This step requires consideration of the nonlinear characteristics of the pipeline, such as the effects of friction, bends, branches, and connections on pressure wave propagation. These nonlinear factors can cause pressure wave attenuation, reflection, or distortion, thus affecting leak detection accuracy.
[0140] The real-time data collection preparation module is used to perform the following: deploy sensors in the pipe network model, and the sensors are used to collect pressure and flow changes caused by micro-disturbance.
[0141] In this embodiment, the real-time data collection preparation module configures the sensor network and prepares for data collection. This involves deploying sensors throughout the pipe network to ensure they can capture pressure and flow changes caused by micro-perturbations. This includes calibrating the sensors to ensure they can accurately record data and preparing the data transmission system to transmit the monitoring data in real time.
[0142] The real-time data collection execution module is used to perform the following: when a micro-disturbance occurs, the changes in pressure and flow at each node of the pipeline network are collected through sensors as monitoring data.
[0143] When a micro-disturbance occurs, the real-time data collection execution module collects real-time monitoring data such as pressure and flow from the pipeline system. This data reflects the impact of the micro-disturbance on the pipeline network and provides key information for subsequent simulation analysis and leak detection.
[0144] The online simulation startup module is used to perform the following: based on the pipeline network model and micro-disturbance parameters, the propagation process of the micro-disturbance in the pipeline is simulated through the simulation model, and the changes in pressure and flow at each node of the pipeline network are obtained as prediction data.
[0145] The online simulation startup module in this embodiment uses simulation software to simulate the propagation of micro-disturbance in the pipeline based on the pipeline model and micro-disturbance parameters. This step aims to predict the behavior of micro-disturbance in the actual pipeline network through computer simulation, providing a theoretical basis for comparative analysis.
[0146] The data comparison and analysis module is used to perform the following: compare and analyze the predicted data output by the simulation model with the monitoring data collected by the sensor, locate the leakage point of the pipeline network based on the comparison and analysis results, and obtain the leakage location.
[0147] The data comparison and analysis module in this embodiment is used to compare simulated and measured data to identify leaks. This involves comparing and analyzing online simulation results with real-time monitoring data to identify discrepancies. This step not only involves comparing the differences between simulated and real-world data, but also uses these discrepancies to determine the specific location and potential scale of the leak. By comprehensively analyzing the output of the simulation model and actual monitoring data, leaks in the pipeline network can be accurately identified and located. This process is the core of the detection process, ensuring effective leak identification and timely response.
[0148] The data comparison and analysis module specifically performs the following four operations.
[0149] (1) Obtaining prediction data from the simulation model: The propagation process of micro-disturbance in the pipeline network is simulated by the simulation model, and the data generated by the simulation model are collected, including the predicted changes in pressure and flow at each node of the pipeline network as prediction data.
[0150] This operation runs an online simulation model to simulate the propagation of micro-disturbances through the pipe network. The generated data is collected, including predicted changes in parameters such as pressure and flow at various points in the pipe network. This data serves as a theoretical baseline for leak detection and is used for comparison with actual monitoring data.
[0151] (2) Obtaining actual data from pipe network sensors: Synchronously collect the actual data recorded by each sensor in the pipe network as monitoring data, including the actual changes in pressure and flow at each node in the pipe network.
[0152] This operation acquires real-time data from pipe network sensors: It synchronously collects real-time data recorded by various sensors in the pipe network. This data reflects the actual response of the pipe network to micro-perturbations, including actual pressure and flow changes. Ensuring the accuracy and integrity of this data is crucial for subsequent analysis.
[0153] (3) Comparison of predicted data and monitoring data: The predicted data and monitoring data are compared and analyzed through data analysis methods, and the differences between the predicted data and monitoring data are analyzed as the comparative analysis results. The data analysis methods include statistical analysis and pattern recognition.
[0154] This operation compares simulated data with measured data in detail, analyzing the differences between the two. Data analysis methods, such as statistical analysis or pattern recognition, are used to identify unusual patterns in the data. These anomalies may be caused by leaks and are therefore key to identifying leaks.
[0155] (4) Identify the leakage location based on the comparative analysis results: Analyze the abnormal patterns in the monitoring data and the predicted data based on data analysis technology, estimate the leakage flow based on the leakage flow, simulate the impact of the leakage on the pressure and flow of the pipeline network based on the leakage flow and the leakage location through the leakage impact model, analyze the data differences of each monitoring point in the pipeline network based on the leakage flow estimation and the leakage impact model, and locate the leakage point based on the least squares method or machine learning algorithm to obtain the leakage location.
[0156] The leakage flow estimation calculation formula is as follows:
[0157]
[0158] Where Q is the leakage flow, C is the flow coefficient, A is the leakage hole area, g is the acceleration of gravity, and h is the pressure head difference;
[0159] The calculation formula of the leakage impact model is as follows:
[0160] ΔP=f(Q,L,D),
[0161] Where ΔP is the pressure change, Q is the leakage flow rate, L is the distance from the leakage point to the monitoring point, and D is the pipe diameter.
[0162] The simulation model evaluation and adjustment module is used to perform the following: optimizing the model parameters of the simulation model based on the identified leakage location.
[0163] The simulation model evaluation and adjustment module in this embodiment is used to evaluate the accuracy of the simulation model based on the leak identification results and make adjustments as necessary. This may include optimizing model parameters or updating the model to reflect actual changes in the pipeline network, thereby improving the accuracy and efficiency of future detections. This step ensures that the simulation model can continuously adapt to the dynamic changes in the pipeline network, maintaining its effectiveness and reliability in long-term operation.
[0164] The present invention has been shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the means in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the scope of protection of the present invention.
Claims
1. A natural gas pipeline leak detection and positioning method, characterized in that: The steps include: Pipeline network modeling: Construct a pipeline network model based on the logistics structure and physical characteristics of the natural gas pipeline; Select the micro-disturbance location: Analyze the pipe network model and select the key nodes where flow and pressure changes are sensitive to leakage detection as the micro-disturbance introduction points; Introducing micro-disturbance: Performing micro-disturbance operation at the preset time and micro-disturbance introduction point, simulating leakage events through the pressure and flow changes generated by the micro-disturbance operation; Real-time data collection preparation: Deploy sensors in the pipe network model to collect pressure and flow changes caused by micro-disturbance; Perform real-time data collection: When micro-disturbance occurs, sensors are used to collect changes in pressure and flow at each node of the pipeline network as monitoring data; Start online simulation: Based on the pipeline network model and micro-disturbance parameters, the propagation process of micro-disturbance in the pipeline is simulated through the simulation model, and the changes of pressure and flow at each node of the pipeline network are obtained as prediction data; Data comparison and analysis: Compare and analyze the predicted data output by the simulation model with the monitoring data collected by the sensor, locate the leakage point of the pipeline network based on the comparison and analysis results, and obtain the leakage location; Evaluate and adjust simulation models: Optimize model parameters of the simulation model based on the identified leak locations.
2. The natural gas pipeline leakage detection and positioning method according to claim 1 is characterized in that: Introducing micro-perturbations involves the following steps: Determine the type and scale of micro-disturbance: set the micro-disturbance scheme according to the functional characteristics of the pipeline network and the target detection sensitivity, and use the micro-disturbance scheme to determine whether to quickly open or close the valve and determine the amplitude and duration of the valve operation; Introduce micro-disturbance in the pipe network: perform micro-disturbance operation according to the micro-disturbance scheme at the predetermined time and micro-disturbance introduction point; Evaluate the impact of micro-disturbance on the pipe network: After a micro-disturbance occurs, analyze the response of the pipe network, including the propagation of the pulse wave in the pipe network.
3. The natural gas pipeline leakage detection and positioning method according to claim 2 is characterized in that: When determining the type and size of the micro-disturbance, the pressure and flow changes caused by the valve are estimated based on the Bernoulli equation, which is calculated as follows: Where P is the pressure, ρ is the fluid density, v is the flow velocity, g is the acceleration due to gravity, and h is the height.
4. The natural gas pipeline leakage detection and positioning method according to claim 2, characterized in that: The propagation of the pulse wave is described by the wave equation, which is expressed as follows: Where p is pressure, t is time, x is position, and c is wave speed.
5. The natural gas pipeline leakage detection and positioning method according to any one of claims 1 to 4, characterized in that: The data comparison analysis includes the following steps: Obtaining prediction data from the simulation model: The propagation process of micro-disturbance in the pipeline network is simulated by the simulation model, and the data generated by the simulation model is collected, including the predicted changes in pressure and flow at each node of the pipeline network as prediction data; Acquire actual data from pipe network sensors: Synchronously collect the actual data recorded by each sensor in the pipe network as monitoring data, including the actual changes in pressure and flow at each node in the pipe network; Comparison of forecast data and monitoring data: Comparison and analysis of forecast data and monitoring data are carried out through data analysis methods, and the differences between forecast data and monitoring data are analyzed as the comparative analysis results. Data analysis methods include statistical analysis and pattern recognition; Identify the leakage location based on the comparative analysis results: Analyze the abnormal patterns in the monitoring data and the predicted data based on data analysis technology, estimate the leakage flow based on the leakage flow, simulate the impact of the leakage on the pressure and flow of the pipeline network through the leakage impact model based on the leakage flow and the leakage location, analyze the data differences of each monitoring point in the pipeline network based on the leakage flow estimation and the leakage impact model, and locate the leakage point based on the least squares method or machine learning algorithm to obtain the leakage location; The leakage flow estimation calculation formula is as follows: Where Q is the leakage flow, C is the flow coefficient, A is the leakage hole area, g is the gravity acceleration, and h is the pressure head difference; The calculation formula of the leakage impact model is as follows: △P=f(Q,L,D), Where ΔP is the pressure change, Q is the leakage flow, L is the distance from the leakage point to the monitoring point, and D is the pipe diameter.
6. A natural gas pipeline leak detection and positioning system, characterized in that: The system is used to detect and locate natural gas pipeline leakage by the natural gas pipeline leakage detection and positioning method according to any one of claims 1 to 5, and the system includes a pipeline network modeling module, a micro-disturbance location selection module, a micro-disturbance introduction module, a real-time data collection preparation module, a real-time data collection execution module, an online simulation startup module, a data comparison and analysis module, and a simulation model evaluation and adjustment module; The pipeline network modeling module is used to perform the following: construct a pipeline network model based on the logistics structure and physical characteristics of the natural gas pipeline; The micro-disturbance location selection module is used to perform the following: analyze the pipe network model and select key nodes where flow and pressure changes are sensitive to leakage detection as micro-disturbance introduction points; The micro-disturbance introduction module is used to perform the following: perform micro-disturbance operation at a preset time and micro-disturbance introduction point, and simulate leakage events through pressure and flow changes generated by the micro-disturbance operation; The real-time data collection preparation module is used to perform the following: deploy sensors in the pipe network model, and the sensors are used to collect pressure and flow changes caused by micro-disturbance; The real-time data collection execution module is used to perform the following: when micro-disturbance occurs, the changes of pressure and flow at each node of the pipeline network are collected through sensors as monitoring data; The online simulation startup module is used to perform the following: based on the pipeline network model and the micro-disturbance parameters, the propagation process of the micro-disturbance in the pipeline is simulated by the simulation model, and the changes of pressure and flow at each node of the pipeline network are obtained as prediction data; The data comparison and analysis module is used to perform the following: compare and analyze the predicted data output by the simulation model with the monitoring data collected by the sensor, locate the leakage point of the pipeline network according to the comparison and analysis results, and obtain the leakage position; The simulation model evaluation and adjustment module is used to perform the following: optimizing the model parameters of the simulation model based on the identified leakage location.
7. The natural gas pipeline leakage detection and positioning system according to claim 6, characterized in that: The perturbation introduction module is used to perform the following: Determine the type and scale of micro-disturbance: set the micro-disturbance scheme according to the functional characteristics of the pipeline network and the target detection sensitivity, and use the micro-disturbance scheme to determine whether to quickly open or close the valve and determine the amplitude and duration of the valve operation; Introduce micro-disturbance in the pipe network: perform micro-disturbance operation according to the micro-disturbance scheme at the predetermined time and micro-disturbance introduction point; Evaluate the impact of micro-disturbance on the pipe network: After a micro-disturbance occurs, analyze the response of the pipe network, including the propagation of the pulse wave in the pipe network.
8. The natural gas pipeline leakage detection and positioning system according to claim 7, characterized in that: When determining the type and size of the perturbation, the perturbation introduction module is used to estimate the pressure and flow changes caused by the valve based on the Bernoulli equation, as follows: Where P is the pressure, ρ is the fluid density, v is the flow velocity, g is the acceleration due to gravity, and h is the height.
9. The natural gas pipeline leakage detection and positioning system according to claim 7, characterized in that: The propagation of the pulse wave is described by the wave equation, which is expressed as follows: Where p is pressure, t is time, x is position, and c is wave speed.
10. The natural gas pipeline leakage detection and positioning system according to any one of claims 6 to 9, characterized in that: The data comparison and analysis module is used to perform the following: Obtaining prediction data from the simulation model: The propagation process of micro-disturbance in the pipeline network is simulated by the simulation model, and the data generated by the simulation model is collected, including the predicted changes in pressure and flow at each node of the pipeline network as prediction data; Acquire actual data from pipe network sensors: Synchronously collect the actual data recorded by each sensor in the pipe network as monitoring data, including the actual changes in pressure and flow at each node in the pipe network; Comparison of forecast data and monitoring data: Comparison and analysis of forecast data and monitoring data are carried out through data analysis methods, and the differences between forecast data and monitoring data are analyzed as the comparative analysis results. Data analysis methods include statistical analysis and pattern recognition; Identify the leakage location based on the comparative analysis results: Analyze the abnormal patterns in the monitoring data and the predicted data based on data analysis technology, estimate the leakage flow based on the leakage flow, simulate the impact of the leakage on the pressure and flow of the pipeline network through the leakage impact model based on the leakage flow and the leakage location, analyze the data differences of each monitoring point in the pipeline network based on the leakage flow estimation and the leakage impact model, and locate the leakage point based on the least squares method or machine learning algorithm to obtain the leakage location; The leakage flow estimation calculation formula is as follows: Where Q is the leakage flow, C is the flow coefficient, A is the leakage hole area, g is the gravity acceleration, and h is the pressure head difference; The calculation formula of the leakage impact model is as follows: △P=f(Q,L,D), Where ΔP is the pressure change, Q is the leakage flow, L is the distance from the leakage point to the monitoring point, and D is the pipe diameter.
Citation Information
Patent Citations
Oil and gas leakage detection simulation test system
CN103486443A
Cited By
Method and system for testing multi-angle leakage concentration field and flame form of natural gas pipeline
CN119249974A
Leakage diagnosis system and method for hydraulic support
CN119573984A
Intelligent integrated management system of dairy beverage production line
CN119717720A
Intelligent petroleum and natural gas wellhead emergency cut-off protection device and control system
CN120083503A
Natural gas production station process unit integrity digital intelligent diagnosis method, system and equipment and storage medium
CN120671302A
