A method and device for automatically connecting pipelines in a building information model

By encoding electromechanical equipment and obtaining obstacle information in the BIM model, combined with collision correction methods, automatic connection of electromechanical pipelines is realized, the problem of inefficiency in the existing technology is solved, and the layout quality and efficiency are improved.

CN120337474BActive Publication Date: 2025-08-22HUAZHONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510823216.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-08-22
Estimated Expiration
2045-06-19

AI Technical Summary

Technical Problem

The existing BIM software has inefficient efficiency in the comprehensive arrangement of electromechanical and electromechanical pipelines, making it difficult to efficiently handle electromechanical and electromechanical pipeline optimization, and the optimization effect is highly dependent on the level of technicians.

Method used

Provides a method of automatic pipeline connection in building information model, and realizes automatic connection of electromechanical pipelines through equipment encoding, obstacle information acquisition and collision correction.

Benefits of technology

The intelligent and automation of the comprehensive arrangement of electromechanical pipelines has been realized, the arrangement quality and efficiency have been improved, the operation has been simplified and the calculation complexity has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120337474B_ABST
    Figure CN120337474B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for automatically connecting pipelines in a building information model, which belongs to the field of architectural drawing technology. The method comprises: encoding each device according to the electromechanical system scheme type, system type, installation floor, electromechanical space type, device type, and number of devices to obtain a device code. S2: Traversing the device code to filter out all successfully matched pipelines to be connected, and determining the corresponding preliminary connection strategy based on the classification results of all successfully matched pipelines to be connected. S3: For any two successfully matched pipelines to be connected, obtain the obstacle information on the connection path between the two in the preliminary connection strategy. S4: Determine the target connection strategy based on the preliminary connection strategy and obstacle information of the two successfully matched pipelines to be connected, and then realize the pipeline connection between the two. The present invention can realize the intelligent and automated comprehensive layout of electromechanical pipelines, greatly improving the quality and efficiency of the comprehensive layout of electromechanical pipelines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of architectural drawing, and more particularly, relates to a method and device for automatically connecting pipelines in a building information model. Background Art

[0002] As civil engineering evolves towards intelligent construction, the use of building information models (BIM) is becoming increasingly common. Building Information Modeling (BIM) technology is a digital tool used in engineering design, construction, and management. By integrating digital and information-based building models, and sharing and disseminating them throughout the project planning, operation, and maintenance lifecycle, BIM enables engineering and technical personnel to correctly understand and efficiently respond to various building information. This provides a foundation for collaborative work between design teams and all parties involved in the construction industry, including construction and operation entities. BIM plays a significant role in improving productivity, saving costs, and shortening construction schedules. BIM technology is widely used in the design, construction, and operation and maintenance phases of the construction industry.

[0003] In traditional design processes, each discipline creates information silos, leading to frequent conflicts between disciplines during construction, increasing costs and extending construction timelines. BIM-based electromechanical pipeline integration can detect and resolve conflicts between electromechanical disciplines, plan pipeline routes in advance, and effectively improve construction efficiency.

[0004] However, existing BIM software still has certain limitations when it comes to the integrated layout of electromechanical (EM) pipelines. Specifically, pipeline optimization currently requires manual adjustments based on regulatory requirements. This optimization is highly dependent on the technical expertise and is inefficient, making it difficult to efficiently optimize the integrated layout of MEP pipelines. Summary of the Invention

[0005] In response to the above-mentioned defects or improvement needs of the prior art, the present invention provides a method and device for automatically connecting pipelines in a building information model, which aims to solve the technical problems of repeated matching and inefficient connection in the BIM electromechanical pipeline wiring process.

[0006] To achieve the above object, according to one aspect of the present invention, a method for automatically connecting pipelines in a building information model is provided, comprising:

[0007] S1: Encode each device according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - device type - device quantity to obtain the device code;

[0008] S2: traversing the device code to filter out all successfully matched pipelines to be connected, and determining corresponding preliminary connection strategies according to the classification results of all successfully matched pipelines to be connected;

[0009] S3: For any two successfully matched pipelines to be connected, obtain obstacle information on the connection path between the two in the preliminary connection strategy;

[0010] S4: determining a target connection strategy based on the preliminary connection strategies of the two successfully matched pipelines to be connected and the obstacle information, thereby achieving pipeline connection between the two.

[0011] Furthermore, the S4 includes: if the obstacle information indicates that there is no obstacle on the connection path, taking the preliminary connection strategy as the target connection strategy and performing pipeline connection.

[0012] Furthermore, the S4 includes: if the obstacle information indicates that there is an obstacle on the connection path, adjusting the preliminary connection strategy using a collision correction method to obtain the target connection strategy, and performing pipeline connection.

[0013] Furthermore, the collision correction method is used to adjust the preliminary connection strategy to obtain the target connection strategy, including: determining the offset and the amount of available space by detecting the remaining available space; offset adjusting the pipeline position or connection point in the initial connection strategy according to the offset and the amount of available space to obtain the target connection strategy.

[0014] Furthermore, the collision correction method is used to adjust the preliminary connection strategy to obtain the target connection strategy, including: based on the spatial A* algorithm, the map is regarded as consisting of three-dimensional space grids, and on the basis of the preliminary connection strategy, the optimal path from the starting point to the end point is found in the three-dimensional space grid in combination with the actual cost and heuristic estimation to obtain the target connection strategy.

[0015] Furthermore, the equipment code is in the form of: ajmRTn; wherein a represents the electromechanical system scheme code, j represents the system type code, m represents the installation floor code, R represents the electromechanical space code, T represents the equipment pipeline type code, and n represents the number code of the equipment pipeline; wherein the electromechanical space type includes horizontal space, vertical space and machine room space.

[0016] Furthermore, the S2 includes:

[0017] S21: By identifying graphic elements, traversing all equipment codes, the pipelines that need to be automatically connected are selected, and the pipelines are classified by profession and type;

[0018] S22: Determine the preliminary connection strategies corresponding to all successfully matched pipelines to be connected based on the classification results; the classification results include: the connection between computer room equipment and horizontal pipelines, the connection between pipelines in two intersecting horizontal spaces, the connection between horizontal pipelines and vertical pipelines, and the connection between horizontal pipelines and terminal equipment.

[0019] Furthermore, the S22 includes:

[0020] If the classification result indicates that the equipment in the computer room is connected to a horizontal pipeline, the connection point acquisition algorithm is as follows: using the center line of the horizontal pipeline as a vertical plane, projecting the equipment output port A onto this vertical plane to obtain projection point B, and projecting B onto the center line of the horizontal pipeline to obtain projection point C; the preliminary connection strategy is: A connects to B, and B connects to C;

[0021] If the classification result is the connection of pipelines in two intersecting horizontal spaces, the connection point acquisition algorithm is as follows: the endpoints of the pipelines that are closer to the intersecting space are the connection points, which are set as connection points A and B; the preliminary connection strategy is: extend the pipelines along connection points A and B respectively, with the intersection point being C, A connected to C, and C connected to B;

[0022] If the classification result is a connection between a horizontal pipeline and a vertical pipeline, the connection point acquisition algorithm is as follows: take the center line of the horizontal pipeline as a vertical plane, project the vertical pipeline onto this vertical plane and intersect with the horizontal space to obtain intersection point A. Similarly, project the horizontal pipeline to obtain intersection point B. The initial connection strategy is: connect A to B.

[0023] If the classification result is the connection between the horizontal pipeline and the terminal device, the connection point acquisition algorithm is: use the center line of the horizontal pipeline as a vertical plane, project the terminal device input port A onto this vertical plane to obtain projection point B, and project B onto the center line of the horizontal pipeline to obtain projection point C; the preliminary connection strategy is: A is connected to B, and B is connected to C.

[0024] According to another aspect of the present invention, there is provided a device for automatically connecting pipelines in a building information model, comprising:

[0025] The encoding module is used to encode each device according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - device type - device quantity to obtain a device code;

[0026] A traversal module is used to traverse the device code to filter out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected;

[0027] An acquisition module, configured to acquire, for any two successfully matched pipelines to be connected, obstacle information on a connection path between the two pipelines in the preliminary connection strategy;

[0028] The connection module is used to determine a target connection strategy based on the preliminary connection strategy of the two successfully matched pipelines to be connected and the obstacle information, thereby realizing the pipeline connection between the two.

[0029] According to another aspect of the present invention, an electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the above method when executing the computer program.

[0030] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0031] (1) The present invention provides a method for automatically connecting pipelines in a building information model, encoding each device according to the electromechanical system scheme type-system type-installation floor-electromechanical space type-device type-device quantity to obtain a device code; then, automatic matching of electromechanical devices is achieved based on the device code, and for any two successfully matched pipelines to be connected, obstacle information on the connection path of the two in the preliminary connection strategy is obtained; a target connection strategy is determined based on the preliminary connection strategy and the obstacle information of the two successfully matched pipelines to be connected, thereby achieving pipeline connection between the two; the present invention can realize the intelligent and automated comprehensive layout of electromechanical pipelines, greatly improving the quality and efficiency of the comprehensive layout of electromechanical pipelines.

[0032] (2) This solution can determine whether the connection paths in the preliminary connection strategy overlap in space, and based on the judgment condition of whether the bounding boxes overlap, determine whether there will be conflicts in the automatically connected pipelines, and identify the conflicts. The operation is simple and the computational complexity is low.

[0033] (3) This solution uses two collision correction methods: automatic avoidance and automatic routing to correct detected collisions. Automatic avoidance detects the remaining available space and adjusts the pipeline elevation or connection point position to avoid collisions; automatic routing replans the path based on the spatial A* algorithm to avoid collisions, which can quickly avoid conflicts and achieve automatic connection of pipelines.

[0034] (4) This scheme defines the coding format for electromechanical equipment as: ajmRTn (a represents the electromechanical system scheme code, j represents the system type code, m represents the equipment installation floor code, R represents the electromechanical space code, T represents the equipment or pipeline type code, and n represents the equipment or pipeline quantity code). Different coding methods are set for different electromechanical system schemes, different system types, different equipment installation floors, different electromechanical spaces, different equipment or pipeline types, and different equipment or pipeline quantities. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a flow chart of a method for automatically connecting pipelines in a building information model provided in Example 1 of the present invention.

[0036] Figure 2 Schematic diagram of the first process of the three-dimensional A*-based pathfinding algorithm provided in Example 1 of the present invention.

[0037] Figure 3 Schematic diagram of the second process of the three-dimensional A*-based pathfinding algorithm provided in Example 1 of the present invention.

[0038] Figure 4a This is a three-dimensional schematic diagram of the pipeline after implantation provided in Example 1 of the present invention.

[0039] Figure 4b This is a schematic diagram of the collision point provided in Example 1 of the present invention.

[0040] Figure 4c Schematic diagram of pipeline position offset to avoid collision when optimizing horizontal pipeline position provided in Example 1 of the present invention.

[0041] Figure 4d Schematic diagram of active turn avoidance provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

[0043] Example 1

[0044] like Figure 1 As shown, this embodiment provides a method for automatic pipeline connection in a building information model, including: S1-S4. Among them, S1: encode each device according to the electromechanical system scheme type-system type-installation floor-electromechanical space type-equipment type-equipment quantity to obtain a device code. S2: traverse the device code to filter out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy based on the classification results of all successfully matched pipelines to be connected. S3: For any two successfully matched pipelines to be connected, obtain the obstacle information on the connection path of the two in the preliminary connection strategy. S4: Determine the target connection strategy based on the preliminary connection strategy and obstacle information of the two successfully matched pipelines to be connected, and then realize the pipeline connection between the two.

[0045] As an optional implementation, the equipment code is in the form of: ajmRTn; wherein, a represents the electromechanical system scheme code, j represents the system type code, m represents the installation floor code, R represents the electromechanical space code, T represents the equipment pipeline type code, and n represents the equipment pipeline quantity code; wherein, electromechanical space types include horizontal space, vertical space, and machine room space. The coding format for determining electromechanical equipment is: ajmRTn (a represents the electromechanical system scheme code, j represents the system type code, m represents the equipment installation floor code, R represents the electromechanical space code, T represents the equipment or pipeline type code, and n represents the equipment or pipeline quantity code). Different coding methods are set for different electromechanical system schemes, different system types, different equipment installation floors, different electromechanical spaces, different equipment or pipeline types, and different equipment or pipeline quantities.

[0046] Among them, according to the unique coding and coding rules, such as: A1-J-B1-JS represents the electromechanical system solution A1, water supply system, underground floor, water supply room 1, traverse, filter out the elements that need to be automatically connected, and classify the elements by profession and type. After obtaining the elements that need to be automatically connected, it is necessary to match how the many elements are connected one to one or many to one. In general, the following is adopted Figure 1 The method shown here matches in sequence. Matching results include connections between equipment and horizontal pipelines, connections between pipelines in two intersecting horizontal spaces, connections between horizontal pipelines and vertical pipelines, and connections between horizontal pipelines and terminal equipment. Locally, for example, when matching vertical pipelines with horizontal pipelines, the algorithm searches for elements adjacent to the selected element. Equipment and pipeline coordinates are defined using a bounding box approach. The location of each pipeline is known. When matching multiple pipelines, if the pipeline types are already matched, the algorithm matches based on the minimum distance between them. After determining the connection locations at both ends, path planning is performed. Initial planning ignores collisions and focuses solely on the shortest path. Path planning can be divided into two scenarios: Case 1: The two pipelines are in the same vertical plane, and Case 2: The two pipelines are not in the same plane. In Case 1, the horizontal pipeline can be extended to connect to the vertical pipeline. In Case 2, the position of the bounding box determines whether the connection can be made through a single horizontal pipe or whether the horizontal pipe needs to be bent. Finally, based on the path obtained by the algorithm, the method in the Revit API is called to automatically generate connections for the pipelines, and the required tee joints or elbow joints are generated at the connections.

[0047] Furthermore, determining whether pipelines collide primarily relies on determining whether their positions conflict. Since pipeline positions can be determined by their bounding boxes, a collision can be determined by checking whether their bounding boxes overlap in space. Spatial overlap between two bounding boxes is determined by comparing their coordinate ranges in three dimensions. If the bounding boxes overlap in all three coordinate axes, they overlap in space; if they do not overlap in any axis, they do not intersect.

[0048] As an optional implementation, S4 includes: if the obstacle information indicates that there is no obstacle on the connection path, using the preliminary connection strategy as the target connection strategy and performing pipeline connection.

[0049] As an optional implementation, S4 includes: if the obstacle information indicates that there is an obstacle on the connection path, adjusting the preliminary connection strategy using a collision correction method to obtain a target connection strategy, and performing pipeline connection.

[0050] As an optional implementation, a collision correction method is used to adjust the preliminary connection strategy to obtain a target connection strategy, including: determining the offset and the amount of available space by detecting the remaining available space; offset adjusting the pipeline position or connection point in the initial connection strategy according to the offset and the amount of available space to obtain the target connection strategy.

[0051] The correction methods include automatic avoidance algorithms and path-finding algorithms based on three-dimensional A*. The automatic avoidance algorithm is an algorithm that avoids collisions by detecting the remaining available space and adjusting the pipeline elevation or the position of the connection point. The algorithm first needs to obtain the required offset and the amount of available space, and use the offset and the amount of available space to determine whether the algorithm is feasible. If feasible, automatic avoidance is automatically completed. As an optional implementation method, a collision correction method is used to adjust the preliminary connection strategy to obtain a target connection strategy, including: based on the spatial A* algorithm, the map is regarded as consisting of three-dimensional space grids, and on the basis of the preliminary connection strategy, the actual cost and heuristic estimation are combined to find the optimal path from the starting point to the end point in the three-dimensional space grid to obtain the target connection strategy.

[0052] Specifically, the pathfinding algorithm based on three-dimensional A* is as follows Figure 2 and Figure 3 As shown in the figure, the green square is the starting point and the blue point is the end point. The specific steps are as follows:

[0053] (41) Obtain the two points that need to be connected in the view (usually the projection points of the pipeline), as well as the pipeline entities that need to be ignored (the two pipelines at the starting point and the end point) to avoid identifying the pipelines that need to be connected as obstacles when identifying obstacles.

[0054] (42) Taking the starting point as the center point, the virtual space of the cells is divided into six directions: front, back, left, right, top, and bottom. The starting number is n grids + 1 extending outward. In this way, when traversing each cell subsequently, the maximum and minimum values ​​of all grids can be calculated by using the starting point as a reference point.

[0055] (43) The single-axis coordinate size of the three-dimensional grid obtained in the previous step is: 2n+1. The three-dimensional array (three-dimensional grid) is instantiated to the grid data through a three-layer loop with a time complexity of T(n^3) (during data initialization here, only the grid within which the end point is located can be searched; obstacles will be determined during the subsequent pathfinding process).

[0056] (44) After extending the grids in six directions, the cost of each grid is calculated and sorted. The sorted results are stored in a linked list, and the grids and obstacles that have been passed are set as non-extensible points. Then, a recursive method is used to repeat this operation for the grid with the lowest cost to obtain the optimal path.

[0057] (45) If a node cannot be extended and the end point is not found, a fallback operation is performed, returning to the previous node and selecting the second smallest node for extension. If the end point is not found after the recursion is completed, it means that there is no route.

[0058] (46) After obtaining the optimal path, a pipeline is generated according to the path vector. When the direction of the path vector changes, a bend joint needs to be set and a new pipeline needs to be set. When the direction of the path vector remains unchanged, the length of the pipeline is extended to connect the starting point and the end point.

[0059] As an optional implementation, S2 includes: S21: by identifying the primitives, traversing all the equipment codes, filtering out the pipelines that need to be automatically connected, and classifying the pipelines by profession and type; S22: determining the preliminary connection strategy corresponding to all successfully matched pipelines to be connected based on the classification results; the classification results include: the connection between the equipment in the computer room and the horizontal pipeline, the connection between the pipelines of two intersecting horizontal spaces, the connection between the horizontal pipeline and the vertical pipeline, and the connection between the horizontal pipeline and the terminal equipment. Figure 4a This is a three-dimensional schematic diagram after the pipeline is implanted. Figure 4b is a schematic diagram of the collision point. Figure 4c Schematic diagram of pipeline position offset to avoid collision when optimizing horizontal pipeline position. Figure 4d Schematic diagram of active avoidance of turning.

[0060] As an optional implementation, S22 includes several scenarios.

[0061] If the classification result shows that the equipment in the computer room is connected to the horizontal pipeline, the connection point acquisition algorithm is as follows: use the center line of the horizontal pipeline as a vertical plane, project the equipment output port A onto this vertical plane to obtain projection point B, and project B onto the center line of the horizontal pipeline to obtain projection point C; the initial connection strategy is: A connects to B, and B connects to C.

[0062] If the classification result is the connection of pipelines in two intersecting horizontal spaces, the connection point acquisition algorithm is as follows: the endpoint of the pipeline closer to the intersecting space is the connection point, set as connection point A and connection point B; the initial connection strategy is: extend the pipeline along connection point A and connection point B respectively, with the intersection point being C, A connected to C, and C connected to B.

[0063] If the classification result is the connection between a horizontal pipeline and a vertical pipeline, the connection point acquisition algorithm is as follows: use the center line of the horizontal pipeline as a vertical plane, project the vertical pipeline onto this vertical plane and intersect with the horizontal space to obtain intersection point A. Similarly, project the horizontal pipeline to obtain intersection point B. The initial connection strategy is: A connects to B.

[0064] If the classification result is the connection between a horizontal pipeline and a terminal device, the connection point acquisition algorithm is as follows: use the center line of the horizontal pipeline as a vertical plane, project the terminal device input port A onto this vertical plane to obtain projection point B, and project B onto the center line of the horizontal pipeline to obtain projection point C; the initial connection strategy is: A connects to B, and B connects to C.

[0065] Example 2

[0066] This embodiment provides an automatic pipeline connection device in a building information model, comprising: an encoding module, a traversal module, an acquisition module, and a connection module. The encoding module is used to encode each device according to the electromechanical system scheme type, system type, installation floor, electromechanical space type, device type, and device quantity to obtain a device code; the traversal module is used to traverse the device code to filter out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy based on the classification results of all successfully matched pipelines to be connected; the acquisition module is used to obtain obstacle information on the connection path of any two successfully matched pipelines to be connected in the preliminary connection strategy; and the connection module is used to determine the target connection strategy based on the preliminary connection strategy and obstacle information of the two successfully matched pipelines to be connected, thereby achieving pipeline connection between the two.

[0067] Example 3

[0068] This embodiment provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the above method when executing the computer program.

[0069] It will be easily understood by those skilled in the art that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for automatically connecting pipelines in a building information model, characterized in that: include: S1: Encode each device according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - device type - device quantity to obtain the device code; S2: traversing the device code to filter out all successfully matched pipelines to be connected, and determining corresponding preliminary connection strategies according to the classification results of all successfully matched pipelines to be connected; S3: For any two successfully matched pipelines to be connected, obtain obstacle information on the connection path between the two in the preliminary connection strategy; S4: determining a target connection strategy based on the preliminary connection strategies of the two successfully matched pipelines to be connected and the obstacle information, thereby achieving pipeline connection between the two; The S2 includes: S21: traversing all device codes by identifying graphic elements to select pipelines that need to be automatically connected, and classifying the pipelines by profession and type; S22: determining preliminary connection strategies corresponding to all successfully matched pipelines to be connected based on the classification results; the classification results include: connection between computer room equipment and horizontal pipelines, connection between pipelines in two intersecting horizontal spaces, connection between horizontal pipelines and vertical pipelines, and connection between horizontal pipelines and terminal equipment; The S22 includes: if the classification result is that the equipment in the computer room is connected to the horizontal pipeline, the connection point acquisition algorithm is: use the center line of the horizontal pipeline as a vertical plane, project the equipment output port A onto this vertical plane to obtain projection point B, and project B onto the center line of the horizontal pipeline to obtain projection point C; the preliminary connection strategy is: A is connected to B, and B is connected to C; if the classification result is the connection of pipelines in two intersecting horizontal spaces, the connection point acquisition algorithm is: the pipeline endpoint closer to the intersecting end space is the connection point, set as connection point A and connection point B; the preliminary connection strategy is: extend the pipeline along connection point A and connection point B respectively, with the intersection point being C, and A connected to to C, C is connected to B; if the classification result is the connection between the horizontal pipeline and the vertical pipeline, the connection point acquisition algorithm is: take the center line of the horizontal pipeline as the vertical plane, project the vertical pipeline onto this vertical plane and intersect with the horizontal space to obtain the intersection A, and similarly project the horizontal pipeline to obtain the intersection B; the preliminary connection strategy is: A is connected to B; if the classification result is the connection between the horizontal pipeline and the terminal device, the connection point acquisition algorithm is: take the center line of the horizontal pipeline as the vertical plane, project the terminal device input port A onto this vertical plane to obtain the projection point B, and project B onto the center line of the horizontal pipeline to obtain the projection point C; the preliminary connection strategy is: A is connected to B, and B is connected to C.

2. The method for automatically connecting pipelines in a building information model according to claim 1, wherein: The step S4 includes: if the obstacle information indicates that there is no obstacle on the connection path, using the preliminary connection strategy as the target connection strategy and performing pipeline connection.

3. The method for automatically connecting pipelines in a building information model according to claim 1, wherein: The step S4 includes: if the obstacle information indicates that there is an obstacle on the connection path, adjusting the preliminary connection strategy using a collision correction method to obtain the target connection strategy, and performing pipeline connection.

4. The method for automatically connecting pipelines in a building information model according to claim 3, wherein: The collision correction method is used to adjust the preliminary connection strategy to obtain the target connection strategy, including: determining the offset and the amount of available space by detecting the remaining available space; and offset adjusting the pipeline position or connection point in the initial connection strategy according to the offset and the amount of available space to obtain the target connection strategy.

5. The method for automatically connecting pipelines in a building information model according to claim 3, wherein: The collision correction method is used to adjust the preliminary connection strategy to obtain the target connection strategy, including: based on the spatial A* algorithm, the map is regarded as consisting of three-dimensional space grids, and on the basis of the preliminary connection strategy, the optimal path from the starting point to the end point is found in the three-dimensional space grid in combination with the actual cost and heuristic estimation to obtain the target connection strategy.

6. The method for automatically connecting pipelines in a building information model according to claim 1, wherein: The equipment code is in the form of: ajmRTn; wherein a represents the electromechanical system scheme code, j represents the system type code, m represents the installation floor code, R represents the electromechanical space code, T represents the equipment pipeline type code, and n represents the number code of the equipment pipeline; wherein the electromechanical space type includes horizontal space, vertical space and machine room space.

7. An automatic pipeline connection device in a building information model, characterized in that: The method for automatically connecting pipelines according to any one of claims 1 to 6 comprises: The encoding module is used to encode each device according to the electromechanical system scheme type - system type - installation floor - electromechanical space type - device type - device quantity to obtain a device code; A traversal module is used to traverse the device code to filter out all successfully matched pipelines to be connected, and determine the corresponding preliminary connection strategy according to the classification results of all successfully matched pipelines to be connected; An acquisition module, configured to acquire, for any two successfully matched pipelines to be connected, obstacle information on a connection path between the two pipelines in the preliminary connection strategy; The connection module is used to determine a target connection strategy based on the preliminary connection strategy of the two successfully matched pipelines to be connected and the obstacle information, thereby realizing the pipeline connection between the two.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method for quickly creating pipeline system based on modeling software

    CN115130186A

  • BIM-based electromechanical pipeline laying system and laying method

    CN116738628A