CN112597603A - PDMS pipeline automatic modeling method based on key points and computer terminal - Google Patents

PDMS pipeline automatic modeling method based on key points and computer terminal Download PDF

Info

Publication number
CN112597603A
CN112597603A CN202011394455.8A CN202011394455A CN112597603A CN 112597603 A CN112597603 A CN 112597603A CN 202011394455 A CN202011394455 A CN 202011394455A CN 112597603 A CN112597603 A CN 112597603A
Authority
CN
China
Prior art keywords
pipeline
head
modeling
tail
information
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.)
Granted
Application number
CN202011394455.8A
Other languages
Chinese (zh)
Other versions
CN112597603B (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.)
China General Nuclear Power Corp
China Nuclear Power Engineering Co Ltd
CGN Power Co Ltd
Shenzhen China Guangdong Nuclear Engineering Design Co Ltd
Original Assignee
China General Nuclear Power Corp
China Nuclear Power Engineering Co Ltd
CGN Power Co Ltd
Shenzhen China Guangdong Nuclear Engineering Design Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China General Nuclear Power Corp, China Nuclear Power Engineering Co Ltd, CGN Power Co Ltd, Shenzhen China Guangdong Nuclear Engineering Design Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202011394455.8A priority Critical patent/CN112597603B/en
Publication of CN112597603A publication Critical patent/CN112597603A/en
Application granted granted Critical
Publication of CN112597603B publication Critical patent/CN112597603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a PDMS pipeline automatic modeling method based on key points and a computer terminal, comprising the following steps: obtaining modeling data; determining a pipeline head and a pipeline tail according to the modeling data; generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data; generating a pipeline primary model according to the information of the pipeline head, the pipeline tail and the pipeline key points and by combining a pipeline selection rule; obtaining on-line equipment according to the modeling data; determining the position of the online equipment in the pipeline preliminary model; generating a three-dimensional pipeline design model; and (5) carrying out pipeline gradient setting on the three-dimensional pipeline design model. The key point of the invention is automatic modeling, the relative position of the online equipment in the pipeline can be set, the function of automatic slope releasing of the pipeline is solved, the complexity of pipeline modeling in PDMS is effectively reduced, the modeling efficiency is obviously improved, and the human input cost is greatly reduced.

Description

PDMS pipeline automatic modeling method based on key points and computer terminal
Technical Field
The invention relates to the field of three-dimensional design models, in particular to a PDMS pipeline automatic modeling method based on key points and a computer terminal.
Background
The design of nuclear power plant pipelines is an important component of nuclear power plant layout design, along with the continuous development of nuclear power technology, the requirement on engineering design precision is higher and higher, and the conventional two-dimensional design is difficult to meet the requirement of actual nuclear power plant engineering design. The current nuclear power engineering design industry has basically completed the transformation from the traditional two-dimensional design to the three-dimensional forward design.
However, in the existing factory three-dimensional design management system (PDMS) pipeline modeling, a designer needs to check a two-dimensional flow and a pipeline list, and manually sort out information such as a logical relationship between pipelines, head-to-tail connection and the like; then, manually selecting the component library elements at different levels; and then according to the modes of 'pipe guiding pipeline' and 'end-to-end connection', pipe fittings are sequentially built to complete pipeline arrangement.
Although the existing PDMS pipeline modeling mode can realize the three-dimensional design of the pipeline, the manpower input cost is high and the design efficiency is low.
Disclosure of Invention
The invention aims to solve the technical problem of providing a PDMS pipeline automatic modeling method based on key points and a computer terminal aiming at the defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a PDMS pipeline automatic modeling method based on key points is constructed, and comprises the following steps:
obtaining modeling data;
determining a pipeline head and a pipeline tail according to the modeling data;
generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data;
generating a pipeline preliminary model according to the pipeline head, the pipeline tail and the pipeline key point information and by combining a pipeline selection rule;
obtaining on-line equipment according to the modeling data;
determining a location of the online device in the preliminary model of the pipeline;
generating a three-dimensional pipeline design model;
and setting the pipeline gradient of the three-dimensional pipeline design model.
Wherein the obtaining modeling data comprises:
extracting general data required by the three-dimensional pipeline from the two-dimensional platform through an interface program;
after the format of the general data is adjusted, the modeling data is formed and transmitted to a three-dimensional modeling platform;
the three-dimensional modeling platform receives and stores the modeling data.
Wherein the modeling data comprises: the logical relationship of the pipe name, the pipe attribute information, the originating device, and the pipe.
Wherein the logical relationship of the pipeline comprises: the flow direction of the pipeline, the head-tail connection relation of the pipeline, the order rule of the pipeline, and the connection order of the valve, the branch, the reducer and the flange on the flow chart.
Wherein the method further comprises:
and determining the arrangement sequence of the multiple pipelines according to the multiple-pipeline arrangement sequence rule.
Wherein the method further comprises:
judging whether the multi-pipeline has three-dimensional pipeline attribute information or not in the multi-pipeline with the determined arrangement sequence;
and if not, writing the three-dimensional pipeline attribute information of the pipeline without the three-dimensional pipeline attribute information.
Wherein the pipeline key point information comprises:
an inflection point in a pipeline layout path and inflection point information for the inflection point.
Wherein said determining a pipeline head and a pipeline tail from said modeling data comprises:
acquiring head information of the pipeline and tail information of the pipeline according to the modeling data;
and determining the head part and the tail part of the pipeline according to the head information of the pipeline and the tail information of the pipeline.
Wherein generating pipeline keypoint information from the pipeline head, the pipeline tail, and the modeling data comprises:
obtaining inflection points in the pipeline arrangement path and information of the inflection points by adopting a preset algorithm according to the modeling data;
the inflection points in the pipeline placement path include a plurality of inflection points in the pipeline.
Wherein said determining the location of the online device in the preliminary model of the pipeline comprises:
acquiring the logic relation of the online equipment in a pipeline according to the modeling data;
determining the position of the online equipment according to the logical relation of the online equipment in a pipeline; the position of the online equipment is the position of a key point of the online equipment in the pipeline preliminary model.
Wherein the pipeline selection rule is as follows: pipe guidance pipeline rules and end-to-end connection rules.
Generating a pipeline preliminary model according to the pipeline head, the pipeline tail and the pipeline key point information and by combining a pipeline selection rule comprises the following steps:
extracting key points in the pipeline layout path according to the pipeline key point information;
calculating a keypoint angle in the pipeline layout path;
determining the type of the pipe fitting according to the key point angle;
setting the inlet and outlet directions of the pipe fittings according to the pipeline head, the pipeline tail and the head-tail connection rule;
and after the arrangement of the inlet and outlet directions of the pipe fittings is finished, finishing pipeline modeling according to the pipe fitting guide pipeline rule to generate the pipeline primary model.
Wherein, the three-dimensional pipeline design model for pipeline gradient setting comprises:
setting the gradient of the placing slope;
defining a direction of a pipeline head according to the slope;
and determining the direction of slope releasing of each pipeline according to the defined direction of the pipeline head, and finishing the slope setting of the pipelines.
Wherein the method further comprises:
after the pipeline slope setting is completed, an exhaust point is set at a local high point of the pipeline, and a hydrophobic point is set at a local low point of the pipeline.
Wherein determining the direction of each pipe ramp according to the defined direction of the pipe head comprises:
acquiring inflection point information of all inflection points of all pipes in the pipeline arrangement path;
comparing the elevation information of all inflection points;
determining a key inflection point according to the comparison result of the elevation information;
comparing elevation information of the key inflection points;
and determining the direction of each pipeline slope according to the comparison result of the elevation information of the key inflection point.
The invention also provides a PDMS pipeline automatic modeling system based on key points, which comprises:
an acquisition unit configured to acquire modeling data;
a determining unit for determining a pipeline head and a pipeline tail according to the modeling data;
the key point generating unit is used for generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data;
the pipeline primary model generating unit is used for generating a pipeline primary model according to the pipeline head, the pipeline tail and the pipeline key point information and by combining a pipeline selection rule;
the online equipment determining unit is used for acquiring online equipment according to the modeling data;
a positioning unit for determining the position of the online device in the preliminary model of the pipeline;
the three-dimensional pipeline model generating unit is used for generating a three-dimensional pipeline design model;
and the gradient setting unit is used for setting the pipeline gradient of the three-dimensional pipeline design model.
The invention also provides a computer terminal, which comprises a processor and a memory, wherein the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory to realize the automatic modeling method of the PDMS pipeline based on the key points.
The present invention also provides a storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the above-described keypoint-based PDMS conduit automatic modeling method.
The key point-based PDMS pipeline automatic modeling method and the computer terminal have the following beneficial effects: the method comprises the following steps: the method comprises the following steps: obtaining modeling data; determining a pipeline head and a pipeline tail according to the modeling data; generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data; generating a pipeline primary model according to the information of the pipeline head, the pipeline tail and the pipeline key points and by combining a pipeline selection rule; obtaining on-line equipment according to the modeling data; determining the position of the online equipment in the pipeline preliminary model; generating a three-dimensional pipeline design model; and (5) carrying out pipeline gradient setting on the three-dimensional pipeline design model. The key point of the invention is automatic modeling, the relative position of the online equipment in the pipeline can be set, the function of automatic slope releasing of the pipeline is solved, the complexity of pipeline modeling in PDMS is effectively reduced, the modeling efficiency is obviously improved, and the human input cost is greatly reduced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic structural diagram of a key point-based PDMS pipeline automatic modeling system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a PDMS pipeline automatic modeling method based on key points according to an embodiment of the present invention;
FIGS. 3-5 are schematic views of selected tubular members of the present invention;
fig. 6 is a schematic illustration of the pipeline ramp set according to the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a PDMS pipeline automatic modeling system based on key points according to the present invention.
As shown in fig. 1, the system includes a two-dimensional system platform 200 and a three-dimensional deployment platform 100. Wherein, the three-dimensional arrangement platform 100 includes: an acquisition unit 101, a key point generation unit 102, a determination unit 103, a pipeline preliminary model generation unit 104, an online device determination unit 105, a positioning unit 106, a gradient setting unit 108, and a three-dimensional pipeline model generation unit 107.
In some embodiments, as shown in FIG. 1, the acquisition unit 101 is configured to acquire modeling data from a two-dimensional system platform 200. Specifically, the two-dimensional system platform 200 stores data such as two-dimensional process design object information, device design attributes, and design object connection logical relationships. The invention extracts general data required by three-dimensional pipeline design from a two-dimensional system platform 200 through a Diagram/Engineering (interface program), forms modeling data which can be identified and used by the three-dimensional arrangement platform 100 after the format of the general data is adjusted, and transmits the extracted modeling data to the three-dimensional arrangement platform 100 for storage so as to be used for modeling or called by a user.
A determining unit 103, configured to determine a pipeline head and a pipeline tail according to the pipeline key point information. Specifically, the determination unit 103 may determine the pipe head and the pipe tail from the coordinate information, the position information, and the attribute information in the modeling data extracted by the acquisition unit 101.
And the key point generating unit 102 is used for generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data. Specifically, the key point generating unit 102 generates pipeline key points and information corresponding to each key point using coordinate information, direction information, and the like in the modeling data acquired from the acquiring unit 101.
And the pipeline primary model generating unit 104 is configured to generate a pipeline primary model according to the pipeline head, the pipeline tail and the pipeline key point information and by combining a pipeline selection rule.
And an online device determining unit 105, configured to obtain an online device according to the modeling data.
A location unit 106 for determining the location of the online device in the preliminary model of the pipeline. Specifically, after the pipeline of the three-dimensional arrangement platform 100 is automatically modeled to generate a pipeline preliminary model according to the generated pipeline key point information, the specific position of the online equipment in the pipeline can be positioned according to the information of the online equipment.
A three-dimensional pipeline model generating unit 107 for generating a three-dimensional pipeline design model.
And the gradient setting unit 108 is used for setting the pipeline gradient of the three-dimensional pipeline design model. Three-dimensional pipeline model generation unit 107
Referring to fig. 2, fig. 2 is a schematic flowchart of a PDMS pipeline automatic modeling method based on a key point according to an embodiment of the present invention.
As shown in fig. 2, the method for automatically modeling a PDMS pipeline based on a key point includes:
and step S201, obtaining modeling data.
In some embodiments, obtaining modeling data comprises: extracting general data required by the three-dimensional pipeline from the two-dimensional platform through an interface program; after the format of the general data is adjusted, modeling data are formed and transmitted to a three-dimensional modeling platform; the three-dimensional modeling platform receives and stores modeling data. It should be noted that the three-dimensional modeling platform is the aforementioned three-dimensional arrangement platform 100.
Optionally, in some embodiments, reading the two-dimensional data on the two-dimensional system platform 200 to the three-dimensional modeling platform may be performed through a Diagram/Engineering interface program, and through the interface program, the two-dimensional data on the two-dimensional system platform 200 may be directly read and adjusted in a uniform format to generate three-dimensional data that can be recognized and used by the three-dimensional modeling platform.
In some embodiments, the modeling data includes, but is not limited to, a pipe name, pipe attribute information, an originating device, and a logical relationship of the pipe. Wherein, the pipeline attribute information includes but is not limited to: the information of the head of the pipeline, the information of the tail of the pipeline, the pipe diameter of the pipeline, the direction information of the pipeline and the like. The head information of the pipeline comprises the head coordinates of the pipeline and the head direction of the pipeline. The tail information of the pipeline comprises tail coordinates of the pipeline and a tail direction of the pipeline.
In some embodiments, the logical relationship of the pipes includes: the flow direction of the pipeline, the head-tail connection relation of the pipeline, the order rule of the pipeline, and the connection order of the valve, the branch, the reducer and the flange on the flow chart.
Further, in some embodiments, after the modeling data is acquired, the order of arrangement of the multiple pipes is determined based on a multiple pipe arrangement order rule. The multi-pipe arrangement order rule is determined by pipe diameter size, pipeline nuclear level (non-nuclear level), anti-seismic (non-anti-seismic), whether a head-tail connection relation exists or not and the like. After the arrangement sequence of the pipelines is determined, judging whether the multiple pipelines have three-dimensional pipeline attribute information or not in the multiple pipelines with the arrangement sequence determined; and if not, writing the three-dimensional pipeline attribute information of the pipeline without the three-dimensional pipeline attribute information. It is understood that in other embodiments, if the data stored in the two-dimensional system platform 200 has no or incomplete pipe attribute information, the pipe attribute information may be written manually by a user, so that the modeling data is more complete for use in automatic modeling.
And step S202, determining a pipeline head and a pipeline tail according to the modeling data.
Specifically, after the modeling data is obtained, the head information of the pipeline and the tail information of the pipeline are obtained from the modeling data, and then the pipeline head and the pipeline tail are determined according to the head information of the pipeline and the tail information of the pipeline. The head information of the pipeline comprises the head coordinate of the pipeline, the head direction of the pipeline and the head pipe diameter of the pipeline. The tail information of the pipeline comprises the tail coordinate of the pipeline, the tail direction of the pipeline and the tail pipe diameter of the pipeline.
And S203, generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data.
Specifically, the pipeline key point information includes: an inflection point in the pipeline layout path and inflection point information of the inflection point.
In some embodiments, generating pipeline keypoint information from the pipeline head, the pipeline tail, and the modeling data comprises: determining a pipeline head and a pipeline tail according to modeling data; according to the pipeline head and the pipeline tail, head information of the pipeline head and tail information of the pipeline tail are obtained from the modeling data. Wherein the header information of the pipe header includes: the coordinate of the pipeline head, the direction of the pipeline head and the pipe diameter of the pipeline head. The tail information of the pipeline tail comprises: the coordinate of the pipeline tail, the direction of the pipeline tail and the pipe diameter of the pipeline tail.
It is understood that the head information and the tail information of the pipeline head can be individually set or modified by the user according to actual needs.
In some embodiments, generating pipeline keypoint information from the pipeline head, the pipeline tail, and the modeling data comprises: according to the pipeline head, the pipeline tail and modeling data, a preset algorithm is adopted to obtain inflection points and inflection point information in the pipeline arrangement path; the inflection point in the pipeline layout path includes a plurality of inflection points in the pipeline. Alternatively, a number of critical inflection points in the pipeline may be automatically generated by the a-algorithm. The A-algorithm is a search method for solving obstacle avoidance and searching a shortest path in a static road network. Specifically, the evaluation function expression of the a-algorithm is as follows: (n) ═ g (n) + h (n); f (n) is an estimate of the cost of reaching the target state from the initial state via state n; g (n) is the actual cost in state space from the initial state to state n; h (n) is the best path estimation cost from state n to the target state. By using the a-algorithm evaluation expression, a series of path key points (i.e., key inflection points in the pipeline layout path required by the embodiment of the present invention) can be calculated.
Further, after the inflection points in the pipeline layout path are determined, the inflection point information of the inflection points is found from the obtained modeling data. Wherein, the inflection point information includes, but is not limited to, inflection point coordinates, inflection point direction, inflection point pipe diameter, etc.
And S204, generating a pipeline primary model according to the information of the pipeline head, the pipeline tail and the pipeline key point and by combining a pipeline selection rule.
Optionally, the pipeline selection rule is: pipe guidance pipeline rules and end-to-end connection rules.
In some embodiments, generating a pipeline preliminary model based on pipeline head, pipeline tail, and pipeline keypoint information in combination with pipeline selection rules comprises: extracting key points in the pipeline layout path according to the pipeline key point information; calculating a key point angle in a pipeline arrangement path; determining the type of the pipe fitting according to the key point angle; setting the inlet and outlet directions of the pipe fittings according to the connection rules of the head part, the tail part and the head and the tail of the pipeline; after the arrangement of the inlet and outlet directions of the pipe fittings is finished, the pipeline modeling is finished according to the pipe fitting guide pipeline rule, and a pipeline primary model is generated.
It should be noted that each pipe has its characteristic points, including: the origin (PO) of the pipe, the arrival point (ARRIVE point, also defined as point P1) of the pipe, and the departure point (LEAVE point, also defined as point P2) of the pipe, the origin being the reference point of the pipe, the arrival and departure points defining the connection point and determining the direction of flow of the pipe medium through the pipe. Therefore, in order to ensure the correctness of the medium flowing direction in the pipeline, the embodiment of the invention adopts an end-to-end connection mode to define the connection of the pipe fittings, and the connection of the pipe fittings and the pipe fittings is the connection of an ARRIVE point and a LEAVE point. Furthermore, the data management of the pipeline adopts a tree structure hierarchy, and the pipe fittings under the pipeline are arranged in sequence according to the flow direction of the pipeline.
Based on the above principle, the embodiment of the present invention can perform automatic pipe modeling after determining the pipeline head, the pipeline tail, and the key points in the pipeline layout path. It should be noted that the critical point in the pipeline layout path is the aforementioned inflection point in the pipeline layout path.
Specifically, first, the keypoint angle is calculated. The key point angle is an included angle formed by a straight line where the current key point and the previous key point adjacent to the current key point are located and a straight line where the current key point and the next key point adjacent to the current key point are located. Wherein, the current key point is any one key point of all key points in the pipeline layout path.
Secondly, according to the pipe diameter size of pipeline, consider key point angle size simultaneously, select different pipe fitting types. The pipe types include, but are not limited to, welds, bends, elbows, and the like.
As shown in fig. 3 to 5, schematic diagrams are selected for the pipe type.
Wherein, when the pipe diameter is less than or equal to 10, the bent pipe fitting under the same grade can be directly selected.
Referring to fig. 3, fig. 3 is a schematic view of an alternative type of pipe having a pipe diameter greater than 15 and less than 50.
As shown in fig. 3, in the pipe diameter range, when the key point angle is 0-2 degrees, the type of the pipe fitting is a welding point; when the angle of the key point is 43-45 degrees, the selectable type of the pipe fitting is a 45-degree elbow; when the key point angle is 88-90 degrees, the selectable pipe fitting type is a 90-degree elbow; when the key point angle is other angles, the tube type of choice is a bent tube.
Referring to fig. 4, fig. 4 is a schematic view of an alternative type of pipe having a pipe diameter greater than 50 a and less than 100 a.
As shown in fig. 4, in the pipe diameter range, when the key point angle is 0-2 degrees, the selectable pipe type is a welding point; when the angle of the key point is 2-45 degrees, the selectable type of the pipe fitting is an elbow; when the key point angle is other angles, the tube type of choice is a 90 degree bend.
Referring to fig. 5, fig. 5 is a schematic view of an alternative type of pipe having a pipe diameter greater than 100 a.
As shown in fig. 5, in the pipe diameter range, when the key point angle is 0-2 degrees, the selectable pipe type is a welding point; when the angle of the key point is 2-30 degrees, the selectable type of the pipe fitting is a bent pipe; when the angle of the key point is 30-45 degrees, the selectable type of the pipe fitting is a 45-degree elbow; when the key point angle is 45-120 degrees, the selectable pipe fitting type is a 120-degree elbow.
And then, after the type of the pipe fitting is determined, the inlet and outlet directions of the pipe fitting are set according to the head-tail connection rule. Specifically, the direction of the ARRIVE point of the first key point is consistent with the direction of the head of the pipeline, and the direction of the LEAVE point of the first key point is consistent with the PO direction from the LEAVE point to the second key point; the direction of the ARRIVE point of the second key point is consistent with the direction of the LEAVE point of the first key point, and the rest is repeated until the arrangement of the inlet and outlet directions of all the pipe fittings is finished.
And finally, automatically creating and generating a pipeline preliminary model according to the pipeline guiding principle after the arrangement of the inlet and outlet directions of all the pipe fittings is finished.
And S205, acquiring the online equipment according to the modeling data.
Specifically, the online device list is included in the obtained modeling data, so that the online device and the related information thereof can be extracted according to the modeling data. In-line devices include, but are not limited to, valves, tees, manifold seats, and the like. The related information of the online devices includes, but is not limited to, the sequential logic order of the online devices in the pipeline, etc.
Step S206, the position of the online equipment is determined in the pipeline preliminary model.
In some embodiments, determining the location of the online device in the preliminary model of the pipeline includes: acquiring the logic relation of the online equipment in the pipeline according to the modeling data; determining the position of the online equipment according to the logical relation of the online equipment in the pipeline; the position of the online equipment is the position of a key point of the online equipment in the pipeline preliminary model.
In some embodiments, after determining the online equipment, distance information is set for the online equipment from the pipe in the preliminary model of the pipeline, e.g., the distance from the bend to the online equipment is set to 300; the online device to online device distance is set to 500. Further, the on-line equipment is sequentially placed into the straight pipe section according to the sequential logic sequence of the on-line equipment in the pipeline, wherein the distance of placement is not only required to meet the set basic distance, but also the distance included by the heat preservation thickness is required to be added to the on-line equipment with the heat preservation thickness, and if the current straight pipe section cannot be placed, the next straight pipe section is sequentially placed, and the like is carried out until all the on-line equipment are placed into the corresponding pipe sections according to the selected logic relationship. The heat preservation thickness is that some need keep warm or keep cold according to the medium difference in the pipeline, and the medium that needs the heat preservation needs to increase the heat preservation in the pipeline I, and the thickness of this heat preservation is heat preservation thickness promptly.
And step S207, generating a three-dimensional pipeline design model.
Specifically, after the position of the in-line device is determined in the pipeline preliminary model, a three-dimensional pipeline design model can be generated.
And S208, carrying out pipeline gradient setting on the three-dimensional pipeline design vinegar.
In some embodiments, performing the pipeline grade setting on the three-dimensional pipeline design model comprises: setting the gradient of the placing slope; defining the direction of the pipeline head according to the gradient; and determining the direction of slope releasing of each pipeline according to the defined direction of the pipeline head, and finishing the slope setting of the pipelines. Wherein the release slope may be set manually.
In some embodiments, determining the direction in which each pipe is to ramp, based on the defined direction of the pipe head, comprises: acquiring inflection point information of all inflection points of all pipelines in the pipeline arrangement path; comparing the elevation information of all inflection points; determining a key inflection point according to the comparison result of the elevation information; comparing elevation information of the key inflection points; and determining the direction of each pipeline slope according to the comparison result of the elevation information of the key inflection point.
Specifically, after inflection point information of all inflection points of all pipelines is collected, the elevation information of all inflection points is compared, the inflection points with the front and back elevation changes are extracted according to the comparison, the inflection points with the front and back elevation changes are defined as key inflection points, and then the elevation information of the key inflection points is compared one by one. If the elevation of the current pipeline inflection point is higher than the elevation of the next pipeline inflection point, the slope releasing direction between the two key inflection points is from high to low; if the elevation of the inflection point of the current pipeline is lower than that of the next pipeline inflection point, the slope releasing direction between the two key inflection points is from low to high.
Further, in some embodiments, after the pipe slope setting is completed, an exhaust point is set at a local high point of the pipeline and a hydrophobic point is set at a local low point of the pipeline. Referring to fig. 6, fig. 6 is a schematic diagram showing the slope direction, the gradient, the hydrophobic point and the exhaust point of the pipeline on the pipeline.
According to the embodiment of the invention, the two-dimensional drawing information on the two-dimensional system platform 200 can be directly extracted and processed, and then automatically transmitted to the three-dimensional modeling platform, and the three-dimensional modeling platform automatically models based on key points, and meanwhile, the relative position of the three-dimensional modeling platform in the pipeline can be set on line, so that the automatic slope release of the pipeline can be realized, the complexity of pipeline modeling in PDMS can be obviously reduced, and the modeling efficiency can be obviously improved.
Further, the present invention also provides a computer terminal, which may include a processor and a memory, where the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the method for automatically modeling a PDMS pipeline based on a key point disclosed in the embodiments of the present invention.
Further, the present invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for automatically modeling a PDMS pipeline based on a key point disclosed in the embodiments of the present invention are implemented.
It should be noted that, in the embodiment of the present invention, the pipe is a single pipe, and the pipeline is a circuit formed by connecting a plurality of pipes.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above embodiments are merely illustrative of the technical ideas and features of the present invention, and are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (18)

1. A PDMS pipeline automatic modeling method based on key points is characterized by comprising the following steps:
obtaining modeling data;
determining a pipeline head and a pipeline tail according to the modeling data;
generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data;
generating a pipeline preliminary model according to the pipeline head, the pipeline tail and the pipeline key point information and by combining a pipeline selection rule;
obtaining on-line equipment according to the modeling data;
determining a location of the online device in the preliminary model of the pipeline;
generating a three-dimensional pipeline design model;
and setting the pipeline gradient of the three-dimensional pipeline design model.
2. The method of claim 1, wherein the obtaining modeling data comprises:
extracting general data required by the three-dimensional pipeline from the two-dimensional platform through an interface program;
after the format of the general data is adjusted, the modeling data is formed and transmitted to a three-dimensional modeling platform;
the three-dimensional modeling platform receives and stores the modeling data.
3. The method of claim 1, wherein the modeling data comprises: the logical relationship of the pipe name, the pipe attribute information, the originating device, and the pipe.
4. The method of claim 3, wherein the logical relationship of the pipes comprises: the flow direction of the pipeline, the head-tail connection relation of the pipeline, the order rule of the pipeline, and the connection order of the valve, the branch, the reducer and the flange on the flow chart.
5. The method of automatic modeling of a PDMS critical-point based conduit according to claim 4, further comprising:
and determining the arrangement sequence of the multiple pipelines according to the multiple-pipeline arrangement sequence rule.
6. The method of automatic modeling of a PDMS critical-point based conduit according to claim 5, further comprising:
judging whether the multi-pipeline has three-dimensional pipeline attribute information or not in the multi-pipeline with the determined arrangement sequence;
and if not, writing the three-dimensional pipeline attribute information of the pipeline without the three-dimensional pipeline attribute information.
7. The method of claim 1, wherein the pipeline keypoint information comprises:
an inflection point in a pipeline layout path and inflection point information for the inflection point.
8. The method of claim 7, wherein the determining a pipe head and a pipe tail from the modeling data comprises:
acquiring head information of the pipeline and tail information of the pipeline according to the modeling data;
and determining the head part and the tail part of the pipeline according to the head information of the pipeline and the tail information of the pipeline.
9. The method of claim 7, wherein the generating pipeline keypoint information from the pipeline head, pipeline tail and the modeling data comprises:
obtaining inflection points and inflection point information in a pipeline arrangement path by adopting a preset algorithm according to the modeling data, the pipeline head and the pipeline tail;
the inflection points in the pipeline placement path include a plurality of inflection points in the pipeline.
10. The method of claim 1, wherein the determining the location of the online device in the preliminary model of the pipeline comprises:
acquiring the logic relation of the online equipment in a pipeline according to the modeling data;
determining the position of the online equipment according to the logical relation of the online equipment in a pipeline; the position of the online equipment is the position of a key point of the online equipment in the pipeline preliminary model.
11. The method of claim 7, wherein the pipeline selection rule is: pipe guidance pipeline rules and end-to-end connection rules.
12. The method of claim 11, wherein the generating a preliminary pipeline model according to the information of the pipeline head, the pipeline tail and the pipeline key points and in combination with a pipeline selection rule comprises:
extracting key points in the pipeline layout path according to the pipeline key point information;
calculating a keypoint angle in the pipeline layout path;
determining the type of the pipe fitting according to the key point angle;
setting the inlet and outlet directions of the pipe fittings according to the pipeline head, the pipeline tail and the head-tail connection rule;
and after the arrangement of the inlet and outlet directions of the pipe fittings is finished, finishing pipeline modeling according to the pipe fitting guide pipeline rule to generate the pipeline primary model.
13. The method of claim 7, wherein the performing of the pipe gradient setting on the three-dimensional pipeline design model comprises:
setting the gradient of the placing slope;
defining a direction of a pipeline head according to the slope;
and determining the direction of slope releasing of each pipeline according to the defined direction of the pipeline head, and finishing the slope setting of the pipelines.
14. The method of automatically modeling a PDMS conduit based on keypoints according to claim 13, further comprising:
after the pipeline slope setting is completed, an exhaust point is set at a local high point of the pipeline, and a hydrophobic point is set at a local low point of the pipeline.
15. The method of claim 13, wherein the determining the direction of each pipe slope according to the defined direction of the pipe head comprises:
acquiring inflection point information of all inflection points of all pipes in the pipeline arrangement path;
comparing the elevation information of all inflection points;
determining a key inflection point according to the comparison result of the elevation information;
comparing elevation information of the key inflection points;
and determining the direction of each pipeline slope according to the comparison result of the elevation information of the key inflection point.
16. A PDMS pipeline automatic modeling system based on key points is characterized by comprising:
an acquisition unit configured to acquire modeling data;
a determining unit for determining a pipeline head and a pipeline tail according to the modeling data;
the key point generating unit is used for generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data;
the pipeline primary model generating unit is used for generating a pipeline primary model according to the pipeline head, the pipeline tail and the pipeline key point information and by combining a pipeline selection rule;
the online equipment determining unit is used for acquiring online equipment according to the modeling data;
a positioning unit for determining the position of the online device in the preliminary model of the pipeline;
the three-dimensional pipeline model generating unit is used for generating a three-dimensional pipeline design model;
and the gradient setting unit is used for setting the pipeline gradient of the three-dimensional pipeline design model.
17. A computer terminal comprising a processor and a memory, the memory for storing a computer program, the processor for executing the memory stored computer program to implement the method of key point based automatic modeling of PDMS conduits of any of claims 1-15.
18. A storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for automated modeling of a keypoint-based PDMS conduit according to any of claims 1-15.
CN202011394455.8A 2020-12-02 2020-12-02 PDMS pipeline automatic modeling method based on key points and computer terminal Active CN112597603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011394455.8A CN112597603B (en) 2020-12-02 2020-12-02 PDMS pipeline automatic modeling method based on key points and computer terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011394455.8A CN112597603B (en) 2020-12-02 2020-12-02 PDMS pipeline automatic modeling method based on key points and computer terminal

Publications (2)

Publication Number Publication Date
CN112597603A true CN112597603A (en) 2021-04-02
CN112597603B CN112597603B (en) 2024-04-26

Family

ID=75188042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011394455.8A Active CN112597603B (en) 2020-12-02 2020-12-02 PDMS pipeline automatic modeling method based on key points and computer terminal

Country Status (1)

Country Link
CN (1) CN112597603B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255070A (en) * 2021-04-10 2021-08-13 海洋石油工程(青岛)有限公司 Three-dimensional processing design method for pipeline
WO2024014616A1 (en) * 2022-07-15 2024-01-18 Samsung Engineering Co.,Ltd. Method of processing digitalized drawing data and computer program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132040A1 (en) * 2011-11-22 2013-05-23 Fluor Technologies Corporation Piping analysis systems
CN107563101A (en) * 2017-10-11 2018-01-09 四川电力设计咨询有限责任公司 Power plant's pipe gallery and pipeline method for arranging
CN110415349A (en) * 2019-07-12 2019-11-05 中冶京诚工程技术有限公司 Three-dimensional tube modeling method and device
CN110457843A (en) * 2019-08-16 2019-11-15 同济大学建筑设计研究院(集团)有限公司 Three-dimensional pipeline model generation method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132040A1 (en) * 2011-11-22 2013-05-23 Fluor Technologies Corporation Piping analysis systems
CN107563101A (en) * 2017-10-11 2018-01-09 四川电力设计咨询有限责任公司 Power plant's pipe gallery and pipeline method for arranging
CN110415349A (en) * 2019-07-12 2019-11-05 中冶京诚工程技术有限公司 Three-dimensional tube modeling method and device
CN110457843A (en) * 2019-08-16 2019-11-15 同济大学建筑设计研究院(集团)有限公司 Three-dimensional pipeline model generation method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113255070A (en) * 2021-04-10 2021-08-13 海洋石油工程(青岛)有限公司 Three-dimensional processing design method for pipeline
WO2024014616A1 (en) * 2022-07-15 2024-01-18 Samsung Engineering Co.,Ltd. Method of processing digitalized drawing data and computer program

Also Published As

Publication number Publication date
CN112597603B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN112597603B (en) PDMS pipeline automatic modeling method based on key points and computer terminal
WO2021179593A1 (en) Deep learning-based three-dimensional pipeline reconstruction method, system, medium, and apparatus
US8605093B2 (en) Pipe reconstruction from unorganized point cloud data
CN110851956B (en) Automatic calculation, labeling and plotting method for construction engineering pipeline construction positioning information
JP2015026377A (en) Design of path connecting first point to second point in three-dimensional scene
US7991597B2 (en) Apparatus and method for creating scaled, three-dimensional model of hydraulic system to perform calculations
US9158866B2 (en) Layout-design support system and layout-design support program
KR101889422B1 (en) Layout apparatus and the method of plant using knowledge based in pipe routing
KR20190063317A (en) Method for modeling a pipe and record media recorded program realizing the same
CN110109999A (en) A kind of S3D threedimensional model turns the system and conversion method of Flowmaster model
CN113963120B (en) Automatic parameterization three-dimensional pipeline modeling method and system based on GIS (geographic information System)
KR101895473B1 (en) Method for automatically checking inconsistency between 3d model and 2d iso drawing
CN111079306B (en) Calculation method, system, device and storage medium for pipe fitting for pipeline connection
US7844419B1 (en) Method of detecting potential topology problems in a network
CN116011157A (en) Automatic desk CAD and Revit secondary development-based pipeline rapid extraction modeling method
CN113946926A (en) System and implementation method for analyzing breakage influence of S3D high-energy pipeline
CN115906227A (en) Water supply schematic diagram generation method, device, equipment and storage medium
KR102248977B1 (en) The automatic piping route generation method of plant engineering
KR20150021866A (en) Pipe block joint checking method and storage media storing the same
Kim et al. Similarity comparison of original and remodeled plant 3D piping CAD models using quantitative evaluation metrics for offshore plants
Shen et al. Optimization of branch pipe routing considering tee constraint ant lion
Zhang et al. Research and application of intelligent layout design algorithm for 3d pipeline of nuclear power plant
CN117421846A (en) Automatic calculation method for equipment relationship, electronic equipment and medium
Kim et al. Technology for the Detection of Corrosion Defects in Buried Pipes of Nuclear Power Plants with 3D FEM
CN109710888A (en) A kind of natural gas line damage prediction method and device based on penalized regression

Legal Events

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