CN-121997827-A - Natural gas pipeline cleanliness evaluation method, device, equipment and medium
Abstract
The application discloses a natural gas pipeline cleanliness assessment method, device, equipment and medium, which relate to the technical field of natural gas pipeline monitoring and comprise the steps of constructing a full-working-condition simulation database of a natural gas pipeline, generating a data-driven flow-roughness response model based on a pressure characteristic space index, carrying out pressure characteristic matching and roughness inversion on actual pressure and actual flow by using the flow-roughness response model, determining a performance index based on planned flow and actual flow, determining an economic index based on actual flow and theoretical flow, inputting the absolute index, the performance index and the economic index into a three-dimensional pipeline cleanliness assessment system, calculating a comprehensive cleanliness score based on an assessment method, assessing the cleanliness of the natural gas pipeline, solving the problems of strong physical model dependence, model misalignment, low calculation efficiency and poor multi-working-condition adaptability, and improving the reliability, accuracy and timeliness of the natural gas pipeline cleanliness assessment.
Inventors
- SHI BOHUI
- HAO YUNQI
- JIN ZHIYUAN
- SONG SHANGFEI
- Li Chuanglei
Assignees
- 中国石油大学(北京)
Dates
- Publication Date
- 20260508
- Application Date
- 20260126
Claims (10)
- 1. A method for evaluating the cleanliness of a natural gas pipeline, comprising: Acquiring natural gas pipeline parameters, and constructing a full-working-condition simulation database of the natural gas pipeline based on the natural gas pipeline parameters; constructing a pressure characteristic space index by using the all-condition simulation database, and generating a data-driven flow-roughness response model based on the pressure characteristic space index; Obtaining planned flow, actual pressure and actual flow, and performing pressure characteristic matching and roughness inversion on the actual pressure and the actual flow by using the flow-roughness response model to obtain roughness and theoretical flow; Constructing a three-dimensional pipeline cleanliness evaluation system, taking the roughness as an absolute index, determining a performance index based on the planned flow and the actual flow, determining an economic index based on the actual flow and the theoretical flow, determining an evaluation method according to service requirements, inputting the absolute index, the performance index and the economic index into the three-dimensional pipeline cleanliness evaluation system, and calculating a comprehensive cleanliness degree score of the natural gas pipeline based on the evaluation method; and evaluating the cleanliness of the natural gas pipeline by utilizing the comprehensive cleanliness score, and visualizing the result of the evaluation of the cleanliness.
- 2. The method for evaluating the cleanliness of a natural gas pipeline according to claim 1, wherein the acquiring the natural gas pipeline parameters and constructing the full-condition simulation database of the natural gas pipeline based on the natural gas pipeline parameters comprises: The method comprises the steps of obtaining natural gas pipeline parameters, wherein the natural gas pipeline parameters comprise basic parameters and operation parameters, and the basic parameters comprise pipeline inner diameter, pipe wall thickness and total length; Determining an operating parameter range based on the natural gas pipeline parameter; Establishing a three-dimensional parameter space matrix by utilizing pipeline operation constraint conditions, and screening a target working condition combination from the natural gas pipeline parameters based on the three-dimensional parameter space matrix; Constructing a batch simulation solver by using a mechanism simulation method; solving the target working condition combination based on the batch simulation solver to obtain target working condition parameters, wherein the target working condition parameters comprise an identification number, a starting point pressure value, the conveying amount of fluid in a pipeline, the roughness of the inner wall of the pipeline, an end point pressure value, the average temperature of the fluid and the compression factor of gas; and carrying out data normalization on the target working condition parameters to construct a full working condition simulation database of the natural gas pipeline.
- 3. The natural gas pipeline cleanliness assessment method according to claim 2, wherein the formula for solving the target working condition combination by the batch simulation solver is as follows: ; Wherein, the Is the volume flow rate of the pipe section under the standard condition, The standard pressure is 0.101325Mpa, Is at the standard temperature of the water-based paint, The standard temperature, K, the standard temperature, 15.56 ℃, Is the standard pressure, the MPa, For the upstream pressure, MPa, For the downstream pressure, MPa, G is the specific gravity of the gas, dimensionless, For the upstream elevation, m, For the downstream elevation, m, Is the average compression factor of the gas in the pipe section, has no dimension, The average temperature, K, The average pressure of the gas in the pipe section is MPa, f is the friction coefficient, dimensionless, D is the inner diameter of the pipe, cm and L is the length of the pipe, km.
- 4. The natural gas pipeline cleanliness assessment method according to claim 1, wherein the constructing a pressure feature spatial index using the all-condition simulation database, generating a data-driven flow-roughness response model based on the pressure feature spatial index, comprises: carrying out standardized semantic mapping and feature extraction on the full-working-condition simulation database to form a pressure feature space; collecting and sorting the pressure characteristic spaces to construct a pressure characteristic space index; And generating a continuous mapping function of the flow changing along with the roughness based on the characteristic space index, wherein the continuous mapping function of the flow changing along with the roughness is a data-driven flow-roughness response model.
- 5. The method for evaluating the cleanliness of a natural gas pipeline according to claim 1, wherein the obtaining the planned flow rate, the actual pressure and the actual flow rate, performing pressure characteristic matching and roughness inversion on the actual pressure and the actual flow rate by using the flow rate-roughness response model, and obtaining roughness and theoretical flow rate comprises: Acquiring planned flow, actual pressure and actual flow, and screening historical pressure combinations from a pressure characteristic space index by utilizing a pressure characteristic matching algorithm based on the actual pressure; and performing pressure characteristic matching and roughness inversion on the historical pressure combination and the actual flow by using the flow-roughness response model to obtain roughness and theoretical flow.
- 6. The natural gas pipeline cleanliness assessment method according to claim 1, wherein the constructing a three-dimensional pipeline cleanliness assessment system comprises: And constructing a three-dimensional pipeline cleanliness assessment system based on the target layer and the criterion layer, wherein the three-dimensional pipeline cleanliness assessment system comprises an analytic hierarchy process and a nonlinear comprehensive analysis model.
- 7. The natural gas pipeline cleanliness assessment method according to any one of claims 1 to 6, wherein the using the integrated cleanliness scores to assess the cleanliness of the natural gas pipeline and visualizing the results of the cleanliness assessment comprises: generating a hyperbolic curve comparison graph based on the actual pressure, the actual flow, the absolute index, the performance index and the economic index; evaluating the cleanliness of the natural gas pipeline by utilizing the comprehensive cleanliness score and the hyperbolic curve comparison graph; And visualizing the cleaning degree evaluation result according to a preset visualization mode.
- 8. A natural gas pipeline cleanliness assessment device, comprising: The database construction module is used for acquiring natural gas pipeline parameters and constructing an all-condition simulation database of the natural gas pipeline based on the natural gas pipeline parameters; The model construction module is used for constructing a pressure characteristic space index by utilizing the all-condition simulation database and generating a data-driven flow-roughness response model based on the pressure characteristic space index; the roughness inversion module is used for acquiring planned flow, actual pressure and actual flow, and performing pressure characteristic matching and roughness inversion on the actual pressure and the actual flow by using the flow-roughness response model to obtain roughness and theoretical flow; the grading calculation module is used for constructing a three-dimensional pipeline cleanliness evaluation system, taking the roughness as an absolute index, determining a performance index based on the planned flow and the actual flow, determining an economic index based on the actual flow and the theoretical flow, determining an evaluation method according to service requirements, inputting the absolute index, the performance index and the economic index into the three-dimensional pipeline cleanliness evaluation system, and calculating the comprehensive cleanliness grade of the natural gas pipeline based on the evaluation method; and the cleanliness evaluation and visualization module is used for evaluating the cleanliness of the natural gas pipeline by utilizing the comprehensive cleanliness score and visualizing the cleanliness evaluation result.
- 9. An electronic device, comprising: A memory for storing a computer program; A processor for executing the computer program to implement the natural gas pipeline cleanliness assessment method according to any one of claims 1 to 7.
- 10. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the natural gas pipeline cleanliness assessment method according to any one of claims 1 to 7.
Description
Natural gas pipeline cleanliness evaluation method, device, equipment and medium Technical Field The invention relates to the technical field of natural gas pipeline monitoring, in particular to a method, a device, equipment and a medium for evaluating the cleanliness of a natural gas pipeline. Background As the natural gas duty ratio in energy structures continues to rise, the safety operation of pipe networks faces serious challenges. Impurity deposition (such as black powder, liquid hydrocarbon and sulfur particles) in the pipeline can lead to reduced gas transmission efficiency, increased corrosion risk and even accidents. These deposits not only increase the roughness of the tube wall, increase the flow resistance, but may also cause localized corrosion and microbial growth, forming a vicious circle. The traditional pipeline cleanliness assessment mainly relies on daily production experience, and decision-making of a pipe cleaning period often lacks reliable basis, and has the defects that (1) a physical model depends on theoretical assumption, the adaptability of actual working conditions is poor, the on-site working conditions are complex and changeable, theoretical deviation values are too high, (2) the cleaning operation cost is high and normal gas transmission is influenced, (3) real-time state assessment cannot be realized, the perception capability is limited, and (4) unified and objective quantification standards are lacking. From the above, how to solve the problems of strong physical model dependence, model misalignment, low calculation efficiency and poor multi-working-condition adaptability, realize the accurate coverage of any working condition combination, and improve the reliability, accuracy and timeliness of natural gas pipeline cleanliness assessment is a problem to be solved in the field. Disclosure of Invention In view of the above, the invention aims to provide a method, a device, equipment and a medium for evaluating the clean degree of a natural gas pipeline, which can solve the problems of strong dependence of a physical model, misalignment of the model, low calculation efficiency and poor adaptability to multiple working conditions, realize accurate coverage of any working condition combination and improve the reliability, accuracy and timeliness of the evaluation of the clean degree of the natural gas pipeline. The specific scheme is as follows: In a first aspect, the application discloses a natural gas pipeline cleanliness assessment method, which comprises the following steps: Acquiring natural gas pipeline parameters, and constructing a full-working-condition simulation database of the natural gas pipeline based on the natural gas pipeline parameters; constructing a pressure characteristic space index by using the all-condition simulation database, and generating a data-driven flow-roughness response model based on the pressure characteristic space index; Obtaining planned flow, actual pressure and actual flow, and performing pressure characteristic matching and roughness inversion on the actual pressure and the actual flow by using the flow-roughness response model to obtain roughness and theoretical flow; Constructing a three-dimensional pipeline cleanliness evaluation system, taking the roughness as an absolute index, determining a performance index based on the planned flow and the actual flow, determining an economic index based on the actual flow and the theoretical flow, determining an evaluation method according to service requirements, inputting the absolute index, the performance index and the economic index into the three-dimensional pipeline cleanliness evaluation system, and calculating a comprehensive cleanliness degree score of the natural gas pipeline based on the evaluation method; and evaluating the cleanliness of the natural gas pipeline by utilizing the comprehensive cleanliness score, and visualizing the result of the evaluation of the cleanliness. Optionally, the acquiring the natural gas pipeline parameter, constructing a full-working-condition simulation database of the natural gas pipeline based on the natural gas pipeline parameter, includes: The method comprises the steps of obtaining natural gas pipeline parameters, wherein the natural gas pipeline parameters comprise basic parameters and operation parameters, and the basic parameters comprise pipeline inner diameter, pipe wall thickness and total length; Determining an operating parameter range based on the natural gas pipeline parameter; Establishing a three-dimensional parameter space matrix by utilizing pipeline operation constraint conditions, and screening a target working condition combination from the natural gas pipeline parameters based on the three-dimensional parameter space matrix; Constructing a batch simulation solver by using a mechanism simulation method; solving the target working condition combination based on the batch simulation solver to obtain target working condition param