Method and device for predicting residual life of natural gas gathering and transportation pipeline
By obtaining the internal detection data of natural gas collection and transmission pipelines and the impact data on the probability of water accumulation, the corrosion rate is corrected, and the problem that the existing technology cannot accurately predict the remaining life of natural gas collection and transmission pipelines is solved, and accurate prediction of the pipeline life is achieved, providing a decision-making basis for detection and maintenance.
Patent Information
- Application Number
- CN202311797344.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-25
- Publication Date
- 2025-06-27
AI Technical Summary
The prior art cannot accurately predict the remaining life of natural gas collection and transportation pipelines, resulting in difficulty in testing and maintenance decision-making.
By obtaining the internal detection data and water accumulation probability impact data of the natural gas collection and transportation pipeline of a preset length, the corrosion rate and water accumulation probability are determined, and the corrosion rate is corrected, and the remaining life of the pipeline is predicted based on the corrected corrosion rate.
It realizes accurate prediction of the remaining life of natural gas collection and transmission pipelines, providing a reliable decision-making basis for the inspection and maintenance of natural gas collection and transmission pipelines.
Smart Images

Figure CN120213787A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil and gas pipelines, and particularly to a method and device for predicting the remaining life of a natural gas gathering and transportation pipeline. Background Art
[0002] This section aims to provide background or context for the embodiments of the present invention described in the claims. The description herein is not admitted to be prior art merely by virtue of being included in this section.
[0003] Pipeline gathering and transportation is the main means of transporting natural gas resources. A large number of natural gas gathering and transportation pipelines have been in operation for more than 10 years. Due to the long operation time and the harsh environment where the natural gas gathering and transportation pipelines are located, corrosion and aging are likely to occur. The corrosion of natural gas gathering and transportation pipelines mainly includes external corrosion and internal corrosion of the pipeline. Among them, internal corrosion of the pipeline is the main cause of perforation and leakage accidents of natural gas gathering and transportation pipelines. Corrosion perforation not only causes natural gas leakage, resulting in a large amount of resource waste, but also easily triggers safety accidents and causes serious pollution to the surrounding ecological environment. The main protective measures against internal corrosion of natural gas gathering and transportation pipelines mainly include adding corrosion inhibitors for anti-corrosion. The addition of corrosion inhibitors has slowed down the corrosion of natural gas gathering and transportation pipelines to a certain extent. However, after the natural gas gathering and transportation pipelines are used for a period of time, problems of pipeline corrosion perforation still occur. However, the prior art cannot accurately predict the remaining life of natural gas gathering and transportation pipelines. Therefore, there is an urgent need for a method for predicting the remaining life of natural gas gathering and transportation pipelines to provide a decision-making basis for the detection and maintenance of natural gas gathering and transportation pipelines. Summary of the Invention
[0004] In an embodiment of the present invention, a method for predicting the remaining life of a natural gas gathering and transportation pipeline is proposed to accurately predict the remaining life of a natural gas gathering and transportation pipeline and provide a decision-making basis for the detection and maintenance of a natural gas gathering and transportation pipeline, including:
[0005] Obtain the internal detection data and water accumulation probability influence data of a natural gas gathering and transportation pipeline with a preset length; wherein, the internal detection data is the data affecting the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is the influence data for judging the probability of water accumulation inside the natural gas gathering and transportation pipeline.
[0006] Determine the corrosion rate of the natural gas gathering and transportation pipeline according to the internal detection data.
[0007] Determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data.
[0008] Correct the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability.
[0009] Using a preset corrosion inhibition efficiency, correct the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline;
[0010] Determine the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency.
[0011] In an embodiment of the present invention, a device for predicting the remaining life of a natural gas gathering and transportation pipeline is proposed, which is used to accurately predict the remaining life of the natural gas gathering and transportation pipeline and provide a decision-making basis for the detection and maintenance of the natural gas gathering and transportation pipeline, including:
[0012] A data acquisition module, configured to acquire internal detection data of a natural gas gathering and transportation pipeline with a preset length and water accumulation probability influence data; wherein, the internal detection data is data that affects the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is data that determines the probability of water accumulation inside the natural gas gathering and transportation pipeline.
[0013] A corrosion rate determination module, configured to determine the corrosion rate of the natural gas gathering and transportation pipeline according to the internal detection data.
[0014] A water accumulation probability determination module, configured to determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data.
[0015] A first rate correction module, configured to correct the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability.
[0016] A second rate correction module, configured to correct the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the water accumulation probability by using a preset corrosion inhibition efficiency; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline.
[0017] A remaining life prediction module, configured to determine the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency.
[0018] In an embodiment of the present invention, a computer device is proposed, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method for predicting the remaining life of a natural gas gathering and transportation pipeline is implemented.
[0019] In an embodiment of the present invention, a computer-readable storage medium is proposed. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for predicting the remaining life of a natural gas gathering and transportation pipeline is implemented.
[0020] In an embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program which, when executed by a processor, implements a method for predicting the remaining life of a natural gas gathering and transportation pipeline.
[0021] The method and device for predicting the remaining life of a natural gas gathering and transportation pipeline proposed in the embodiments of the present invention can solve the problem that the prior art cannot accurately predict the remaining life of a natural gas gathering and transportation pipeline. In the embodiments of the present invention, internal inspection data of a natural gas gathering and transportation pipeline with a preset length and water accumulation probability influence data are obtained. Among them, the internal inspection data are data that affect the internal corrosion rate of the natural gas gathering and transportation pipeline, and the water accumulation probability influence data are data that affect the probability of water accumulation inside the natural gas gathering and transportation pipeline. According to the internal inspection data, the corrosion rate of the natural gas gathering and transportation pipeline is determined. According to the water accumulation probability influence data, the water accumulation probability of the natural gas gathering and transportation pipeline is determined. The corrosion rate of the natural gas gathering and transportation pipeline is corrected using the water accumulation probability. The corrosion rate of the natural gas gathering and transportation pipeline corrected using the water accumulation probability is corrected using a preset corrosion inhibition efficiency. Among them, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added to the natural gas gathering and transportation pipeline. According to the corrosion rate of the natural gas gathering and transportation pipeline corrected using the preset corrosion inhibition efficiency, the remaining life of the natural gas gathering and transportation pipeline is determined. The embodiments of the present invention can accurately predict the remaining life of a natural gas gathering and transportation pipeline, providing a decision-making basis for the detection and maintenance of natural gas gathering and transportation pipelines. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0023] Figure 1 is a flowchart showing the method for predicting the remaining life of a natural gas gathering and transportation pipeline according to an embodiment of the present invention;
[0024] Figure 2 is a specific example diagram of the method for predicting the remaining life of a natural gas gathering and transportation pipeline according to an embodiment of the present invention;
[0025] Figure 3 is a specific example diagram of the method for predicting the remaining life of a natural gas gathering and transportation pipeline according to an embodiment of the present invention;
[0026] Figure 4 is a specific example diagram of the method for predicting the remaining life of a natural gas gathering and transportation pipeline according to an embodiment of the present invention;
[0027] Figure 5 is a specific example diagram of the method for predicting the remaining life of a natural gas gathering and transportation pipeline according to an embodiment of the present invention;
[0028] Figure 6 It is a schematic diagram of the remaining life prediction device for the natural gas gathering and transportation pipeline according to an embodiment of the present invention;
[0029] Figure 7 It is a schematic diagram of the computer device in an embodiment of the present invention. Specific embodiments
[0030] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer and more understandable, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but not to limit the present invention.
[0031] The term "and / or" in this article merely describes an associated relationship and indicates that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this article means any one of a plurality or any combination of at least two of a plurality. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set composed of A, B, and C.
[0032] In the description of this specification, the terms "comprising", "including", "having", "containing", etc. are all open-ended terms, that is, they are intended to include but not be limited to. The descriptions referring to terms such as "an embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. The order of the steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of the steps is not limited and can be adjusted appropriately as needed.
[0033] Next, with reference to several representative embodiments of the present invention, the principles and spirit of the present invention will be explained in detail.
[0034] Figure 1 It is a schematic flowchart of the method for predicting the remaining life of the natural gas gathering and transportation pipeline according to an embodiment of the present invention. As Figure 1 shown, the method includes:
[0035] Step 101, obtaining the internal detection data of the natural gas gathering and transportation pipeline with a preset length and the water accumulation probability influence data; wherein, the internal detection data is the data affecting the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is the influence data for judging the probability of water accumulation inside the natural gas gathering and transportation pipeline;
[0036] Step 102: Determine the corrosion rate of the natural gas gathering and transportation pipeline according to the internal detection data.
[0037] Step 103: Determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data.
[0038] Step 104: Correct the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability.
[0039] Step 105: Correct the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability by using a preset corrosion inhibition efficiency; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline.
[0040] Step 106: Determine the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency.
[0041] From Figure 1 As can be seen from the shown process, in the embodiment of the present invention, the internal detection data and the water accumulation probability influence data of a natural gas gathering and transportation pipeline with a preset length are obtained; wherein, the internal detection data is the data affecting the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is the influence data for judging the probability of water accumulation inside the natural gas gathering and transportation pipeline; determine the corrosion rate of the natural gas gathering and transportation pipeline according to the internal detection data; determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data; correct the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability; correct the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability by using a preset corrosion inhibition efficiency; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline; determine the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency. The embodiment of the present invention can accurately predict the remaining life of the natural gas gathering and transportation pipeline and provide a decision-making basis for the detection and maintenance of the natural gas gathering and transportation pipeline.
[0042] Next, with reference to several representative embodiments of the present invention, the principles and spirits of the present invention will be elaborated in detail.
[0043] In an embodiment of the present invention, the internal detection data includes: liquid flow rate, chloride ion content, carbon dioxide partial pressure, hydrogen sulfide partial pressure, oxygen content, pipeline absolute temperature. Specifically, the relationship between the corrosion rate of the natural gas gathering and transportation pipeline and the internal detection data is expressed by the following formula:
[0044]
[0045] Wherein, V0 represents the corrosion rate of the natural gas gathering and transportation pipeline; V L represents the liquid flow rate; represents the chloride ion content; represents the partial pressure of carbon dioxide; represents the partial pressure of hydrogen sulfide; represents the oxygen content; T represents the absolute temperature of the pipeline; a, b, c, d, e, C are all preset coefficients; before using this formula to determine the corrosion rate of the natural gas gathering and transportation pipeline, it is necessary to determine the constant term of the relationship between the corrosion rate of the above natural gas gathering and transportation pipeline and the internal inspection data by using the linear regression algorithm according to the historical internal inspection data and the corresponding corrosion rate of the natural gas gathering and transportation pipeline.
[0046] In an embodiment of the present invention, determining the corrosion rate of the natural gas gathering and transportation pipeline according to the internal inspection data includes:
[0047] Determining the corrosion rate of the natural gas gathering and transportation pipeline according to the relationship between the internal inspection data and the corrosion rate of the natural gas gathering and transportation pipeline; the relationship between the internal inspection data and the corrosion rate of the natural gas gathering and transportation pipeline is expressed by the following formula:
[0048]
[0049] Wherein,
[0050]
[0051]
[0052]
[0053]
[0054] Wherein, V0 represents the corrosion rate of the natural gas gathering and transportation pipeline, mm / year; V L represents the liquid flow velocity, mm / s; represents the chloride ion content, mg / L; represents the partial pressure of carbon dioxide, %mol; represents the partial pressure of hydrogen sulfide, 10 -1 g / m 3 ; represents the oxygen content, mg / L; T represents the absolute temperature of the pipeline, K (Kelvin); a, b, c, d, e, f, g, h, C1, C2, C are all preset coefficients, and the above preset coefficients are obtained by fitting the historical internal inspection data of the natural gas gathering and transportation pipeline and the corresponding historical corrosion rate; R represents the preset gas constant, and in the present invention, it can be taken as 8.314 J / K / mol; E represents the activation energy for the formation of iron sulfide by internal corrosion in the natural gas gathering and transportation pipeline.
[0055] In a specific embodiment of the present invention, according to the historical internal inspection data and the corrosion rate of the corresponding natural gas gathering and transportation pipeline, a linear regression algorithm is used to determine the constant term of the relationship between the corrosion rate of the natural gas gathering and transportation pipeline and the internal inspection data. The corrosion rate of the natural gas gathering and transportation pipeline is determined according to the following formula:
[0056]
[0057] In an embodiment of the present invention, the water accumulation probability influence data includes: liquid density, gas density, gas flow rate, inner diameter of the natural gas gathering and transportation pipeline, and height difference between both ends of a preset length of the natural gas gathering and transportation pipeline.
[0058] Figure 2 It is a specific example diagram of the remaining life prediction method for the natural gas gathering and transportation pipeline in the embodiment of the present invention.
[0059] In an embodiment of the present invention, referring to Figure 2 , the detailed steps for determining the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data are as follows:
[0060] Step 201: Determine the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline according to the liquid density, gas density, gas flow rate, and inner diameter of the natural gas gathering and transportation pipeline;
[0061] Step 202: Determine the actual inclination angle of the natural gas gathering and transportation pipeline according to the preset length and the height difference between both ends of the natural gas gathering and transportation pipeline with the preset length;
[0062] Step 203: Determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the actual inclination angle and the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline.
[0063] In an embodiment of the present invention, under the condition that the nominal diameter of the pipeline is in the range of 0.1 - 1.2 m and the operating pressure is lower than 7.6 MPa, the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline is determined according to the following formula:
[0064]
[0065] The actual inclination angle of the natural gas gathering and transportation pipeline is determined according to the following formula:
[0066]
[0067] Among them, θ1 represents the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline, °; θ2 represents the actual inclination angle of the natural gas gathering and transportation pipeline, °; ρ g represents the gas density, g / cm 3 ; ρ1 represents the liquid density, g / cm 3 ; g represents the acceleration due to gravity; d id represents the inner diameter of the natural gas gathering and transportation pipeline; Vg V represents the gas flow rate; Δh represents the height difference between the two ends of a natural gas gathering and transportation pipeline of a preset length; Δs represents a preset length (preset distance).
[0068] In an embodiment of the present invention, according to the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline, determining the water accumulation probability of the natural gas gathering and transportation pipeline includes:
[0069] If the ratio of the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline is less than or equal to a first preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the first preset threshold;
[0070] If the ratio of the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline is greater than or equal to a second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the second preset threshold; wherein, the second preset threshold is greater than the first preset threshold;
[0071] If the ratio of the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline is greater than the first preset threshold and less than the second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the ratio of the actual inclination angle and the critical water accumulation inclination angle; in the present invention, the first preset threshold is 0 and the second preset threshold is 1.
[0072] Specifically, if θ2 / θ1 ≤ 0, then P = 0; if θ2 / θ1 ≥ 1, then P = 1; if 0 < θ2 / θ1 < 1, P = |θ2 / θ1|; where P represents the water accumulation probability of the natural gas gathering and transportation pipeline. After determining the water accumulation probability of the natural gas gathering and transportation pipeline, the corrosion rate of the natural gas gathering and transportation pipeline is corrected by the following formula using the water accumulation probability:
[0073] V1 = V0·P;
[0074] wherein, V1 represents the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability, mm / year; V0 represents the corrosion rate of the natural gas gathering and transportation pipeline, mm / year.
[0075] Specifically, according to the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline, the water accumulation probability of the natural gas gathering and transportation pipeline is determined by the following formula, and the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability is determined:
[0076]
[0077] In an embodiment of the present invention, using a preset corrosion inhibition efficiency, the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability is corrected by the following formula:
[0078] V2 = V1·η;
[0079] Among them, V2 is the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency, in mm / year; V1 represents the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability, in mm / year; η represents the preset corrosion inhibition efficiency (%), which is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline.
[0080] Figure 3 It is a specific example diagram of the remaining life prediction method for the natural gas gathering and transportation pipeline in the embodiment of the present invention.
[0081] In one embodiment of the present invention, referring to Figure 3 , according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency, to determine the remaining life of the natural gas gathering and transportation pipeline, including:
[0082] Step 301, according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency, determine the wall thickness loss of the natural gas gathering and transportation pipeline within the preset time period;
[0083] Step 302, according to the design wall thickness of the natural gas gathering and transportation pipeline, the wall thickness loss of the natural gas gathering and transportation pipeline within the preset time period, and the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency, determine the remaining life of the natural gas gathering and transportation pipeline.
[0084] During specific implementation, select n moments (i.e., time nodes) in the time period from the commissioning of the natural gas gathering and transportation pipeline to the prediction of the remaining life, calculate the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency at each moment, and determine the cumulative wall thickness loss t of the natural gas gathering and transportation pipeline according to the following formula a :
[0085]
[0086] Determine the remaining life of the natural gas gathering and transportation pipeline according to the following formula:
[0087]
[0088] Among them, t a represents the cumulative wall thickness loss of the natural gas gathering and transportation pipeline during the time period from the commissioning of the natural gas gathering and transportation pipeline to the prediction of the remaining life; V 2i represents the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency at the i-th moment; t i represents the time period between the i-th moment and the previous moment (the (i - 1)-th moment); T R represents the remaining life of the natural gas gathering and transportation pipeline; t r represents the design wall thickness of the natural gas gathering and transportation pipeline; V 2n represents the average value of the corrosion rates of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency at n moments.
[0089] Figure 4 、 Figure 5 is a specific example diagram of the method for predicting the remaining life of the natural gas gathering and transportation pipeline in the embodiment of the present invention.
[0090] In an embodiment of the present invention, the method provided by the present invention is used to calculate the loss wall thickness of the natural gas gathering and transportation pipeline at different mileage. In the time period from the pipeline's commissioning to the predicted remaining life, n moments are selected. The corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency is calculated for each moment. According to the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency at each moment, the accumulated loss wall thickness of the natural gas gathering and transportation pipeline is determined. The accumulated loss wall thickness of the natural gas gathering and transportation pipeline is compared with the measured loss amount of the wall thickness, referring to Figure 4 , it can be seen that the error between the accumulated loss wall thickness of the natural gas gathering and transportation pipeline determined by the method provided by the present invention and the measured loss amount is less than 10%. The remaining service life of the natural gas gathering and transportation pipeline at different mileage is preset by using the method provided by the present invention, referring to Figure 5 . The present invention can select multiple moments (time nodes) from the time period from the pipeline's commissioning to the predicted remaining life to determine the corrosion rate of the natural gas gathering and transportation pipeline at each moment. After correcting the corrosion rate of the natural gas gathering and transportation pipeline at each moment by the water accumulation probability, it is further corrected by the preset corrosion inhibition efficiency; according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency at each moment, the accumulated loss wall thickness of the natural gas gathering and transportation pipeline is calculated, so as to obtain the remaining life of the natural gas gathering and transportation pipeline, providing a decision-making basis for pipeline detection and maintenance.
[0091] It should be noted that although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the shown operations must be performed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution.
[0092] For the implementation of the device for predicting the remaining life of the natural gas gathering and transportation pipeline, reference may be made to the implementation of the above method, and the repeated parts will not be elaborated. The terms "module" or "unit" used hereinafter may be a combination of software and / or hardware for implementing a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0093] Based on the same inventive concept, the present invention also proposes a device for predicting the remaining life of a natural gas gathering and transportation pipeline, as Figure 6 shown, the device includes:
[0094] A data acquisition module 601, configured to acquire internal detection data of a natural gas gathering and transportation pipeline with a preset length and water accumulation probability influence data; wherein, the internal detection data is data that affects the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is data that affects the probability of water accumulation inside the natural gas gathering and transportation pipeline.
[0095] A corrosion rate determination module 602, configured to determine the corrosion rate of the natural gas gathering and transportation pipeline according to the internal detection data.
[0096] A water accumulation probability determination module 603, configured to determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data.
[0097] A first rate correction module 604, configured to correct the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability.
[0098] A second rate correction module 605, configured to correct the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the water accumulation probability by using a preset corrosion inhibition efficiency; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline.
[0099] A remaining life prediction module 606, configured to determine the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency.
[0100] In an embodiment of the present invention, the internal detection data includes: liquid flow rate, chloride ion content, carbon dioxide partial pressure, hydrogen sulfide partial pressure, oxygen content, and pipeline absolute temperature.
[0101] In an embodiment of the present invention, the corrosion rate determination module 602 is specifically configured to:
[0102] Determine the corrosion rate of the natural gas gathering and transportation pipeline according to the relationship between the internal detection data and the corrosion rate of the natural gas gathering and transportation pipeline; the relationship between the internal detection data and the corrosion rate of the natural gas gathering and transportation pipeline is expressed by the following formula:
[0103]
[0104] Wherein,
[0105]
[0106]
[0107]
[0108]
[0109] Among them, V0 represents the corrosion rate of the natural gas gathering and transportation pipeline; V L represents the liquid flow rate; represents the chloride ion content; represents the partial pressure of carbon dioxide; represents the partial pressure of hydrogen sulfide; represents the oxygen content; T represents the absolute temperature of the pipeline; a, b, c, d, e, f, g, h, C1, C2, and C are all preset coefficients, and the above preset coefficients are obtained by fitting with the historical internal inspection data of the natural gas gathering and transportation pipeline and the corresponding historical corrosion rate; R represents the preset gas constant; E represents the activation energy for the formation of ferrous sulfide in the internal corrosion of the natural gas gathering and transportation pipeline.
[0110] In an embodiment of the present invention, the data affecting the water accumulation probability includes: liquid density, gas density, gas flow rate, inner diameter of the natural gas gathering and transportation pipeline, and height difference between both ends of the natural gas gathering and transportation pipeline with a preset length.
[0111] In an embodiment of the present invention, the water accumulation probability determination module 603 is specifically configured to:
[0112] Determine the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline according to the liquid density, gas density, gas flow rate, and inner diameter of the natural gas gathering and transportation pipeline;
[0113] Determine the actual inclination angle of the natural gas gathering and transportation pipeline according to the preset length and the height difference between both ends of the natural gas gathering and transportation pipeline with the preset length;
[0114] Determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline.
[0115] In an embodiment of the present invention, the water accumulation probability determination module 603 is specifically configured to:
[0116] Determine the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline according to the following formula:
[0117]
[0118] Determine the actual inclination angle of the natural gas gathering and transportation pipeline according to the following formula:
[0119]
[0120] Among them, θ1 represents the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline; θ2 represents the actual inclination angle of the natural gas gathering and transportation pipeline; ρ g represents the gas density; ρ1 represents the liquid density; g represents the acceleration of gravity; d id represents the inner diameter of the natural gas gathering and transportation pipeline; V g represents the gas flow rate; Δh represents the height difference between both ends of the natural gas gathering and transportation pipeline with the preset length; Δs represents the preset length.
[0121] In one embodiment of the present invention, the water accumulation probability determination module 603 is specifically configured to:
[0122] If the ratio of the actual inclination angle of the natural gas gathering and transportation pipeline to the critical water accumulation inclination angle is less than or equal to the first preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the first preset threshold;
[0123] If the ratio of the actual inclination angle of the natural gas gathering and transportation pipeline to the critical water accumulation inclination angle is greater than or equal to the second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the second preset threshold; wherein, the second preset threshold is greater than the first preset threshold;
[0124] If the ratio of the actual inclination angle of the natural gas gathering and transportation pipeline to the critical water accumulation inclination angle is greater than the first preset threshold and less than the second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the ratio of the actual inclination angle to the critical water accumulation inclination angle.
[0125] In one embodiment of the present invention, the remaining life prediction module 606 is specifically configured to:
[0126] Determine the wall thickness loss of the natural gas gathering and transportation pipeline within a preset time period according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency;
[0127] Determine the remaining life of the natural gas gathering and transportation pipeline according to the design wall thickness of the natural gas gathering and transportation pipeline, the wall thickness loss of the natural gas gathering and transportation pipeline within a preset time period, and the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency.
[0128] It should be noted that although several modules of the remaining life prediction device of the natural gas gathering and transportation pipeline are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present invention, the features and functions of the two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided and embodied by multiple modules.
[0129] Based on the foregoing inventive concept, as Figure 7 shown, the present invention also provides a computer device 700, including a memory 701, a processor 702, and a computer program 703 stored in the memory 701 and executable on the processor 702. When the processor 702 executes the computer program 703, the foregoing method for predicting the remaining life of the natural gas gathering and transportation pipeline is implemented.
[0130] Based on the foregoing inventive concept, the present invention provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the foregoing method for predicting the remaining life of the natural gas gathering and transportation pipeline is implemented.
[0131] Based on the foregoing inventive concept, the present invention provides a computer program product, which includes a computer program that, when executed by a processor, implements a method for predicting the remaining life of a natural gas gathering and transportation pipeline.
[0132] The method and device for predicting the remaining life of a natural gas gathering and transportation pipeline proposed in the embodiments of the present invention can solve the problem that the prior art cannot accurately predict the remaining life of a natural gas gathering and transportation pipeline; in the embodiments of the present invention, internal inspection data and water accumulation probability influence data of a natural gas gathering and transportation pipeline with a preset length are obtained; among them, the internal inspection data is data that affects the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is data that affects the probability of water accumulation inside the natural gas gathering and transportation pipeline; according to the internal inspection data, the corrosion rate of the natural gas gathering and transportation pipeline is determined; according to the water accumulation probability influence data, the water accumulation probability of the natural gas gathering and transportation pipeline is determined; the corrosion rate of the natural gas gathering and transportation pipeline is corrected using the water accumulation probability; the corrosion rate of the natural gas gathering and transportation pipeline corrected using the water accumulation probability is corrected using a preset corrosion inhibition efficiency; where the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline; according to the corrosion rate of the natural gas gathering and transportation pipeline corrected using the preset corrosion inhibition efficiency, the remaining life of the natural gas gathering and transportation pipeline is determined. The embodiments of the present invention can accurately predict the remaining life of a natural gas gathering and transportation pipeline, providing a decision-making basis for the inspection and maintenance of natural gas gathering and transportation pipelines.
[0133] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0134] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one or more of the flows or multiple flows and / or blocks Figure 1 one or more of the blocks or multiple blocks.
[0135] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction means that implements the functions specified in one or more of the processes and / or blocks Figure 1 one or more of the processes and / or blocks Figure 1 specified in the block or blocks.
[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one or more of the processes and / or blocks Figure 1 one or more of the processes and / or blocks Figure 1 specified in the block or blocks.
[0137] The specific embodiments described above further elaborate on the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for predicting the remaining life of a natural gas gathering and transportation pipeline, characterized in that, Including: Obtaining internal inspection data and water accumulation probability influence data of a natural gas gathering and transportation pipeline with a preset length; wherein, the internal inspection data is data affecting the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is data affecting the probability of water accumulation inside the natural gas gathering and transportation pipeline. Determining the corrosion rate of the natural gas gathering and transportation pipeline according to the internal inspection data. Determining the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data. Correcting the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability. Correcting the corrosion rate of the natural gas gathering and transportation pipeline corrected by the water accumulation probability by using a preset corrosion inhibition efficiency; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline. Determining the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency.
2. The method according to claim 1, wherein The internal inspection data includes: liquid flow rate, chloride ion content, carbon dioxide partial pressure, hydrogen sulfide partial pressure, oxygen content, pipeline absolute temperature.
3. The method according to claim 2, characterized in that, Determining the corrosion rate of the natural gas gathering and transportation pipeline according to the internal inspection data, including: Determining the corrosion rate of the natural gas gathering and transportation pipeline according to the relationship between the internal inspection data and the corrosion rate of the natural gas gathering and transportation pipeline; the relationship between the internal inspection data and the corrosion rate of the natural gas gathering and transportation pipeline is expressed by the following formula: Among them, Among them, V0 represents the corrosion rate of the natural gas gathering and transportation pipeline; V L represents the liquid flow rate; represents the chloride ion content; represents the partial pressure of carbon dioxide; represents the partial pressure of hydrogen sulfide; represents the oxygen content; T represents the absolute temperature of the pipeline; a, b, c, d, e, f, g, h, C1, C2, and C are all preset coefficients, and the above preset coefficients are obtained by fitting with the historical internal inspection data of the natural gas gathering and transportation pipeline and the corresponding historical corrosion rate; R represents the preset gas constant; E represents the activation energy for the formation of iron sulfide in the internal corrosion of the natural gas gathering and transportation pipeline.
4. The method according to claim 1, wherein The water accumulation probability influence data includes: liquid density, gas density, gas flow rate, inner diameter of the natural gas gathering and transportation pipeline, height difference between both ends of the natural gas gathering and transportation pipeline with a preset length.
5. The method according to claim 4, characterized in that Determining the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data, including: Determining the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline according to the liquid density, gas density, gas flow rate, and inner diameter of the natural gas gathering and transportation pipeline. Determining the actual inclination angle of the natural gas gathering and transportation pipeline according to the preset length and the height difference between both ends of the natural gas gathering and transportation pipeline with a preset length. Determining the water accumulation probability of the natural gas gathering and transportation pipeline according to the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline.
6. The method according to claim 5, wherein Determining the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline according to the following formula: Determining the actual inclination angle of the natural gas gathering and transportation pipeline according to the following formula: Among them, θ1 represents the critical inclination angle of water accumulation in the natural gas gathering and transportation pipeline; θ2 represents the actual inclination angle of the natural gas gathering and transportation pipeline; ρ g represents the gas density; ρ1 represents the liquid density; g represents the acceleration due to gravity; d id represents the inner diameter of the natural gas gathering and transportation pipeline; V g represents the gas flow rate; Δh represents the height difference between the two ends of the natural gas gathering and transportation pipeline with a preset length; Δs represents the preset length.
7. The method according to claim 5, characterized in that, Determining the water accumulation probability of the natural gas gathering and transportation pipeline according to the actual inclination angle and the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline, including: If the ratio of the actual inclination angle to the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline is less than or equal to a first preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the first preset threshold. If the ratio of the actual inclination angle to the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline is greater than or equal to a second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the second preset threshold; wherein, the second preset threshold is greater than the first preset threshold. If the ratio of the actual inclination angle to the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline is greater than the first preset threshold and less than the second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the ratio of the actual inclination angle to the critical water accumulation inclination angle.
8. The method according to claim 1, characterized in that, Determining the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by the preset corrosion inhibition efficiency, including: Determine the wall thickness loss of the natural gas gathering and transportation pipeline within a preset duration according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using a preset corrosion inhibition efficiency. Determine the remaining life of the natural gas gathering and transportation pipeline according to the designed wall thickness of the natural gas gathering and transportation pipeline, the wall thickness loss of the natural gas gathering and transportation pipeline within a preset duration, and the corrosion rate of the natural gas gathering and transportation pipeline corrected by using a preset corrosion inhibition efficiency.
9. A remaining life prediction device for a natural gas gathering and transportation pipeline, characterized in that, Including: A data acquisition module, configured to acquire internal inspection data and water accumulation probability influence data of a natural gas gathering and transportation pipeline with a preset length; wherein, the internal inspection data is data that affects the internal corrosion rate of the natural gas gathering and transportation pipeline; the water accumulation probability influence data is data that determines the probability of water accumulation inside the natural gas gathering and transportation pipeline. A corrosion rate determination module, configured to determine the corrosion rate of the natural gas gathering and transportation pipeline according to the internal inspection data. A water accumulation probability determination module, configured to determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the water accumulation probability influence data. A first rate correction module, configured to correct the corrosion rate of the natural gas gathering and transportation pipeline by using the water accumulation probability. A second rate correction module, configured to correct the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the water accumulation probability by using a preset corrosion inhibition efficiency; wherein, the preset corrosion inhibition efficiency is determined according to the corrosion inhibitor added in the natural gas gathering and transportation pipeline. A remaining life prediction module, configured to determine the remaining life of the natural gas gathering and transportation pipeline according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using a preset corrosion inhibition efficiency.
10. The device according to claim 9, wherein, The internal inspection data includes: liquid flow rate, chloride ion content, carbon dioxide partial pressure, hydrogen sulfide partial pressure, oxygen content, pipeline absolute temperature.
11. The device according to claim 10, wherein The corrosion rate determination module is specifically configured to: Determine the corrosion rate of the natural gas gathering and transportation pipeline according to the relationship between the internal inspection data and the corrosion rate of the natural gas gathering and transportation pipeline; the relationship between the internal inspection data and the corrosion rate of the natural gas gathering and transportation pipeline is expressed by the following formula: Among them, Among them, V0 represents the corrosion rate of the natural gas gathering and transportation pipeline; V L represents the liquid flow rate; represents the chloride ion content; represents the partial pressure of carbon dioxide; represents the partial pressure of hydrogen sulfide; represents the oxygen content; T represents the absolute temperature of the pipeline; a, b, c, d, e, f, g, h, C1, C2, and C are all preset coefficients, and the above preset coefficients are obtained by fitting the historical internal inspection data of the natural gas gathering and transportation pipeline and the corresponding historical corrosion rate; R represents the preset gas constant; E represents the activation energy for the formation of iron sulfide in the internal corrosion of the natural gas gathering and transportation pipeline.
12. The device according to claim 9, characterized in that The water accumulation probability influence data includes: liquid density, gas density, gas flow rate, inner diameter of the natural gas gathering and transportation pipeline, height difference between both ends of the natural gas gathering and transportation pipeline with a preset length.
13. The device according to claim 12, characterized in that, The water accumulation probability determination module is specifically configured to: Determine the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline according to the liquid density, gas density, gas flow rate, and inner diameter of the natural gas gathering and transportation pipeline. Determine the actual inclination angle of the natural gas gathering and transportation pipeline according to the preset length and the height difference between both ends of the natural gas gathering and transportation pipeline with a preset length. Determine the water accumulation probability of the natural gas gathering and transportation pipeline according to the actual inclination angle and the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline.
14. The device according to claim 13, wherein The water accumulation probability determination module is specifically configured to: Determine the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline according to the following formula: Determine the actual inclination angle of the natural gas gathering and transportation pipeline according to the following formula: Among them, θ1 represents the critical water accumulation inclination angle of the natural gas gathering and transportation pipeline; θ2 represents the actual inclination angle of the natural gas gathering and transportation pipeline; ρ g represents the gas density; ρ1 represents the liquid density; g represents the acceleration due to gravity; d id represents the inner diameter of the natural gas gathering and transportation pipeline; V g represents the gas flow rate; Δh represents the height difference between the two ends of the natural gas gathering and transportation pipeline with a preset length; Δs represents the preset length.
15. The device according to claim 13, characterized in that, The water accumulation probability determination module is specifically configured to: If the ratio of the actual inclination angle and the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline is less than or equal to a first preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the first preset threshold. If the ratio of the actual inclination angle and the water accumulation critical inclination angle of the natural gas gathering and transportation pipeline is greater than or equal to a second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the second preset threshold; wherein, the second preset threshold is greater than the first preset threshold. If the ratio of the actual inclination angle of the natural gas gathering and transportation pipeline to the critical water accumulation inclination angle is greater than the first preset threshold and less than the second preset threshold, the water accumulation probability of the natural gas gathering and transportation pipeline is the ratio of the actual inclination angle to the critical water accumulation inclination angle.
16. The device according to claim 9, characterized in that, The remaining life prediction module is specifically configured to: Determine the wall thickness lost by the natural gas gathering and transportation pipeline within a preset time period according to the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency; Determine the remaining life of the natural gas gathering and transportation pipeline according to the designed wall thickness of the natural gas gathering and transportation pipeline, the wall thickness lost by the natural gas gathering and transportation pipeline within a preset time period, and the corrosion rate of the natural gas gathering and transportation pipeline corrected by using the preset corrosion inhibition efficiency.
17. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
18. 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 method according to any one of claims 1 to 8 is implemented.
19. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.