A pipeline automatic layout method, device, computer system and storage medium
Through the automated pipeline layout method, using factory information and pipeline information, process devices are divided and channels are established to realize the automation of pipeline design, solving the problem of low pipeline design efficiency in the existing technology and improving design efficiency and quality.
Patent Information
- Application Number
- CN202010871505.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-26
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2040-08-26
AI Technical Summary
In the prior art, factory pipeline design in the energy, petrochemical and pharmaceutical fields relies on manual arrangement, which is inefficient and requires multiple repeated modeling and adjustments, resulting in time-consuming and labor-intensive design and a large number of low-level repetitive work, which seriously affects the design. efficiency.
Provide an automatic pipeline layout method, which can automatically arrange pipes by obtaining factory information and pipeline information, dividing process devices, establishing pipeline channels, determining pipeline layout sequence and type, automatically arrange according to preset rules, and review and adjust to realize the automation of pipeline design. .
It reduces the cumbersome and complexity of pipeline layout, reduces manual layout errors, improves design efficiency, and ensures the quality and accuracy of pipeline design.
Smart Images

Figure CN112052546B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of pipeline layout, and in particular to a pipeline automatic layout design method, device, computer system and storage medium. Background Art
[0002] For the design of plants in the fields of energy, petrochemicals, medicine, etc., pipeline design is the most important content. It is a comprehensive design work involving multiple disciplines, which requires the mastery of various aspects of knowledge such as technology, equipment, construction and installation, production operation, and safe production, and strict compliance with national laws and regulations; it needs to adapt to the design requirements of multiple related disciplines such as general layout, technology, equipment, civil engineering, and electrical instruments, and the design is highly comprehensive; for many large and medium-sized projects, it often requires the joint efforts and mutual cooperation of dozens or even more people to complete. According to statistics, for many typical projects, the workload of the pipeline profession can reach more than 40% of the workload of the entire plant design. Pipeline design is an important part of the entire plant design and is related to the safe and stable operation of the entire plant.
[0003] At present, factory design in the fields of energy, petrochemicals, and medicine has generally achieved multi-disciplinary collaborative three-dimensional design, but the pipeline design still relies heavily on manual layout and filling in attribute information, which is inefficient. At the same time, in addition to following the design specifications of the profession, pipeline design also needs to meet the design requirements of other related professions. The design process often requires repeated modeling and repeated modification and adjustment of a design scheme, which is time-consuming and labor-intensive. In addition, the low-level repetitive workload is large, which seriously consumes the precious time of designers. This process urgently needs to be optimized and improved. Summary of the invention
[0004] The present invention provides a pipeline automatic layout design method, device, computer system and storage medium to improve pipeline design efficiency.
[0005] In a first aspect, an embodiment of the present invention provides a method for automatically arranging pipelines in a factory, the method comprising:
[0006] Step 1: Obtain factory information and pipeline information;
[0007] Step 2: Divide the factory into multiple process units according to the factory information;
[0008] Step 3: establishing a pipeline channel based on the factory information and the process device, wherein the pipeline channel is used to place pipelines;
[0009] Step 4: determining the arrangement order of the pipelines according to the pipeline information;
[0010] Step 5: Determine the pipeline type according to the arrangement order of the pipeline, and automatically arrange the pipeline according to the pipeline type and preset rules;
[0011] Step 6: Review and adjust the pipeline layout.
[0012] Optionally, the factory is divided into a plurality of process units according to the factory information, including:
[0013] Establishing a three-dimensional model of the factory according to the factory information;
[0014] A plurality of process equipment models are established in the three-dimensional model of the factory, wherein the process equipment model comprises an interface, the interface comprises a through hole, and a pipeline inside the process equipment model is connected to a pipeline outside the process equipment model through the through hole.
[0015] Optionally, establishing a pipeline channel based on the factory information and the process unit model includes:
[0016] A model of a pipeline channel is established in the three-dimensional model of the factory, wherein the pipeline channel includes a frame-type channel, a horizontal pipe gallery-type channel, a vertical pipe gallery-type channel, a vertical channel-type channel, and a reserved hole-type channel; the frame-type channel is used to place the pipeline inside the process device, the horizontal pipe gallery-type channel is used to place the horizontal pipes, the vertical pipe gallery-type channel and the vertical channel-type channel are used to place the vertical pipes, and the horizontal pipe gallery-type channel and the vertical pipe gallery-type channel both include beams and columns, and the reserved hole-type channel is used to place the pipeline that passes through obstacles.
[0017] Optionally, determining the pipeline type according to the arrangement order of the pipelines includes:
[0018] According to the arrangement order of the pipelines, the pipeline type of the pipeline is determined according to the starting point and the end point of the pipeline, wherein the pipeline types include a main pipeline, a direct-connected pipeline and an in-channel pipeline, the main pipeline is used to connect a plurality of the direct-connected pipelines and / or the in-channel pipelines, the direct-connected pipeline does not pass through the pipeline channel, and the in-channel pipeline passes through the pipeline channel.
[0019] Optionally, automatically arranging the pipeline according to the pipeline type and preset rules includes:
[0020] Arranging the main pipeline;
[0021] After arranging the main pipeline, arranging the direct connection pipeline according to the preset principle;
[0022] After the directly connected pipelines are arranged, the pipelines in the channel are arranged according to the rules for arranging pipelines in the pipeline channel.
[0023] Optionally, review and adjust piping layout, including:
[0024] Generating pipelines in the three-dimensional model of the plant according to the result of the pipeline arrangement;
[0025] Review of said piping arrangements;
[0026] Slicing the three-dimensional model of the factory to generate a two-dimensional cross-sectional view;
[0027] According to the review result, adjusting the position of the pipeline in the two-dimensional cross-sectional view;
[0028] A three-dimensional model of the factory is generated based on the two-dimensional cross-sectional view.
[0029] In a second aspect, an embodiment of the present invention further provides a pipeline design device for automatically arranging pipelines in a factory, the device comprising:
[0030] Conditional initialization module, used to obtain factory information and pipeline information;
[0031] A regional planning module, used for dividing the factory into a plurality of process units according to the factory information;
[0032] A channel planning module, used for establishing a pipeline channel based on the factory information and the process device, wherein the pipeline channel is used for placing pipelines;
[0033] A pipeline sorting module, used to determine the arrangement order of the pipelines according to the pipeline information;
[0034] A pipeline layout module, used to determine the pipeline type according to the arrangement order of the pipelines, and automatically arrange the pipelines according to the pipeline type and preset rules;
[0035] The scheme review and adjustment module is used to review and adjust the pipeline layout.
[0036] Optionally, the pipeline types include the pipeline types including main pipelines, direct pipelines and in-channel pipelines;
[0037] The pipeline arrangement module comprises:
[0038] A main pipe layout unit, used for arranging the main pipes;
[0039] A direct-connected pipeline arrangement unit, used to arrange the direct-connected pipelines according to a preset principle after arranging the main pipelines;
[0040] The pipeline arrangement unit in the channel is used to arrange the pipeline in the channel according to the pipeline arrangement rules in the pipeline channel after arranging the directly connected pipeline.
[0041] In a third aspect, an embodiment of the present invention further provides a computer system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the automatic pipeline layout methods described in the first aspect is implemented.
[0042] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the automatic pipeline arrangement methods described in the first aspect.
[0043] The automatic pipeline layout method provided in the embodiment of the present invention divides the factory into multiple process devices according to the factory information, establishes pipeline channels based on the process devices, facilitates the automatic layout of pipelines in different regions, and helps to reduce the tediousness and complexity of pipeline layout. By determining the layout order of pipelines according to the pipeline information, determining the pipeline type according to the layout order of pipelines, and automatically arranging pipelines according to the pipeline type and preset rules, the same type of pipelines are automatically arranged in batches according to the same rules, thereby realizing the automation of pipeline layout, reducing data processing errors caused by manual layout and filling in attribute information, and improving pipeline design efficiency. The quality of pipeline design is guaranteed by reviewing and adjusting the pipeline layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic diagram of a flow chart of a pipeline automatic layout method provided by an embodiment of the present invention;
[0045] Figure 2 A schematic diagram of the structure of a factory before pipeline arrangement provided by an embodiment of the present invention;
[0046] Figure 3 A schematic diagram of the structure of a factory after pipeline arrangement provided by an embodiment of the present invention;
[0047] Figure 4-6 A schematic diagram of a local structure of a factory after pipeline arrangement provided by an embodiment of the present invention;
[0048] Figure 7 A schematic flow chart of another automatic pipeline arrangement method provided by an embodiment of the present invention;
[0049] Figure 8 A schematic diagram of the structure of a pipeline design device provided by an embodiment of the present invention;
[0050] Fig. 9 A schematic diagram of the structure of a computer system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0052] Figure 1 A schematic diagram of a flow chart of a pipeline automatic layout method provided by an embodiment of the present invention, Figure 2 A schematic diagram of the structure of a factory before pipeline arrangement is provided in an embodiment of the present invention. Figure 3 A schematic diagram of the structure of a factory after pipeline arrangement provided by an embodiment of the present invention, Figure 4-6 A schematic diagram of a local structure of a factory after pipeline arrangement is provided in an embodiment of the present invention, such as Figure 1-6 As shown, the automatic pipeline layout method provided by the embodiment of the present invention is used to automatically layout pipelines in a factory. The automatic pipeline layout method can be executed by a pipeline design device, which can be implemented by hardware and / or software, and the pipeline design device can be integrated into a computer system. The automatic pipeline layout method includes:
[0053] Step 1: Get factory information and pipeline information.
[0054] The factory information includes the scope of the factory, the floor elevation of the factory, and the scope of obstacles in the factory. Specifically, first clarify the scope of the entire factory and the floor elevation of each device partition in the factory, then scan the entire factory, identify and determine the scope of existing obstacles in the factory, including equipment, structural beams, structural columns, escape passages and maintenance passages, etc.
[0055] The information of the pipeline to be arranged can be obtained by establishing or importing a pipeline information table. The pipeline information mainly includes the pipeline number, pipe diameter, name of the material transported in the pipe, properties, flow rate, design temperature, design pressure, operating temperature, operating pressure, pipeline material grade, whether it is a bagless pipeline, etc. By obtaining the pipeline information, it is convenient to select the pipeline to be arranged and determine its properties.
[0056] Step 2: Divide the factory into multiple process units according to the factory information.
[0057] In particular, within the scope of the factory, regional planning is carried out for the entire project plant area. Figure 2 As shown, each process device 10 is defined within the scope of the factory. The process device 10 can be an independent production unit. For example, the process device 10 is a production function module. Those skilled in the art can set it according to actual needs.
[0058] Step 3: establishing a pipeline channel based on the factory information and the process device, wherein the pipeline channel is used to place pipelines;
[0059] Among them, on the basis of the above area division, the pipeline channels connecting the process devices 10 of the whole plant and the pipeline channels located inside the process devices 10 are planned, so that the pipelines are automatically arranged and laid out within the range of the pipeline channels according to the pipeline layout rules of the pipeline channels.
[0060] Step 4: determining the arrangement order of the pipelines according to the pipeline information;
[0061] After the pipeline channel planning is completed, the pipelines of the entire factory or any process device 10 are sorted according to certain rules so that the pipelines can be arranged in this order later. The pipeline information may include pipeline price, pipeline diameter, pipeline operating temperature, etc. The pipeline sorting rules may consider multiple factors such as pipeline price, diameter size, operating temperature, etc., and those skilled in the art can sort the pipelines according to actual needs.
[0062] Step 5: Determine the pipeline type according to the arrangement order of the pipeline, and automatically arrange the pipeline according to the pipeline type and preset rules;
[0063] Among them, according to the arrangement order of the pipelines, the types of pipelines are judged in turn, and the pipelines are arranged according to the types of pipelines. Different pipeline types have different arrangement priorities, so that the same type of pipelines are automatically arranged in batches according to the same rules, realizing the automation of pipeline arrangement and improving pipeline design efficiency.
[0064] Step 6: Review and adjust the pipeline layout.
[0065] Among them, after the automatic pipeline layout is completed, the pipeline layout is reviewed and adjusted to ensure the quality of the pipeline design.
[0066] The automatic pipeline layout method provided in the embodiment of the present invention divides the factory into multiple process devices according to the factory information, establishes pipeline channels based on the process devices, facilitates the automatic layout of pipelines in different regions, and helps to reduce the tediousness and complexity of pipeline layout. By determining the layout order of pipelines according to the pipeline information, determining the pipeline type according to the layout order of pipelines, and automatically arranging pipelines according to the pipeline type and preset rules, the same type of pipelines are automatically arranged in batches according to the same rules, thereby realizing the automation of pipeline layout, reducing data processing errors caused by manual layout and filling in attribute information, and improving pipeline design efficiency. The quality of pipeline design is guaranteed by reviewing and adjusting the pipeline layout.
[0067] Optionally, the factory is divided into a plurality of process units according to the factory information, including:
[0068] A three-dimensional model of the factory is established according to the factory information.
[0069] A plurality of process equipment models are established in the three-dimensional model of the factory, wherein the process equipment model comprises an interface, the interface comprises a through hole, and a pipeline inside the process equipment model is connected to a pipeline outside the process equipment model through the through hole.
[0070] Specifically, the automatic pipeline layout method provided by the embodiment of the present invention can be implemented based on a three-dimensional design platform, and by interacting with the data and commands of the three-dimensional design platform, the factory information is established to achieve unified planning of the factory and efficient identification of obstacles. Specifically, a three-dimensional model of the factory is established on the three-dimensional design platform based on the factory information. The three-dimensional model of the factory includes existing obstacles in the factory. By scanning the entire factory, the scope of the existing obstacles in the factory can be identified and determined. The obstacles include equipment, structural beams, structural columns, escape passages and maintenance passages, etc., so as to facilitate avoiding the existing obstacles in the factory during the subsequent pipeline layout process and ensure the design quality of the pipeline.
[0071] The three-dimensional spatial range of each process device is defined in the three-dimensional model of the factory, and a process device model is established. For example, the process device model is a hexahedron, and each face of the hexahedron is the interface of the process device model. The interface is the interface between the process device and the outside world, and the pipeline cannot directly penetrate the interface to connect with other external equipment or pipelines. A channel connecting the process device and the outside world is defined on the interface, for example, a through hole is opened on the interface so that the pipeline inside the process device model is connected to the pipeline outside the process device model through the through hole. Among them, the through hole can be rectangular, or it can be any other shape such as circular, triangular, etc., and the embodiment of the present invention is not limited to this.
[0072] Optionally, establishing a pipeline channel based on the factory information and the process unit model includes:
[0073] A model of a pipeline channel is established in the three-dimensional model of the factory, wherein the pipeline channel includes a frame-type channel, a horizontal pipe gallery-type channel, a vertical pipe gallery-type channel, a vertical channel-type channel, and a reserved hole-type channel; the frame-type channel is used to place the pipeline inside the process device, the horizontal pipe gallery-type channel is used to place the horizontal pipes, the vertical pipe gallery-type channel and the vertical channel-type channel are used to place the vertical pipes, and the horizontal pipe gallery-type channel and the vertical pipe gallery-type channel both include beams and columns, and the reserved hole-type channel is used to place the pipeline that passes through obstacles.
[0074] Among them, on the basis of the process unit model, the pipeline channels connecting the process unit models of the whole plant and the pipeline channels located inside the process unit model are planned, and the pipeline channel model is established in the three-dimensional model of the factory. The pipeline channel model is used to accommodate pipelines so that the pipelines can be automatically arranged and laid out within the range of the pipeline channel according to the pipeline layout rules of the pipeline channel. Specifically, Figure 2-5 As shown, the pipeline channel includes a frame channel 20, a horizontal pipe gallery channel 21, a vertical pipe gallery channel (not shown in the figure), a vertical channel channel 22, and a reserved hole channel (not shown in the figure). The frame channel 20 is used to plan and limit the pipeline arrangement and placement inside the process device or the building, the horizontal pipe gallery channel is used to plan and limit the horizontal pipelines on the factory area pipe gallery, the vertical pipe gallery channel and the vertical channel channel are used to plan and limit the vertical pipelines, and the horizontal pipe gallery channel and the vertical pipe gallery channel include beams and columns, the vertical channel channel 22 does not include beams and columns, and the reserved hole channel is used to plan and limit the pipeline arrangement when passing through obstacles such as floor slabs nearby. By setting different types of pipeline channels, when automatically arranging pipelines, different types of pipeline channels are selected for different pipelines, and the pipelines are automatically arranged according to the pipeline arrangement rules of different types of pipeline channels.
[0075] It should be noted that the type of the above-mentioned pipeline channels, as well as the number, planned location and specific structure of the pipeline channels can be set according to actual needs.
[0076] Optionally, determining the pipeline type according to the arrangement order of the pipelines includes:
[0077] According to the arrangement order of the pipelines, the pipeline type of the pipeline is determined according to the starting point and the end point of the pipeline, wherein the pipeline types include a main pipeline, a direct-connected pipeline and an in-channel pipeline, the main pipeline is used to connect a plurality of the direct-connected pipelines and / or the in-channel pipelines, the direct-connected pipeline does not pass through the pipeline channel, and the in-channel pipeline passes through the pipeline channel.
[0078] Among them, according to the arrangement order of the pipelines, the pipeline types are judged in turn, and the pipeline types include main pipelines, direct pipelines and pipelines in channels. Specifically, the pipeline type of the pipeline is determined according to the starting point and end point of the pipeline, and the pipeline types include main pipelines, direct pipelines and pipelines in channels. Among them, the main pipeline is used to connect multiple direct pipelines and / or pipelines in channels. After confirming the starting point and end point of the pipeline, it is judged whether the pipeline needs to be connected to the pipeline channel. If the pipeline does not need to pass through the pipeline channel, it is a direct pipeline. If the pipeline needs to pass through the pipeline channel, it is a pipeline in the channel.
[0079] Optionally, automatically arranging the pipeline according to the pipeline type and preset rules includes:
[0080] Lay out the manifold piping.
[0081] After the main pipeline is arranged, the direct connection pipeline is arranged according to the preset principle.
[0082] After the directly connected pipelines are arranged, the pipelines in the channel are arranged according to the rules for arranging pipelines in the pipeline channel.
[0083] Wherein, the main pipe is arranged first, and after the main pipe is arranged, the direct-connected pipe is arranged according to the arranged main pipe, and after the direct-connected pipe is arranged, the pipe in the channel is arranged. The pipe in the channel includes the pipe to be connected to the pipe channel and the pipe located in the pipe channel.
[0084] like Figure 6 As shown, when arranging the direct-connected pipeline 30, the distance between the starting point and the end point is relatively short, and there is no need to select and optimize the pipeline channel. The automatic arrangement of the direct-connected pipeline 30 can be completed in accordance with the elevation of the entire factory and in accordance with the preset principle while avoiding obstacles. The preset principle can be the shortest path principle, and those skilled in the art can define the preset principle according to actual needs.
[0085] When arranging the pipes in the channel, they are arranged according to the rules for arranging pipes in different types of channels. Specifically, for frame-type channels, the pipes in the channels are planned according to the elevations between the floors, and the preset principles are followed to automatically arrange the pipes. Among them, the floors in the frame-type channels are not traversable. For the pipes in the channels of the floors that need to be traversed, the crossing is completed with the help of vertical pipe gallery-type channels, vertical channel-type channels, and reserved hole-type channels. The preset principle can be the shortest path principle. For horizontal pipe gallery-type channels, the pipes in the channels are planned and arranged according to the pipe layout rules of horizontal pipe gallery-type channels. For example, the pipes in the channels with large diameters are arranged close to the columns, the pipes in the low-temperature channels are placed in the lower layer, and the pipes in the high-temperature channels are placed in the upper layer. For vertical pipe gallery-type channels, the pipes in the channels are planned and arranged according to the pipe layout rules of vertical pipe gallery-type channels. When arranging the pipes in the channels inside the vertical pipe gallery-type channels, the influence of beams and columns needs to be considered. For vertical channel-type channels, the pipelines inside the channels are planned and arranged according to the pipeline layout rules of vertical pipe gallery-type channels. When arranging the pipelines inside the vertical channel-type channels, there is no need to consider the influence of beams and columns. For reserved hole-type channels, reserved hole-type channels are channels that pass through obstacles such as floor slabs. The pipelines in the channels can reach the destination more conveniently through the reserved hole-type channels.
[0086] It should be noted that the pipeline layout rules for frame-type channels, horizontal pipe gallery-type channels, vertical pipe gallery-type channels, vertical channel-type channels, and reserved hole-type channels can be set according to actual needs, such as stipulating the pipeline layout rules in different types of pipeline channels according to industry specifications.
[0087] Optionally, review and adjust piping layout, including:
[0088] According to the result of the pipeline arrangement, pipelines are generated in the three-dimensional model of the plant.
[0089] A review of the piping arrangement is performed.
[0090] The three-dimensional model of the factory is sectioned to generate a two-dimensional cross-sectional view.
[0091] Based on the review results, the position of the pipeline is adjusted in the two-dimensional cross-sectional view.
[0092] A three-dimensional model of the factory is generated based on the two-dimensional cross-sectional view.
[0093] After the pipelines are automatically arranged according to the above rules, a model of the pipeline is generated in the 3D model of the factory. The pipeline designer can review the pipeline layout and adjust the position of the pipeline according to actual needs. Specifically, the 3D model of the factory can be cut based on any plane to generate a 2D cross-section view. The pipeline designer can cut the 3D model of the factory for the pipelines that need to be adjusted, move the pipelines that need to be adjusted in the generated 2D cross-section view, and then model according to the adjusted 2D cross-section view to regenerate the 3D model of the factory, thereby completing the position adjustment of the pipeline in the 3D model of the factory.
[0094] In summary, the automatic pipeline layout method provided by the embodiment of the present invention divides the factory into multiple process devices according to the factory information, establishes pipeline channels based on the process devices, facilitates the automatic layout of pipelines in different regions, and helps to reduce the tediousness and complexity of pipeline layout. By determining the layout order of pipelines according to the pipeline information, determining the pipeline type according to the layout order of pipelines, and automatically arranging pipelines according to pipeline types and preset rules, the same type of pipelines are automatically arranged in batches according to the same rules, thereby realizing the automation of pipeline layout, reducing data processing errors caused by manual layout and filling in attribute information, and improving pipeline design efficiency. The quality of pipeline design is guaranteed by reviewing and adjusting the pipeline layout. The automatic pipeline layout method can be implemented based on a three-dimensional design platform, and by interacting with the data and commands of the three-dimensional design platform, factory information and pipeline information are established to achieve unified planning of the factory and efficient identification of obstacles.
[0095] Figure 7 This is a flow chart of another automatic pipeline layout method provided by an embodiment of the present invention. This embodiment is a preferred embodiment of pipeline design using the Smart3D platform on the basis of the technical solution provided by the above embodiment. The explanations of the terms that are the same or corresponding to the above embodiment are not repeated here. Specifically, Figure 7 As shown, first determine the scope and floor elevation of the factory, draw a 3D model of the factory on the Smart3D platform, and scan the entire factory to identify and determine the obstacles that cannot be crossed by the pipeline, such as the built equipment, civil structures, and escape passages, so that the above obstacles can be avoided during the subsequent automatic layout of the pipeline. After that, establish a pipeline information table, which mainly includes pipeline information such as pipeline number, pipe diameter, name of the material transported in the pipe, properties, flow rate, design temperature, design pressure, operating temperature, operating pressure, pipeline material grade, whether it is a bagless pipeline, etc., for project management and other modules to reference.
[0096] On the Smart3D platform, the three-dimensional space range of each process device is established. Specifically, the process device model is placed in the three-dimensional model of the factory to represent the three-dimensional space range of the process device. For example, the process device model is a hexahedron, and the pipeline cannot directly penetrate the hexahedron and connect to the pipeline outside the hexahedron. In order to achieve the connection between the hexahedron and the external pipeline, a rectangular through hole can be set on the interface between the hexahedron and the outside, so that the pipeline in the process device model can be connected to the external pipeline through the rectangular through hole.
[0097] On the basis of the completion of the regional division of each process device model, the pipeline channels inside and outside each process device on the Smart3D platform are planned. The pipeline channels may include frame channels, horizontal pipe gallery channels, vertical pipe gallery channels, vertical channel channels and reserved hole channels. For multi-layer structural frames, frame channels and vertical pipe gallery channels or vertical channel channels can be used to coordinate, so as to impose unified rules and constraints on the pipeline layout of each layer and each block. For horizontal pipe galleries connecting various process devices, horizontal pipe gallery channels can be used to plan and restrict the pipeline layout on the horizontal pipe gallery. For pipelines that pass through floors or walls, reserved hole channels can be used for rule constraints.
[0098] After the pipeline channel planning is completed, it is necessary to determine the priority and sort the pipelines of the entire factory or a process device according to certain rules so that the system can determine the order of automatic pipeline layout according to the priority order. The sorting can be presented in the form of a pipeline list, which can be automatically generated by the Smart3D platform or other software, or the order of the pipelines in the pipeline list can be manually adjusted.
[0099] After the above preparations are completed, automatic piping can be carried out.
[0100] According to the arrangement order of pipelines, the pipeline types are judged and arranged in turn. The principle is to judge and arrange the main pipelines first; secondly, judge and arrange the directly connected pipelines; finally, judge and arrange the pipelines in the channels.
[0101] The specific process can be executed according to the following logical loop. First, the integrity of the pipeline is determined to determine whether the pipeline is compatible. Specifically, it is confirmed whether the pipeline has a clear starting point and end point. If the pipeline has a starting point and an end point, and the starting point and the end point exist in the three-dimensional model of the factory, the pipeline is compatible. For compatible pipelines, it is determined whether the pipeline is connected to the channel. If so, it is necessary to select the pipeline channel and optimize the sorting before automatically arranging the pipeline. If not, the piping can be directly performed.
[0102] For example, if the distance between the starting point and the end point of the pipeline is short and does not need to pass through the pipeline channel, the pipeline is judged to be a direct-connected pipeline. The direct-connected pipeline does not need to be selected and optimized through the pipeline channel, and the direct-connected pipeline can be piped in free space. Specifically, the automatic layout of the direct-connected pipeline can be completed in accordance with the elevation of the entire factory and in accordance with the preset principle under the premise of avoiding obstacles. The preset principle can be the shortest path principle. In addition, for pipelines that cannot be automatically arranged smoothly, the system will move the pipeline back to the list of pipelines to be arranged, waiting to participate in the next logical cycle. When this logical cycle can no longer arrange more pipelines, the remaining pipelines (such as pipelines with missing starting and ending points, or pipelines whose starting and / or ending points cannot be found in the three-dimensional model of the factory) will be counted in the list of pipelines that have not been arranged, waiting for further data adjustment and optimization.
[0103] After the direct pipelines are automatically arranged, the remaining pipelines in the channel that need to pass through the pipeline channel will be automatically arranged according to the rules for the layout of pipelines in the channel. Specifically, it is determined whether the pipeline in the channel needs to pass through the horizontal pipe gallery channel between the process devices. If necessary, the horizontal pipe gallery channel is piped, the position of the pipeline in the channel in the horizontal pipe gallery channel is determined, and the path is found to determine the pipeline channel that needs to be passed between the starting point and the end point of the pipeline in the channel. The pipeline in the channel is automatically arranged according to the pipeline layout rules of different types of pipeline channels, the cross-sectional layout of the pipeline is determined, and the pipeline is 3D modeled.
[0104] After the automatic layout of the pipeline is completed, the pipeline designer can cut the pipeline at any position of the 3D model of the factory in the Smart3D platform to form an editable AutoCAD plan for scheme review. The pipeline designer can confirm and adjust the current pipeline layout plan. By adjusting the pipeline in the AutoCAD image, the corresponding pipeline on the Smart3D platform can be adjusted. After the pipeline layout plan passes the review, the result report is output to complete the pipeline design.
[0105] It should be noted that the above embodiment only takes the Smart3D platform as an example. In other embodiments, any three-dimensional design platform can be used to implement the automatic pipeline layout method provided in the above embodiment.
[0106] The automatic pipeline layout method provided by the embodiment of the present invention realizes the planning, automatic layout and quick adjustment of pipelines, and can be applied to the three-dimensional factory automation pipeline design in various fields such as energy, petrochemical, and medicine. Among them, the pipeline is reasonably and automatically arranged in stages and regions according to priorities and rules, which simplifies the design process of the three-dimensional pipeline model, reduces the time consumption of manual modeling and the probability of data input errors, and improves the design efficiency of the three-dimensional pipeline. At the same time, the pipeline design plan can review and adjust the pipeline layout on the two-dimensional design platform, thereby greatly improving the design efficiency and design quality of the pipeline profession.
[0107] Based on the same inventive concept, the embodiment of the present invention further provides a pipeline design device and a design system for automatically arranging pipelines in a factory. The explanation of the same or corresponding structures and terms as those in the above embodiment will not be repeated here. Figure 8 A schematic diagram of the structure of a pipeline design device provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, the pipeline design device 40 provided in the embodiment of the present invention includes:
[0108] The conditional initialization module 41 is used to obtain factory information and pipeline information.
[0109] The area planning module 42 is used to divide the factory into a plurality of process units according to the factory information.
[0110] The channel planning module 43 is used to establish a pipeline channel based on the factory information and the process equipment, wherein the pipeline channel is used to place pipelines.
[0111] The pipeline sorting module 44 is used to determine the arrangement order of the pipelines according to the pipeline information.
[0112] The pipeline arrangement module 45 is used to determine the pipeline type according to the arrangement sequence of the pipelines, and automatically arrange the pipelines according to the pipeline type and preset rules.
[0113] The scheme review and adjustment module 46 is used to review and adjust the pipeline layout.
[0114] Optionally, the pipeline types include the pipeline types including main pipelines, direct pipelines and in-channel pipelines;
[0115] The pipeline arrangement module comprises:
[0116] A main pipe layout unit 451 is used to layout the main pipes;
[0117] A direct-connected pipeline arrangement unit 452 is used to arrange the direct-connected pipelines according to a preset principle after arranging the main pipelines;
[0118] The in-channel pipe arrangement unit 453 is used to arrange the in-channel pipes according to the rules for arranging pipes in a pipe channel after arranging the directly connected pipes.
[0119] Among them, the pipeline design device provided in the embodiment of the present invention can execute the pipeline automatic layout method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0120] Based on the same inventive concept, an embodiment of the present invention further provides a computer system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the automatic pipeline arrangement method provided in any of the above embodiments is implemented.
[0121] Fig. 9 A schematic diagram of the structure of a computer system provided by an embodiment of the present invention is shown in FIG. Fig. 9 As shown, the computer system includes a processor 51, a memory 52, an input device 53 and an output device 54. The number of the processor 51 in the computer system can be one or more. Fig. 9 A processor 51 is taken as an example; the processor 51, memory 52, input device 53 and output device 54 in the computer system can be connected by a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.
[0122] The memory 52, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the pipeline automatic layout method in the embodiment of the present invention (for example, the conditional initialization module 41, the area planning module 42, the channel planning module 43, the pipeline sorting module 44, the pipeline layout module 45 and the scheme review and adjustment module 46 in the pipeline design device). The processor 51 executes various functional applications and data processing of the computer system by running the software programs, instructions and modules stored in the memory 52, that is, realizes the above-mentioned pipeline automatic layout method.
[0123] The memory 52 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 52 may further include a memory remotely arranged relative to the processor 51, and these remote memories may be connected to the computer system via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0124] The input device 53 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the computer system. The output device 54 may include a display system such as a display screen.
[0125] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the automatic pipeline arrangement method provided by any of the above embodiments is implemented.
[0126] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0127] It is worth noting that in the embodiment of the above-mentioned pipeline design device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0128] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A pipeline automatic layout method for automatically arranging pipelines in a factory, characterized in that: include: Step 1: Obtain factory information and pipeline information; Step 2: Divide the factory into multiple process units according to the factory information; Step 3: Based on the factory information and the process device, a pipeline channel is established, wherein the pipeline channel is used to place pipelines; wherein the pipeline channel includes a frame channel, a horizontal pipe gallery channel, a vertical pipe gallery channel, a vertical channel channel, and a reserved hole channel; Step 4: determining the arrangement order of the pipelines according to the pipeline information; Step 5: Determine the pipeline type according to the arrangement order of the pipeline, and automatically arrange the pipeline according to the pipeline type and preset rules; wherein the pipeline type includes main pipeline, direct pipeline and channel pipeline; Step 6: Review and adjust the pipeline layout; According to the factory information, the factory is divided into multiple process units, including: Establishing a three-dimensional model of the factory according to the factory information; A plurality of process equipment models are established in the three-dimensional model of the factory, wherein the process equipment model comprises an interface, the interface comprises a through hole, and a pipeline inside the process equipment model is connected to a pipeline outside the process equipment model through the through hole.
2. The automatic pipeline layout method according to claim 1, characterized in that: Based on the plant information and the process unit model, a pipeline channel is established, including: A model of a pipeline channel is established in the three-dimensional model of the factory; the frame-type channel is used to place the pipeline inside the process device, the horizontal pipe gallery-type channel is used to place the horizontal pipe gallery-type channel and the vertical channel-type channel are used to place the vertical pipe gallery-type channel, and the horizontal pipe gallery-type channel and the vertical pipe gallery-type channel both include beams and columns, and the reserved hole-type channel is used to place the pipe that passes through obstacles.
3. The automatic pipeline layout method according to claim 1, characterized in that: The pipeline type is determined according to the arrangement order of the pipelines, including: According to the arrangement order of the pipelines, the pipeline type of the pipelines is determined according to the starting point and the end point of the pipelines. The main pipeline is used to connect multiple directly connected pipelines and / or pipelines in the channels. The directly connected pipelines do not pass through the pipeline channels, and the pipelines in the channels pass through the pipeline channels.
4. The automatic pipeline layout method according to claim 3, characterized in that: Automatically arrange the pipeline according to the pipeline type and preset rules, including: Arranging the main pipeline; After arranging the main pipeline, arranging the direct connection pipeline according to the preset principle; After the directly connected pipelines are arranged, the pipelines in the channel are arranged according to the rules for arranging pipelines in the pipeline channel.
5. The automatic pipeline layout method according to claim 1, characterized in that: Review and adjust piping layout, including: Generating pipelines in the three-dimensional model of the plant according to the result of the pipeline arrangement; Review of said piping arrangements; Slicing the three-dimensional model of the factory to generate a two-dimensional cross-sectional view; According to the review result, adjusting the position of the pipeline in the two-dimensional cross-sectional view; A three-dimensional model of the factory is generated based on the two-dimensional cross-sectional view.
6. An automatic pipeline layout device, used for automatic pipeline layout in a factory, characterized in that: include: Conditional initialization module, used to obtain factory information and pipeline information; A regional planning module, for dividing a factory into a plurality of process devices according to the factory information; wherein, dividing the factory into a plurality of process devices according to the factory information comprises: establishing a three-dimensional model of the factory according to the factory information; establishing a plurality of process device models in the three-dimensional model of the factory, wherein the process device model comprises an interface, the interface comprises a through hole, and a pipeline inside the process device model is connected to a pipeline outside the process device model through the through hole; A channel planning module, for establishing a pipeline channel based on the factory information and the process device, wherein the pipeline channel is used to place pipelines; wherein the pipeline channel includes a frame channel, a horizontal pipe gallery channel, a vertical pipe gallery channel, a vertical channel channel, and a reserved hole channel; A pipeline sorting module, used to determine the arrangement order of the pipelines according to the pipeline information; A pipeline layout module, used to determine the pipeline type according to the arrangement order of the pipeline, and automatically arrange the pipeline according to the pipeline type and preset rules; wherein the pipeline type includes main pipeline, direct pipeline and channel pipeline; The scheme review and adjustment module is used to review and adjust the pipeline layout.
7. The automatic pipeline arrangement device according to claim 6, characterized in that: The pipeline arrangement module comprises: A main pipe layout unit, used for arranging the main pipes; A direct-connected pipeline arrangement unit, used to arrange the direct-connected pipelines according to a preset principle after arranging the main pipelines; The pipeline arrangement unit in the channel is used to arrange the pipeline in the channel according to the pipeline arrangement rules in the pipeline channel after arranging the directly connected pipeline.
8. A computer system comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the automatic pipeline layout method as described in any one of claims 1-5 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the automatic pipeline arrangement method as described in any one of claims 1 to 5 is implemented.