Methods for converting data from RVM format models to PDMS 3D models

The method addresses the challenge of converting RVM format models to PDMS format by formulating a standard grade library and geometric parameter table, enabling efficient and accurate data conversion, thus improving design collaboration and reducing errors.

CN118916944BActive Publication Date: 2024-12-03四川电力设计咨询有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411411985.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2024-12-03
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

Current power engineering projects face challenges in converting RVM format models back to PDMS format for detailed design and construction simulation due to the lack of a reverse operation mechanism, which is labor-intensive and prone to errors, leading to inefficiencies and increased costs and risks.

Method used

A method for converting data from an RVM format model to a PDMS three-dimensional model. By analyzing the PDMS model and extracting the RVM data, an extended parameter format, a standard grade library and a geometric characteristic parameter table are formulated to match RVM model elements with PDMS model components.

Benefits of technology

The method enables accurate and efficient conversion of RVM lightweight data to PDMS models, enhancing design collaboration, reducing data loss and errors, and improving design quality and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916944B_ABST
    Figure CN118916944B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for converting data from an RVM format model to a PDMS three-dimensional model, comprising the following steps: S1, RVM extended parameter standard design and data generation, constructing data standards and formats in a new RVM format file, and using the data standards as extended parameters of the RVM format model; S2, preparing a standard component library and a grade basic body construction parameter table, and constructing a standard grade library containing various types of components of the PDMS model; S3, parsing RVM format data, extracting basic information and extended parameter information of various types of components; S4, assigning grades to components through extended parameters; S5, assigning grades to components through a geometric algorithm matching algorithm; S6, reconstructing (rebuilding) into a data format recognizable by PDMS. By parsing the PDMS model and RVM data, an extended parameter format, a standard grade library, and a geometric characteristic parameter table corresponding to the grade library that are suitable for quickly matching RVM model components with PDMS models are formulated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of data fusion of an electric power project engineering design platform, and in particular to a method for converting data from an RVM format model to a PDMS three-dimensional model. Background Art

[0002] In the design and construction process of power engineering projects, data processing and conversion of models are crucial. With the continuous advancement of technology, in order to improve data transmission efficiency and reduce storage costs, RVM (Reduced Vector Model, RVM for short) has emerged as a lightweight model format. The RVM format simplifies the geometric description and data volume of the model, realizing efficient storage and transmission of model files, and is particularly suitable for model preview and preliminary design analysis in resource-constrained environments.

[0003] However, in the current design process of power engineering projects, although RVM models can be exported from advanced 3D design software such as PDMS (Plant Design Management System, PDMS for short) and E3D for sharing and preliminary design review, the reverse operation, that is, converting the RVM model back to PDMS format for further detailed design and construction simulation, faces many challenges; most of the existing technical means only support one-way conversion, that is, the export process from PDMS to RVM, and lack an effective reverse conversion mechanism; the limitation of this one-way conversion seriously restricts the flexibility and efficiency of cross-platform design tasks, increases the risk of packet loss when data flows between different design software, and affects the continuity and accuracy of design work.

[0004] Specifically, in current power engineering projects, design teams may need to frequently convert and verify models between multiple design software to ensure the feasibility of the design scheme; since it is impossible to directly restore the PDMS model from the RVM format, the design team has to manually rebuild the model in PDMS, which is not only time-consuming and labor-intensive, but also prone to human errors, increasing design costs and risks; therefore, it is necessary to develop a method and system that can efficiently and accurately convert lightweight RVM models into PDMS three-dimensional models, which is of great significance for improving the design efficiency of power engineering projects, reducing data packet loss rates, and promoting cross-platform design collaboration. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method for converting data from an RVM format model to a PDMS three-dimensional model. By analyzing the PDMS model and RVM data, an extended parameter format, a standard grade library and a geometric characteristic parameter table corresponding to the grade library are formulated to quickly correspond RVM model elements to the PDMS model.

[0006] The technical solution adopted by the present invention to solve its technical problem is:

[0007] The method for converting data from an RVM format model to a PDMS three-dimensional model includes the following steps:

[0008] S1. Create a new RVM format file, construct a data standard in the new RVM format file, and use the data standard as an extended parameter of the RVM format model, so that the RVM format file contains information of the extended parameters;

[0009] S2, build a standard grade library containing various types of components in the PDMS model, establish a parameter table for the basic geometric bodies corresponding to each grade in the standard grade library, and use the parameter table as an external data source; S3, read and parse the RVM format file, extract the basic information and extended parameter information of each type of component, the basic information includes basic geometric body morphology combination information, grade name information and coordinate information;

[0010] S4. If the RVM format model contains extended parameter information, the grade of the component is assigned through the grade name parameter in the extended parameter; at the same time, the grade is matched with the standard grade library of the PDMS model. If the same grade cannot be found, the corresponding grade in the external data source needs to be added to the PDMS grade library;

[0011] S5. If the extended parameter information is missing in the RVM format model, the geometric characteristics of each component are matched with the standard grade library through the matching algorithm of geometric figure analysis. If the grade matching is successful, the component is assigned the grade; if the grade matching fails, the geometric characteristics are matched through the parameter table of the plug-in data source, and the component is assigned the grade that matches successfully; at the same time, the grade is matched with the standard grade library of the PDMS model; if the same grade cannot be found, the corresponding grade in the plug-in data source needs to be added to the PDMS grade library;

[0012] S6. Extract component names, coordinates, connection relationships, and assigned levels, reconstruct them into a data format recognizable by PDMS, import the data format into PDMS to generate a viewable and editable model, and verify the correctness.

[0013] In step S1, the extended parameters include the type code, component grade name, parameter naming and data format standard of the PDMS three-dimensional model component.

[0014] In step S2, the standard grade library is composed of grade naming, parameter attributes and model geometry, and the parameter table includes type parameters, grade name parameters, basic body composition parameters and space coordinate point set parameters.

[0015] In step S3, the content of the parsed RVM format file includes basic information, engineering project information, tree hierarchy information of the model, connection sequence information, model basic body composition information and extended parameter information.

[0016] The basic information includes software version information, model export time information, exported PC user information and file encoding type;

[0017] The engineering project information is the project name;

[0018] The tree-like hierarchical information of the model is a PDMS model tree structure;

[0019] The basic body composition information of the model consists of 11 basic bodies, including a rectangular block (Box), a cylinder (Cylinder), a cone (Cone), an eccentric cone (Snout), a pyramid (Pyramid), a circular elbow (Circular Torus), a square elbow (Rectanqular Torus), a dish (Dish), a sloped cylinder (Sloped Cylinder), an extrusion (Extrusion) and a solid of revolution (Solid of Revolution);

[0020] The extended parameter information includes component type and grade name.

[0021] In step S4, the grade is matched with the standard grade library of the PDMS model, and the steps are as follows:

[0022] S4.1. Locate the component type code in the extended information into the PDMS database to obtain the type grade library;

[0023] S4.2. Traverse the levels with the same level name in the type library. If the match is successful, assign the level to the component. If the match fails, the level does not exist in the current PDMS project. Then, find the level from the external data source and import the level library information into the current PDMS project.

[0024] S4.3. If the grade library is missing in the external data source, manually create the grade in the PDMS project to make it more complete and comprehensive.

[0025] In step S5, the matching algorithm includes matching the geometric characteristics of each component with the standard grade library of PDMS, the steps are as follows:

[0026] S5.1. Analyze the basic body combination mode of RVM components and analyze the spatial coordinate point set composition of each basic body;

[0027] S5.2, analyze the basic body combination mode of each level model entity in the PDMS level library and the spatial coordinate point set composition of each basic body;

[0028] S5.3, traverse the PDMS grade library, compare and match the number, type and combination of the basic bodies of the component components in turn, and if the match is successful, compare and match the spatial coordinate point set of each basic body;

[0029] S5.4. If the spatial coordinate point set is finally matched successfully, the grade is assigned to the component; if the spatial coordinate point set is matched unsuccessfully, the grade does not exist in the current PDMS project, and the corresponding grade is found from the parameter table constructed from the geometric primitives, and the grade library information is imported into the current PDMS project;

[0030] S5.5. If the grade library is missing, set the grade library and add the grade library set this time to the parameter table to make it complete and comprehensive.

[0031] The beneficial effects of the present invention are:

[0032] 1. Through the analysis of PDMS model and RVM data, the extended parameter format, standard grade library and geometric characteristic parameter table corresponding to the grade library are formulated. At the same time, for the existing RVM format data that lacks extended parameters, a matching algorithm based on geometric graphics analysis is designed. By using the designed grade library and geometric characteristic parameter table, the automatic matching of RVM model components and PDMS grade library is realized, and finally the model conversion is realized, thereby improving the efficiency of cross-platform design tasks of engineering projects, reducing the model data packet loss rate, and realizing seamless connection of design data.

[0033] 2. It can realize accurate and efficient conversion of RVM lightweight data to PDMS models, which will help different professional designers to collaborate in design, improve modeling efficiency and design quality, reduce the risk of data loss and errors, enhance project competitiveness, and ultimately promote the high-quality development of the 3D design digital industry.

[0034] 3. By targeting the missing information in the RVM format, a unified extended parameter and data standard was constructed: This standard can quickly and efficiently determine the component level in the RVM format, thereby greatly improving the conversion efficiency and quality, solving the problem of cross-platform design data isolation, and thus improving the efficiency of traditional design.

[0035] 4. By constructing a universal component grade library and grade-geometric basic body construction table, the problem of converting RVM data to PDMS model can be solved, and the standardization of data between different projects, different professions, and different platforms can be achieved. At the same time, the grade library and construction table can be continuously expanded, and eventually form enterprise-level and even industry-level standards, thereby improving the overall competitiveness of the industry.

[0036] 5. Through high-level analysis of model data and matching algorithms based on geometric characteristics, the construction and unified comparison of the underlying data model are effectively realized, and the modeling coupling expression problems of weakly connected relationship models such as pipelines, equipment, and civil engineering are solved. It can express three-dimensional model information more completely and comprehensively, reduce the probability of model data loss, and solve the problem of converting RVM data to PDMS model when basic information is missing. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flow chart of the present invention;

[0038] Figure 2 It is a flowchart matching by extended parameters;

[0039] Figure 3 Flowchart of the primitive geometry matching method. DETAILED DESCRIPTION

[0040] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0041] Example 1

[0042] like Figure 1 As shown, the method for converting data from an RVM format model to a PDMS three-dimensional model includes the following steps:

[0043] S1, RVM extended parameter standard design and data generation;

[0044] Create a new RVM format file, build data standards and formats in the new RVM format file, use the data standards as extended parameters of the RVM format model, and make the RVM format file contain information about related extended parameters;

[0045] In step S1, the extended parameters mainly include the type code and component grade name of the component, as well as the data format standard of the parameters in RVM. The extended parameters are shown in Table 1. The functional plug-in is developed on PDMS. Its main function is to add extended parameter information at the specified position in the RVM format according to the data standard when outputting RVM.

[0046] Table 1 is the extended parameter standard table

[0047]

[0048] S2. Prepare a standard component library and a level basic body construction parameter table;

[0049] Build a standard grade library containing various types of components in the PDMS model, create a parameter table for the basic geometric bodies corresponding to each grade in the standard grade library, and use the parameter table as an external data source;

[0050] The standard grade library is a summary of the design industry's experience over the years. Its grade naming, parameter attributes and corresponding model geometry meet national and industry standards and conform to the usage habits of designers. As shown in Table 2, the geometric primitive composition parameter table mainly includes parameters such as type, grade name, primitive composition, and spatial coordinate point set of each primitive geometric feature;

[0051] Table 2 is the geometric basic body construction parameter table

[0052]

[0053] S3, parsing RVM format data;

[0054] Read and parse the RVM format file to extract basic information and extended parameter information of each type of component, wherein the basic information includes basic geometric form combination information, grade name information and coordinate information;

[0055] S4, assigning levels to components by extending parameters;

[0056] If the RVM format model contains extended parameter information, the grade of the component is assigned through the grade name parameter in the extended parameter; at the same time, the grade is matched with the standard grade library of the PDMS model. If the same grade cannot be found, the corresponding grade in the external data source needs to be added to the PDMS grade library;

[0057] S5, assigning grades to components through a geometric algorithm matching algorithm;

[0058] If the extended parameter information is missing in the RVM format model, the geometric characteristics of each component are matched with the standard grade library through the matching algorithm of geometric figure analysis. If the grade matching is successful, the component is assigned the grade; if the grade matching fails, the geometric characteristics are matched through the parameter table of the plug-in data source, and the component is assigned the grade that matches successfully; at the same time, the grade is matched with the standard grade library of the PDMS model; if the same grade cannot be found, the corresponding grade in the plug-in data source needs to be added to the PDMS grade library;

[0059] S6. Develop a software interface to extract component names, coordinates, connection relationships, and assigned levels, reconstruct (rebuild) them into a data format recognizable by PDMS, import the data format into PDMS to generate a viewable and editable model, and verify the correctness.

[0060] In step S1, the extended parameters include the type code of the PDMS three-dimensional model component, the component grade name, the parameter naming and the data format standard corresponding to the position.

[0061] In step S2, the standard grade library consists of grade naming, parameter attributes and corresponding model geometry, and the parameter table includes type parameters, grade name parameters, basic body composition parameters and space coordinate point set parameters of each basic body.

[0062] In step S3, the content of the parsed RVM format file includes basic information, engineering project information, tree hierarchy information of the model, connection sequence information, model basic body composition information and extended parameter information.

[0063] The basic information includes software version information, model export time information, exported PC user information and file encoding type;

[0064] The engineering project information is the project name;

[0065] The tree-like hierarchical information of the model is a PDMS model tree structure;

[0066] The basic body composition information of the model consists of 11 types of basic bodies, including rectangular box, cylinder, cone, eccentric cone, pyramid, circular torus, rectangular torus, dish, sloped cylinder, extrusion and solid of revolution, including shapes frequently used in various majors such as pipelines, civil engineering and equipment.

[0067] The connection sequence information is information about other components connected to both ends of each component. If the component is a tee type, it also includes information about other components connected to the third end of the component.

[0068] The extended parameter information includes the type code and grade name of the component.

[0069] For RVM format models that already contain key information such as necessary grades in the extended parameter information, the grade is assigned to the component directly through parameters such as the grade name in the extended information; at the same time, the grade is matched with the PDMS model grade library. If the same grade cannot be found, the corresponding grade in the external grade library (external data source) needs to be added to the PDMS grade library.

[0070] In step S4, Figure 2 As shown, the steps for matching the grade with the standard grade library of the PDMS model are as follows:

[0071] S4.1. Locate the component type code in the extended information into the PDMS database to obtain the type grade library;

[0072] S4.2. Traverse the levels with the same level name in the type library. If the match is successful, assign the level to the component. If the match fails, the level does not exist in the current PDMS project. Then, find the level from the external data source and import the level library information into the current PDMS project.

[0073] S4.3. All common grades are included in the external data source. If the grade library is missing in the external data source, the grade is manually created in the PDMS project. At the same time, the standard grade library is further optimized to make it more complete and comprehensive.

[0074] For RVM format models with missing extended information, the geometric characteristics of each component are matched with those of the PDMS grade library according to the following matching algorithm.

[0075] In step S5, Figure 3 As shown, the matching algorithm includes matching the geometric characteristics of each component with the standard grade library of PDMS, and the steps are as follows:

[0076] S5.1. Analyze the basic body combination mode of RVM components and analyze the spatial coordinate point set composition of each basic body;

[0077] S5.2, analyze the basic body combination mode of each level model entity in the PDMS level library and the spatial coordinate point set composition of each basic body;

[0078] S5.3, traverse the PDMS grade library, compare and match the number, type and combination of the basic bodies of the component components in turn, and if the match is successful, further compare and match the spatial coordinate point set of each basic body;

[0079] S5.4. If the spatial coordinate point set is finally matched successfully, the grade is assigned to the component; if the spatial coordinate point set is matched unsuccessfully, the grade does not exist in the current PDMS project, and the corresponding (closest) grade is found from the parameter table of the geometric primitive structure, and the grade library information is imported into the current PDMS project;

[0080] S5.5. Normally, the parameter table of geometric primitives already contains all common grades. If the grade library is missing, the designer will set the grade library based on experience and add the set grade library to the parameter table to make it more complete and comprehensive.

[0081] By analyzing the PDMS model and RVM data, an extended parameter format, a standard grade library and a geometric characteristic parameter table corresponding to the grade library are formulated. At the same time, a matching algorithm based on geometric graphics analysis is designed for the existing RVM format data that lacks extended parameters. The designed grade library and geometric characteristic parameter table are used to realize the automatic matching of RVM model components and PDMS grade library, and finally the model conversion is realized, thereby improving the efficiency of cross-platform design tasks of engineering projects, reducing the model data packet loss rate, and realizing seamless connection of design data.

[0082] It can realize accurate and efficient conversion of RVM lightweight data to PDMS models, which will help different professional designers to collaborate in design, improve modeling efficiency and design quality, reduce the risk of data loss and errors, enhance project competitiveness, and ultimately promote the high-quality development of the 3D design digital industry.

[0083] By targeting the missing information in the RVM format, a unified extended parameter and data standard was constructed: this standard can quickly and efficiently determine the component level in the RVM format, thereby greatly improving the conversion efficiency and quality, solving the problem of cross-platform design data isolation, and thus improving the efficiency of traditional design.

[0084] By constructing a universal component grade library and grade-geometric basic body construction table, the problem of converting RVM data to PDMS model can be solved, and the standardization of data between different projects, different professions and different platforms can be achieved. At the same time, the grade library and construction table can be continuously expanded, and eventually form enterprise-level and even industry-level standards, thereby improving the overall competitiveness of the industry.

[0085] Through high-level analysis of model data and matching algorithms based on geometric characteristics, the construction and unified comparison of the underlying data model are effectively realized, and the modeling coupling expression problems of weakly connected relationship models such as pipelines, equipment, and civil engineering are solved. It can express three-dimensional model information more completely and comprehensively, reduce the probability of model data loss, and solve the problem of converting RVM data to PDMS model when basic information is missing.

[0086] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for converting data from an RVM format model to a PDMS three-dimensional model, characterized in that: The following steps are involved: S1. Create a new RVM format file, construct a data standard in the new RVM format file, and use the data standard as an extended parameter of the RVM format model, so that the RVM format file contains information of the extended parameters; S2. Build a standard grade library containing various types of components in the PDMS model, establish a parameter table for the basic geometric bodies corresponding to each grade in the standard grade library, and use the parameter table as an external data source; S3, read and parse the RVM format file, extract the basic information and extended parameter information of each type of component, the basic information includes basic geometric shape combination information, grade name information and coordinate information; S4. If the RVM format model contains extended parameter information, the grade of the component is assigned through the grade name parameter in the extended parameter; at the same time, the grade is matched with the standard grade library of the PDMS model. If the same grade cannot be found, the corresponding grade in the external data source needs to be added to the PDMS grade library; S5. If the extended parameter information is missing in the RVM format model, the geometric characteristics of each component are matched with the standard grade library through the matching algorithm of geometric figure analysis. If the grade is successfully matched, the component is assigned the grade; If the grade matching fails, the geometric characteristics are matched through the parameter table of the plug-in data source, and the component is assigned a successfully matched grade; at the same time, the grade is matched with the standard grade library of the PDMS model; if the same grade cannot be found, the corresponding grade in the plug-in data source needs to be added to the PDMS grade library; S6. Extract component names, coordinates, connection relationships, and assigned levels, reconstruct them into a data format recognizable by PDMS, import the data format into PDMS to generate a viewable and editable model, and verify the correctness.

2. The method for converting data from an RVM format model to a PDMS three-dimensional model according to claim 1, characterized in that: In step S1, the extended parameters include the type code, component grade name, parameter naming and data format standard of the PDMS three-dimensional model component.

3. The method for converting data from an RVM format model to a PDMS three-dimensional model according to claim 1, characterized in that: In step S2, the standard grade library is composed of grade naming, parameter attributes and model geometry, and the parameter table includes type parameters, grade name parameters, basic body composition parameters and space coordinate point set parameters.

4. The method for converting data from an RVM format model to a PDMS three-dimensional model according to claim 1, characterized in that: In step S3, the content of the parsed RVM format file includes basic information, engineering project information, tree hierarchy information of the model, connection sequence information, model basic body composition information and extended parameter information.

5. The method for converting data from an RVM format model to a PDMS three-dimensional model as claimed in claim 4, characterized in that: The basic information includes software version information, model export time information, exported PC user information and file encoding type; The engineering project information is the project name; The tree-like hierarchical information of the model is a PDMS model tree structure; The basic body composition information of the model consists of 11 types of basic bodies, including cuboid, cylinder, frustum, eccentric frustum, prism, circular section elbow, square section elbow, head, inclined cylinder, stretched body and rotating body; The extended parameter information includes component type and grade name.

6. The method for converting data from an RVM format model to a PDMS three-dimensional model according to claim 1, characterized in that: In step S4, the grade is matched with the standard grade library of the PDMS model, and the steps are as follows: S4.

1. Locate the component type code in the extended information into the PDMS database to obtain the type grade library; S4.

2. Traverse the levels with the same level name in the type library. If the match is successful, assign the level to the component. If the match fails, the level does not exist in the current PDMS project. Then, find the level from the external data source and import the level library information into the current PDMS project. S4.

3. If the grade library is missing in the external data source, manually create the grade in the PDMS project.

7. The method for converting data from an RVM format model to a PDMS three-dimensional model according to claim 1, characterized in that: In step S5, the matching algorithm includes matching the geometric characteristics of each component with the standard grade library of PDMS, the steps are as follows: S5.

1. Analyze the basic body combination mode of RVM components and analyze the spatial coordinate point set composition of each basic body; S5.2, analyze the basic body combination mode of each level model entity in the PDMS level library and the spatial coordinate point set composition of each basic body; S5.3, traverse the PDMS grade library, compare and match the number, type and combination of the basic bodies of the component components in turn, and if the match is successful, compare and match the spatial coordinate point set of each basic body; S5.4, if the spatial coordinate point set is finally matched successfully, the component is assigned the grade; If the spatial coordinate point set matching fails, there is no such grade in the current PDMS project. Find the corresponding grade from the parameter table constructed from the geometric primitives, and import the grade library information into the current PDMS project. S5.

5. If the grade library is missing, set the grade library and add the grade library set this time to the parameter table to make it complete and comprehensive.