Pipeline leakage detection method, device and equipment and storage medium
By installing sensors at both ends of the pipeline and establishing dynamic equations, calculating residuals and using Longge-Kutta method and nonlinear filtering method, the problems of low leakage detection efficiency and interruption of water supply in the existing technology are solved, and the problem of low pipe leakage detection efficiency and interruption of water supply in the existing technology is realized. Real-time detection and parameter estimation of pipeline leakage improve detection efficiency and accuracy.
Patent Information
- Application Number
- CN202411051488.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-15
AI Technical Summary
In the prior art, pipeline leakage detection efficiency is low and traditional physical detection methods require interruption of water supply, and rely on professional personnel to operate, the cost is high, and the pipeline status cannot be monitored in real time.
By installing sensors at both ends of the pipeline, obtaining liquid characteristics and establishing dynamic equations, calculating the residual between the sensor measured value and the ideal value, determining the pipeline leakage when the residual is greater than the threshold, and using the fourth-order Longge-Kutta Methods and nonlinear filtering methods estimate leakage parameters.
Real-time detection and parameter estimation of pipeline leakage is realized, detection efficiency is improved, water supply interruption is avoided, cost is reduced, and detection accuracy and economicality is improved.
Smart Images

Figure CN118959899A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of pipeline leakage detection, and specifically to a pipeline leakage detection method, device, equipment and storage medium. Background Art
[0002] During long-term use, pipeline leakage is common due to the complex influence of liquid fluctuations in the pipeline and external environmental factors. At present, manual inspection or traditional physical detection methods are usually used to detect water supply pipeline leakage.
[0003] However, manual inspections are time-consuming, labor-intensive, inefficient, and unable to monitor pipeline status in real time; traditional physical detection methods often require interrupting water supply, require expensive equipment, and rely on professional personnel to operate, which is not cost-effective. Summary of the invention
[0004] In view of the above problems, the embodiments of the present application provide a pipeline leakage detection method, device, equipment and storage medium, which overcome the above or at least partially solve the above problems of low efficiency of manual inspection and the need to interrupt water supply in traditional physical detection methods.
[0005] In a first aspect of an embodiment of the present application, a pipeline leakage detection method is provided, comprising: obtaining a first liquid characteristic and a second liquid characteristic, wherein the first liquid characteristic and the second liquid characteristic are respectively measured by a first sensor and a second sensor installed at both ends of the pipeline. A dynamic equation of the pipeline is established, and a measurement value represented by the first liquid characteristic measured by the first sensor is used as an input of the dynamic equation. The output value of the dynamic equation is solved based on the input. The residual between the output value and the measurement value represented by the second liquid characteristic is calculated. When the residual is greater than a first threshold value, it is determined that a pipeline leakage occurs.
[0006] In this embodiment, the flow of liquid in the pipeline can be simulated by establishing a dynamic equation of the pipeline. The measured value represented by the first liquid characteristic measured by the first sensor is determined as the input of the dynamic equation, and the output value of the dynamic equation solved based on the input can be considered as the ideal value of the pipeline without leakage. The residual between the output value and the measured value represented by the second liquid characteristic is calculated. When the residual is greater than the first threshold, it means that the measured value represented by the second liquid characteristic is significantly different from the ideal value of the pipeline without leakage, and thus it is determined that the pipeline is leaking.
[0007] In an optional manner, the first sensor is a pressure sensor, the first liquid characteristic is a pressure characteristic, the second sensor is a flow sensor, and the second liquid characteristic is a flow characteristic. Alternatively, the first sensor is a flow sensor, the first liquid characteristic is a flow characteristic, the second sensor is a pressure sensor, and the second liquid characteristic is a pressure characteristic.
[0008] In an optional manner, when the first sensor is a pressure sensor, the first liquid characteristic is a pressure characteristic, the second sensor is a flow sensor, and the second liquid characteristic is a flow characteristic, the measurement value represented by the first liquid characteristic includes the pressure value at the beginning of the pipeline and the pressure value at the end of the pipeline, and the measurement value represented by the second liquid characteristic includes the flow value at the beginning of the pipeline and the flow value at the end of the pipeline.
[0009] In an optional manner, calculating the residual between the output value and the measured value represented by the second liquid characteristic includes: calculating the residual between the output value and the flow value at the end of the pipeline.
[0010] In an optional manner, solving the output value of the dynamic equation based on the input includes: solving the output value of the dynamic equation based on the input according to a fourth-order Runge-Kutta method.
[0011] In an optional manner, after determining that the pipeline is leaking when the residual is greater than the first threshold, the method further includes: estimating the leakage parameters of the pipeline by using a nonlinear filtering method.
[0012] In an optional manner, the leakage parameters include leakage position and leakage size.
[0013] According to a second aspect of an embodiment of the present application, a pipeline leakage detection device is provided, comprising: an acquisition module for acquiring a first liquid characteristic and a second liquid characteristic, wherein the first liquid characteristic and the second liquid characteristic are respectively measured by a first sensor and a second sensor installed at both ends of the pipeline. A construction module for establishing a dynamic equation of the pipeline. A first determination module for using the measurement value represented by the first liquid characteristic measured by the first sensor as the input of the dynamic equation. A solution module for solving the output value of the dynamic equation based on the input. A calculation module for calculating the residual between the output value and the measurement value represented by the second liquid characteristic. A second determination module for determining that a pipeline leakage occurs when the residual is greater than a first threshold.
[0014] The third aspect of the embodiment of the present application provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the pipeline leakage detection method provided in the first aspect of the embodiment of the present application are implemented.
[0015] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the pipeline leakage detection method provided in the first aspect of the embodiment of the present application are implemented.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic flow chart of a pipeline leakage detection method provided in some embodiments of the present application.
[0019] Figure 2 A schematic diagram of sensor installation provided for some embodiments of the present application.
[0020] Figure 3 A schematic diagram of a simulation of leakage location estimation results provided in some embodiments of the present application.
[0021] Figure 4 A schematic diagram of a simulation of leakage size estimation results provided in some embodiments of the present application.
[0022] Figure 5 A schematic diagram of a pipeline leakage detection device provided in some embodiments of the present application. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0025] The terms "comprising" and "having" and any variations thereof in the specification, claims and drawings of this application are intended to cover but not exclude other contents. The word "a" or "an" does not exclude the presence of a plurality.
[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0027] In addition, the terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.
[0028] In the description of the present application, unless otherwise specified, "plurality" means more than two (including two), and similarly, "multiple groups" means more than two groups (including two).
[0029] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, the "connection" or "connection" of a mechanical structure may refer to a physical connection. For example, the physical connection may be a fixed connection, such as a fixed connection through a fixing member, such as a fixed connection through a screw, bolt or other fixing member; the physical connection may also be a detachable connection, such as a mutual snap connection or snap connection; the physical connection may also be an integral connection, such as welding, bonding or integral molding to form a connection for connection. The "connection" or "connection" of a circuit structure may refer to an electrical connection or a signal connection in addition to a physical connection. For example, it may be a direct connection, that is, a physical connection, or it may be an indirect connection through at least one intermediate element, as long as the circuit is connected, or it may be the internal connection of two elements; the signal connection may refer to a signal connection through a media medium, such as a radio wave, in addition to a signal connection through a circuit. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0030] Figure 1A flow chart of a pipeline leakage detection method provided for some embodiments of the present application. For example, it can be used for leakage detection of water supply pipelines in aquaculture. As a key link in the field of food production, aquaculture is highly dependent on water resources. Ensuring the stable and safe operation of water supply pipelines plays a decisive role in maintaining the high efficiency and economic benefits of the industry. However, during the long-term operation of water supply pipelines, coupled with the complex influence of water quality fluctuations and external environmental factors, pipeline leakage problems are common. This not only has a negative impact on the current breeding environment and increases breeding costs, but also poses a major challenge to the long-term sustainable development of the breeding industry.
[0031] Therefore, if Figure 1 As shown, a pipeline leakage detection method provided by some embodiments of the present application includes the following steps 101 to 106:
[0032] Step 101, obtaining a first liquid characteristic and a second liquid characteristic.
[0033] Specifically, the first liquid characteristic and the second liquid characteristic are measured by a first sensor and a second sensor installed at both ends of the pipeline, respectively. The first sensor and the second sensor can be set to a sampling frequency of 15 minutes / time. The first sensor can be a pressure sensor, and the first liquid characteristic can be a pressure characteristic. The second sensor can be a flow sensor, and the second liquid characteristic can be a flow characteristic. Alternatively, the first sensor can be a flow sensor, the first liquid characteristic can be a flow characteristic, the second sensor can be a pressure sensor, and the second liquid characteristic can be a pressure characteristic. For example, Figure 2 A schematic diagram of sensor installation provided in some embodiments of the present application. Figure 2 , a first sensor 22 and a second sensor 23 are installed at both ends of a water supply pipe 21. In addition, Figure 2 Also shown are a water source 24, a water pump 25, a breeding pond 26 and a water pool 27.
[0034] Step 102, establishing the dynamic equation of the pipeline.
[0035] The pipes used in aquaculture are generally straight, placed horizontally without any slope, and the flowing water is slightly viscous and compressible, so the pipe wall deforms slightly without affecting the flow rate in the pipe. At the same time, the cross-sectional area of the pipe and the fluid density are constant. When a leak occurs in the pipe, the leak location is z l Can appear at any position in the pipeline, i.e. leakage position z j ∈[0, L], L is the total length of the water supply pipeline, for example, L is 2000 meters. j The leakage flow at H l is the pressure at the leak, Among them Cd is the leakage coefficient, A l is the cross-sectional area of the leakage, and g is the acceleration due to gravity.
[0036] If n-1 leakage occurs in the same pipeline, assuming that the leakage is unevenly distributed in the pipeline, divide the space (0, L) into n blocks of size Δz j , j = 1, ..., n segments, where ∑Δz j =L, indicating that n-1 leakage events occur. Finally, for any number of segments, the following finite-dimensional model can be obtained:
[0037]
[0038]
[0039] Among them, H i , H i+1 are the pressures at the beginning and end of each section, Q i is the flow rate in segment i. Q i The derivative of H j+1 The derivative of f. b is the wave velocity in the fluid medium in the pipe, D is the pipe diameter, and A is the pipe cross-sectional area. For example, the wave velocity in the fluid medium in the pipe b = 1000 meters per second, the pipe diameter D = 0.4 meters, and the pipe cross-sectional area A = 0.096 square meters. The friction coefficient f itself depends on the flow rate. The model of f is
[0040]
[0041] Where ∈∈[0.000001,0.5] is the pipe roughness, for example, the pipe roughness is 0.0005. Re is the Reynolds number, which is calculated as follows:
[0042]
[0043] Where v is the kinematic viscosity of water in square meters per second, Q i is the flow rate of the i-th pipe section.
[0044] Because the leakage position Δz j and leakage size λ j are all constants, so about the leakage position Δz j and leakage size λ j The kinetic equation is as follows:
[0045]
[0046]
[0047] In summary, the dynamic equation of the pipeline can be obtained:
[0048]
[0049] Step 103: Using the measurement value of the first liquid characteristic represented by the first sensor as an input of the kinetic equation.
[0050] In some embodiments, when the first sensor is a pressure sensor, the first liquid characteristic is a pressure characteristic, and the second sensor is a flow sensor, the second liquid characteristic is a flow characteristic, the measurement value represented by the first liquid characteristic includes the pressure value H1 at the beginning of the pipeline and the pressure value H2 at the end of the pipeline. n+1 The measured values of the second liquid characteristic include the flow value Q1 at the beginning of the pipeline and the flow value Q at the end of the pipeline. n .
[0051] Step 104, solving the output value of the dynamics equation based on the input.
[0052] Step 105, calculating the residual between the output value and the measured value of the second liquid characteristic representation.
[0053] Specifically, calculating the residual between the output value and the measured value of the second liquid characteristic representation includes: calculating the output value and the pipeline end flow value Q n The residual between .
[0054] Step 106: When the residual is greater than a first threshold, it is determined that a pipeline leak occurs.
[0055] The first threshold can be set by those skilled in the art according to actual conditions. For example, the first threshold can be 2*10 -4 Cubic meters per second. When the residual is less than or equal to the first threshold, it is determined that no leakage occurs in the pipeline, and the above steps 103 to 105 can be repeatedly performed.
[0056] In this embodiment, the flow of liquid in the pipeline can be simulated by establishing a dynamic equation of the pipeline. The measured value represented by the first liquid characteristic measured by the first sensor is determined as the input of the dynamic equation, and the output value of the dynamic equation solved based on the input can be considered as the ideal value of the pipeline without leakage. The residual between the output value and the measured value represented by the second liquid characteristic is calculated. When the residual is greater than the first threshold, it means that the measured value represented by the second liquid characteristic is significantly different from the ideal value of the pipeline without leakage, and thus it is determined that the pipeline is leaking.
[0057] In some embodiments, solving the output value of the kinetic equation based on the input includes: solving the output value of the kinetic equation based on the input according to a fourth-order Runge-Kutta method.
[0058] Specifically, the above kinetic equation can be rewritten as follows:
[0059]
[0060]
[0061] f i and ψ j is the correlation function corresponding to the above finite-dimensional model. Selecting step size h>0, according to the fourth-order Runge-Kutta method, the flow rate of the i-th pipe section at time k+1 is expressed as and And by The pressure at the end of the jth pipe section at time k+1 is determined by the weighted sum of the four increments l1, l2, l3, and l4. and Similar, it can be expressed as the following formula:
[0062]
[0063] in Because the leakage position Δz j and leakage size λ j are all constants. i , m i (i=1, 2, 3, 4) is the corresponding increment, which is expressed as follows:
[0064]
[0065]
[0066] In this embodiment, according to the output value of solving the dynamic equation based on the input according to the fourth-order Runge-Kutta method, a stable and high-precision numerical solution can be obtained, which is helpful to achieve accurate estimation of pipeline leakage.
[0067] In some embodiments, after determining that the pipeline is leaking when the residual is greater than the first threshold, the method further includes: estimating the leakage parameter of the pipeline by a nonlinear filtering method.
[0068] Among them, the leakage parameters include the leakage position Δz j and leakage size λ j .
[0069] Specifically, the state of the pipeline at time k+1 can be x k+1 .
[0070]
[0071] Let the measured value of the flow sensors at both ends of the pipeline at time k+1 be y k .
[0072]
[0073] Among them, u k is the noise term, w k 、v k They are process noise and measurement noise that obey normal distribution, and their corresponding covariance matrices are Q k , R k For example, Q k =diag[1×10 -2 , 1, 1×10 -2 , 9×10 -8 , 6×10 -6 ], R k =diag[1×10 -5 , 1×10 -5 ζ is determined by the output of solving the dynamic equations based on the input according to the fourth-order Runge-Kutta method. η(x k , k) = Hx k , where H is a 2×5 dimensional observation matrix, as follows:
[0074]
[0075] The state observer is designed by nonlinear filtering method to complete the leakage position Δz j and leakage size λ j Initialize the state observer:
[0076]
[0077]
[0078] x0 is the initial value of flow rate and pressure in the pipeline, represents the initial estimate of x0, is the initial estimation error covariance matrix.
[0079] To update the time:
[0080]
[0081]
[0082] in, is the x at time point k before obtaining the sensor measurement value at time k k The estimate, is the x at time k-1 after obtaining the sensor measurement value at time k-1 k-1 The estimate, express The estimated error covariance of express The estimated error covariance, φ i A vector is defined as an n×1 matrix where all elements except the i-th element are 1 and all other elements are 0. ζ i represents the i-th element of ζ(x,u,k-1).
[0083] To perform a measurement update:
[0084]
[0085]
[0086]
[0087] Among them, K k is the Kalman gain. By repeatedly executing the above process through simulation software such as Matlab software, the estimated leakage parameter can be obtained. and According to this parameter, the leakage position Δz of the pipeline can be obtained j and leakage size λ j .in, Figure 3 A schematic diagram of a simulation of leakage location estimation results provided in some embodiments of the present application. Figure 4 A simulation diagram of leakage size estimation results provided in some embodiments of the present application. Figure 3 It can be seen that leakage occurred at 1200 meters and 1500 meters of the pipeline. Figure 4 It can be seen that the leakage size of the pipeline at 1200 meters is 5.8*10 -5 2 / 5 meters per second, the leakage at 1500 meters of the pipeline is 6*10 -5 Five-fifths of a meter per second.
[0088] Figure 5 A schematic diagram of a pipeline leakage detection device provided in some embodiments of the present application. Figure 5 Another embodiment of the present application provides a pipeline leakage detection device 5, which can be used to execute the above-mentioned pipeline leakage detection method.
[0089] The pipeline leakage detection device 5 includes: an acquisition module 51, which is used to acquire a first liquid characteristic and a second liquid characteristic. The first liquid characteristic and the second liquid characteristic are respectively measured by a first sensor and a second sensor installed at both ends of the pipeline. A construction module 52 is used to establish a dynamic equation of the pipeline. A first determination module 53 is used to use the measurement value represented by the first liquid characteristic measured by the first sensor as the input of the dynamic equation. A solution module 54 is used to solve the output value of the dynamic equation based on the input. A calculation module 55 is used to calculate the residual between the output value and the measurement value represented by the second liquid characteristic. A second determination module 56 is used to determine that a pipeline leak occurs when the residual is greater than a first threshold.
[0090] Specifically, the first sensor is a pressure sensor, the first liquid characteristic is a pressure characteristic, the second sensor is a flow sensor, and the second liquid characteristic is a flow characteristic. Alternatively, the first sensor is a flow sensor, the first liquid characteristic is a flow characteristic, the second sensor is a pressure sensor, and the second liquid characteristic is a pressure characteristic.
[0091] When the first sensor is a pressure sensor and the first liquid characteristic is a pressure characteristic, the second sensor is a flow sensor and the second liquid characteristic is a flow characteristic, the measurement value represented by the first liquid characteristic includes the pressure value at the beginning of the pipeline and the pressure value at the end of the pipeline, and the measurement value represented by the second liquid characteristic includes the flow value at the beginning of the pipeline and the flow value at the end of the pipeline.
[0092] In some embodiments, the calculation module 55 is specifically used to calculate the residual between the output value and the flow value at the end of the pipeline.
[0093] In some embodiments, the solution module 54 is specifically used to solve the output value of the dynamic equation based on the input according to the fourth-order Runge-Kutta method.
[0094] In some embodiments, the device further comprises: an estimation module, which is used to estimate leakage parameters of the pipeline by a nonlinear filtering method after determining that the pipeline has leaked when the residual is greater than the first threshold, wherein the leakage parameters include the leakage location and the leakage size.
[0095] In some embodiments, the apparatus may further include: an early warning module for generating early warning information based on the estimated leakage location and leakage size when a pipeline leakage is determined, and sending the early warning information to the early warning device so that the early warning device notifies relevant maintenance personnel based on the early warning information.
[0096] In some embodiments, the device may further include: a visual module for displaying the pipeline leakage parameters and warning information output by the estimation module.
[0097] Another embodiment of the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the pipeline leakage detection method provided in the first aspect of the embodiment of the present application is implemented.
[0098] Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the pipeline leakage detection method provided in the first aspect of the embodiment of the present application is implemented.
[0099] Those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0100] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A pipeline leakage detection method, characterized in that: The method comprises: Acquire a first liquid characteristic and a second liquid characteristic, wherein the first liquid characteristic and the second liquid characteristic are respectively measured by a first sensor and a second sensor installed at two ends of the pipeline; establishing a dynamic equation for the pipeline; Using the measurement value of the first liquid characteristic represented by the first sensor as an input to the kinetic equation; Solving the output value of the kinetic equation based on the input; calculating a residual between the output value and a measured value of the second liquid characteristic representation; When the residual is greater than a first threshold, it is determined that leakage occurs in the pipeline.
2. The method according to claim 1, characterized in that The first sensor is a pressure sensor, the first liquid characteristic is a pressure characteristic, the second sensor is a flow sensor, and the second liquid characteristic is a flow characteristic; or, the first sensor is a flow sensor, the first liquid characteristic is a flow characteristic, the second sensor is a pressure sensor, and the second liquid characteristic is a pressure characteristic.
3. The method according to claim 2, characterized in that When the first sensor is a pressure sensor, the first liquid characteristic is a pressure characteristic, the second sensor is a flow sensor, and the second liquid characteristic is a flow characteristic, the measurement value represented by the first liquid characteristic includes the pressure value at the beginning of the pipeline and the pressure value at the end of the pipeline, and the measurement value represented by the second liquid characteristic includes the flow value at the beginning of the pipeline and the flow value at the end of the pipeline.
4. The method according to claim 3, characterized in that: The calculating the residual between the output value and the measured value represented by the second liquid characteristic includes: calculating the residual between the output value and the flow value at the end of the pipeline.
5. The method according to claim 1, characterized in that The solving the output value of the dynamic equation based on the input includes: solving the output value of the dynamic equation based on the input according to a fourth-order Runge-Kutta method.
6. The method according to claim 1, characterized in that After determining that leakage occurs in the pipeline when the residual is greater than a first threshold, the method further includes: estimating leakage parameters of the pipeline by using a nonlinear filtering method.
7. The method according to claim 6, characterized in that The leakage parameters include leakage location and leakage size.
8. A pipeline leakage detection device, characterized in that: The device comprises: An acquisition module, used for acquiring a first liquid characteristic and a second liquid characteristic, wherein the first liquid characteristic and the second liquid characteristic are respectively measured by a first sensor and a second sensor installed at two ends of the pipeline; A building block for establishing a kinetic equation of the pipeline; A first determination module, configured to use a measurement value of the first liquid characteristic represented by the first sensor as an input to the kinetic equation; A solution module, used for solving the output value of the kinetic equation based on the input; a calculation module, configured to calculate a residual between the output value and a measured value of the second liquid characteristic representation; The second determination module is used to determine that leakage occurs in the pipeline when the residual is greater than a first threshold.
9. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the pipeline leakage detection method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the pipeline leakage detection method according to any one of claims 1 to 7 are implemented.
