CN112597603B - 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
CN112597603B
CN112597603B CN202011394455.8A CN202011394455A CN112597603B CN 112597603 B CN112597603 B CN 112597603B CN 202011394455 A CN202011394455 A CN 202011394455A CN 112597603 B CN112597603 B CN 112597603B
Authority
CN
China
Prior art keywords
pipeline
head
information
tail
modeling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011394455.8A
Other languages
Chinese (zh)
Other versions
CN112597603A (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

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 and a computer terminal based on key points, comprising the following steps: obtaining modeling data; determining a pipeline head and a pipeline tail from the modeling data; generating pipeline key point information according to the pipeline head, the pipeline tail and modeling data; generating a pipeline primary model according to the pipeline head, the pipeline tail and the pipeline key point information and combining pipeline selection rules; acquiring online equipment according to the modeling data; determining a location of the online device in the pipeline preliminary model; generating a three-dimensional pipeline design model; and setting the pipeline gradient of the three-dimensional pipeline design model. The key point of the invention is automatic modeling, which can set the relative position of the on-line equipment in the pipeline, solve the problem of automatic slope releasing of the pipeline, effectively reduce the modeling complexity of the pipeline in PDMS, remarkably improve the modeling efficiency and greatly reduce the labor input cost.

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 an automatic modeling method for a PDMS pipeline based on key points and a computer terminal.
Background
The pipeline design of the nuclear power plant is an important component part of the layout design of the nuclear power plant, and with the continuous development of the 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 the engineering design of the actual nuclear power plant. 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, the existing three-dimensional design management system (PDMS) pipeline modeling of a factory firstly needs to check a two-dimensional flow and a pipeline list by a designer, and manually comb information such as logical relationship among pipelines, head-to-tail connection and the like; then, manually selecting the components of the component library under different grades; and then sequentially establishing the pipe fittings according to the mode of 'pipe fitting guide pipeline' and 'end-to-end connection', so as to complete the pipeline arrangement.
The existing PDMS pipeline modeling mode can realize three-dimensional pipeline design, but has the defects of high labor investment and low design efficiency.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an automatic modeling method for PDMS pipelines based on key points and a computer terminal.
The technical scheme adopted for solving the technical problems is as follows: a PDMS pipeline automatic modeling method based on key points is constructed, which comprises the following steps:
Obtaining modeling data;
determining a pipeline head and a pipeline tail from 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 pipeline head, the pipeline tail and the pipeline key point information and combining pipeline selection rules;
acquiring online equipment according to the modeling data;
Determining a location of the online device in the pipeline preliminary model;
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 a three-dimensional pipeline from a two-dimensional platform through an interface program;
After the format of the general data is adjusted, 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 includes: pipe name, pipe attribute information, initiator, and logical relationship of pipes.
Wherein the logical relationship of the pipeline comprises: pipeline flow direction, pipeline head-to-tail connection relationship, pipeline sequence rule, and connection sequence of valves, branches, big and small heads and flanges on a 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 in the multi-pipeline with the determined arrangement sequence;
If not, the three-dimensional pipeline attribute information of the pipeline without the three-dimensional pipeline attribute information is written.
Wherein the pipeline keypoint information comprises:
inflection points in the pipeline arrangement path and inflection point information of the inflection points.
Wherein said determining a pipeline head and a pipeline tail from said modeling data comprises:
Acquiring head information of a pipeline and tail information of the pipeline according to the modeling data;
and determining the pipeline head and the pipeline tail according to the head information of the pipeline and the tail information of the pipeline.
Wherein said generating pipeline keypoint information from said pipeline head, pipeline tail and said modeling data comprises:
According to the modeling data, a preset algorithm is adopted to obtain inflection points in a pipeline arrangement path and inflection point information;
the inflection points in the pipeline arrangement path include a plurality of inflection points in the pipeline.
Wherein said determining the location of the online device in the pipeline preliminary model comprises:
Acquiring a logic relationship of the online equipment in a pipeline according to the modeling data;
Determining the position of the online equipment according to the logic relation of the online equipment in a pipeline; the location of the online device is a location of a keypoint of the online device in the pipeline preliminary model.
Wherein, the pipeline selection rule is: pipe guiding pipeline rules and head-to-tail connection rules.
Wherein, according to the pipeline head, the pipeline tail and the pipeline key point information, and in combination with a pipeline selection rule, generating a pipeline preliminary model includes:
Extracting key points in a pipeline arrangement path according to the pipeline key point information;
calculating a key point angle in the 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 fitting 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 fitting is completed, pipeline modeling is completed according to the pipe fitting guiding pipeline rule, and the pipeline primary model is generated.
Wherein, the setting of the pipeline gradient by the three-dimensional pipeline design model comprises:
Setting the gradient of a slope;
Defining a direction of the pipeline head according to the gradient;
and determining the direction of each pipeline on a slope according to the defined direction of the pipeline head, and finishing the pipeline slope setting.
Wherein the method further comprises:
after the pipe grade setting is completed, an exhaust point is set at a local high point of the pipeline and a drain point is set at a local low point of the pipeline.
Wherein said determining the direction of each pipe downhill based on the defined direction of the pipeline head comprises:
obtaining inflection point information of all inflection points of all pipelines in the pipeline arrangement path;
Comparing elevation information of all inflection points;
determining a key inflection point according to the elevation information comparison result;
comparing elevation information of the key inflection point;
and determining the direction of slope releasing of each pipeline 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 the key points, which comprises:
an acquisition unit configured to acquire modeling data;
a determining unit for determining a pipeline head and a pipeline tail from the modeling data;
a key point generating unit for generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data;
the pipeline preliminary model generation unit is used for generating a pipeline preliminary model according to the pipeline head, the pipeline tail and the pipeline key point information and 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 a location of the online device in the pipeline preliminary model;
A three-dimensional pipeline model generation unit for generating a three-dimensional pipeline design model;
And the gradient setting unit is used for setting the gradient of the pipeline for the three-dimensional pipeline design model.
The invention also provides a computer terminal comprising 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 stored thereon a computer program which, when executed by a processor, implements the steps of the method for automatically modeling PDMS pipes based on keypoints as described above.
The implementation of the PDMS pipeline automatic modeling method and the computer terminal based on the key points has the following beneficial effects: comprising the following steps: comprising the following steps: obtaining modeling data; determining a pipeline head and a pipeline tail from the modeling data; generating pipeline key point information according to the pipeline head, the pipeline tail and modeling data; generating a pipeline primary model according to the pipeline head, the pipeline tail and the pipeline key point information and combining pipeline selection rules; acquiring online equipment according to the modeling data; determining a location of the online device in the pipeline preliminary model; generating a three-dimensional pipeline design model; and setting the pipeline gradient of the three-dimensional pipeline design model. The key point of the invention is automatic modeling, which can set the relative position of the on-line equipment in the pipeline, solve the problem of automatic slope releasing of the pipeline, effectively reduce the modeling complexity of the pipeline in PDMS, remarkably improve the modeling efficiency and greatly reduce the labor input cost.
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 PDMS pipeline automatic modeling system based on key points according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for automatically modeling PDMS pipes based on key points according to an embodiment of the present invention;
FIGS. 3-5 are schematic views of pipe selection according to the present invention;
fig. 6 is a schematic view of the pipe grade setting of the present invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an automatic modeling system of PDMS pipes 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 comprises: an acquisition unit 101, a key point generation unit 102, a determination unit 103, a pipeline preliminary model generation unit 104, an online equipment 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 obtaining unit 101 is configured to obtain modeling data from the 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 logic relationships. The invention extracts general data required by three-dimensional pipeline design from the two-dimensional system platform 200 through the Diagram/Engineering, and after the general data is subjected to format adjustment, the three-dimensional arrangement platform 100 can be formed to recognize modeling data used and transmit the extracted modeling data to the three-dimensional arrangement platform 100 for storage for modeling use or for user call.
A determining unit 103 for determining a pipeline head and a pipeline tail according to the pipeline key information. Specifically, the determination unit 103 may determine the pipeline head and the pipeline tail from the coordinate information, the position information, and the attribute information in the modeling data extracted by the acquisition unit 101.
A keypoint generation unit 102 for generating pipeline keypoint information from the pipeline head, pipeline tail and modeling data. Specifically, the key point generation 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 acquisition unit 101.
The pipeline preliminary model generating unit 104 is configured to generate a pipeline preliminary model according to pipeline head, pipeline tail and pipeline key point information and in combination with pipeline selection rules.
An online device determination unit 105 for acquiring an online device from the modeling data.
A positioning unit 106 for determining the location of the on-line device in the preliminary model of the pipeline. Specifically, after the pipeline preliminary model is automatically modeled by the three-dimensional arrangement platform 100 pipeline 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 generation unit 107 for generating a three-dimensional pipeline design model.
And the gradient setting unit 108 is used for setting the gradient of the pipeline for the three-dimensional pipeline design model. Three-dimensional pipeline model generation unit 107
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for automatically modeling PDMS pipes based on key points according to an embodiment of the present invention.
As shown in fig. 2, the automatic modeling method for PDMS pipes based on key points includes:
Step S201, obtaining modeling data.
In some embodiments, obtaining modeling data includes: extracting general data required by a three-dimensional pipeline from a two-dimensional platform through an interface program; after the format of the general data is adjusted, modeling data is 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 herein is the three-dimensional arrangement platform 100 described above.
Optionally, in some embodiments, the reading of the two-dimensional data on the two-dimensional system platform 200 to the three-dimensional modeling platform may be through a Diagram/Engineering interface program, through which the two-dimensional data on the two-dimensional system platform 200 may be directly read and the unified format may be adjusted, and then three-dimensional data that may be recognized and used by the three-dimensional modeling platform may be generated.
In some embodiments, modeling data includes, but is not limited to, pipeline names, pipeline attribute information, starting equipment, and logical relationships of the pipeline. Among them, the pipe attribute information includes, but is not limited to: head information of the pipeline, tail information of the pipeline, pipe diameter of the pipeline, 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 tail directions of the pipeline.
In some embodiments, the logical relationship of the pipeline includes: pipeline flow direction, pipeline head-to-tail connection relationship, pipeline sequence rule, and connection sequence of valves, branches, big and small heads and flanges on a flow chart.
Further, in some embodiments, after the modeling data is acquired, a placement order of the multiple pipes is determined based on the multiple pipe placement order rule. The arrangement sequence rule of the multiple pipes is determined by pipe diameter size, pipe nuclear level (non-nuclear level), earthquake resistance (non-earthquake resistance), whether there is a head-tail connection relationship and the like. Judging whether the multi-pipeline has three-dimensional pipeline attribute information in the multi-pipeline with the determined arrangement sequence after the arrangement sequence of the pipelines is determined; if not, the three-dimensional pipeline attribute information of the pipeline without the three-dimensional pipeline attribute information is written. It will be appreciated that in other embodiments, if the data stored in the two-dimensional system platform 200 does not have or is incomplete, the pipeline attribute information may be written manually by the user, thereby making the modeling data more complete for automatic modeling use.
Step S202, determining the head part and the tail part of the pipeline according to the modeling data.
Specifically, after modeling data is obtained, head information of the pipeline and 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 coordinates of the pipeline, the head direction of the pipeline and the head pipe diameter of the pipeline. The tail information of the pipeline comprises tail coordinates of the pipeline, tail direction of the pipeline and tail pipe diameter of the pipeline.
Step 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: inflection points in the pipeline arrangement path and inflection point information of the inflection points.
In some embodiments, generating pipeline keypoint information from the pipeline head, pipeline tail, and modeling data comprises: determining a pipeline head and a pipeline tail according to the modeling data; and acquiring head information of the pipeline head and tail information of the pipeline tail from the modeling data according to the pipeline head and the pipeline tail. Wherein the header information of the pipeline header includes: coordinates of the pipeline head, direction of the pipeline head and pipe diameter of the pipeline head. The tail information of the tail of the pipeline comprises: coordinates of the tail of the pipeline, direction of the tail of the pipeline and pipe diameter of the tail of the pipeline.
It will be appreciated that the header information and trailer information of the pipeline header may be set individually or modified by the user as desired.
In some embodiments, generating pipeline keypoint information from the pipeline head, pipeline tail, and modeling data comprises: according to the pipeline head, the pipeline tail and the modeling data, a preset algorithm is adopted to obtain inflection points and inflection point information in a pipeline arrangement path; the inflection points in the pipeline arrangement path include a plurality of inflection points in the pipeline. Alternatively, multiple critical inflection points in the pipeline may be automatically generated by an a-algorithm. The algorithm A is a searching method for solving and avoiding obstacles and searching shortest paths in a static road network. Specifically, the expression of the estimation function of the a-algorithm is: f (n) =g (n) +h (n); f (n) is a cost estimate from the initial state to the target state via state n; g (n) is the actual cost from the initial state to state n in the state space; h (n) is the best path estimation cost from state n to the target state. By using an algorithm evaluation expression, a series of path key points (i.e., key inflection points in the pipeline arrangement path required by the embodiment of the present invention) can be calculated.
Further, after determining inflection points in the pipeline arrangement path, inflection point information of the inflection points is found from the acquired modeling data. Wherein the inflection point information includes, but is not limited to, inflection point coordinates, inflection point directions, inflection point pipe diameters, and the like.
Step S204, generating a pipeline preliminary model according to the pipeline head, the pipeline tail and the pipeline key point information and combining the pipeline selection rules.
Optionally, the pipeline selection rule is: pipe guiding pipeline rules and head-to-tail connection rules.
In some embodiments, generating the preliminary model of the pipeline based on the pipeline head, tail, and key point information in combination with the pipeline selection rules comprises: extracting key points in the pipeline arrangement path according to the pipeline key point information; calculating a key point angle in the 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 fitting according to the connection rules of the head part, the tail part and the head and tail parts of the pipeline; after the arrangement of the inlet and outlet directions of the pipe fitting is completed, pipeline modeling is completed according to pipe fitting pipeline guiding rules, and a pipeline primary model is generated.
It should be noted that each pipe fitting has its characteristic points, including: the origin (PO) of the pipe, the point of arrival (arive point, also defined as P1 point) of the pipe, which is a reference point of the pipe, and the point of departure (LEAVE point, also defined as P2 point) of the pipe, which are used to define the connection point, and determine the direction of the pipe medium flowing through the pipe. Therefore, in order to ensure the correctness of the medium flow direction in the pipeline, the embodiment of the invention adopts a mode of connecting the pipe fittings in an end-to-end 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. Further, the data management of the pipeline adopts a tree structure hierarchy, and the pipes under the pipeline are sequentially arranged according to the pipeline flow direction.
Based on the principle, the embodiment of the invention can perform automatic pipeline modeling after determining the key points in the pipeline head, the pipeline tail and the pipeline arrangement path. It should be noted that the key point in the pipeline arrangement path is the inflection point in the pipeline arrangement path.
Specifically, first, the key point angle is calculated. The key point angle is an angle formed by a straight line where the current key point is located with the previous key point adjacent to the current key point and a straight line where the current key point is located with the next key point adjacent to the current key point. The current key point is any one key point of all key points in the pipeline arrangement path.
Secondly, according to the pipe diameter of the pipeline, the angle of the key point is considered, and different pipe fitting types are selected. The pipe types include, but are not limited to, welding points, elbows, etc.
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 at the grade can be directly selected.
Referring to fig. 3, fig. 3 is a schematic illustration of a selection of pipe types having pipe diameters greater than 15 and less than 50.
As shown in fig. 3, in the pipe diameter range, when the angle of the key point is 0-2 degrees, the pipe fitting type is a welding point; when the key point angle is 43-45 degrees, the selectable pipe fitting type is a 45-degree elbow; when the angle of the key point is 88-90 degrees, the selectable pipe fitting type is a 90-degree elbow; when the critical point angle is other angles, the selectable pipe type is an elbow.
Referring to fig. 4, fig. 4 is a schematic illustration of a selection of pipe types having pipe diameters greater than 50 and less than 100.
As shown in fig. 4, in the pipe diameter range, when the key point angle is 0-2 degrees, the selected pipe fitting type is a welding point; when the key point angle is 2-45 degrees, the selectable pipe fitting type is an elbow; when the key point angle is other angles, an alternative tubular type is a 90 degree elbow.
Referring to fig. 5, fig. 5 is a schematic illustration of a selection of pipe types having pipe diameters greater than 100.
As shown in fig. 5, in the pipe diameter range, when the key point angle is 0-2 degrees, the selected pipe fitting type is a welding point; when the key point angle is 2-30 degrees, the selectable pipe fitting type is an elbow; when the key point angle is 30-45 degrees, the selectable pipe fitting type is a 45-degree elbow; when the key point angle is 45-120 degrees, the selectable pipe fitting type is 120-degree elbow.
And then, after the type of the pipe fitting is determined, setting the inlet and outlet directions of the pipe fitting according to the head-to-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 so on until the inlet and outlet directions of all the pipes are set.
And finally, automatically creating a primary model of the pipeline according to the pipe guiding pipeline principle after the arrangement of the inlet and outlet directions of all the pipes is completed.
Step S205, obtaining the online equipment according to the modeling data.
Specifically, the acquired modeling data includes an online device list, so that online devices and related information thereof can be extracted according to the modeling data. Including but not limited to valves, tees, branch holders, etc. The relevant information of the online device includes, but is not limited to, the logical order of the online device in the pipeline, etc.
Step S206, determining the position of the online equipment in the pipeline preliminary model.
In some embodiments, determining the location of the online device in the pipeline preliminary model includes: acquiring a logic relation of the online equipment in the pipeline according to the modeling data; determining the position of the online equipment according to the logic relation of the online equipment in the pipeline; the location of the on-line device is the location of the key point of the on-line device in the pipeline preliminary model.
In some embodiments, after determining the in-line equipment, distance information for the pipe in the preliminary model of the in-line equipment and the pipeline is set, e.g., the elbow to in-line equipment distance is set to 300; the distance from online device to online device is set to 500. Further, according to the sequential logic sequence of the on-line devices in the pipeline, the on-line devices are sequentially placed in the straight pipe sections, wherein the placed distance is required to be added with the distance contained by the heat preservation thickness for the on-line devices with the heat preservation thickness besides the set basic distance, and the next straight pipe section is sequentially placed in the case that the current straight pipe section is not placed, and the like until all on-line devices are placed in the corresponding pipe sections according to the selected logic relation. The heat preservation thickness is that the heat preservation or the heat preservation is needed to be carried out according to different mediums in the pipeline, the medium needing to be subjected to heat preservation needs to be added with a heat preservation layer in the pipeline, and the thickness of the heat preservation layer is the heat preservation thickness.
And S207, generating a three-dimensional pipeline design model.
Specifically, after the position of the on-line equipment is determined in the pipeline preliminary model, a three-dimensional pipeline design model can be generated.
And step S208, performing pipeline gradient setting on the three-dimensional pipeline design vinegar.
In some embodiments, performing a pipeline grade setting on the three-dimensional pipeline design model includes: setting the gradient of a slope; defining the direction of the pipeline head according to the gradient; and determining the direction of each pipeline on a slope according to the defined direction of the pipeline head, and finishing the pipeline slope setting. Wherein the grade of the downhill slope can be set manually.
In some embodiments, determining the direction of each pipe downhill based on the defined direction of the pipeline head comprises: obtaining inflection point information of all inflection points of all pipelines in the pipeline arrangement path; comparing elevation information of all inflection points; determining a key inflection point according to the elevation information comparison result; 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, elevation information of all inflection points is compared, inflection points with front and rear elevation changes are extracted according to comparison, the inflection points with front and rear elevation changes are defined as key inflection points, and then elevation information of the key inflection points is compared one by one. If the elevation of the inflection point of the current pipeline is higher than that of the inflection point of the next pipeline, 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 inflection point of the next pipeline, the slope releasing direction between the two key inflection points is from low to high.
Further, in some embodiments, after the pipe grade setting is completed, an exhaust point is set at a local high point of the pipeline and a drain point is set at a local low point of the pipeline. Referring to fig. 6, fig. 6 is a schematic diagram of the slope direction, gradient, drainage point and 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, then automatically transmitted to the three-dimensional modeling platform, and the three-dimensional modeling platform is used for automatically modeling based on key points, meanwhile, the two-dimensional drawing information can be arranged at the relative position in a pipeline on line, so that the automatic slope release of the pipeline can be realized, the modeling complexity of the pipeline in PDMS can be obviously reduced, and the modeling efficiency can be obviously improved.
Further, the invention also provides a computer terminal, which can comprise 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 in the memory to realize the automatic modeling method of the PDMS pipeline based on the key points.
Further, the invention also provides a storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the PDMS pipeline automatic modeling method based on the key points disclosed in the embodiments of the present invention.
It should be noted that, the pipeline according to the embodiment of the present invention is one pipeline, and the pipeline is a line formed by connecting a plurality of pipelines.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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. The software modules may be disposed 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 provided to illustrate the technical concept and features of the present invention and are intended to enable those skilled in the art to understand the content of the present invention and implement the same according to the content of the present invention, and not to limit the scope of the present invention. All equivalent changes and modifications made with the scope of the claims should be covered by the claims.

Claims (15)

1. The PDMS pipeline automatic modeling method based on the key points is characterized by comprising the following steps of:
Obtaining modeling data;
determining a pipeline head and a pipeline tail from the modeling data;
Generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data; the pipeline keypoint information includes: inflection points in a pipeline arrangement path and inflection point information of the inflection points;
generating a pipeline primary model according to the pipeline head, the pipeline tail and the pipeline key point information and combining pipeline selection rules;
acquiring online equipment according to the modeling data;
Determining a location of the online device in the pipeline preliminary model;
generating a three-dimensional pipeline design model;
Setting the gradient of the pipeline for the three-dimensional pipeline design model; the setting of the pipeline gradient for the three-dimensional pipeline design model comprises: setting the gradient of a slope; defining a direction of the pipeline head according to the gradient; determining the direction of each pipeline on a slope according to the defined direction of the pipeline head, and finishing the pipeline slope setting;
the determining the direction of each pipe downhill according to the defined direction of the pipeline head comprises: obtaining inflection point information of all inflection points of all pipelines in the pipeline arrangement path; comparing elevation information of all inflection points; determining a key inflection point according to the elevation information comparison result; comparing elevation information of the key inflection point; and determining the direction of slope releasing of each pipeline according to the comparison result of the elevation information of the key inflection point.
2. The method of claim 1, wherein the obtaining modeling data comprises:
Extracting general data required by a three-dimensional pipeline from a two-dimensional platform through an interface program;
After the format of the general data is adjusted, 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 keypoint-based PDMS pipeline automatic modeling method of claim 1, wherein the modeling data comprises: pipe name, pipe attribute information, initiator, and logical relationship of pipes.
4. The method of automated modeling of PDMS channels based on keypoints of claim 3, wherein the logical relationships of the channels comprise: pipeline flow direction, pipeline head-to-tail connection relationship, pipeline sequence rule, and connection sequence of valves, branches, big and small heads and flanges on a flow chart.
5. The keypoint-based PDMS pipeline automatic modeling method of claim 4, further comprising:
and determining the arrangement sequence of the multiple pipelines according to the multiple-pipeline arrangement sequence rule.
6. The keypoint-based PDMS pipeline automatic modeling method of claim 5, further comprising:
Judging whether the multi-pipeline has three-dimensional pipeline attribute information in the multi-pipeline with the determined arrangement sequence;
If not, the three-dimensional pipeline attribute information of the pipeline without the three-dimensional pipeline attribute information is written.
7. The keypoint-based PDMS pipeline automatic modeling method of claim 1, wherein the determining a pipeline head and a pipeline tail from the modeling data comprises:
Acquiring head information of a pipeline and tail information of the pipeline according to the modeling data;
and determining the pipeline head and the pipeline tail according to the head information of the pipeline and the tail information of the pipeline.
8. The keypoint-based PDMS pipeline automatic modeling method of claim 1, wherein the generating pipeline keypoint information from the pipeline head, pipeline tail, and modeling data comprises:
According to the modeling data, the pipeline head and the pipeline tail, a preset algorithm is adopted to obtain inflection points and inflection point information in a pipeline arrangement path;
the inflection points in the pipeline arrangement path include a plurality of inflection points in the pipeline.
9. The keypoint-based PDMS pipeline automatic modeling method of claim 1, wherein the determining the location of the online device in the pipeline preliminary model comprises:
Acquiring a logic relationship of the online equipment in a pipeline according to the modeling data;
Determining the position of the online equipment according to the logic relation of the online equipment in a pipeline; the location of the online device is a location of a keypoint of the online device in the pipeline preliminary model.
10. The method for automatically modeling a PDMS pipeline based on a key point according to claim 1, wherein the pipeline selection rule is: pipe guiding pipeline rules and head-to-tail connection rules.
11. The method of claim 10, wherein generating the preliminary model of the pipeline based on the pipeline head, the pipeline tail, and the pipeline keypoint information in combination with pipeline selection rules comprises:
Extracting key points in a pipeline arrangement path according to the pipeline key point information;
calculating a key point angle in the 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 fitting 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 fitting is completed, pipeline modeling is completed according to the pipe fitting guiding pipeline rule, and the pipeline primary model is generated.
12. The keypoint-based PDMS pipeline automatic modeling method of claim 1, further comprising:
after the pipe grade setting is completed, an exhaust point is set at a local high point of the pipeline and a drain point is set at a local low point of the pipeline.
13. A PDMS pipeline automatic modeling system based on key points, comprising:
an acquisition unit configured to acquire modeling data;
a determining unit for determining a pipeline head and a pipeline tail from the modeling data;
a key point generating unit for generating pipeline key point information according to the pipeline head, the pipeline tail and the modeling data; the pipeline keypoint information includes: inflection points in a pipeline arrangement path and inflection point information of the inflection points;
the pipeline preliminary model generation unit is used for generating a pipeline preliminary model according to the pipeline head, the pipeline tail and the pipeline key point information and 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 a location of the online device in the pipeline preliminary model;
A three-dimensional pipeline model generation unit for generating a three-dimensional pipeline design model;
the gradient setting unit is used for setting the gradient of the pipeline by the three-dimensional pipeline design model; the setting of the pipeline gradient for the three-dimensional pipeline design model comprises: setting the gradient of a slope; defining a direction of the pipeline head according to the gradient; determining the direction of each pipeline on a slope according to the defined direction of the pipeline head, and finishing the pipeline slope setting;
the determining the direction of each pipe downhill according to the defined direction of the pipeline head comprises: obtaining inflection point information of all inflection points of all pipelines in the pipeline arrangement path; comparing elevation information of all inflection points; determining a key inflection point according to the elevation information comparison result; comparing elevation information of the key inflection point; and determining the direction of slope releasing of each pipeline according to the comparison result of the elevation information of the key inflection point.
14. A computer terminal comprising a processor and a memory, the memory for storing a computer program, the processor for executing the computer program stored by the memory to implement the keypoint-based PDMS channel automatic modeling method according to any one of claims 1-12.
15. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the keypoint-based PDMS channel automatic modeling method according to any one of claims 1-12.
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 CN112597603A (en) 2021-04-02
CN112597603B true 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)

Families Citing this family (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
KR20240010320A (en) * 2022-07-15 2024-01-23 삼성엔지니어링 주식회사 Method of processing digitalized drawing data and computer program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8825453B2 (en) * 2011-11-22 2014-09-02 Fluor Technologies Corporation Piping analysis systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN112597603A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN112597603B (en) PDMS pipeline automatic modeling method based on key points and computer terminal
CN110851956B (en) Automatic calculation, labeling and plotting method for construction engineering pipeline construction positioning information
CN110109999B (en) System for converting SMART3D three-dimensional model into FlowMaster model and conversion method
CN109272571B (en) System and method for converting PDS three-dimensional data into Flowmaster model
CN107103640B (en) Three-dimensional modeling method and system for urban underground pipeline
US7991597B2 (en) Apparatus and method for creating scaled, three-dimensional model of hydraulic system to perform calculations
CN112199788A (en) Design method of buried gas pipeline
CN112199808B (en) System and method for quickly designing ship pipeline
KR101895473B1 (en) Method for automatically checking inconsistency between 3d model and 2d iso drawing
CN112182871A (en) System and method for converting three-dimensional pipeline model into MapGIS model
CN115203805B (en) BIM technology-based air duct model generation method, device and readable medium
CN113946926A (en) System and implementation method for analyzing breakage influence of S3D high-energy pipeline
US7844419B1 (en) Method of detecting potential topology problems in a network
CN115906227A (en) Water supply schematic diagram generation method, device, equipment and storage medium
CN109710785A (en) A kind of management method, device, system and the storage medium of picture library figure cluster
CN107423520A (en) Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods
CN117421846A (en) Automatic calculation method for equipment relationship, electronic equipment and medium
KR20150021866A (en) Pipe block joint checking method and storage media storing the same
Tao et al. A pipe network skeleton method based on GIS network analysis technologies
CN109710888A (en) A kind of natural gas line damage prediction method and device based on penalized regression
CN116070470A (en) Pipeline connection verification method, device and equipment based on three-dimensional engine editor
CN115187721A (en) Automatic generation method and system of three-dimensional pipeline model
JP3471449B2 (en) Pipe network loop selection method, initial value determination method, and pipe network calculation method
Suchorab et al. Routing of branched water distribution networks using fractal geometry and graph theory
CN117235944A (en) Automatic generation method and device of water supply and drainage system diagram, electronic equipment and storage medium

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