A pipeline leak detection method based on a reduced-order model
By employing a pipeline leak detection method based on a reduced-order model and utilizing Fluent and ANSYS software for simulation analysis and co-simulation, the accuracy and cost issues of pipeline leak detection were resolved, achieving low-cost and efficient leak detection and alarm functions.
Patent Information
- Application Number
- CN202210940894.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-07
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-08-07
AI Technical Summary
Existing technologies are insufficient for effectively detecting pipeline leaks, leading to environmental pollution and economic losses, and are also costly and inaccurate.
A pipeline leakage detection method based on a reduced-order model is adopted. The model is established by mesh generation and parametric simulation using Fluent software. The model is then co-simulated using ANSYS 3D ROM and TwinBuilder software, and leakage is determined by combining actual pipeline pressure data.
It achieves low-cost, high-accuracy pipeline leak detection with a 100% accuracy rate and timely alarm function, reducing environmental pollution and economic losses.
Smart Images

Figure CN115310324B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Fluent fluid simulation analysis and pipeline leak detection technology, specifically to a method for establishing a reduced-order model based on Fluent simulation analysis for pipeline leak detection. Background Technology
[0002] Pipeline transportation, due to its unique advantages in transporting liquids, gases, and slurries, has been widely used in various industries. Pipeline transportation has become one of the five major modes of transportation in my country. However, pipeline leaks are difficult to prevent due to corrosion, aging, cathodic protection failure, natural disasters, construction work, and human-caused damage such as theft. Pipeline leaks not only affect the normal operation of pipeline transportation, causing environmental pollution and resource waste, but also seriously impact people's normal lives, threatening their lives and causing severe property damage. Therefore, employing appropriate pipeline leak detection technologies to monitor pipelines, prevent leaks, and promptly detect and accurately locate leaks can effectively reduce environmental pollution and economic losses.
[0003] Co-simulation technology is gaining increasing attention. It can simulate various operating conditions of actual equipment in a computer system, helping manufacturers identify product shortcomings and make improvements. Currently, simulation technology is driving improvement and development across various industries. Summary of the Invention
[0004] The purpose of this invention is to provide a pipeline leakage detection method based on a reduced-order model. This method addresses the current difficulty in detecting pipeline leaks and provides a digital twin-based detection approach for pipeline leakage detection.
[0005] The technical solution adopted by this invention to solve its technical problem is:
[0006] Step 1: Mesh the fluid in the pipeline and perform simulation analysis on the mesh using Fluent.
[0007] Step 2: Perform parametric simulations on the pipeline under different static pressures to obtain a certain number of operating conditions for the pipeline.
[0008] Step 3: Use ANSYS 3D ROM to reduce the simulation results of a large number of different pipeline conditions into a reduced-order model that includes all simulation conditions.
[0009] Step 4: Import the reduced-order model obtained in Step 3 into TwinBuilder software for co-simulation. TwinBuilder software receives real-time inlet and outlet static pressure data of the actual pipeline. At the same time, the inlet static pressure data is transmitted to the reduced-order model as the inlet static pressure data of the reduced-order model. At this time, the reduced-order model also outputs a model outlet static pressure data.
[0010] Step 5: By analyzing the static pressure data p at the model outlet mo And actual pipeline outlet static pressure data p io Comparative analysis is used to determine whether a leak has occurred.
[0011] |p io -p mo |<200
[0012] If the pipeline leaks, it is considered to be in normal operating condition; otherwise, it is in normal operating condition.
[0013] The present invention has the following beneficial effects:
[0014] 1. This invention utilizes Fluent software to simulate the static pressure distribution of pipelines under various operating conditions and establishes a parametric simulation. Based on the parametric simulation results, a reduced-order model is built. By comparing the output static pressure of the reduced-order model with the output static pressure of the simulation results, it is determined whether a pipeline leak has occurred. Then, based on this, the model is imported into Twinbuilder software for co-simulation. The actual pipeline inlet and outlet pressure sensor data are input into Twinbuilder, and the outlet data is compared with the model output results to detect whether a pipeline leak has occurred. If a pipeline leak occurs, an alarm is generated, and the model also switches to a leak state, solving the problem of difficult pipeline leak detection.
[0015] 2. This invention has low cost, requiring only pressure sensor data at both ends of the pipeline and modeling and simulation using ANSYS software. The detection results are accurate, with an accuracy rate of up to 100% in determining whether there is a leak based on 50 sets of sampled simulation data. Attached Figure Description
[0016] Figure 1 Name the surface of the fluid domain;
[0017] Figure 2 A diagram showing the output parameters extracted for ROM modeling;
[0018] Figure 3 This is a diagram showing the model transitioning to a leaking state when a leak occurs. Detailed Implementation
[0019] The present invention will be further described below:
[0020] Combination Figure 1 , Figure 2As shown, this pipeline leakage detection method based on a reduced-order model works as follows: First, the pipeline fluid is meshed. Fluent is used to simulate and analyze the mesh. Then, parametric simulations are performed under different input static pressures to generate a certain number of operating conditions. Next, ANSYS 3D ROM is used to reduce the results into a reduced-order model encompassing all operating conditions. This model is then imported into TwinBuilder software for co-simulation. TwinBuilder software receives real-time inlet and outlet static pressure data from the actual pipeline, and this inlet static pressure data is simultaneously input into the reduced-order model as its inlet static pressure data. At the same time, the model outputs an outlet static pressure data. The model's outlet static pressure data (p) is then analyzed. mo And actual pipeline outlet static pressure data p io Comparative analysis shows that when
[0021] |p io -p mo |<200
[0022] The pipeline is considered to be in normal operating condition unless a leak occurs. When a leak occurs, the model automatically detects it, switches to the leak animation scene, and issues an alarm. Details are as follows:
[0023] Step 1: Use Spaceclaim software to create a CAD model of a section of the pipeline, extract the fluid domain, and name the surfaces. The inlet is named "in," the outlet "out," the leak point "xie," the wall near the outlet is named "wall1," and the remaining walls are named "wall." Figure 1 As shown.
[0024] Step 2: Use ANSYS Mesh software to mesh the fluid domain, and set the solver to CFD.
[0025] Step 3: Use Fluent software to configure the meshed fluid domain. Water is used to simulate the fluid domain. The model selected is k-epsilon(2eqn) Realizable, and the wall function is Scalable Wall Function (SWF). Set the inlet (in) and outlet (xie) as pressure inlets and as input parameters. Set the area-weighted static pressure of the wall (wall1) near the outlet as an output parameter.
[0026] Step 4: Use ANSYS 3D ROM to model and configure the pipeline. Set the input range of in and xie to 0 to 600,000 Pa. Set a custom sampling calculation method: in is sampled from 100,000 to 600,000, with an average of 25,000 samples, and xie is 0, to simulate a leakage condition. In another simulation, in is sampled from 100,000 to 600,000, with an average of 25,000 samples, and xie = in, to simulate a normal operating condition. Figure 2 As shown, run the calculation.
[0027] Step 5: Generate and export the ROM model using ANSYS 3D ROM, and verify the model's accuracy through Fluent simulation calculations. Randomly select 50 input values from both normal and leakage operating conditions, and input them into the Fluent simulation calculation and the model, respectively. Compare the differences between the model results and the Fluent calculation results, as shown in Table 1, proving that the reduced-order model has sufficiently high accuracy.
[0028] Table 1:
[0029]
[0030]
[0031] Step 6: Use the modulus of the difference between the simulated outlet static pressure and the static pressure generated at the ROM outlet under normal operating conditions as the criterion for leakage. When the modulus is greater than 200, the simulation is of normal operating conditions; otherwise, the simulation is of leakage conditions. As shown in Table 2.
[0032] Table 2:
[0033]
[0034]
[0035] Step 7: Use TwinBuilder software for co-simulation. Connect the inlet static pressure of the actual pipeline. The model will generate the static pressure distribution under this operating condition and output the static pressure value at the outlet. Similarly, using the same judgment method, determine whether the actual pipeline is leaking. If a leak occurs, the model will automatically convert to an animation of the leaking condition, such as... Figure 3 As shown.
Claims
1. A pipeline leakage detection method based on a reduced-order model, characterized in that: Includes the following steps: Step 1: Mesh the fluid in the pipeline and perform simulation analysis on the mesh using Fluent; Step 2: Then, perform parametric simulations on the pipeline under different input static pressures to obtain the pipeline operating conditions results. Step 3: Reduce the order of the results to a reduced-order model that includes all operating conditions using ANSYS 3D ROM; use ANSYS 3D ROM to model and configure the pipeline, with the inlet designated as 'in' and the leak outlet as 'xie'. Set the input range of in and xie to 0 to 600000pa, set the custom sampling calculation method, sample in from 100000 to 600000 (equivalent to 25000), xie is 0, simulate leakage condition once, sample in from 100000 to 600000 (equivalent to 25000), xie=in, simulate normal operation condition once; Step 4: Import the reduced-order model obtained in Step 3 into TwinBuilder software for co-simulation. TwinBuilder software connects to the real-time inlet and outlet static pressure data of the actual pipeline. At the same time, the inlet static pressure data is transmitted to the reduced-order model as the inlet static pressure data of the reduced-order model. At this time, the reduced-order model will also output a model outlet static pressure data. The real-time static pressure data at the inlet and outlet of the actual pipeline comes from the pressure sensor data at both ends of the actual pipeline. Step 5: By analyzing the static pressure data at the model outlet p mo And actual pipeline outlet static pressure data p io Comparative analysis is used to determine whether a leak has occurred. The method for determining whether a pipeline is leaking is as follows: when If the pipeline leaks, it is considered to be in normal operating condition; otherwise, it is in normal operating condition.
Citation Information
Patent Citations
Leakage detection method for large complex natural gas pipeline network system
CN106844814A
Electromagnetic water meter sensor structure design method capable of improving small flow measurement performance
CN110119581A
Parameterization rapid three-dimensional modeling and order reduction analysis method for water cooling pipeline with bent pipe
CN114491880A
