CN-122020928-A - Automatic detection and annotation correction method for pipeline network conflict
Abstract
The application relates to the technical field of data processing and discloses a method for automatically detecting and marking and correcting conflict of a pipeline network. And constructing a topology enhancement pipeline network diagram, and simultaneously, constructing a standard rule base and a labeling consistency constraint base. And calculating the distance relation and attribute relation between the nodes, and identifying the target conflict record. And generating a pipeline simulation model to simulate the local pipeline network, and comparing the pipeline simulation model with the performance index to obtain a simulation abnormal region. And checking the labeling attribute to generate a labeling abnormal record. And taking the conflict between the annotation modification and the residual target as an optimization target to obtain the annotation correction scheme. And updating the labeling attributes in the data model and the network diagram according to the labeling correction scheme. The method reduces the marking modification quantity, reduces residual conflict and performance abnormality, and improves the consistency and accuracy of the pipeline network design data.
Inventors
- DAI FAN
- Liang Kongzheng
- WANG QIANG
- PAN XIANLI
- SHU GUOXU
- LI ZHIYONG
- LUO QINGYING
Assignees
- 北京安元云枢科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260204
Claims (10)
- 1. The automatic detection and annotation correction method for the pipeline network conflict is characterized by comprising the following steps of: collecting pipeline data, identifying pipeline components and environment components according to the pipeline data, and establishing a pipeline network unified data model; Constructing a topology enhanced pipeline network diagram taking the pipeline components and the environment components as nodes and the communication relation and the adjacent relation as edges according to the pipeline network unified data model, and simultaneously establishing a standard rule base and a labeling consistency constraint base; calculating a distance relation and an attribute relation between nodes based on the topology enhanced pipeline network diagram, and identifying a target conflict record according to the standard rule base; According to the labeling consistency constraint library and the simulation abnormal region, verifying the labeling attribute of the pipeline component, and generating a labeling abnormal record when the labeling attribute simultaneously causes the labeling consistency constraint not to meet and the simulation result deviates from the target working condition; Aiming at each labeling abnormal record, setting the labeling attribute corresponding to the labeling abnormal record as a variable to be optimized, converting the standard rule base and the labeling consistency constraint base into constraint conditions so as to reduce labeling modification and residual target conflict as optimization targets, and obtaining a labeling correction scheme through a multi-target optimization algorithm; And updating the labeling attribute in the unified data model of the pipeline network and the topology enhancement pipeline network graph according to the labeling correction scheme.
- 2. The method for automatically detecting and correcting collision of a pipeline network according to claim 1, wherein collecting pipeline data, identifying pipeline components and environmental components according to the pipeline data, and establishing a unified data model of the pipeline network comprises: Based on drawings and measurement data acquisition, graphic elements and measurement points of pipelines are represented, spatial coordinate unification and unit unification are carried out on data from different sources, components with fluid conveying functions are identified as pipeline components, building beams, plates, walls, columns, foundations and equipment supporting components are identified as environment components, association relations between the pipeline components and the environment components are established based on communication relations, attachment relations and crossing relations among the graphic elements, and geometric information, labeling attributes, system information and association relations of the pipeline components are stored into a pipeline network unified data model according to a unified data structure.
- 3. The method for automatically detecting and marking and correcting the conflict of the pipeline network according to claim 1, wherein when constructing a topology enhancement pipeline network diagram according to the unified data model of the pipeline network and simultaneously constructing a standard rule base and a marking consistency constraint base, the method comprises the steps of mapping each pipeline component and each environment component in the unified data model of the pipeline network into nodes respectively, mapping a connection relation representing medium circulation into a connected edge, and mapping a relation representing a crossing relation, an attachment relation or a distance smaller than a preset proximity threshold into a proximity edge; And when the topology enhancement pipeline network diagram is established, the space requirements, the flow requirements and the pressure requirements aiming at different system types, medium types and temperature grades in the design specification are arranged as rule entries in a rule base, and the allowable value combination relation among pipe diameters, elevation and mediums is arranged as constraint entries in a label consistency constraint base.
- 4. The method for automatically detecting and correcting a collision of a pipeline network according to claim 3, wherein when calculating a distance relation and an attribute relation between nodes based on the topology enhanced pipeline network graph and identifying a target collision record according to the rule base, the method comprises: Dividing the topology enhancement pipeline network diagram into a plurality of detection areas, and combining nodes which are positioned in the same detection area or adjacent detection areas and are connected through communication edges or adjacent edges into candidate node pairs; And for each candidate node pair, calculating a minimum clear distance according to the geometric boundary of the corresponding pipeline component or environment component, determining a relative position relation, simultaneously reading the corresponding system type, medium type, temperature grade and pressure grade of the candidate node pair, retrieving a spacing requirement and a contact prohibition condition from the standard rule base, and recording the candidate node pair as a target conflict record when the minimum clear distance is smaller than the spacing requirement or the relative position relation violates the contact prohibition condition, and marking the conflict type and the conflict severity degree in the target conflict record.
- 5. The method for automatically detecting and correcting pipeline network conflicts according to claim 1, wherein the generating the pipeline simulation model according to the unified data model of the pipeline network comprises: According to the communication relation between the pipeline component and the environment component, determining simulation nodes and simulation pipe sections, taking pipe diameter, length, inner wall characteristics, elevation and medium properties of each simulation pipe section as simulation parameters, extracting corresponding design working conditions, inlet boundary conditions and outlet boundary conditions from the standard rule base according to the system type of the pipeline component, and combining the simulation nodes, the simulation pipe sections and the boundary conditions to form the pipeline simulation model.
- 6. The method for automatically detecting and correcting the collision of the pipeline network according to claim 5, wherein comparing the simulation result with the performance index in the standard rule base to obtain the simulated abnormal region comprises: And selecting adjacent simulation nodes and adjacent simulation pipe sections in a preset range along the communication relation by taking the node corresponding to each target conflict record as a center to form a local simulation sub-network, calculating flow distribution, pressure drop distribution or temperature distribution of the local simulation sub-network in the pipeline simulation model, inquiring the flow velocity range, the pressure drop range and the temperature range corresponding to the local simulation sub-network from the standard rule library, comparing simulation results with the range in the standard rule library section by section, and dividing the corresponding simulation nodes and simulation pipe sections into simulation abnormal areas when the simulation results exceed any range.
- 7. The method for automatically detecting and correcting a pipeline network conflict according to claim 6, wherein when verifying the labeling attribute of the pipeline member and generating a labeling exception record according to the labeling consistency constraint library and the simulated exception area, the method comprises: selecting labeling attributes of pipeline components in the simulation abnormal region according to each simulation abnormal region, wherein the labeling attributes comprise pipe diameter labeling, elevation labeling, medium type labeling and pressure grade labeling, checking the value relation between adjacent pipeline components and the matching relation with the affiliated system type of the labeling attributes according to the labeling consistency constraint library, and recording the labeling attributes and the corresponding pipeline components as labeling abnormal records and storing the labeling abnormal records and performance indexes causing simulation abnormality in a correlation manner when the checking result does not meet the labeling consistency constraint library and the pipeline components with the corresponding labeling attributes are located in the simulation abnormal region.
- 8. The method for automatically detecting and correcting a conflict in a pipeline network according to claim 7, wherein for each of the labeling exception records, setting a labeling attribute corresponding to the labeling exception record as a variable to be optimized, and converting the rule base and the constraint base of labeling consistency into constraint conditions comprises: And selecting pipeline components which are positioned in the simulation abnormal region and are directly connected with the pipeline components in the topology enhancement pipeline network diagram along a communication relation and an adjacent relation from the pipeline components corresponding to the marking abnormal record as a pipeline component set to be optimized, setting pipe diameter marks, elevation marks, medium type marks and pressure grade marks in the pipeline component set to be optimized as variables to be optimized, and respectively converting the combination relation of interval requirements, flow requirements and pressure requirements in a standard rule base and allowable value combination relations in a marking consistency constraint base into value range constraint and interrelation constraint acted on the variables to be optimized to form a local optimization constraint set.
- 9. The method for automatically detecting and correcting the conflict of the pipeline network according to claim 8, wherein the method for obtaining the annotation correction scheme by the multi-objective optimization algorithm with the reduced conflict of the annotation correction and the residual objective as the optimization objective comprises the following steps: Generating a plurality of groups of candidate annotation correction schemes according to the local optimization constraint set, respectively counting the number of modified annotation attributes, the offset amplitude of each annotation attribute relative to an original annotation and the number and conflict severity of residual target conflict records in a local range for each candidate annotation correction scheme, overlapping the statistical results into comprehensive evaluation indexes according to preset weights, and selecting the annotation correction scheme which has the highest comprehensive evaluation index and meets all the local optimization constraint sets from the candidate annotation correction schemes based on an iterative search algorithm as a final annotation correction scheme.
- 10. The method for automatically detecting and correcting the pipeline network conflict according to claim 9, wherein when updating the labeling attributes in the unified data model of the pipeline network and the topology enhancement pipeline network graph according to the labeling correction scheme, the method comprises the following steps: Writing the corrected labeling attribute into the unified data model of the pipeline network for each pipeline component to be optimized in the labeling correction scheme, synchronously updating the labeling attribute of the corresponding node in the topology enhancement pipeline network diagram, the simulation parameters and conflict detection parameters determined by the labeling attribute, marking the nodes affected by the labeling correction and adjacent nodes in a preset range as nodes to be recalculated, carrying out simulation and target conflict record identification on the local simulation sub-network where the nodes to be recalculated are located, and storing the labeling attribute before correction, the labeling attribute after correction, the related target conflict record and the corresponding simulation abnormal region into a case library.
Description
Automatic detection and annotation correction method for pipeline network conflict Technical Field The invention relates to the technical field of data processing, in particular to a method for automatically detecting and marking and correcting pipeline network conflicts. Background Along with the wide application of building information modeling and computer simulation technology in building water supply and drainage, heating ventilation and industrial pipeline engineering, the design of a pipeline network depends on a three-dimensional model and a computer-implemented data processing flow so as to improve comprehensive pipeline arrangement efficiency and construction accuracy. In the prior engineering practice, a designer usually establishes a pipeline model in building information modeling software, and collision detection, graph marking and hydraulic or thermal simulation are carried out through a computer program, so that the geometric relationship, construction positioning information and operation performance of a pipeline network can be analyzed and adjusted in the same digital environment. However, in the prior art, geometric conflict detection, construction positioning labeling and pipe network simulation decentralized processing are mostly carried out, and a computer processing flow for linking conflict detection results, simulation performance indexes and labeling attribute correction based on a unified data model is lacked. For example, patent CN115130256a discloses a three-dimensional pipeline optimization method based on hierarchical bounding box collision detection, which can identify pipeline collision and assist in optimizing spatial arrangement in a three-dimensional scene, but does not bring labeling attributes such as pipeline diameter, elevation, media and the like into constraint, and does not automatically correct labels by combining simulation results, patent CN110851956B proposes a construction engineering pipeline construction positioning information automatic calculation, labeling and drawing method, which focuses on quickly generating labeling of pipeline elevation, length and distance from civil engineering members in a construction information modeling environment, but does not check consistency of the labeling attributes with performance indexes such as design specifications, flow pressure drop and the like, and does not automatically eliminate conflicts by multi-objective optimization by taking the labeling attributes as variables. Therefore, it is necessary to design a method for automatically detecting and correcting the collision of the pipeline network to solve the problems in the prior art. Disclosure of Invention In view of the above, the invention provides a method for automatically detecting and marking and correcting a pipeline network conflict, which aims to solve the problems that in the prior art, geometric conflict detection, pipeline simulation and marking check are mutually split, conflict cannot be found at the same time under a unified data model, marking errors are diagnosed and a correction scheme is provided. The invention provides a method for automatically detecting and marking and correcting conflict of a pipeline network, which comprises the following steps: collecting pipeline data, identifying pipeline components and environment components according to the pipeline data, and establishing a pipeline network unified data model; Constructing a topology enhanced pipeline network diagram taking the pipeline components and the environment components as nodes and the communication relation and the adjacent relation as edges according to the pipeline network unified data model, and simultaneously establishing a standard rule base and a labeling consistency constraint base; calculating a distance relation and an attribute relation between nodes based on the topology enhanced pipeline network diagram, and identifying a target conflict record according to the standard rule base; According to the labeling consistency constraint library and the simulation abnormal region, verifying the labeling attribute of the pipeline component, and generating a labeling abnormal record when the labeling attribute simultaneously causes the labeling consistency constraint not to meet and the simulation result deviates from the target working condition; Aiming at each labeling abnormal record, setting the labeling attribute corresponding to the labeling abnormal record as a variable to be optimized, converting the standard rule base and the labeling consistency constraint base into constraint conditions so as to reduce labeling modification and residual target conflict as optimization targets, and obtaining a labeling correction scheme through a multi-target optimization algorithm; And updating the labeling attribute in the unified data model of the pipeline network and the topology enhancement pipeline network graph according to the labeling correction scheme. Further, collecti