A method for automatic diagnosis and repair of pipe network data for rainwater pipe network modeling

CN122595070APending Publication Date: 2026-08-18BEIJING NORMAL UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202610491302.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-14
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0007]上述现有技术均不能快速有效地鉴别排水管网资料的合理性与可靠性,完成基础二维管网数据的预处理,以能够便捷地应用于排水管网机理模型构建中

Benefits of technology

[0068]1.本发明所述面向雨水管网建模的管网数据自动诊断与修复方法,通过将排水管网的有向拓扑结构与节点高程、管段管底高程及偏置参数进行联合分析,能够同时识别孤立节点、不可达节点、有向环结构及反坡管段等多类异常,避免了现有技术中仅基于图论关系或仅基于几何规则进行诊断所导致的误判或遗漏问题,从而提高了管网数据在结构与工程水力层面的整体一致性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122595070A_ABST
    Figure CN122595070A_ABST
Patent Text Reader

Abstract

The application provides a pipe network data automatic diagnosis and repair method for rainwater pipe network modeling, which comprises the following steps: step 1, basic data acquisition and node construction; step 2, pipe network cutting and data cleaning; step 3, inspection well depth abnormality diagnosis and automatic repair; step 4, pipe diameter mutation diagnosis and automatic repair; and step 5, automatic repair is implemented on the pipe section with a pipe diameter change exceeding a preset proportion threshold, and the like. The superior technical effect of the application is that, by jointly analyzing the directed topological structure of the drainage pipe network and the node elevation, the pipe section pipe bottom elevation and the bias parameter, multiple types of abnormalities such as isolated nodes, unreachable nodes, directed ring structures and reverse slope pipe sections can be identified at the same time, the misjudgment or omission problem caused by the diagnosis based on only the graph theory relationship or only the geometric rules in the prior art is avoided, and thus the overall consistency of the pipe network data in the structure and engineering hydraulic level is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of pipeline data processing technology, and more specifically to an automatic diagnosis and repair method for pipeline data for rainwater pipeline modeling. Background Technology

[0002] Urban stormwater drainage networks are concealed underground engineering projects in cities, responsible for the timely drainage of rainwater falling into and flowing through urban areas. They hold significant research value in addressing urban flooding problems. Drainage network mechanism models are crucial tools for studying urban flooding, and manually surveyed drainage network data is the core input condition for these models. Accurate two-dimensional pipeline data should satisfy both the spatial and attribute topological relationships of the network. The construction of the three-dimensional model is based on data stored in the two-dimensional pipeline data attributes, such as starting point elevation, pipe diameter, and starting point coordinates. To ensure a correct, reasonable, and highly realistic three-dimensional model, the two-dimensional pipeline data must first be processed.

[0003] In existing technologies, most drainage network data processing methods only address single issues (such as geometric modeling, data cleaning, or manual verification), lacking joint analysis of topology and hydraulic constraints, making it difficult to complete systematic repairs without introducing new errors. How to quickly and effectively identify the rationality and reliability of drainage network data, complete the preprocessing of basic two-dimensional network data, and conveniently apply it to the construction of drainage network mechanism models has become one of the urgent problems to be solved in this field.

[0004] Among the published patent applications, Chinese Invention Patent Application No. 202410697505.1 discloses a method and system for updating drainage pipe network data. The method includes: acquiring field data of the survey area and generating new database pipe network data; finding main pipelines and main pipeline points from the new database pipe network data; filtering out connection points from the main pipeline points; extracting the pipeline type and Y-axis coordinate value of all connection points; for each pipeline type, taking the connection point with the largest Y-axis coordinate value as the starting point of the connection path and the remaining connection points as the ending point of the connection path; creating a road network table; obtaining the spatial vector of the shortest path in the road network table based on the starting point and ending point of the connection path; obtaining intersecting main pipelines based on the spatial vector in the original pipe network database and the spatial vector of the shortest path in the road network table, and obtaining intersecting main pipeline points based on the intersecting main pipelines; and finding the pipeline and pipeline point data that need to be updated in the original pipe network database based on the intersecting main pipeline points and updating the data accordingly.

[0005] For example, Chinese invention patent application No. 202410073514.3 discloses a high-performance online editing method for pipeline network data: including (1) converting existing pipeline network data into vector slices, encapsulating them into vector slice services, and performing layered and block processing; (2) importing the collected pipeline network data into a newly created task and integrating the imported pipeline network data; (3) after opening the task to be edited, rendering the existing pipeline network data and the pipeline network data in the task in sequence, and editing the pipeline network data in the task; if it is necessary to edit the existing pipeline network data, data extraction, data locking and data editing are performed in sequence; (4) performing data checks and audits to determine whether the edited data is incorrect. If so, step (3) is executed again until the audit is passed; if there is no error, the audit is passed and the next step is entered; (5) merging and updating the pipeline network data in the task that has been audited without error with the existing pipeline network data. After the update is completed, the data locked during extraction is unlocked and the process ends.

[0006] For example, Chinese invention patent application number 202411004649.0 discloses a method for monitoring underground pipeline network data based on urban lifelines, including: S1, acquiring historical pipeline network data; S2, labeling the historical pipeline network data with data tags respectively; S3, constructing abnormal / fault data curves based on historical data; S4, associating abnormal / fault data curves with processing solutions; S5, inputting the labeled historical pipeline network data into a deep learning model for training a classification task; S6, acquiring real-time pipeline network data; S7, inputting the real-time pipeline network data into a comprehensive deep learning model to obtain the labels of the real-time data, constructing data curves for the real-time data, and comparing the abnormal data curves or fault data curves stored in the database based on the data tags of the real-time data. If the curves match the predicted values, outputting abnormal or fault warning information and pushing processing solutions associated with the abnormal data curves or fault data curves.

[0007] None of the aforementioned existing technologies can quickly and effectively identify the rationality and reliability of drainage network data, or complete the preprocessing of basic two-dimensional network data so that it can be conveniently applied to the construction of drainage network mechanism models. Summary of the Invention

[0008] To address the problems existing in the prior art, this invention proposes an automatic diagnosis and repair method for rainwater pipe network data based on rainwater pipe network modeling.

[0009] The method for automatic diagnosis and repair of pipe network data for rainwater pipe network modeling is characterized by including:

[0010] Step 1: Acquisition of basic data and construction of nodes;

[0011] Step 2, pipeline cutting and data cleaning;

[0012] Step 3: Check the diagnosis and automatic repair of well depth anomalies;

[0013] Step 4, Diagnosis and Automatic Repair of Pipe Diameter Sudden Changes

[0014] Step 5: Automatic repair is implemented for pipe sections whose diameter changes exceed a preset proportional threshold;

[0015] Step 6: Based on the relationship between pipe segment endpoints, construct the directed topology of the drainage network and perform joint anomaly diagnosis;

[0016] Step 7, Anomaly Repair Based on Engineering Hydraulic Priority;

[0017] Step 8: Generate and manually review candidate reconnections for unreachable subnets;

[0018] Step 9: Data reload and closed-loop repair after manual review;

[0019] Step 10: Finally, output the drainage network data after automatic diagnosis, manual review and closed-loop repair, which can be used for drainage network hydraulic model construction, operation analysis or further application of smart drainage system.

[0020] Furthermore, the basic data acquisition and node construction described in step 1 specifically include:

[0021] First, basic shapefile (SHP) data of the drainage network is obtained. The basic SHP data includes at least: manhole data, outlet data, and pipe segment data. Among them, manhole data and outlet data are used to construct the node dataset of the drainage network. Node data includes at least a unique node identifier, spatial coordinate information, and node elevation information. Pipe segment data includes at least a unique pipe segment identifier, start node identifier, end node identifier, pipe segment geometric parameters, and pipe segment bottom elevation information.

[0022] To maintain consistency with subsequent processing, node identifiers and pipe segment endpoint identifiers are uniformly formatted by converting node identifiers to string types and removing redundant characters.

[0023] Furthermore, step 2, the pipeline network trimming and data cleaning, specifically includes:

[0024] Based on the consistency relationship between node identifiers and pipe segment endpoint identifiers, the node dataset and pipe segment data are pruned and cleaned:

[0025] Delete pipe segments whose endpoint node identifiers do not exist in the node dataset;

[0026] Delete isolated nodes that are not referenced by any pipe segment;

[0027] Ensure the consistency between node datasets and pipe segment data at the topology level;

[0028] By cutting and cleaning the pipeline network, initial drainage network data with a consistent structure is generated, avoiding invalid data from interfering with subsequent diagnosis.

[0029] Furthermore, step 3, the diagnosis and automatic repair of well depth anomalies, specifically includes:

[0030] Based on the initial drainage network data, anomaly diagnosis of manhole depth is performed on manhole nodes. By comparing the statistical characteristics of the manhole depth with the depth of its adjacent manholes, manhole nodes with abnormal depths are identified.

[0031] For detected well depth anomalies, automatic repair is performed according to the following priority rules:

[0032] The statistical average depth of adjacent inspection wells should be used as the preferred method.

[0033] When the statistical average depth of adjacent inspection wells is not applicable, the well depth calculated based on the spatial geometric relationship of the nodes shall be used.

[0034] When the automatic repair method using priority rules is not applicable, the default well depth value preset based on experience or historical data shall be used.

[0035] By performing automatic repair according to priority rules, the bottom elevation of abnormal nodes is reasonably corrected without changing the bottom elevation of the pipe section.

[0036] Furthermore, step 4, the diagnosis and automatic repair of sudden pipe diameter changes, specifically includes:

[0037] After the well depth repair is completed, the geometric consistency diagnosis of adjacent pipe segments is performed on the pipe segment data. By calculating the equivalent diameter of each pipe segment, the pipe diameter change ratio between adjacent pipe segments is analyzed to identify pipe segments with strong contraction or strong expansion.

[0038] Furthermore, step 5, which involves automatically repairing pipe sections whose diameter changes exceed a preset threshold ratio, specifically includes:

[0039] Local adjustments based on proportional constraints between upstream and downstream pipe sections;

[0040] Based on the continuity constraint of adjacent pipe segments and the introduction of a regularization term in the optimization model, the pipe diameter is smoothly repaired to improve the continuity of the pipe segment geometric parameters while ensuring the rationality of drainage capacity.

[0041] Furthermore, step 6, which involves constructing the directed topology of the drainage network and performing joint anomaly diagnosis, specifically includes:

[0042] Based on the endpoint relationships of pipe segments, a directed graph model is used to construct the directed topology of the drainage network. The pipe segment direction reflects the drainage flow direction. Based on this, and combining node elevations, pipe bottom elevations, and offset information, a joint topology and elevation diagnosis is performed on the drainage network, including at least one or more of the following anomalies:

[0043] Isolated node;

[0044] Unreachable nodes;

[0045] Directed ring structure;

[0046] Reverse slope pipe section.

[0047] Furthermore, in step 6, the topology of the constructed drainage network is represented using a directed graph model:

[0048] The drainage network is abstracted as a directed graph G=(V,E), where V represents the set of nodes, including manhole nodes and outlet nodes; E represents the set of directed edges, with each directed edge corresponding to a drainage pipe segment.

[0049] The direction of any drainage pipe segment in the directed graph is determined by the relationship between the endpoints of the drainage pipe segment and the elevation constraints, pointing from the starting node to the ending node. When the elevation relationship of the drainage pipe segment does not satisfy the gravity drainage constraint with the current directed direction, the drainage pipe segment is marked as a reverse slope segment and used as a diagnostic object for subsequent topology repair.

[0050] Directed topology can be represented by mathematical models and mapped to spatial coordinates in a geographic information system, and can be graphically displayed through directional pipeline elements and node elements.

[0051] Furthermore, the anomaly repair based on engineering hydraulic priority described in step 7 specifically includes:

[0052] For each identified anomaly type, repair operations are performed according to a preset engineering hydraulic priority order. The preset engineering hydraulic priority includes at least the following:

[0053] Prioritize repairing the reverse slope pipe section to ensure hydraulic rationality;

[0054] Handling inaccessible nodes without introducing new reverse slope pipe sections;

[0055] Eliminate directed loop structures while satisfying elevation constraints;

[0056] When eliminating the directed loop structure, each pipe segment within the loop is compared based on its inlet and outlet elevation relationship and hydraulic rationality after the overturn. The pipe segment with the least impact from elevation adjustment is selected as the candidate pipe segment, and its flow direction is adjusted to eliminate the directed loop.

[0057] Furthermore, step 8, which involves generating and manually verifying unreachable subnet reconnection candidates, specifically includes:

[0058] For unreachable nodes or unreachable subnets, generate reconnection candidate schemes for restoring connectivity, including at least:

[0059] Identifiers of unreachable nodes or unreachable subnets;

[0060] The reachable nodes that are spatially or topologically adjacent to it;

[0061] Suggested candidate connection directions;

[0062] Distance, relative elevation, or topological hierarchy information to assist manual judgment;

[0063] The generated reconnection candidate schemes and anomaly diagnosis results for restoring connectivity are exported in a data format that can be recognized by the geographic information system to form intermediate result data for manual review and structural modification.

[0064] Furthermore, step 9, which involves data reloading and closed-loop repair after manual review, specifically includes:

[0065] After manually reviewing and modifying the intermediate result data, the manually corrected drainage network data is reloaded.

[0066] Based on the loaded node elevation information and pipe segment bottom elevation information, the inlet and outlet offset parameters of the pipe segment are calculated, and the consistency of the offset parameters is verified. At the same time, the topology and elevation joint diagnosis is re-performed. The offset parameters are used to characterize the relative elevation relationship between the bottom of the pipe segment and the bottom of the node well. If the downstream node of the pipe segment is identified as the outlet node, the downstream offset parameter of the pipe segment is fixed to zero, so that the outlet node is used as an unadjustable hydraulic boundary condition in the drainage network; thus realizing the closed-loop repair of drainage network data.

[0067] Compared with existing technologies in this field, the automatic diagnosis and repair method for rainwater pipe network modeling described in this invention has the following significant advantages:

[0068] 1. The automatic diagnosis and repair method for rainwater pipe network modeling described in this invention, by jointly analyzing the directed topology of the drainage pipe network with node elevation, pipe bottom elevation and offset parameters, can simultaneously identify multiple anomalies such as isolated nodes, unreachable nodes, directed loop structures and reverse slope pipe sections. This avoids the misjudgment or omission problems caused by diagnosis based solely on graph theory relationships or geometric rules in the prior art, thereby improving the overall consistency of pipe network data at the structural and engineering hydraulic levels.

[0069] 2. The automatic diagnosis and repair method for rainwater pipe network modeling described in this invention, based on automatic diagnosis and repair, exports anomaly identifiers and reconnection candidate schemes in a data format recognizable by a geographic information system, supports manual review and modification, and re-executes offset calculation and joint topology and elevation diagnosis after review, thereby forming a closed-loop repair process, which not only improves the efficiency of pipe network data preprocessing, but also enhances the controllability and reliability in engineering applications. Attached Figure Description

[0070] Figure 1 This is a flowchart illustrating the automatic diagnosis and repair method for rainwater pipe network modeling described in this invention. Detailed Implementation

[0071] To better understand the above-mentioned objectives, features, and advantages of the present invention, the technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0072] Example

[0073] like Figure 1 As shown, the automatic diagnosis and repair method for rainwater pipe network modeling includes:

[0074] Step 1: Acquisition of basic data and construction of nodes;

[0075] Step 2, pipeline cutting and data cleaning;

[0076] Step 3: Check the diagnosis and automatic repair of well depth anomalies;

[0077] Step 4, Diagnosis and Automatic Repair of Pipe Diameter Sudden Changes

[0078] Step 5: Automatic repair is implemented for pipe sections whose diameter changes exceed a preset proportional threshold;

[0079] Step 6: Based on the relationship between pipe segment endpoints, construct the directed topology of the drainage network and perform joint anomaly diagnosis;

[0080] Step 7, Anomaly Repair Based on Engineering Hydraulic Priority;

[0081] Step 8: Generate and manually review candidate reconnections for unreachable subnets;

[0082] Step 9: Data reload and closed-loop repair after manual review;

[0083] Step 10: Finally, output the drainage network data after automatic diagnosis, manual review and closed-loop repair, which can be used for drainage network hydraulic model construction, operation analysis or further application of smart drainage system.

[0084] In some specific steps of the method described in this invention, step 1, basic data acquisition and node construction, specifically includes:

[0085] First, basic shapefile (SHP) data of the drainage network is obtained. The basic SHP data includes at least: manhole data, outlet data, and pipe segment data. Among them, manhole data and outlet data are used to construct the node dataset of the drainage network. Node data includes at least a unique node identifier, spatial coordinate information, and node elevation information. Pipe segment data includes at least a unique pipe segment identifier, start node identifier, end node identifier, pipe segment geometric parameters, and pipe segment bottom elevation information.

[0086] To maintain consistency with subsequent processing, the node identifiers and pipe segment endpoint identifiers are uniformly formatted by converting the node identifiers into string types and removing redundant characters.

[0087] In some specific steps of the method described in this invention, step 2, the pipeline network trimming and data cleaning, specifically includes:

[0088] Based on the consistency relationship between node identifiers and pipe segment endpoint identifiers, the node dataset and pipe segment data are pruned and cleaned:

[0089] Delete pipe segments whose endpoint node identifiers do not exist in the node dataset;

[0090] Delete isolated nodes that are not referenced by any pipe segment;

[0091] Ensure the consistency between node datasets and pipe segment data at the topology level;

[0092] By cutting and cleaning the pipeline network, initial drainage network data with a consistent structure is generated, avoiding invalid data from interfering with subsequent diagnosis.

[0093] In some specific steps of the method described in this invention, step 3, which involves diagnosing and automatically repairing abnormal well depths, specifically includes:

[0094] Based on the initial drainage network data, anomaly diagnosis of manhole depth is performed on manhole nodes. By comparing the statistical characteristics of the manhole depth with the depth of its adjacent manholes, manhole nodes with abnormal depths are identified.

[0095] For detected well depth anomalies, automatic repair is performed according to the following priority rules:

[0096] The statistical average depth of adjacent inspection wells should be used as the preferred method.

[0097] When the statistical average depth of adjacent inspection wells is not applicable, the well depth calculated based on the spatial geometric relationship of the nodes shall be used.

[0098] When the automatic repair method using priority rules is not applicable, the default well depth value preset based on experience or historical data shall be used.

[0099] By performing automatic repair according to priority rules, the bottom elevation of abnormal nodes is reasonably corrected without changing the bottom elevation of the pipe section.

[0100] In some specific steps of the method described in this invention, step 4, the diagnosis and automatic repair of sudden pipe diameter changes, specifically includes:

[0101] After the well depth repair is completed, the geometric consistency diagnosis of adjacent pipe segments is performed on the pipe segment data. By calculating the equivalent diameter of each pipe segment, the pipe diameter change ratio between adjacent pipe segments is analyzed to identify pipe segments with strong contraction or strong expansion.

[0102] In some specific steps of the method described in this invention, step 5, which involves automatically repairing pipe sections whose diameter changes exceed a preset proportional threshold, specifically includes:

[0103] Local adjustments based on proportional constraints between upstream and downstream pipe sections;

[0104] Based on the continuity constraint of adjacent pipe segments and the introduction of a regularization term in the optimization model, the pipe diameter is smoothly repaired to improve the continuity of the pipe segment geometric parameters while ensuring the rationality of drainage capacity.

[0105] In some specific steps of the method described in this invention, step 6, which involves constructing the directed topology of the drainage network and performing joint anomaly diagnosis, includes the following specific steps:

[0106] Based on the endpoint relationships of pipe segments, a directed graph model is used to construct the directed topology of the drainage network. The pipe segment direction reflects the drainage flow direction. Based on this, and combining node elevations, pipe bottom elevations, and offset information, a joint topology and elevation diagnosis is performed on the drainage network, including at least one or more of the following anomalies:

[0107] Isolated node;

[0108] Unreachable nodes;

[0109] Directed ring structure;

[0110] Reverse slope pipe section.

[0111] In some specific steps of the method described in this invention, in step 6, the topology of the drainage pipe network is represented by a directed graph model:

[0112] The drainage network is abstracted as a directed graph G=(V,E), where V represents the set of nodes, including manhole nodes and outlet nodes; E represents the set of directed edges, with each directed edge corresponding to a drainage pipe segment.

[0113] The direction of any drainage pipe segment in the directed graph is determined by the relationship between the endpoints of the drainage pipe segment and the elevation constraints, pointing from the starting node to the ending node. When the elevation relationship of the drainage pipe segment does not satisfy the gravity drainage constraint with the current directed direction, the drainage pipe segment is marked as a reverse slope segment and used as a diagnostic object for subsequent topology repair.

[0114] Directed topology can be represented by mathematical models and mapped to spatial coordinates in a geographic information system, and can be graphically displayed through directional pipeline elements and node elements.

[0115] An isolated node is a node in the directed topology that has neither incoming nor outgoing edges.

[0116] An unreachable node is a node in the directed topology that cannot be reached by any directed path from any outlet node.

[0117] A directed loop structure refers to a directed graph constructed by the drainage pipe network in which there exists at least one closed path composed of directed edges, such that the starting node and the ending node of the path are the same node.

[0118] A reverse slope pipe section refers to a pipe section in which the bottom elevation at the starting point is lower than or equal to the bottom elevation at the ending point, and violates the gravity drainage direction constraint.

[0119] In some specific steps of the method described in this invention, step 7, the anomaly repair based on engineering hydraulic priority, specifically includes:

[0120] For each identified anomaly type, repair operations are performed according to a preset engineering hydraulic priority order. The preset engineering hydraulic priority includes at least the following:

[0121] Prioritize repairing the reverse slope pipe section to ensure hydraulic rationality;

[0122] Handling inaccessible nodes without introducing new reverse slope pipe sections;

[0123] Eliminate directed loop structures while satisfying elevation constraints;

[0124] When eliminating the directed loop structure, each pipe segment within the loop is compared based on its inlet and outlet elevation relationship and hydraulic rationality after the overturn. The pipe segment with the least impact from elevation adjustment is selected as the candidate pipe segment, and its flow direction is adjusted to eliminate the directed loop.

[0125] In some specific steps of the method described in this invention, step 8, which involves generating and manually verifying unreachable subnet reconnection candidates, specifically includes:

[0126] For unreachable nodes or unreachable subnets, generate reconnection candidate schemes for restoring connectivity, including at least:

[0127] Identifiers of unreachable nodes or unreachable subnets;

[0128] The reachable nodes that are spatially or topologically adjacent to it;

[0129] Suggested candidate connection directions;

[0130] Distance, relative elevation, or topological hierarchy information to assist manual judgment;

[0131] The generated reconnection candidate schemes and anomaly diagnosis results for restoring connectivity are exported in a data format that can be recognized by the geographic information system to form intermediate result data for manual review and structural modification.

[0132] In some specific steps of the method described in this invention, step 9, which involves data reloading and closed-loop repair after manual review, specifically includes:

[0133] After manually reviewing and modifying the intermediate result data, the manually corrected drainage network data is reloaded.

[0134] Based on the loaded node elevation information and pipe segment bottom elevation information, the inlet and outlet offset parameters of the pipe segment are calculated (the inlet offset parameter is the vertical difference between the bottom elevation of the pipe segment at the inlet end and the bottom elevation of the well of the node it is connected to; the outlet offset parameter is the vertical difference between the bottom elevation of the pipe segment at the outlet end and the bottom elevation of the well of the node it is connected to). The offset parameters are then checked for consistency, and a new topology and elevation joint diagnosis is performed. The offset parameters are used to characterize the relative elevation relationship between the bottom of the pipe segment and the bottom of the node well. If the downstream node of the pipe segment is identified as the outlet node, the downstream offset parameter of the pipe segment is fixed to zero, so that the outlet node is used as an unadjustable hydraulic boundary condition in the drainage network; thus achieving closed-loop repair of the drainage network data.

[0135] The embodiments disclosed above are merely preferred examples of the present invention and should not be construed as limiting the scope of protection of the claims. Therefore, various changes and improvements made in accordance with the present invention without departing from the concept and scope of the present invention still fall within the scope of the present invention.

Claims

1. A method for automatic diagnosis and repair of pipe network data for rainwater pipe network modeling, characterized in that, include: Step 1: Acquisition of basic data and construction of nodes; Step 2, pipeline cutting and data cleaning; Step 3: Check the diagnosis and automatic repair of well depth anomalies; Step 4: Diagnosis and automatic repair of sudden pipe diameter changes; Step 5: Automatic repair is implemented for pipe sections whose diameter changes exceed a preset proportional threshold; Step 6: Based on the relationship between pipe segment endpoints, construct the directed topology of the drainage network and perform joint anomaly diagnosis; Step 7, Anomaly Repair Based on Engineering Hydraulic Priority; Step 8: Generate and manually review candidate reconnections for unreachable subnets; Step 9: Data reload and closed-loop repair after manual review; Step 10: Finally, output the drainage network data after automatic diagnosis, manual review and closed-loop repair, which can be used for drainage network hydraulic model construction, operation analysis or further application of smart drainage system.

2. The automatic diagnosis and repair method for rainwater pipe network modeling according to claim 1, wherein step 1, basic data acquisition and node construction, specifically includes: Obtain basic shapefile (SHP) data for the drainage network. The basic SHP data includes at least: manhole data, outlet data, and pipe segment data. Among them, manhole data and outlet data are used to construct the node dataset of the drainage network. Node data includes at least a unique node identifier, spatial coordinate information, and node elevation information. Pipe segment data includes at least a unique pipe segment identifier, start node identifier, end node identifier, pipe segment geometric parameters, and pipe segment bottom elevation information. To maintain consistency with subsequent processing, the node identifiers and pipe segment endpoint identifiers are uniformly formatted by converting the node identifiers into string types and removing redundant characters.

3. The automatic diagnosis and repair method for pipeline data in rainwater pipeline network modeling according to claim 1, wherein step 2, pipeline network trimming and data cleaning, specifically includes: Based on the consistency relationship between node identifiers and pipe segment endpoint identifiers, the node dataset and pipe segment data are pruned and cleaned: Delete pipe segments whose endpoint node identifiers do not exist in the node dataset; Delete isolated nodes that are not referenced by any pipe segment; Ensure the consistency between node datasets and pipe segment data at the topology level; By cutting and cleaning the pipeline network, initial drainage network data with a consistent structure is generated, avoiding invalid data from interfering with subsequent diagnosis.

4. The automatic diagnosis and repair method for rainwater pipe network modeling according to claim 1, wherein step 3, the abnormal well depth diagnosis and automatic repair of the inspection well, specifically includes: Based on the initial drainage network data, anomaly diagnosis of manhole depth is performed on manhole nodes. By comparing the statistical characteristics of the manhole depth with the depth of its adjacent manholes, manhole nodes with abnormal depths are identified. For detected well depth anomalies, automatic repair is performed according to the following priority rules: The statistical average depth of adjacent inspection wells should be used as the preferred method. When the statistical average depth of adjacent inspection wells is not applicable, the well depth calculated based on the spatial geometric relationship of the nodes shall be used. When the automatic repair method using priority rules is not applicable, the default well depth value preset based on experience or historical data shall be used. By performing automatic repair according to priority rules, the bottom elevation of abnormal nodes is reasonably corrected without changing the bottom elevation of the pipe section.

5. The automatic diagnosis and repair method for pipe network data based on rainwater pipe network modeling according to claim 1, wherein step 4, the diagnosis and automatic repair of sudden pipe diameter changes, specifically includes: After the well depth repair is completed, the geometric consistency diagnosis of adjacent pipe segments is performed on the pipe segment data. By calculating the equivalent diameter of each pipe segment, the pipe diameter change ratio between adjacent pipe segments is analyzed to identify pipe segments with strong contraction or strong expansion.

6. The automatic diagnosis and repair method for pipe network data based on rainwater pipe network modeling as described in claim 1, wherein step 5, which involves automatically repairing pipe sections whose diameter changes exceed a preset proportional threshold, specifically includes: Local adjustments based on proportional constraints between upstream and downstream pipe sections; Based on the continuity constraint of adjacent pipe segments and the introduction of a regularization term in the optimization model, the pipe diameter is smoothly repaired to improve the continuity of the pipe segment geometric parameters while ensuring the rationality of drainage capacity.

7. The automatic diagnosis and repair method for pipe network data based on stormwater pipe network modeling as described in claim 1, wherein step 6, based on the pipe segment endpoint relationship, constructs the directed topology structure and joint anomaly diagnosis of the drainage pipe network, includes the following specific steps: Based on the relationships between pipe segment endpoints, a directed graph model is used to construct the directed topology of the drainage pipe network, where, The pipe segment direction is used to reflect the drainage flow direction. Based on this, combined with node elevation, pipe segment bottom elevation, and offset information, a joint topology and elevation diagnosis is performed on the drainage network, including at least one or more of the following anomalies: Isolated node; Unreachable nodes; Directed ring structure; Reverse slope pipe section.

8. The automatic diagnosis and repair method for drainage network data based on stormwater network modeling as described in claim 7, wherein the method of constructing the topology of the drainage network using a directed graph model specifically includes: The drainage network is abstracted as a directed graph G=(V,E), where V represents the set of nodes, including manhole nodes and outlet nodes; E represents the set of directed edges, with each directed edge corresponding to a drainage pipe segment. The direction of any drainage pipe segment in the directed graph is determined by the relationship between the endpoints of the drainage pipe segment and the elevation constraints, pointing from the starting node to the ending node. When the elevation relationship of the drainage pipe segment does not satisfy the gravity drainage constraint with the current directed direction, the drainage pipe segment is marked as a reverse slope segment and used as a diagnostic object for subsequent topology repair. Directed topology can be represented by mathematical models and mapped to spatial coordinates in a geographic information system, and can be graphically displayed through directional pipeline elements and node elements.

9. The automatic diagnosis and repair method for rainwater pipe network modeling according to claim 1, wherein step 7, the anomaly repair based on engineering hydraulic priority, specifically includes: For each identified anomaly type, repair operations are performed according to a preset engineering hydraulic priority order. The preset engineering hydraulic priority includes at least the following: Prioritize repairing the reverse slope pipe section to ensure hydraulic rationality; Handling inaccessible nodes without introducing new reverse slope pipe sections; Eliminate directed loop structures while satisfying elevation constraints; When eliminating the directed loop structure, each pipe segment within the loop is compared based on its inlet and outlet elevation relationship and hydraulic rationality after the overturn. The pipe segment with the least impact from elevation adjustment is selected as the candidate pipe segment, and its flow direction is adjusted to eliminate the directed loop.

10. The automatic diagnosis and repair method for rainwater pipe network modeling according to claim 1, wherein step 8, generating and manually verifying the unreachable subnet reconnection candidate, specifically includes: For unreachable nodes or unreachable subnets, generate reconnection candidate schemes for restoring connectivity, including at least: Identifiers of unreachable nodes or unreachable subnets; The reachable nodes that are spatially or topologically adjacent to it; Suggested candidate connection directions; Distance, relative elevation, or topological hierarchy information to assist manual judgment; The generated reconnection candidate schemes and anomaly diagnosis results for restoring connectivity will be exported in a data format that can be recognized by the geographic information system to form intermediate result data for manual review and structural modification. After manually reviewing and modifying the intermediate result data, the manually corrected drainage network data is reloaded. Based on the loaded node elevation information and pipe segment bottom elevation information, the inlet and outlet offset parameters of the pipe segment are calculated, and the consistency of the offset parameters is verified. At the same time, the topology and elevation joint diagnosis is re-performed. The offset parameters are used to characterize the relative elevation relationship between the bottom of the pipe segment and the bottom of the node well. If the downstream node of the pipe segment is identified as the outlet node, the downstream offset parameter of the pipe segment is fixed to zero, so that the outlet node is used as an unadjustable hydraulic boundary condition in the drainage network; thus realizing the closed-loop repair of drainage network data.

Citation Information

Patent Citations

  • A high-performance online editing method and system for pipe network data

    CN117591519B

  • Method and system for updating drainage pipe network data

    CN118260312A

  • A method for monitoring urban lifeline underground pipe network data

    CN118981721B