Quick traceability valve closing method for pipe burst of gas pipe network
By constructing the topological structure of the gas pipeline network and a spatial database for monitoring data, and using the PIDS algorithm for explosive pipe analysis, the problem of explosive pipe traceability and valve closing in the ring gas pipeline network is solved, and fast and accurate response and analysis are achieved, and accident handling efficiency is improved.
Patent Information
- Application Number
- CN202411622333.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-07
AI Technical Summary
The prior art is difficult to quickly and accurately trace the source and close the explosive point in the annular gas pipeline network, resulting in an increase in the impact of the accident and reduced applicability.
By constructing the topological structure of the gas pipeline network and a spatial database for monitoring data, combining PostgreSQL and PostGIS technology, the bidirectional topological construction of the ring pipeline network is realized, and the explosive pipe analysis is used using the PIDS algorithm to output the valve closing list to achieve rapid traceability and valve closing.
It realizes rapid response analysis in an annular gas pipeline network, improves the accuracy and efficiency of explosive pipe detection and response, is highly adaptable, and can adapt to multi-gas supply sources and complex pipeline structures.
Smart Images

Figure CN119572971A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas pipeline network processing, and in particular to a rapid source tracing and valve closing method for a pipe explosion in a gas pipeline network. Background Art
[0002] Pipe burst and leakage accidents often occur in complex and changeable urban gas pipeline networks. It is very necessary to quickly trace the source and formulate an effective valve closing plan after the pipe burst occurs. At the same time, it is necessary to understand the impact of valve closing.
[0003] In previous cases of urban gas leakage, after a gas pipeline leak occurred, the main valve was immediately closed to cut off the gas source, which effectively avoided the problem of continued gas leakage.
[0004] With the progress of society and the development of technology, the pipeline transmission and distribution network is also constantly updated and expanded. The ring-shaped medium and high pressure gas pipeline network with the characteristics of multi-point gas connection and ring-shaped gas supply has gradually become the standard for urban development.
[0005] The existence of the ring network is to improve the stability and reliability of gas supply, and ensure stable gas supply through multiple gas connection points when supply is tight. Compared with the branch network, the ring network can improve the flexibility and reliability of gas supply, reduce the impact of single point failures, improve the robustness of the entire network, and help optimize gas source allocation and improve resource utilization efficiency.
[0006] The relatively new technical solutions for closing valves when pipes burst currently use depth-first or breadth-first algorithms. Some of them also take into account the realistic factors driven by pressure differences in actual operation. They continuously judge and correct the gas flow direction, and then build a network topology flow diagram through the connectivity of pipe segments and nodes. When it is actually applied, the nearest valve is mechanically searched on both sides at the pipe burst point according to the flow direction mark. This type of technology is suitable for one-way branch and leaf pipe networks, but when encountering a ring pipe network, some valves that do not need to be closed will be closed, and some valves that need to be closed will not be closed, thereby expanding the impact of the accident and greatly reducing its applicability. Solving the problem of closing valves for ring pipe traceability has become the current technical key.
[0007] Combined with relevant technical literature and actual application status, the existing pipe burst tracing and valve closing technology often has the following problems:
[0008] 2.1. The analysis has limitations: it only supports one-way branch and leaf pipe networks, and does not consider more complex ring pipe networks;
[0009] 2.2. Lack of analysis data solidification: Data is not updated in a timely manner. The pipe network topology structure that the analysis relies on often remains unchanged for many years after its construction, resulting in poor timeliness;
[0010] 2.3. Low analysis efficiency: Current technology generally adopts a single algorithm, which is only suitable for analyzing some conventional data. For some ring pipes or branch pipes with large height / width, there are problems such as large analysis calculation amount and long time consumption for real-time analysis. In order to improve analysis efficiency, some choose to preset valve closing solution library, but the pipeline network data is constantly updated and changed, and the pipeline network structure is also constantly changing. The workload of updating the preset solution is also huge, which does not fundamentally solve the problem. Summary of the invention
[0011] Technical purpose: In view of the defects in the prior art, the present invention discloses a method for quickly tracing the source and closing valves of a gas pipe network burst, which realizes rapid response analysis based on the constructed gas pipe network topology and monitoring data, with high accuracy and strong adaptability.
[0012] Technical solution: In order to achieve the above technical objectives, the present invention adopts the following technical solution.
[0013] A rapid source tracing and valve closing method for a gas pipe network burst, the method comprising:
[0014] Collect network vector data and equipment operation data on the gas network; network vector data includes bound pipeline data and pipe point data; equipment operation data includes the name of the monitoring equipment matched with the pipeline and its monitoring data, and the monitoring data includes pressure data, flow data, and temperature data;
[0015] The pipeline network vector data and equipment operation data are stored in the database based on PostgreSQL and PostGIS to obtain the spatial database of the gas pipeline network;
[0016] Constructing a gas pipeline network topology for the spatial database of the gas pipeline network, wherein the gas pipeline network topology includes a basic unidirectional topology and a bidirectional topology based on a ring pipe, and binding pipe points on the pipeline;
[0017] The pipe burst alarm information is combined with the alarm information fed back on the gas network topology for comprehensive judgment, the pipe burst point is determined, the pipe burst analysis is performed based on the PIDS algorithm for the pipe burst point, and the valve closing list and related pipelines are output to facilitate the staff to quickly trace the source and close the valves.
[0018] Preferably, the pipe point data is the node data on the gas pipeline network. The pipe point serves as the starting point and end point of the pipeline, including equipment and facility points, connection points, and monitoring points that match the pipeline; the pipe point data includes pipe point spatial data and pipe point attribute data. The pipe point spatial data includes the spatial coordinates of the pipe point, and the pipe point attribute data includes the pipe point name, number, and pipe point type; the pipeline data is the pipeline section data between adjacent pipe points, including pipeline spatial data and pipeline attribute data. The pipeline spatial data includes the spatial coordinates of the pipeline, and the pipeline attribute data includes the pipeline name, pressure type, pipe diameter, elevation, burial depth, material, flow direction, and maximum pressure bearing.
[0019] Preferably, the basic unidirectional topology is directly constructed according to the spatial database of the gas pipeline network. The process of constructing the bidirectional topology based on the ring pipe includes: screening out the bidirectional pipes in the pipeline, adding virtual reverse edges to the bidirectional pipes, and re-constructing the topology of the pipeline vector data containing the reverse edges to form a bidirectional topology based on the ring pipe. The newly added virtual reverse edges generate node identification information that is connected to the unidirectional topology for subsequent pipe burst and valve closing analysis.
[0020] Preferably, in the constructed gas network topology, the pipe point information is bound to the pipeline through field setting, and the subsequent pipe burst valve closing analysis only needs to analyze the pipeline.
[0021] Preferably, the process of determining the burst point includes: obtaining the burst point according to the text description information at the time of the initial alarm and combining the abnormal alarm points monitored by the pressure and flow sensors in the gas network topology.
[0022] Preferably, the process of pipe burst analysis using the PIDS algorithm includes:
[0023] In the gas network topology, the pipeline at the burst point or the pipeline connected to the pipe point is defined as level 1, the pipeline directly connected to it is level 2, the pipeline indirectly connected through level 2 is level 3, and so on;
[0024] Based on the PIDS algorithm, the gas network topology is analyzed to obtain each level of pipelines that have been analyzed. Then, according to the pipe point information bound to the pipelines in the gas network topology, the list of valves that need to be closed and the associated pipelines are found for reference by the staff.
[0025] Preferably, if there are valves that cannot be closed in the list of valves that need to be closed, a secondary valve closing analysis is performed, that is, based on the one or more non-closable valves that have been analyzed, one or more upper-level valves are obtained through the PIDS algorithm to output a secondary valve closing list.
[0026] Beneficial effects: After a pipe burst occurs, the present invention realizes rapid response analysis based on the constructed gas pipe network topology and monitoring data, has the characteristics of high accuracy, strong adaptability, and diverse analysis methods and uses, thereby improving the accuracy and efficiency of pipe burst detection and response. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a flow chart of the method of an embodiment;
[0028] Figure 2 It is a gas supply trend diagram of an embodiment;
[0029] Figure 3 A schematic diagram of the single and bidirectional topology construction of the embodiment;
[0030] Figure 4 Schematic diagram of unidirectional and bidirectional topology of the embodiment;
[0031] Figure 5 A schematic diagram of the PIDS strategy of an embodiment;
[0032] Figure 6 A schematic diagram of the gas pipe network structure of an embodiment;
[0033] Figure 7 A schematic diagram of the gas pipeline flow direction of an embodiment;
[0034] Figure 8 It is a schematic diagram of the analysis of the upper closing valve of the bidirectional ring pipe of the embodiment;
[0035] Fig. 9 It is a schematic diagram of the secondary valve closing analysis of the embodiment;
[0036] Fig.10 is a general method flow chart of the present invention;
[0037] Fig.11 This is a schematic diagram of the PIDS algorithm analysis of this embodiment. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solution of the present application, 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 only 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.
[0039] Example
[0040] As attached Figures 1 to 11 As shown, a rapid tracing and valve closing method for a gas pipe network burst in this embodiment includes the following steps:
[0041] S1. Collect the pipeline vector data and equipment operation data on the gas pipeline network; the pipeline vector data includes the bound pipeline data and pipe point data. Pipe point data is the node data on the gas pipeline network. The pipe point is the starting point and end point of the pipeline, including the equipment and facility points, connection points, and monitoring points that match the pipeline; the equipment and facility points can be valves, pressure regulating boxes, pressure regulating stations, etc., and the connection points can be three-way valves, four-way valves, elbows, pipe caps, reducers, turning points, etc. The monitoring point refers to the key node or pipe section position on some pipelines, and is a specific point selected for installing monitoring equipment to collect data on gas-related parameters and pipeline network operation status. It can be a pressure monitoring point, a flow monitoring point, or a temperature monitoring point. The pipe point data includes pipe point spatial data and pipe point attribute data. The pipe point spatial data includes the spatial coordinates of the pipe point, that is, the point coordinates, and the pipe point attribute data includes the pipe point name, number, pipe point type, etc.
[0042] Pipeline data refers to pipeline section data between adjacent pipe points, including pipeline spatial data and pipeline attribute data. Pipeline spatial data includes the spatial coordinates of the pipeline, i.e., line coordinates, which are data related to the geographic location, shape, and spatial relationship of the pipeline. It reflects the spatial distribution characteristics of the pipeline in the geographic entity and describes entities in the real world, with characteristics such as positioning, qualitative, time, and spatial relationships. Pipeline attribute information refers to some descriptive non-spatial data information that is used to describe the characteristics and properties of vector data. In GIS, spatial information and attribute information are closely integrated, and this combination enables complex spatial analysis, visualization, and decision-making; pipeline attribute data includes pipeline name, pressure type, pipe diameter, elevation, burial depth, material, flow direction, maximum pressure bearing, etc. Pipeline data needs to ensure the accuracy of the spatial position and connection relationship of the pipeline network data;
[0043] The pipeline includes trunk pipelines and branch pipelines; the trunk pipeline is the pipeline on the gas pipeline network that undertakes the main task of gas transportation, and the branch pipeline is the branch pipeline branching off the trunk pipeline, which is used to connect users or subsystems.
[0044] Equipment operation data includes the name of the monitoring equipment that matches the pipeline and its monitoring data. The monitoring equipment includes pressure sensors, flow sensors, temperature sensors, etc. The monitoring data includes pressure data, flow data, temperature data, etc., which are collected in real time through monitoring equipment. These data are associated with the monitoring points through the monitoring equipment code, which is important for real-time grasp of the operating status of the gas pipeline and the gas supply flow trend, as well as for quickly locating the burst position. At the same time, it can also assist in correcting the gas flow mark according to the pressure difference. The burst point detection is based on the real-time data of the sensor. When it is detected that the pressure or flow of a certain pipe section has a large fluctuation or abnormal temperature change in a very short period of time, the abnormal event is recorded and pushed.
[0045] In a pipeline network in stable operation, the relationship between equipment and facility points, monitoring points and the pipeline network is relatively fixed. The points are associated and bound to the pipelines by making a judgment on their belonging. For example, a distance tolerance of 0.1 meters is set, and a buffer analysis is performed on the valve. By analyzing which pipe sections are within the tolerance range, it can be determined which pipe sections the valve is connected to. The valve identification is recorded in the pipe section attributes, and the pipe section identification is also marked in the monitoring point attributes. This reduces the judgment of the relationship between the valve and the pipeline during the valve closing analysis.
[0046] S2. The pipeline network vector data and equipment operation data are stored in the database based on PostgreSQL and PostGIS to obtain the spatial database of the gas pipeline network;
[0047] In this embodiment, PostgreSQL (hereinafter referred to as pg) is used to store and manage pipe network and monitoring data based on the PostGIS spatial engine, and the pgRouting extension is installed to build and support network path analysis.
[0048] In this embodiment, a pipe network database pipe is created, as follows:
[0049] CREATE DATABASE IF NOT EXISTS pipe;
[0050] The pipe network database pipe installs postgis, postgis_topology, and pgrouting spatial extensions as follows:
[0051] CREATE EXTENSION IF NOT EXISTS postgis;
[0052] CREATE EXTENSION IF NOT EXISTS postgis_topology;
[0053] CREATE EXTENSION IF NOT EXISTS pgrouting;
[0054] After the spatial extension is installed, the database becomes a spatial database.
[0055] The pipeline network data fields and coordinates (in this embodiment, the coordinate system is WGS1984) are standardized and converted, and the pipeline network data (pipeline segments, pipeline points, valves, pressure regulating boxes, pressure regulating cabinets, pressure regulating stations, etc.) are stored as a whole in the pg database. The data tables pipegas_line, pipegas_point, pipegas_valvewell, pipegas_compressorbox, and pipegas_station are used to store pipeline, pipe point, valve well, pressure regulating box, pressure regulating station and other data respectively. In addition to the attribute fields, each data table has a spatial field named geom for storing spatial information.
[0056] It should be noted that the geometry type of the line data must be LineString and not MultiLineString, otherwise the next step of creating the topology will fail.
[0057] For multiple lines, we merge them into a single line. The merged SQL statements are as follows:
[0058] update pipegas_line set geom=ST_LineMerge(geom)where ST_GeometryType(geom)='ST_MultiLineString';
[0059] In addition, the data in the warehouse cannot be used directly, and there will be some details. The pipe network data editing tools (mainly realize import and export, point selection, drawing and adding; breakpoint editing, interruption, merging, continuation, stretching, rotation, moving position, changing flow direction, changing attributes, topology inspection, topology reconstruction, etc.) are used to process and analyze the pipe network data. This step runs through the entire technical process and mainly completes:
[0060] (1) Topological check: List isolated pipelines, pipeline points and other data, and assign or correct them.
[0061] (2) Intersection line processing: Intersection processing is performed on intersecting but uninterrupted connected pipe sections, and connection processing is performed on intersecting non-connected pipe sections, so as to ensure the correctness of the gas pipeline network connection relationship.
[0062] (3) Flow direction correction: Correct the flow direction of pipe sections with incorrect flow direction markings. Generally, courtyard medium pressure and low pressure are one-way pipes at the end, and some high pressure, medium pressure, and municipal medium pressure are two-way ring pipes. The pipeline network data tool provides auxiliary functions such as layer screening and flow direction marking, which greatly improve editing efficiency.
[0063] (4) Topology update: After data editing, the network topology relationship is updated in a timely manner to ensure the accuracy of the analysis.
[0064] (5) Sensor maintenance: Update and maintain information of newly connected or changed sensors.
[0065] (6) New data import: real-time data collection by RTK (Real-time kinematic) handheld surveying and mapping equipment, manual data collection and drawing, batch import of ledger files, etc.
[0066] In this embodiment, a data processing tool system implemented on the web is used for vector data maintenance and real-time update. The system is used to edit and maintain the stored pipelines, pipe points, equipment points and other data (layer configuration can expand more vector data). Manual operation is the main method and service algorithms are auxiliary (such as topology judgment and topology reconstruction). If the pipeline connection is wrong, the position can be modified on the map, the wrongly connected line can be interrupted or moved, and then the topology update service can be called to automatically update the pipe network topology structure;
[0067] S3. Construct a gas pipeline network topology for the spatial database of the gas pipeline network, wherein the gas pipeline network topology includes a basic unidirectional topology and a bidirectional topology based on a ring pipe, and bind pipe points on the pipeline, wherein the basic unidirectional topology is directly constructed according to the spatial database of the gas pipeline network, and the construction process of the bidirectional topology based on the ring pipe includes: screening out the bidirectional pipes in the pipeline, adding virtual reverse edges to the bidirectional pipes, and re-constructing the topology of the pipeline vector data containing the reverse edges to form a bidirectional topology based on the ring pipe, and the newly added virtual reverse edges generate node identification information that is connected to the unidirectional topology for subsequent pipe burst and valve closing analysis; on the constructed gas pipeline network topology, the pipe point information is bound to the pipeline through field setting, and the subsequent pipe burst and valve closing analysis only needs to analyze the pipeline.
[0068] In this embodiment, for the construction of topology, the function pgr_createTopology provided by the pgRouting extension in the PostgreSQL database is used to create a topological relationship. In PostGIS, an edge can have a direction, which can be unidirectional or bidirectional. Since the pgr_createTopology function creates a topological relationship based on a unidirectional edge, which is different from the traditional pipe network analysis that creates topology based on a unidirectional edge, the present invention needs to create a topological relationship based on a bidirectional edge, so this function is modified and extended to support the processing of bidirectional edges, thereby supporting the analysis of ring pipes. In order to avoid destroying the original function, the modified function is named pgr_createTopology2.
[0069] The main transformation logic is as follows:
[0070] ① Modify the topology table: including adding new fields (starting point number pgr_source, end point number pgr_target, length pgr_length, whether it is bidirectional pgr_both), creating indexes (starting point number index, end point number index, geom index), assigning values, etc.
[0071] ② Use the original pgr_createTopology function to create a one-way basic topology for the pipe network data.
[0072] ③ Filter out the bidirectional pipes, add reverse edges to the bidirectional pipes, and mark the pgr_both field as true (this edge is a virtual edge, which is only used for pipe burst and valve closing analysis, so in other places such as spatial query, filter out this data based on whether pgr_both is true to avoid data duplication), and re-build the topology for the pipe network data containing reverse edges. The newly added reverse edges generate node identification information that is connected to the basic topology. Since the ring pipe pipeline data generally accounts for no more than 2% of the total number of pipelines, the data increment here is limited, and it will not bring a large cost burden while achieving more accurate pipe burst and valve closing analysis.
[0073] Encapsulate the SQL statements in the above two-way topology construction logic for background services or use GeoServer to publish services through PostGIS direct database connection, thereby providing APIs to the outside world, making topology construction and subsequent topology reconstruction after data changes more efficient, secure, and convenient. For specific topology construction steps and schematic diagrams, please refer to the attached Figure 3 , Figure 4 .
[0074] In terms of binding key nodes, in order to reduce the judgment logic of the relationship between pipelines and equipment during analysis, valvecode, boxcode, and devsn fields are added to the pipeline table, which are used to associate valve wells, pressure regulating boxes (cabinets), monitoring points, etc. If the value is empty, it is considered that this pipe section is not connected to the equipment or monitoring point; the linecode field is added to the equipment facility / monitoring point table to associate and bind pipelines; in this way, only the pipeline needs to be analyzed in the subsequent analysis, which reduces the judgment logic of the relationship between pipelines and nodes, and can effectively reduce the calculation time and improve the analysis speed.
[0075] S4. Combine the alarm information of pipe burst with the alarm information fed back on the gas pipe network topology to make a comprehensive judgment, determine the location of the pipe burst, perform pipe burst analysis based on the PIDS algorithm for the pipe burst location, output the valve closing list and the associated pipelines, and realize rapid traceability of valve closing.
[0076] After a pipe burst occurs, it is necessary to immediately determine the burst point or pipe section. Based on the text description information at the time of the initial alarm and the abnormal alarm points monitored by the pressure and flow sensors in the gas network topology, the approximate location can be gradually narrowed down and determined. Then, with the help of the powerful spatial computing capabilities of the PostGIS spatial engine and the investigation and confirmation of on-site disposal personnel, the burst point can be finally located to a specific pipe section or pipe section node.
[0077] In the monitoring equipment, sensors are distributed at various node positions. Pipe burst is random. Based on the monitoring data, only the approximate location interval of the event can be roughly determined, and 100% accuracy cannot be guaranteed. In this embodiment, manual assistance can be used to determine the location of the pipe burst.
[0078] In the existing technology of pipe burst analysis, the current mainstream topological analysis method is to use the breadth-first algorithm (BFS) or the depth-first algorithm (DFS). However, considering the complexity and diversity of the pipe network structure, the use of BFS or DFS alone is not very effective. Iterative deepening search (IDS) is a search strategy that combines the advantages of BFS and DFS. Although it solves some problems, it also introduces new problems. The details are as follows:
[0079] ①BFS is usually implemented using queues. It emphasizes layer-order traversal, first traversing the first layer (adjacent pipes), then the second layer (indirect adjacent pipes), and so on. This method usually requires more space. It is suitable for solving the shortest path problem. As the number of layers increases, it is easy to cause the search space to explode.
[0080] ②DFS is usually implemented using a stack. It emphasizes backtracking, first going all the way to the end, then changing branches. It is suitable for solving two-point connectivity problems. If the recursive depth is too deep, it is easy to cause a stack overflow (the stack space is exhausted and the program throws a stack overflow error).
[0081] ③IDS is a search algorithm that combines the characteristics of DFS and BFS. It is suitable for large search spaces and finds the shallowest target. The basic idea is to gradually increase the search depth limit from a depth of 1 until the target is found or it is determined that the target does not exist. In each iteration, it uses DFS search to traverse the graph until the current depth limit is reached. This method can make more efficient use of resources in time and space. It can gradually increase the search depth on the basis of setting an initial small search space until the result is found or the limited depth is reached, thereby avoiding excessive searches. At the same time, because it uses the BFS idea in the number of layers to gradually expand the search depth of DFS, it can solve the problem that DFS may fall into too deep recursion, causing stack overflow and unable to return, and can also avoid the queue space explosion problem that BFS may cause. However, it also introduces new problems, that is, some invalid searches may be added, because each time the search depth is increased, the search continues from the root node, causing the previous level to be re-searched. As the number of levels increases, the time complexity increases, which may also cause search timeouts.
[0082] In summary, the present invention needs to inherit the advantages of the above algorithms while avoiding their disadvantages, and select a suitable method to perform targeted pruning to avoid some repetitive and invalid searches.
[0083] As attached Figure 5 As shown in the figure, Pruning Iteration Deepening Search (PIDS) is a search algorithm that combines IDS and pruning strategies. Its basic idea is to start with a depth limit of 1 and first perform a depth-first search with a limited depth (such as a depth of 3). If the target (valve) is not found within this depth limit, the depth limit is increased (such as the depth is increased from 3 to 6), the searched nodes are pruned, and the search is performed again based on the lowest depth node of the last search, and this is repeated until all targets are found or a preset maximum depth is reached.
[0084] Compared with the IDS algorithm, this algorithm adds a pruning mechanism. The specific advantages are:
[0085] ① When a branch is analyzed to the target, the leaf node of this branch will be pruned, and subsequent deep searches will avoid this branch.
[0086] ② When the default depth limit is not enough to search all targets, increase the depth limit and search again instead of starting from the root node. Instead, cut off the searched nodes and use the deepest node of the last search as the new starting point for the next search.
[0087] ③ By limiting the depth and pruning mechanism, the space and time complexity is reduced, the search timeout is avoided, and the search efficiency is improved.
[0088] ④ Depth-limited deepening is not limited to iterative deepening layer by layer, and new depths can be set freely, such as deepening directly from 3 to 6.
[0089] In view of the particularity of the gas pipeline network, it was found in the actual valve closing analysis. When a section is randomly selected in the gas pipeline network structure for pipe burst valve closing analysis, the main pipeline search tree is usually deep (depth unknown), but because the valves in the gas pipeline network are relatively dense, the target valve can be found at the shallow nodes in most cases; for a small number of pipelines that need to be found at deep nodes to find the target valve, the pruning strategy reduces the breadth of branches and leaves, avoiding a lot of invalid searches; therefore, the PIDS algorithm has a great advantage in pipeline network analysis, and can quickly find the target at a small search depth in a small search space. When the search space is large, it can avoid excessive searches by gradually increasing the search depth and pruning optimization strategies, which can make more efficient use of resources in time and space.
[0090] As attached Figure 5 As shown in the figure, the process of pipe burst analysis using the PIDS algorithm includes:
[0091] The pipeline at the burst point or the pipeline connected to the pipe point is defined as level 1, the pipeline directly connected to it is level 2, the pipeline indirectly connected through level 2 is level 3, and so on;
[0092] Based on the PIDS algorithm, the gas network topology is analyzed to obtain each level of pipelines that have been analyzed. Then, according to the pipe point information bound to the pipelines in the gas network topology, the list of valves that need to be closed and the associated pipelines are found for reference by the staff.
[0093] In addition, if there are valves that cannot be closed in the list of valves that need to be closed, a secondary valve closing analysis is performed, that is, based on the one or more non-closable valves that have been analyzed, one or more upper-level valves are obtained through the PIDS algorithm to output a secondary valve closing list.
[0094] As attached Fig.11 As shown, the present invention adopts the PIDS algorithm strategy to perform valve closing analysis on the pipe network, analyzes one or more upper-level valves, and finally determines which valves need to be closed to block the continuous supply of gas at the burst point.
[0095] Considering that the main pipeline itself has a certain gas holding capacity, the gas stored in the pipeline cannot be ignored. At the same time, when some branch valves are closed, for the safety of the equipment, the inlet and outlet valves of the lower-level pressure regulating equipment need to be closed. Therefore, after the upper-level valves are closed, it is also necessary to analyze the lower-level pipeline network at the burst point to find out the nearest lower-level valves that can be closed but have not been closed. That is, the method of cutting off the head and tail is adopted to block the gas supply interval as much as possible, thereby reducing the volume of gas leakage and maintaining public safety.
[0096] The valve closing list is provided to the gas supply stoppage operator. If there are damaged or unclosable valves in the list, the technical solution also supports secondary valve closing analysis, that is, based on the one or more unclosable valves analyzed, one or more upper-level valves are further analyzed, and finally a secondary valve closing list is presented. The analysis results refer to the attached Figure 8 , Attachment Fig. 9 .
[0097] After a pipe burst occurs, the present invention realizes rapid response analysis based on the constructed gas network topology and monitoring data, and has the characteristics of high accuracy, strong adaptability, and diverse analysis methods and uses, thereby assisting staff to make decisions and perform valve closing operations as quickly as possible.
[0098] This invention has been applied in actual smart gas projects, and has realized real-time data processing, real-time early warning analysis and alarm prompts with the help of scripts and scheduling tasks. By establishing an event library and monitoring historical data, relying on machine learning and PIDS analysis technology, the accuracy and efficiency of pipe burst detection and response have been further improved; the main advantages are as follows:
[0099] (1) Fast response: It can respond and determine the burst point in a short time, and conduct source tracing and valve closing analysis, thereby assisting the competent department to make decisions and execute valve closing operations as quickly as possible, reducing the time and risk of gas leakage.
[0100] (2) High accuracy: By comprehensively applying a variety of technologies and models, the accuracy of the burst location, valve closing plan, and impact range is improved, thereby minimizing the number of affected pipe sections and equipment and the number of valves that need to be closed.
[0101] (3) Strong adaptability: It can adapt to the analysis needs of gas pipeline networks of different scales and complexities, such as multiple gas supply sources, ring pipeline networks, and redundant pipeline networks.
[0102] (4) Various analysis methods and uses: Analysis can be started based on pipe sections, valves or other nodes. It can be used for actual combat and drill analysis of pipe burst valve closing, and can be used for daily valve closing control relationship judgment.
[0103] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0104] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A rapid tracing and valve closing method for a burst pipe in a gas pipeline network, characterized in that: include: Collect network vector data and equipment operation data on the gas network; network vector data includes bound pipeline data and pipe point data; equipment operation data includes the name of the monitoring equipment matched with the pipeline and its monitoring data, and the monitoring data includes pressure data, flow data, and temperature data; The pipeline network vector data and equipment operation data are stored in the database based on PostgreSQL and PostGIS to obtain the spatial database of the gas pipeline network; Constructing a gas pipeline network topology for the spatial database of the gas pipeline network, wherein the gas pipeline network topology includes a basic unidirectional topology and a bidirectional topology based on a ring pipe, and binding pipe points on the pipeline; The pipe burst alarm information is combined with the alarm information fed back on the gas network topology for comprehensive judgment, the pipe burst point is determined, the pipe burst analysis is performed based on the PIDS algorithm for the pipe burst point, and the valve closing list and related pipelines are output to facilitate the staff to quickly trace the source and close the valves.
2. A rapid tracing and valve closing method for a burst pipe in a gas pipeline network according to claim 1, characterized in that: The pipe point data is the node data on the gas pipeline network. The pipe point is the starting point and end point of the pipeline, including equipment and facility points, connection points, and monitoring points that match the pipeline; the pipe point data includes pipe point spatial data and pipe point attribute data. The pipe point spatial data includes the spatial coordinates of the pipe point, and the pipe point attribute data includes the pipe point name, number, pipe point type, etc.; the pipeline data is the pipeline section data between adjacent pipe points, including pipeline spatial data and pipeline attribute data. The pipeline spatial data includes the spatial coordinates of the pipeline, and the pipeline attribute data includes the pipeline name, pressure type, pipe diameter, elevation, burial depth, material, flow direction, and maximum pressure bearing.
3. A rapid tracing and valve closing method for a burst pipe in a gas pipeline network according to claim 1, characterized in that: The basic unidirectional topology is directly constructed according to the spatial database of the gas pipeline network. The construction process of the bidirectional topology based on the ring pipe includes: screening out the bidirectional pipes in the pipeline, adding virtual reverse edges to the bidirectional pipes, and re-constructing the topology of the pipeline vector data containing the reverse edges to form a bidirectional topology based on the ring pipe. The newly added virtual reverse edges generate node identification information that is connected to the unidirectional topology for subsequent pipe burst and valve closing analysis.
4. A rapid tracing and valve closing method for a burst pipe in a gas pipeline network according to claim 1, characterized in that: In the constructed gas network topology, the pipe point information is bound to the pipeline through field settings, and the subsequent pipe burst and valve closing analysis only needs to analyze the pipeline.
5. A rapid tracing and valve closing method for a burst pipe in a gas pipe network according to claim 1, characterized in that: The process of determining the burst point includes: obtaining the burst point based on the text description information at the time of the initial alarm and combining the abnormal alarm points monitored by the pressure and flow sensors in the gas pipe network topology.
6. A rapid tracing and valve closing method for a burst pipe in a gas pipe network according to claim 1, characterized in that: The process of pipe burst analysis using the PIDS algorithm includes: In the gas network topology, the pipeline at the burst point or the pipeline connected to the pipe point is defined as level 1, the pipeline directly connected to it is level 2, the pipeline indirectly connected through level 2 is level 3, and so on; Based on the PIDS algorithm, the gas pipeline network topology is analyzed to obtain each level of pipelines that have been analyzed. Then, according to the pipe point information bound to the pipelines in the gas pipeline network topology, the list of valves that need to be closed and the associated pipelines are found for reference by the staff.
7. A rapid tracing and valve closing method for a burst pipe in a gas pipe network according to claim 6, characterized in that: If there are valves that cannot be closed in the list of valves that need to be closed, a secondary valve closing analysis is performed, that is, based on the one or more non-closable valves that have been analyzed, one or more upper-level valves are obtained through the PIDS algorithm to output a secondary valve closing list.