CN117910072B - Cesium-based pipe rack pipeline collision analysis method - Google Patents

Cesium-based pipe rack pipeline collision analysis method Download PDF

Info

Publication number
CN117910072B
CN117910072B CN202311859863.XA CN202311859863A CN117910072B CN 117910072 B CN117910072 B CN 117910072B CN 202311859863 A CN202311859863 A CN 202311859863A CN 117910072 B CN117910072 B CN 117910072B
Authority
CN
China
Prior art keywords
pipeline
resolution
information
pipe
coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311859863.XA
Other languages
Chinese (zh)
Other versions
CN117910072A (en
Inventor
单田清
祁昌杨
王淞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Data Technology Co ltd
Original Assignee
Jiangsu Data Technology Co ltd
Filing date
Publication date
Application filed by Jiangsu Data Technology Co ltd filed Critical Jiangsu Data Technology Co ltd
Priority to CN202311859863.XA priority Critical patent/CN117910072B/en
Publication of CN117910072A publication Critical patent/CN117910072A/en
Application granted granted Critical
Publication of CN117910072B publication Critical patent/CN117910072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a Cesium-based pipe gallery pipeline collision analysis method, which comprises the following steps of: automatically modeling the input pipeline information by using PRIMITIVE entities in Cesium frames, and carrying out corridor analysis and three-dimensional collision analysis on the newly added pipeline; according to the result obtained by the three-dimensional collision analysis, whether a new pipeline collides with the existing pipeline or pipe shaft is judged, through three-dimensional simulation is carried out on the pipeline and the corridor, when the new pipeline is designed into the corridor, collision analysis is carried out to avoid collision and interference between the new pipeline and the original pipeline or other equipment, the position and the size of the new pipeline into the corridor are determined according to the result of the collision analysis, meanwhile, the spatial relationship between the new pipeline and other pipelines or equipment also needs to be considered, the situation of overcrowding or insufficient is avoided, the spatial utilization rate of a pipe rack is optimized, the possible collision and interference are found in time, the problem is solved in advance, and the safety risk in construction is reduced.

Description

Cesium-based pipe rack pipeline collision analysis method
Technical Field
The invention relates to the technical field of collision analysis of pipe rack pipelines in chemical industry parks, in particular to a Cesium-based pipe rack pipeline collision analysis method.
Background
The public pipe gallery is constructed as a necessary condition for chemical enterprises to realize efficient, safe and environment-friendly production and operation modes, so that the chemical enterprises can be helped to reduce the risks of environmental pollution and safety accidents, the working efficiency and the quality are improved, and the sustainable development of the chemical industry is promoted. The public pipe gallery still has a plurality of problems when effectively improving facility security and sustainability: first, when multiple lines need to enter a common piping lane, there may be a line entry problem. At this time, the positions of the pipes reserved by the pipe stage construction and the safe distance between the pipes need to be considered to ensure that the pipes smoothly enter the common pipe lane without adversely affecting the operation of the common pipe lane. Secondly, in the pipe gallery construction process, the problem of collision of the newly-added pipeline possibly occurs, namely, the newly-built pipeline collides with the existing pipeline and the reserved pipe position or is smaller than the safety distance. At this time, reasonable planning and optimization are required for the layout and design of the pipelines to avoid collision and interference between the newly added pipelines and the existing pipelines, thereby ensuring normal operation of the pipeline corridor.
Therefore, how to improve the feasibility and the high efficiency of the chemical industry park pipeline entering corridor, improve the pipeline maintenance level, optimize the corridor passing condition, use the three-dimensional model to carry out collision analysis on the newly-increased pipeline, reduce the risk and the potential safety hazard that the pipeline enters the corridor to exist, ensure the personal and property safety of park and surrounding residents, promote the sustainable development of park, and be the problem to be solved in the art urgently.
The following problems exist in the conventional two-dimensional software for pipeline entry lane analysis and pipeline collision detection:
1. The calculated amount is large: for large pipeline systems, the two-dimensional software for pipeline corridor and pipeline collision analysis requires a large amount of data to be processed, resulting in large computational effort and slow operation.
2. The precision and accuracy are not high: the complex structure of the pipeline inside the pipe gallery and the variety of the pipeline cannot be considered by the two-dimensional software, so that the error of the collision analysis result is larger.
3. The design efficiency is low: the two-dimensional software can only present a plane graph, and a multi-dimensional drawing is required to be provided when collision analysis is carried out, so that the calculated amount and the analysis cost are further increased.
4. Cannot meet the complex requirements: when three-dimensional pipeline collision analysis is performed, because the position and direction relationship of the pipeline in the three-dimensional space is quite complex, the accurate position and direction of the pipeline cannot be fully expressed by only using two-dimensional software to present the plane graph.
5. The formats are not uniform: the data format and the construction standard adopted by different construction units in the pipeline construction process are not uniform, so that the confusion of the pipeline data format and the inconsistency of related data standards are caused. This inconsistency presents additional difficulty and complexity to the pipe collision analysis.
6. Non-professional readability is not strong: conventional two-dimensional software requires personnel with associated expertise and skills to operate, and such software typically has high expertise and technical thresholds. The learning cost and the time cost are increased, and the application range and the efficiency of the software are limited.
Disclosure of Invention
The invention aims to provide a Cesium-based pipe gallery pipeline collision analysis method, which is characterized in that a pipeline and a gallery are subjected to three-dimensional simulation, when a new pipeline is designed into the gallery, collision analysis is performed to avoid collision and interference between the new pipeline and an original pipeline or other equipment, the position and the size of the new pipeline into the gallery are determined according to the collision analysis result, meanwhile, the spatial relationship between the new pipeline and other pipelines or equipment also needs to be considered, the situation of overcrowding or insufficient is avoided, the space utilization rate of the pipe gallery pipe frame is optimized, the possible collision and interference are found in time, the problems are solved in advance, the safety risk in construction is reduced, and the problems in the background technology are solved.
In order to achieve the above purpose, the present invention provides the following technical solutions:
cesium-based pipe rack pipeline collision analysis method comprises the following steps:
Step one: before pipeline corridor analysis and collision detection are carried out, relevant information of newly-added pipelines is input, wherein the relevant information comprises coordinates of a starting point and a finishing point, pipeline diameter, thickness of an insulating layer, pipeline wall thickness, safety distance between adjacent pipelines and circulating medium;
Step two: automatically modeling the input pipeline information by using PRIMITIVE entities in Cesium frames so as to carry out subsequent pipeline corridor and collision analysis;
step three: carrying out corridor analysis and three-dimensional collision analysis on the newly added pipeline;
Step four: judging whether the newly added pipeline collides with the existing pipeline or the pipe shaft according to the result obtained by the three-dimensional collision analysis, if so, recording the collision position so as to carry out further analysis and processing, and if not, storing the input pipeline information into a database for subsequent inquiry and analysis;
Step five: for the pipeline subjected to collision analysis, the pipeline is selected to enter a corridor, and basic information of the pipeline is stored in a database, wherein the basic information comprises the number, the length, the diameter, the thickness of an insulating layer, the wall thickness of the pipeline, a storage medium and the expected installation date of the pipeline;
step six: and selecting a derived data report for the pipeline for collision analysis, wherein the data report is in a self-selection format, the data report comprises the basic information of the pipeline in the step five, the space utilization rate of the pipeline gallery on the layer where the pipeline is positioned, the coordinate of the collision position and the pipe axis profile at the coordinate are displayed for the pipeline with collision, and when the distance between the pipeline and the existing pipeline is greater than a threshold value, the cross-section image is displayed in the report.
Further, the method comprises the steps of,
The data acquisition and storage module is used for storing pipeline information and pipe shaft section information, comprises a pipeline data table and a pipe shaft data table, and is used for quickly inquiring all pipe shafts passed by each pipeline and the layer number where the pipe shafts are positioned by establishing an index relation between the pipeline data table and the pipe shaft data table;
The newly-added pipeline corridor module is used for newly-adding pipeline entities on the three-dimensional visual interface, creating a three-dimensional model on the three-dimensional visual interface by utilizing pipeline information input by the pipeline newly-added interface, inserting the three-dimensional model into an existing pipeline corridor, changing the color of the three-dimensional model and highlighting the three-dimensional model.
Further, the method also comprises the steps of,
The newly-added pipeline collision analysis module is used for carrying out pipeline collision analysis according to the data result of the newly-added pipeline corridor module, further traversing the number of layers of pipe shafts where the pipelines are positioned on each pipe shaft by rapidly traversing all pipe shafts where the newly-added pipeline passes, analyzing whether collision occurs between the pipelines on the target layer by establishing a two-dimensional coordinate system, and displaying the result of the collision analysis in a three-dimensional visual interface.
Further, the method also comprises the steps of,
And the visualization module is used for displaying and analyzing pipe gallery data by relying on Cesium frames and PRIMITIVE entities, creating a cylinder and cuboid model for the pipeline according to the pipe diameter of the pipeline and the thickness of the heat preservation layer, integrating the entity model into high-resolution terrain and image data in the global range supported by Cesium frames, comparing PRIMITIVE entities with live video live images, and adjusting PRIMITIVE entities to be consistent with the live actual scene.
Further, the integration of the solid model into the global high resolution terrain and image data supported by Cesium framework includes:
Extracting Cesium resolution data information of all terrains on the global scope supported by the framework;
Comparing the resolution data information of each terrain with a preset resolution threshold value to obtain a resolution information coefficient, wherein the resolution information coefficient is obtained through the following formula:
wherein f represents a resolution information coefficient corresponding to the terrain; m represents the number of pixel blocks of the image data corresponding to the topography; m max represents the number of pixel blocks of the image data corresponding to the highest resolution terrain; d max denotes a side length size of a pixel block of image data corresponding to the highest resolution topography; d represents the side length dimension of the pixel block of the image data corresponding to the topography;
setting a resolution threshold according to the resolution information data of all terrains;
When the resolution of the entity model after being fused into the Cesium frame exceeds a resolution threshold, the entity model is fused into high-resolution terrain and image data in the global scope supported by the Cesium frame;
when the resolution of the entity model after being integrated into the Cesium framework does not exceed the resolution threshold, the resolution of the entity model is adjusted so that the resolution of the entity model after being integrated into the Cesium framework exceeds the resolution threshold.
Further, setting a resolution threshold according to the resolution information data of all terrains includes:
extracting a resolution information coefficient of each topography;
sequencing the resolution information coefficients of the terrain according to the sequence from high to low to form a coefficient data set;
extracting a specific value coefficient of the coefficient data set; wherein the specific value coefficient is obtained by the following formula:
wherein f e represents a specific value coefficient; f p denotes a coefficient average value of the coefficient data set; n represents the total number of resolution information coefficients in the coefficient data set; f max denotes a resolution information coefficient maximum value in the coefficient data set; f i represents a resolution information coefficient corresponding to the ith topography;
extracting resolution information of terrains corresponding to terrains with resolution information coefficients exceeding specific value coefficients;
setting a resolution threshold value by using resolution information of a terrain corresponding to the terrain of which the resolution information coefficient exceeds a specific value coefficient, wherein the resolution threshold value is obtained by the following formula:
Wherein F y represents a resolution threshold; f e represents the resolution of the terrain to which the coefficient closest to the specific value coefficient corresponds; f max denotes a resolution maximum in the coefficient data set; m represents the number of terrains corresponding to terrains whose resolution information coefficient exceeds a specific value coefficient; f j represents a terrain resolution value for which the j-th resolution information coefficient exceeds a specific value coefficient.
Further, the corridor analysis is carried out on the newly added pipeline in the third step, specifically: and searching the tube axes of the starting point and the ending point of the newly added pipeline by querying the tube axis database, and determining all tube axes through which the newly added pipeline passes.
Further, the pipeline data table is used for storing three-dimensional coordinates, pipe diameter, thickness of the heat preservation layer and storage medium information of each pipeline.
Further, the tube axis data table is used for recording the serial number of each tube axis, the tube axis layer number and the pipe information passed by each layer.
Further, three-dimensional collision analysis is performed on the newly added pipeline in the third step to determine whether collision occurs with the existing pipeline or the pipe shaft.
Compared with the prior art, the invention has the beneficial effects that:
The invention establishes a Cesium-based collision analysis method for the pipeline corridor with strong functions, outstanding characteristics and convenient management, and has the following advantages:
1. The three-dimensional model can be used for more accurately representing the pipeline structure and the pipeline type in the pipeline gallery, so that the accuracy and the accuracy of collision analysis are improved, the visualization tool is provided for simplifying the analysis, the use of multidimensional drawing is reduced, the design efficiency is improved, and the time and the calculated amount for processing data can be greatly reduced.
2. The pipeline corridor module is an important component in the three-dimensional collision analysis system, and a user can customize the identification information of the pipeline, including the pipeline number, the pipeline name, the starting point, the stopping point and the like, so that the pipeline can be quickly searched and positioned.
3. By the method of fast traversing the newly added pipeline through the pipe shaft, each target pipe shaft layer can be locked fast, the three-dimensional problem is converted into the two-dimensional problem while the three-dimensional analysis characteristics are reserved, so that the analysis efficiency is improved, and meanwhile, the analysis cost is reduced.
4. When two pipelines collide, the system records collision position information and marks the information, the marked collision positions are presented in different colors, so that the collision situation can be observed more intuitively, and the system can be further informed of the collision situation by associating the collision positions with the pipeline attributes.
5. By integrating the data from different sources into the same database and adopting a uniform data format, the requirement for converting and adjusting the data is reduced, the process of pipeline collision analysis can be simplified, and the complexity of analysis is reduced.
6. The user only needs to provide basic information of the pipeline, collision analysis of the pipeline can be completed through system automation analysis, potential collision risks are identified, corresponding guiding files are provided, and professional software operation is not needed by professionals.
Drawings
FIG. 1 is a flow chart of the overall design of the piping lane line collision analysis method of the present invention;
FIG. 2 is a flow chart of a collision analysis algorithm of the piping lane line collision analysis method of the present invention;
fig. 3 is a schematic structural diagram of collision analysis of the three-dimensional model of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the problems that the feasibility and the high efficiency of the pipeline corridor in the chemical industry park in which the traditional two-dimensional software carries out pipeline corridor analysis and pipeline collision detection are low, and the error of the collision analysis result is large, referring to fig. 1, the following technical scheme is provided: cesium-based pipe rack pipeline collision analysis method comprises the following steps:
step one: before pipeline corridor analysis and collision detection are carried out, relevant information of a newly-added pipeline is input, wherein the relevant information of the newly-added pipeline comprises coordinates of a starting point and a finishing point, pipeline diameter, thickness of an insulating layer, wall thickness of a pipeline, safety distance between adjacent pipelines, circulating media and the like;
Step two: automatically modeling the input pipeline information by using PRIMITIVE entities in Cesium frames so as to carry out subsequent pipeline corridor and collision analysis;
step three: carrying out corridor analysis and three-dimensional collision analysis on the newly added pipeline;
The corridor analysis is needed to be carried out on the newly added pipeline, namely, the pipe axes where the starting point and the end point of the newly added pipeline are located are found by inquiring a pipe axis database, and all the pipe axes through which the newly added pipeline passes are determined;
Three-dimensional collision analysis is needed for the newly added pipeline to determine whether collision occurs with the existing pipeline or the pipe shaft;
Step four: according to the result obtained by the three-dimensional collision analysis, whether the newly added pipeline collides with the existing pipeline or the pipe shaft can be judged, if collision exists, the collision position needs to be recorded so as to carry out further analysis and processing, and if no collision exists, the input pipeline information is stored in a database so as to be used for subsequent inquiry and analysis;
Step five: for the pipeline subjected to collision analysis, the pipeline can be selected to enter a corridor, and basic information of the pipeline is stored in a database, wherein the basic information comprises the number, the length, the diameter, the thickness of an insulating layer, the wall thickness of the pipeline, a storage medium and the expected installation date of the pipeline;
Step six: for the pipeline for collision analysis, a data report can be selected, the data report is in a self-selection format, such as PDF (portable document format), HTML (hypertext markup language) format and the like, the data report comprises the basic information of the pipeline in the fifth step, the space utilization rate of the pipeline gallery on the layer where the pipeline is located, the coordinate of the collision position and the pipe axis section view at the coordinate are displayed for the pipeline with collision, and the cross-section image is displayed in the report when the distance between the pipeline with collision and the existing pipeline is slightly larger than a certain threshold value.
The pipe gallery pipeline collision analysis method based on Cesium is realized based on a pipe gallery collision analysis system, the pipe gallery collision analysis system comprises a data acquisition and storage module, a newly added pipeline entry gallery module, a newly added pipeline collision analysis module and a visualization module, wherein,
And the data acquisition and storage module is used for storing pipeline information and pipe shaft section information. The data acquisition and storage module comprises two main data tables, namely a pipeline data table and a pipe shaft data table. The pipeline data table stores the detailed information of the three-dimensional coordinates, pipe diameter, heat preservation layer thickness, storage medium and the like of each pipeline, and the pipe shaft data table records the serial number of each pipe shaft, the number of pipe shaft layers and the pipeline information of each layer. By establishing an index relationship between the two tables, all pipe axes through which each pipe passes and the number of layers in which each pipe is located can be quickly queried.
The newly-added pipeline corridor module is used for newly-adding pipeline entities on the three-dimensional visual interface, creating a three-dimensional model on the three-dimensional visual interface by utilizing pipeline information input by the pipeline newly-added interface, inserting the three-dimensional model into an existing pipeline corridor, changing the color of the three-dimensional model and highlighting the three-dimensional model.
And the newly-added pipeline collision analysis module is used for carrying out pipeline collision analysis according to the data result of the newly-added pipeline gallery module, and further traversing the number of layers of pipe shafts on which the pipeline is positioned on each pipe shaft by rapidly traversing all pipe shafts through which the newly-added pipeline passes. And (5) analyzing whether collision occurs between pipelines on the target layer by establishing a two-dimensional coordinate system. The results of the collision analysis are displayed in a three-dimensional visual interface, for example, by color or other means to represent the collision between the pipes, so that the user can intuitively understand the collision.
And the visualization module is used for creating a cylinder, a cuboid and the like model for the pipeline according to the pipe diameter of the pipeline, the thickness of the heat preservation layer and other information by depending on the display and analysis of the pipe gallery data by the Cesium framework and the PRIMITIVE entity. The solid model is incorporated into the high resolution terrain and image data worldwide supported by Cesium framework. And comparing PRIMITIVE entities with the live video live-action image, and adjusting PRIMITIVE entities to coincide with the live actual scene.
Specifically, the integration of the solid model into the global high resolution terrain and image data supported by Cesium framework includes:
Extracting Cesium resolution data information of all terrains on the global scope supported by the framework;
Comparing the resolution data information of each terrain with a preset resolution threshold value to obtain a resolution information coefficient, wherein the resolution information coefficient is obtained through the following formula:
wherein f represents a resolution information coefficient corresponding to the terrain; m represents the number of pixel blocks of the image data corresponding to the topography; m max represents the number of pixel blocks of the image data corresponding to the highest resolution terrain; d max denotes a side length size of a pixel block of image data corresponding to the highest resolution topography; d represents the side length dimension of the pixel block of the image data corresponding to the topography;
setting a resolution threshold according to the resolution information data of all terrains;
When the resolution of the entity model after being fused into the Cesium frame exceeds a resolution threshold, the entity model is fused into high-resolution terrain and image data in the global scope supported by the Cesium frame;
when the resolution of the entity model after being integrated into the Cesium framework does not exceed the resolution threshold, the resolution of the entity model is adjusted so that the resolution of the entity model after being integrated into the Cesium framework exceeds the resolution threshold.
The technical effects of the technical scheme are as follows: according to the technical scheme, the resolution data information of all terrains in the global scope supported by the Cesium framework can be automatically extracted and compared, and manual intervention is not needed. When the resolution of the entity model integrated into the Cesium framework meets the conditions, the scheme can automatically adjust the resolution of the entity model to meet the requirements.
According to the scheme, the preset resolution threshold value is set, and the resolution information coefficient of each terrain is calculated, so that resolution data of different terrains can be managed in a refined mode. When the resolution ratio of the entity model after being fused into the Cesium framework exceeds a threshold value, the scheme can automatically fuse the entity model into the high-resolution terrain and image data, and ensure the consistency and adaptability of the model and the data.
By automatically adjusting the resolution of the solid model, the scheme can optimize resource utilization, ensure that the visual effect is met and reduce unnecessary calculation and storage resource consumption. Because the scheme adopts an automatic processing flow, the efficiency of integrating the entity model into high-resolution terrain and image data is greatly improved. By finely adjusting the resolution of the entity model, the scheme can provide a clearer and more vivid virtual environment for the user and enhance the user experience. According to the scheme, the resolution of the entity model can be dynamically adjusted according to the resolution information of different terrains, so that fusion of the model, the terrains and the image data is more natural and real.
Specifically, setting a resolution threshold according to the resolution information data of all terrains includes:
extracting a resolution information coefficient of each topography;
sequencing the resolution information coefficients of the terrain according to the sequence from high to low to form a coefficient data set;
extracting a specific value coefficient of the coefficient data set; wherein the specific value coefficient is obtained by the following formula:
wherein f e represents a specific value coefficient; f p denotes a coefficient average value of the coefficient data set; n represents the total number of resolution information coefficients in the coefficient data set; f max denotes a resolution information coefficient maximum value in the coefficient data set; f i represents a resolution information coefficient corresponding to the ith topography;
extracting resolution information of terrains corresponding to terrains with resolution information coefficients exceeding specific value coefficients;
setting a resolution threshold value by using resolution information of a terrain corresponding to the terrain of which the resolution information coefficient exceeds a specific value coefficient, wherein the resolution threshold value is obtained by the following formula:
Wherein F y represents a resolution threshold; f e represents the resolution of the terrain to which the coefficient closest to the specific value coefficient corresponds; f max denotes a resolution maximum in the coefficient data set; m represents the number of terrains corresponding to terrains whose resolution information coefficient exceeds a specific value coefficient; f j represents a terrain resolution value for which the j-th resolution information coefficient exceeds a specific value coefficient.
The technical effects of the technical scheme are as follows: according to the technical scheme, the resolution threshold can be automatically set according to the resolution information coefficients of a plurality of terrains, and manual intervention is not needed. By extracting the resolution information coefficient of each terrain and sorting in order from high to low, the scheme can finely manage the resolution information of different terrains. According to the scheme, the specific value coefficient is calculated, so that the representative terrain resolution information can be extracted, and the resolution threshold value is set more accurately. When the resolution of the entity model integrated into the Cesium framework exceeds a threshold, the scheme can automatically adjust the resolution of the entity model to meet the requirements.
By automatically adjusting the resolution of the solid model, the scheme can optimize resource utilization, ensure that the visual effect is met and reduce unnecessary calculation and storage resource consumption. Because the scheme adopts an automatic processing flow, the efficiency of integrating the entity model into high-resolution terrain and image data is greatly improved. By finely adjusting the resolution of the entity model, the scheme can provide a clearer and more vivid virtual environment for the user and enhance the user experience.
In order to solve the problem that two-dimensional software can only present a plane graph, a multidimensional drawing is required to be provided when collision analysis is carried out, and the calculated amount and the analysis cost are further increased, the embodiment provides the following technical scheme:
wherein the three-dimensional collision analysis includes steps S201 to S208 of fig. 2, as described in detail below,
S201, starting traversing, and acquiring detailed data such as starting point coordinates and end point coordinates of a newly added pipeline GD3 (see FIG. 3), pipe diameters, insulation layer thickness and the like.
S202, searching tube axis numbers of the starting point and the ending point of the newly added pipeline according to the pipeline and tube axis data table stored in the database, and determining all tube axes through which the newly added pipeline passes. While each passing tube axis will also be traversed and their tube axis numbers and associated information recorded. As shown in FIG. 3, the starting point and the ending point of the newly added GD3 pipeline are HZ101 and HZ107 respectively, and the GD3 pipeline is subjected to traversal search to pass through seven pipe shafts of HZ101, HZ102, HZ103, HZ104, HZ105, HZ106 and HZ 107. It is also checked whether a loop or repeated tube axes are present during the traversal as each traversed tube axis is traversed.
S203, determining the range of the tube axis layer where the newly added pipeline is located according to the tube axis layers where the starting point and the ending point are located. As shown in fig. 3, the start point of the GD3 pipeline is located at the second layer of HZ101, the end point is located at the third layer of HZ107, and the pipe axis through which the GD3 pipeline passes should be the second layer and the upper and lower layers adjacent to the second layer. And determining the layer number of the newly added pipeline in each pipe shaft according to whether the height of the pipeline has obvious stepwise change. If the pipe height is changed in a significantly stepwise manner and the height of the change is identical to the height of the pipe shaft layer, it is possible to determine whether to rise or fall according to the condition of the height change. If there is no significant change in the pipe height, each pipe axis can be considered to be the same layer. And establishing a one-to-one correspondence according to the tube axis number and the layer number.
S204, projecting the target tube shaft layer to be detected on the XOY plane to obtain a two-dimensional graph, establishing a two-dimensional coordinate system for subsequent analysis and processing, and mapping the graph into the two-dimensional coordinate system. As shown in fig. 3, the lower left corner of the target tube axis layer is selected on the XOY plane as the origin of coordinates. The horizontal and vertical axes represent the horizontal and vertical directions of the two-dimensional pattern, respectively. The coordinate system is in cm and the scale is 1:100. As shown in FIG. 3, the second layer of HZ102 interface is projected onto the XOY plane, mapped onto a two-dimensional coordinate system with the lower left angle as the origin, the horizontal axis as the horizontal direction and the vertical axis as the vertical direction, and the center coordinates of the GD2-1 pipeline section and the center coordinates of the GD3 pipeline section are determined and recorded as [ (], />) And (/ >), />)。
S205, circularly traversing all pipelines in the target pipe shaft layer to obtain the position of the existing pipeline in the target pipe shaft layer, />) Radius R; position (/ >) of newly added pipeline in target pipe shaft layer, />) Radius r.
S206, circularly traversing the existing pipelines by using the two-dimensional coordinates provided in the step S204, and calculating the distance between each pipeline and the newly added pipeline according to the general expression (1)The calculation process is as follows:
S207, when the distance between the newly added pipeline and an existing pipeline is smaller than a certain threshold value, whether the newly added pipeline and the existing pipeline are intersected or contacted needs to be judged. The setting of the threshold value needs to be adjusted according to the specific situation, and is usually determined by factors such as the diameter of the pipeline, materials, media and the like. If an intersection or contact condition exists, the collision position needs to be recorded, the coordinates of the intersection or contact position are converted into a three-dimensional coordinate system, and the position of the intersection or contact position in the three-dimensional tube axis space is determined.
As shown in fig. 3, ifThe distance between the circle center of the GD2-1 pipeline section and the circle center of the GD3 pipeline section is smaller than the sum of the radius of the two pipelines, namely the two pipelines collide; if/>The distance between the circle center of the GD2-1 pipeline section and the circle center of the GD3 pipeline section is larger than the sum of the radius of the two pipelines, namely the two pipelines do not collide. Wherein d is the distance, R is the radius of the existing pipeline, R is the radius of the newly added pipeline, and s is the distance interval value of the adjacent pipelines.
S208, when the traversal process is finished, if no collision occurs, the pipeline information can be newly added into the database. If collision occurs, corresponding information needs to be displayed in the three-dimensional visual interface, and the information can be represented by changing colors, adding labels and the like.
After collision analysis, a data report can be selectively derived, wherein the report comprises basic information of the pipeline, and the space utilization rate of the pipeline layer pipe gallery. And displaying the coordinates of the collision position and the pipe axis section view at the coordinates for the collided pipe, and displaying the cross-section image in the report when the distance between the collided pipe and an existing pipeline is slightly larger than a certain threshold value.
From existing pipelines, supervised learning algorithms are used in conjunction with machine learning methods to construct predictive models, such as decision trees, support vector machines, random forests, or neural networks. In this model, the existing pipe positions and associated data are used for training to construct a model that predicts the newly added pipe positions. The model can be used to suggest a new pipe location, and by inputting data related to the new pipe, such as factors of storage media, pipe diameter, etc., the model will output one or more possible suggested locations, and display the piece of pipe and related information of the pipe in a three-dimensional visual interface. It should be noted that these positions are predicted based on the model, and the proposed positions need to be comprehensively considered in combination with various factors such as actual conditions, topography, and the like.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should be covered by the protection scope of the present invention by making equivalents and modifications to the technical solution and the inventive concept thereof.

Claims (8)

1. Cesium-based pipe rack pipeline collision analysis method is characterized by comprising the following steps of:
Step one: before pipeline corridor analysis and collision detection are carried out, relevant information of newly-added pipelines is input, wherein the relevant information comprises coordinates of a starting point and a finishing point, pipeline diameter, thickness of an insulating layer, pipeline wall thickness, safety distance between adjacent pipelines and circulating medium;
Step two: automatically modeling the input pipeline information by using PRIMITIVE entities in Cesium frames so as to carry out subsequent pipeline corridor and collision analysis;
step three: gallery analysis and three-dimensional collision analysis are performed on the newly added pipeline, including,
The newly-added pipeline collision analysis module is used for carrying out pipeline collision analysis according to the data result of the newly-added pipeline corridor module, further traversing the number of layers of pipe shafts where the pipelines are positioned on each pipe shaft by rapidly traversing all pipe shafts where the newly-added pipeline passes, analyzing whether collision occurs between the pipelines on the target layer by establishing a two-dimensional coordinate system, and displaying the result of the collision analysis in a three-dimensional visual interface;
Step four: judging whether the newly added pipeline collides with the existing pipeline or the pipe shaft according to the result obtained by the three-dimensional collision analysis, if so, recording the collision position for further analysis and processing, and if not, storing the input pipeline information into a database for subsequent inquiry and analysis, wherein the method comprises the steps of,
The visualization module is used for displaying and analyzing pipe gallery data according to Cesium frames and PRIMITIVE entities, creating a cylinder and a cuboid model for the pipeline according to the pipe diameter of the pipeline and the thickness of the heat preservation layer, integrating the entity model into high-resolution terrain and image data in the global range supported by Cesium frames, comparing PRIMITIVE entities with live video live images, and adjusting PRIMITIVE entities to be consistent with the live actual scenes;
Step five: for the pipeline subjected to collision analysis, the pipeline is selected to enter a corridor, and basic information of the pipeline is stored in a database, wherein the basic information comprises the number, the length, the diameter, the thickness of an insulating layer, the wall thickness of the pipeline, a storage medium and the expected installation date of the pipeline;
step six: and selecting a derived data report for the pipeline for collision analysis, wherein the data report is in a self-selection format, the data report comprises the basic information of the pipeline in the step five, the space utilization rate of the pipeline gallery on the layer where the pipeline is positioned, the coordinate of the collision position and the pipe axis profile at the coordinate are displayed for the pipeline with collision, and when the distance between the pipeline and the existing pipeline is greater than a threshold value, the cross-section image is displayed in the report.
2. The method for performing a Cesium-based piping lane line collision analysis as claimed in claim 1, comprising,
The data acquisition and storage module is used for storing pipeline information and pipe shaft section information, comprises a pipeline data table and a pipe shaft data table, and is used for quickly inquiring all pipe shafts passed by each pipeline and the layer number where the pipe shafts are positioned by establishing an index relation between the pipeline data table and the pipe shaft data table;
The newly-added pipeline corridor module is used for newly-adding pipeline entities on the three-dimensional visual interface, creating a three-dimensional model on the three-dimensional visual interface by utilizing pipeline information input by the pipeline newly-added interface, inserting the three-dimensional model into an existing pipeline corridor, changing the color of the three-dimensional model and highlighting the three-dimensional model.
3. The Cesium-based piping lane line collision analysis method as set forth in claim 2, wherein integrating the solid model into the high-resolution terrain and image data worldwide supported by the Cesium framework includes:
Extracting Cesium resolution data information of all terrains on the global scope supported by the framework;
Comparing the resolution data information of each terrain with a preset resolution threshold value to obtain a resolution information coefficient, wherein the resolution information coefficient is obtained through the following formula:
wherein f represents a resolution information coefficient corresponding to the terrain; m represents the number of pixel blocks of the image data corresponding to the topography; m max represents the number of pixel blocks of the image data corresponding to the highest resolution terrain; d max denotes a side length size of a pixel block of image data corresponding to the highest resolution topography; d represents the side length dimension of the pixel block of the image data corresponding to the topography;
setting a resolution threshold according to the resolution information data of all terrains;
When the resolution of the entity model after being fused into the Cesium frame exceeds a resolution threshold, the entity model is fused into high-resolution terrain and image data in the global scope supported by the Cesium frame;
when the resolution of the entity model after being integrated into the Cesium framework does not exceed the resolution threshold, the resolution of the entity model is adjusted so that the resolution of the entity model after being integrated into the Cesium framework exceeds the resolution threshold.
4. A pipe lane pipeline collision analysis method as defined in claim 3, wherein setting a resolution threshold based on said all terrain resolution information data comprises:
extracting a resolution information coefficient of each topography;
sequencing the resolution information coefficients of the terrain according to the sequence from high to low to form a coefficient data set;
extracting a specific value coefficient of the coefficient data set; wherein the specific value coefficient is obtained by the following formula:
wherein f e represents a specific value coefficient; f p denotes a coefficient average value of the coefficient data set; n represents the total number of resolution information coefficients in the coefficient data set; f max denotes a resolution information coefficient maximum value in the coefficient data set; f i represents a resolution information coefficient corresponding to the ith topography;
extracting resolution information of terrains corresponding to terrains with resolution information coefficients exceeding specific value coefficients;
setting a resolution threshold value by using resolution information of a terrain corresponding to the terrain of which the resolution information coefficient exceeds a specific value coefficient, wherein the resolution threshold value is obtained by the following formula:
Wherein F y represents a resolution threshold; f e represents the resolution of the terrain to which the coefficient closest to the specific value coefficient corresponds; f max denotes a resolution maximum in the coefficient data set; m represents the number of terrains corresponding to terrains whose resolution information coefficient exceeds a specific value coefficient; f j represents a terrain resolution value for which the j-th resolution information coefficient exceeds a specific value coefficient.
5. The Cesium-based pipe lane line collision analysis method as claimed in claim 1, wherein the lane entering analysis is performed on the newly added line in the third step, specifically: and searching the tube axes of the starting point and the ending point of the newly added pipeline by querying the tube axis database, and determining all tube axes through which the newly added pipeline passes.
6. The Cesium-based pipe rack pipeline collision analysis method according to claim 2, wherein the pipeline data table is used for storing three-dimensional coordinates, pipe diameter, insulation layer thickness and storage medium information of each pipeline.
7. The Cesium-based pipe lane line collision analysis method according to claim 2, wherein the pipe axis data table is used for recording the number of each pipe axis, the number of pipe axis layers and the pipe information passed by each layer.
8. The Cesium-based pipe lane line collision analysis method as claimed in claim 1, wherein a three-dimensional collision analysis is performed on the newly added line of the third step to determine whether a collision with an existing line or pipe shaft occurs.
CN202311859863.XA 2023-12-30 Cesium-based pipe rack pipeline collision analysis method Active CN117910072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311859863.XA CN117910072B (en) 2023-12-30 Cesium-based pipe rack pipeline collision analysis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311859863.XA CN117910072B (en) 2023-12-30 Cesium-based pipe rack pipeline collision analysis method

Publications (2)

Publication Number Publication Date
CN117910072A CN117910072A (en) 2024-04-19
CN117910072B true CN117910072B (en) 2024-06-25

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885912A (en) * 2017-10-24 2018-04-06 星际空间(天津)科技发展有限公司 A kind of Fast Collision Detection Algorithm of magnanimity underground utilities
CN117235878A (en) * 2023-11-15 2023-12-15 深圳市宏源建设科技有限公司 Arrangement method for avoiding collision of utility tunnel pipelines based on BIM technology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885912A (en) * 2017-10-24 2018-04-06 星际空间(天津)科技发展有限公司 A kind of Fast Collision Detection Algorithm of magnanimity underground utilities
CN117235878A (en) * 2023-11-15 2023-12-15 深圳市宏源建设科技有限公司 Arrangement method for avoiding collision of utility tunnel pipelines based on BIM technology

Similar Documents

Publication Publication Date Title
CN109993827B (en) Elevation view identification method for converting building drawing into three-dimensional BIM model
CN110322564B (en) Three-dimensional model construction method suitable for VR/AR transformer substation operation environment
CN107808133B (en) Unmanned aerial vehicle line patrol-based oil and gas pipeline safety monitoring method and system and software memory
US5278946A (en) Method of presenting multimedia data in a desired form by comparing and replacing a user template model with analogous portions of a system
CN113360583A (en) Construction progress visualization method based on BIM model and monitoring image comparison
CN111046462A (en) Drawing display system and method for outdoor building design
CN102750618A (en) {0>Auxiliary management system for subway integrated pipeline construction and implementation method thereof
CN110599287A (en) System and method for customizing a machined product
CN110334390B (en) Method and device for identifying outer wall in computer-aided design (CAD), storage medium and processor
CN111723424B (en) Data processing method and data processing system
CN111854758A (en) Indoor navigation map conversion method and system based on building CAD (computer-aided design) drawing
CN111026781A (en) Search query tool based on object and spatial position
CN107103640A (en) The three-dimensional modeling method and system of a kind of City Buried Pipeline
Hmida et al. Knowledge base approach for 3d objects detection in point clouds using 3d processing and specialists knowledge
CN114782530A (en) Three-dimensional semantic map construction method, device, equipment and medium under indoor scene
CN113128004B (en) Automatic mapping method and device for substation auxiliary control system and storage medium
CN117910072B (en) Cesium-based pipe rack pipeline collision analysis method
CN112561989B (en) Recognition method for hoisting object in construction scene
CN107481306B (en) Three-dimensional interaction method
Manuel et al. A hybrid approach for the semantic annotation of spatially oriented images
CN107481307B (en) Method for rapidly rendering three-dimensional scene
CN111429578B (en) Three-dimensional model generation method and three-dimensional virtual overhaul system for thermal power plant unit
CN111241228B (en) Comprehensive drawing method based on vector data and graphic processing technology
CN110706340B (en) Pipeline three-dimensional visualization platform based on real geographic data
CN117910072A (en) Cesium-based pipe rack pipeline collision analysis method

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant