Method, system, equipment and medium for constructing electrical professional general information model
By defining electrical professional meta models and using model conversion platform to convert data into STEP and XML files, the non-standardization and loss of data conversion between ship three-dimensional design software is solved, the effective sharing and transmission of data is realized, and the design quality and development efficiency are improved.
Patent Information
- Application Number
- CN202411957713.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-02
AI Technical Summary
Data conversion between existing ship three-dimensional design software has data loss and non-standard problems, resulting in the inability to effectively share model data, seriously affecting the design quality and development cycle.
Define the electrical professional meta-model, including the electrical basic library and the electrical assembly model, export geometric information in STEP files through the model conversion platform, and export non-geometric information in XML files to form a general electrical professional information model.
It realizes seamless data transmission between different design software, avoids data loss, and improves design quality and development efficiency.
Smart Images

Figure CN119918219A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital collaborative design, and in particular to a method, system, device and medium for constructing a universal information model for electrical engineering. Background Art
[0002] In recent years, digital ship design has been widely promoted and applied in various research and development units, and the three-dimensional design software for ships and marine engineering is mainly represented by FORAN, TRIBON and CATIA V6. Due to the particularity and non-standardization of its three-dimensional design model data, data conversion between different software requires customized development of conversion interfaces, and it is difficult to ensure that no data information is lost during the conversion process. This leads to the inability to effectively share model data, which seriously restricts the quality of ship design and the development cycle. The effective conversion of ship three-dimensional design model data can avoid a large amount of unnecessary repetitive modeling work and is an effective way to integrate information. However, for different design software, there are often serious obstacles to data exchange, either lack of a unified data format, or serious loss of model information after import and export operations.
[0003] Therefore, how to build a universal information model for electrical engineering that can be effectively transmitted between various research and development units without data exchange obstacles and loss of model information is a problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve or improve at least one of the above technical problems, an object of the present invention is to provide a method for constructing a general information model for electrical engineering.
[0005] Another object of the present invention is to provide a system for constructing a general information model for electrical engineering.
[0006] Another object of the present invention is to provide an electronic device.
[0007] Another object of the present invention is to provide a readable storage medium.
[0008] To achieve the above object, the present invention provides a method for constructing a general information model for electrical engineering in a first aspect, the steps comprising:
[0009] The first step is to define the electrical professional metamodel, which includes the electrical basic library and the electrical assembly model; the electrical basic library includes one of the following or a combination of them: cable basic library, cable tray library and cable channel library; the electrical assembly model includes one of the following or a combination of them: cable model, cable channel model and cable tray model.
[0010] The second step is to determine the relationship class diagram based on the electrical professional metamodel.
[0011] The third step is to obtain geometric and non-geometric information through the source CAD (Computer-Aided Design) software based on the relationship class diagram.
[0012] In the fourth step, the geometric information is exported as a STEP (Standard for the Exchange of Product Model Data) file through the model conversion platform, and the non-geometric information is exported as an XML (eXtensible Markup Language) file.
[0013] The fifth step is to determine the 3D model based on the STEP file and the XML file, and add model annotation information and process information to the 3D model.
[0014] The sixth step is to determine the general information model of the electrical profession based on the three-dimensional model, model annotation information and process information.
[0015] It should be noted that source CAD software refers to the original CAD software that serves as the source of data and is the initial carrier of the 3D model. Common types of source CAD software include FORAN (a 3D shipbuilding software), TRIBON (a computer software integration system that assists in ship design and construction) and CATIA V6 (a 3D design software).
[0016] The present invention aims to provide a method for constructing a general information model for electrical engineering, which is conducive to constructing a general information model database based on the electrical engineering metamodel by defining the composition of the electrical engineering metamodel. In addition, the method of the present invention (the method for constructing a general information model for electrical engineering) standardizes the data collection and conversion methods or approaches of the electrical engineering metamodel, and can quickly convert the three-dimensional model of the third-party software into an intermediate format of the general information model for electrical engineering, so as to facilitate the effective transmission of the general information model for electrical engineering between various research and development units without data exchange obstacles and loss of model information.
[0017] In addition, the above technical solution provided by the present invention may also have the following additional technical features:
[0018] In some technical solutions, optionally, the cable basic library includes one of the following or a combination thereof: isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification.
[0019] In this technical solution, the design attributes and production attributes of the cable are defined according to the cable basic library. The design attributes include but are not limited to the isolation level, cable cross-sectional area and nominal voltage. The design attributes are directly related to the functional realization and safety assurance of the cable in the electrical system. The production attributes include but are not limited to the cable manufacturer, cable core material, cable classification, cable model and cable specification. The production attributes are crucial for the production, procurement and quality control of the cable.
[0020] The design attributes and production attributes defined in the cable basic library are interrelated and influence each other, and together constitute a complete information system of the cable in the electrical professional meta-model, providing an accurate and comprehensive basis for each link of the cable's life cycle, including design, production, selection, installation and maintenance, and is an important guarantee for the efficient, safe and reliable operation of the electrical system.
[0021] In some embodiments, the cable tray library optionally includes standard components for fastening cables.
[0022] In this technical solution, the cable bracket library is a standard part mainly used by shipyards when tightening cables.
[0023] Define standard parts for fastening cables based on the cable tray library. Physical properties such as weight, length, width, and center of gravity are the core considerations for standard parts in actual installation and mechanical design.
[0024] Optionally, the cable tray attributes are defined according to the cable tray library. The cable tray attributes include but are not limited to tray code, tray tray code, manufacturer, weight, length, width and center of gravity.
[0025] In some technical solutions, optionally, the cable channel library includes one of the following or a combination thereof: channel materials, channel styles, channel models and specifications, and a cable penetration library.
[0026] In this technical solution, the attribute information of the cable channel (including channel material, channel style, channel model and specification and cable penetration library) is defined according to the cable channel library. The purpose of this step is to estimate the size in the design stage.
[0027] The various components of the cable channel library cooperate and complement each other. From the selection of materials to the determination of styles, from the precise positioning of model specifications to the effective connection of penetration pieces, they fully meet the various requirements for cable laying in electrical systems under different environments and different needs, laying the foundation for the efficient, safe and reliable operation of electrical systems.
[0028] In some technical solutions, optionally, the cable channel model includes: cable channel assemblies, pipelines, pipe segments, straight pipes, elbows and accessories; and / or the cable bracket model includes: bracket geometry and bracket assemblies.
[0029] In this technical solution, the cable channel model is used to reflect the constituent elements and structural levels of the cable channel.
[0030] Cable channel assemblies are basic components for building cable channels. Their types and specifications determine the basic framework and connection methods of the channel.
[0031] Pipelines are the main part of cable channels and have the main function of accommodating and protecting cables. Different types of pipelines (such as metal pipes, plastic pipes, etc.) have their own advantages and disadvantages in terms of corrosion resistance, electromagnetic shielding performance, etc., and are suitable for different electrical environments.
[0032] Pipe sections, straight pipes and elbows are more detailed classifications based on the shape and function of the pipelines. Straight pipes are used for long-distance straight-line laying, while elbows are used to change the laying direction of cables. Their parameters such as size and bending radius have an important impact on the installation and operation of cables.
[0033] Accessories such as seals and fixing clips serve to improve the function of the cable channel and ensure the stability and safety of the cables in the channel.
[0034] The cable tray model is divided into tray geometry and tray assembly. This classification helps to deeply analyze the structural design and assembly relationship of the tray.
[0035] The bracket geometry is used to determine the basic shape and spatial structure of the bracket. For example, different geometric shapes (such as trough type, ladder type, etc.) have differences in cable carrying capacity, heat dissipation performance, etc. Designers can choose the appropriate bracket geometry based on factors such as the number and weight of cables and the operating environment.
[0036] The bracket assembly is responsible for combining and installing the bracket geometry together, including connecting bolts, nuts and other components. Its quality and installation method are directly related to the overall stability and reliability of the bracket.
[0037] In some technical schemes, optionally, the steps of the method for constructing a general information model for the electrical profession also include: before obtaining geometric information and non-geometric information through the source CAD software based on the relationship class diagram, constructing a model database based on the relationship class diagram, and each class in the electrical profession metamodel corresponds to a data table in the model database.
[0038] In this technical solution, the relationship class diagram clearly depicts the relationship between each class in the electrical professional metamodel, such as inheritance, association, aggregation, etc. These relationships are the key basis for building the model database. The relationship class diagram helps to determine the structure of the data table in the database. From the relationship class diagram, we can see the attributes of each class and the relationship between the attributes, so as to determine the column name and data type of the corresponding data table.
[0039] In some technical solutions, optionally, the geometric information is exported as a STEP file through a model conversion platform, and the non-geometric information is exported as an XML file. The steps include: exporting the reconstructed files of the geometric information and the non-geometric information through the model conversion platform and establishing an association relationship to form a STEP file containing the geometric information and an XML file containing the non-geometric information; wherein the non-geometric information is attribute information.
[0040] In this technical solution, model information (including geometric information and non-geometric information) is extracted according to the region and system according to user needs, which can be executed individually or in batches. By traversing and searching all the line segment numbers under the selected region and system, the geometric information and attribute information related to each line segment are extracted, and the corresponding STEP file and XML file are generated.
[0041] A second aspect of the present invention provides a system for constructing a general information model for electrical engineering, including a metamodel definition module, a model analysis module, a data collection module, a data export module, an information addition module and a model determination module.
[0042] The metamodel definition module is used to define the electrical metamodel. The electrical metamodel includes the electrical basic library and the electrical assembly model. The electrical basic library includes one of the following or a combination thereof: a cable basic library, a cable tray library, and a cable channel library. The electrical assembly model includes one of the following or a combination thereof: a cable model, a cable channel model, and a cable tray model.
[0043] The model analysis module is used to determine the relationship class diagram based on the electrical professional metamodel.
[0044] The data collection module is used to obtain geometric and non-geometric information through the source CAD software based on the relationship class diagram.
[0045] The data export module is used to export geometric information as a STEP file through the model conversion platform, and to export non-geometric information as an XML file.
[0046] The information adding module is used to determine the three-dimensional model according to the STEP file and the XML file, and to add model annotation information and process information to the three-dimensional model.
[0047] The model determination module is used to determine the general information model of the electrical profession based on the three-dimensional model, model annotation information and process information.
[0048] The present invention aims to provide a system for constructing a general information model for electrical engineering, which is conducive to constructing a general information model database based on the electrical engineering metamodel by defining the composition of the electrical engineering metamodel. In addition, the system of the present invention (a system for constructing a general information model for electrical engineering) standardizes the data collection and conversion methods or approaches of the electrical engineering metamodel, and can quickly convert the three-dimensional model of the third-party software into an intermediate format of the general information model for electrical engineering, facilitating the effective transmission of the general information model for electrical engineering between various research and development units without data exchange obstacles and loss of model information.
[0049] The third aspect of the present invention provides an electronic device, comprising a memory and a processor. The memory stores a program or instruction that can be run on the processor, and the processor implements the steps of the method for constructing a general information model for electrical professionals in any of the above technical solutions when executing the program or instruction. Therefore, the electronic device has the beneficial effects of any of the above technical solutions, which will not be repeated here.
[0050] In a fourth aspect, the present invention provides a readable storage medium, which stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method for constructing a general information model for electrical engineering in any of the above technical solutions are implemented. Therefore, the readable storage medium has the beneficial effects of any of the above technical solutions, which will not be described in detail here.
[0051] Additional aspects and advantages of the technical solutions of the present invention will become apparent in the following description or will be understood through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A flowchart of a method for constructing a general information model for electrical engineering according to an embodiment of the present invention is shown;
[0053] Figure 2 A flowchart showing a method for constructing an electrical professional general information model according to another embodiment of the present invention is shown;
[0054] Figure 3 A flowchart showing a method for constructing an electrical professional general information model according to another embodiment of the present invention is shown;
[0055] Figure 4 A structural block diagram of a system for constructing a general information model for electrical engineering according to an embodiment of the present invention is shown;
[0056] Figure 5 A structural block diagram of an electronic device according to an embodiment of the present invention is shown;
[0057] Figure 6 A structural block diagram of an electrical professional meta-model according to an embodiment of the present invention is shown;
[0058] Figure 7 A flow chart of data collection for an electrical professional meta-model according to an embodiment of the present invention is shown;
[0059] Figure 8 A flow chart of a method for constructing a general information model for electrical engineering according to another embodiment of the present invention is shown.
[0060] in, Figure 4 and Figure 5 The corresponding relationship between the reference numerals and the component names is as follows:
[0061] 200: System for constructing a general information model for electrical engineering; 210: Metamodel definition module; 220: Model analysis module; 230: Data collection module; 240: Data export module; 250: Information addition module; 260: Model determination module; 300: Electronic device; 310: Memory; 320: Processor. DETAILED DESCRIPTION
[0062] In order to more clearly understand the above-mentioned purposes, features and advantages of the embodiments of the present invention, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0063] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the embodiments of the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.
[0064] Refer to the following Figures 1 to 8 The present invention describes a method for constructing a general information model for electrical engineering, a system 200 for constructing a general information model for electrical engineering, an electronic device 300, and a readable storage medium according to some embodiments of the present invention.
[0065] In one embodiment according to the present invention, Figure 1 As shown, the steps of the method for constructing a general information model for electrical engineering include:
[0066] S102, define the electrical professional metamodel, the electrical professional metamodel includes an electrical basic library and an electrical assembly model; the electrical basic library includes one of the following or a combination thereof: a cable basic library, a cable tray library and a cable channel library; the electrical assembly model includes one of the following or a combination thereof: a cable model, a cable channel model and a cable tray model.
[0067] The electrical basic library mainly covers the information library related to the basic elements of building electrical systems. The electrical assembly model focuses on the model categories formed by combining and assembling these basic elements.
[0068] For example, in actual electrical design, the cable basic library provides various basic parameter information of the cable, which is the basis for designing cable layout and connection; and the cable model is a model formed on top of this basic information, taking into account the specific installation position, direction and other assembly information of the cable in the entire electrical system.
[0069] When there is only one type of electrical basic library, the electrical basic library only includes any one of the cable basic library, the cable tray library and the cable channel library. When there are multiple types of electrical basic libraries, the electrical basic library includes any combination of the cable basic library, the cable tray library and the cable channel library.
[0070] When there is only one type of electrical assembly model, the electrical assembly model only includes any one of the cable model, the cable channel model and the cable tray model. When there are multiple types of electrical assembly models, the electrical assembly model includes any combination of the cable model, the cable channel model and the cable tray model.
[0071] By defining the electrical professional metamodel in a detailed and hierarchical manner, it can provide a foundation for subsequent electrical professional data collection, model conversion, and the construction of a common electrical professional information model, ensuring that the digital design and management process of the entire electrical system can be carried out efficiently and accurately.
[0072] In a specific embodiment, the cable basic library is divided into eight basic tables according to design and process requirements: isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification.
[0073] The design attributes and production attributes of cables are defined according to the cable basic library. The design attributes include but are not limited to the isolation level, cable cross-sectional area and nominal voltage. The design attributes are directly related to the functional realization and safety assurance of the cable in the electrical system. The production attributes include but are not limited to the cable manufacturer, cable core material, cable classification, cable model and cable specification. The production attributes are crucial for the production, procurement and quality control of cables.
[0074] In one specific embodiment, the cable tray library includes standard components for securing cables.
[0075] Define cable tray properties based on the cable tray library. Cable tray properties include but are not limited to tray code, tray tray code, manufacturer, weight, length, width, and center of gravity.
[0076] In a specific embodiment, the cable channel library includes channel materials, channel styles, channel models and specifications, and a cable penetration library.
[0077] Define the cable channel attribute information (including channel material, channel style, channel model and specification, and cable penetration library) according to the cable channel library. The purpose of this step is to estimate the size during the design phase.
[0078] As a key carrier of power transmission, the cable model itself (cable model) focuses on describing the core elements such as the cable's electrical characteristics, physical structure, and connection relationship in the entire electrical network. For example, the cable's electrical parameters such as resistance and capacitance have a direct impact on power transmission efficiency and signal quality, while the cable's physical properties such as length and diameter are related to its layout and installation in space.
[0079] The cable channel model is used to reflect the constituent elements and structural levels of the cable channel.
[0080] The cable tray model is divided into tray geometry and tray assembly. This classification helps to deeply analyze the structural design and assembly relationship of the tray.
[0081] In actual electrical systems, the cable model, cable channel model, and cable tray model are interdependent and work together. Cables need to be laid through cable channels, which provide physical protection and spatial guidance for cables to prevent them from external mechanical damage and electromagnetic interference, while ensuring that the cables are neatly arranged for easy maintenance and management. Cable trays provide support and fixation for cables in cable channels or other required locations. The position and installation method of the bracket should be coordinated with the cable channel, and should be reasonably designed according to the weight and tension distribution of the cable to ensure the stability of the cable on the bracket.
[0082] S104, determining the relationship class diagram according to the electrical professional metamodel.
[0083] The purpose of this step is to establish class diagrams and class diagram relationships based on the electrical professional metamodel, thereby determining the relationship class diagram.
[0084] This is a key step in the method of building a general information model for electrical engineering. For example, when defining and collecting data for the electrical engineering metamodel, it is necessary to establish a class diagram to intuitively display the various classes in the model, such as cable channel assemblies, pipelines, etc., and to sort out the relationships between these classes, such as inheritance relationships, association relationships, etc.
[0085] The relationship class diagram is a graphical tool for representing the relationship between classes. Taking the cable channel as an example, its relationship class diagram shows the relationship between the cable channel related classes. This relationship may include multiple types such as inclusion relationship and dependency relationship between classes, which can help technicians better understand the internal connection between various parts in the electrical professional model.
[0086] S106, based on the relationship class diagram, obtaining geometric information and non-geometric information through the source CAD software.
[0087] It should be noted that source CAD software refers to the original CAD software that serves as the source of data and is the initial carrier of the 3D model. Common types of source CAD software include FORAN (a 3D shipbuilding software), TRIBON (a computer software integration system that assists in ship design and construction) and CATIA V6 (a 3D design software).
[0088] The relationship class diagram can sort out the relationship between the various parts in the electrical professional meta-model and provide guidance for obtaining information from the source CAD software. For example, it can help determine the data association between different libraries and models in the electrical basic library and electrical assembly model, so as to accurately obtain geometric and non-geometric information.
[0089] Optionally, the geometric information and non-geometric information for constructing the three-dimensional model are obtained from the source CAD software by utilizing the data conversion interface of the source CAD software or accessing its database; a system class diagram is constructed based on the standard ISO 10303 (a product model data exchange standard); a data file of the general information model of the electrical profession is established through ontology mapping, and a model conversion platform is utilized to realize the reconstruction file of the geometric information and non-geometric information exported by the source CAD software and establish an association relationship, thereby forming a STEP (Standard for the Exchange of Product Model Data) file containing the geometric model (geometric information) and an XML (eXtensible Markup Language) file containing attribute information.
[0090] It should be emphasized that ISO 10303, as an internationally recognized product model data exchange standard, provides a solid normative foundation for building system class diagrams. This standard is widely used in product data processing in many industries, and its authority ensures that the constructed system class diagrams are universal and compatible.
[0091] S108, exporting the geometric information as a STEP file through the model conversion platform, and exporting the non-geometric information as an XML file.
[0092] It should be noted that non-geometric information includes attribute information.
[0093] Model information (including geometric information and non-geometric information) can be extracted by region and system according to user needs, which can be executed individually or in batches. By traversing and searching all line segment numbers under the selected region and system, the geometric information and attribute information related to each line segment are extracted, and the corresponding STEP file and XML file are generated.
[0094] Optionally, the model conversion platform is an IPDE (Integrated Product Development Environment) platform. The IPDE platform is a collection of business processes, computer systems, and related services that manage product model data and enable people to work in a collaborative environment that is oriented to the entire product life cycle and has unified work goals.
[0095] S110, determining a three-dimensional model according to the STEP file and the XML file, and adding model annotation information and process information to the three-dimensional model.
[0096] It should be noted that the three-dimensional model includes the design model and the reference model.
[0097] The design model and reference model determined by the source CAD software are exported to STEP format, and three-dimensional annotation and process information are added based on the model visualization system tool (Intel 3D), and then the annotated model is exported to the electrical professional general information model. The above design model, reference model, and annotated model are imported into the IPDE platform and transmitted in the intermediate format of the electrical professional general information model.
[0098] S112, determining the general information model of the electrical profession based on the three-dimensional model, model annotation information and process information.
[0099] Optionally, the electrical professional general information model is exported in step242 format (a file format).
[0100] In the process of data acquisition and conversion of electrical professional meta-model, step242 format appears after the design model and reference model are 3D-annotated and process information is added based on model visualization system tools (such as Intel 3D). It is a specific format used when exporting the annotated model. It is an intermediate or final format form after a series of processing from the source CAD software. It is used for data transfer and sharing between specific platforms (IPDE platform).
[0101] The present invention aims to provide a method for constructing a general information model for electrical profession, which is conducive to constructing a general information model database based on the electrical profession metamodel by defining the composition of the electrical profession metamodel. In addition, the method of the present invention (the method for constructing a general information model for electrical profession) standardizes the data acquisition and conversion mode or approach of the electrical profession metamodel, and can quickly convert the three-dimensional model of the third-party software into the general information model for electrical profession in an intermediate format, so as to facilitate the effective transmission of the general information model for electrical profession between various research and development units, and will not cause data exchange obstacles and loss of model information. Professionals can manage data on a specific platform (IPDE platform) or browse the general information model for electrical profession online, which is conducive to improving work efficiency.
[0102] In recent years, digital ship design has been widely promoted and applied in various research and development units, and the three-dimensional design software for ships and marine engineering is mainly represented by FORAN, TRIBON and CATIA V6. Due to the particularity and non-standardization of its three-dimensional design model data, the data conversion between different software (three-dimensional design software) requires customized development of conversion interfaces, and it is difficult to ensure that no data information is lost during the conversion process. This leads to the inability to effectively share model data, which seriously restricts the quality of ship design and the development cycle. The effective conversion of ship three-dimensional design model data can avoid a large amount of unnecessary repetitive modeling work and is an effective way to integrate information. However, for different three-dimensional design software, there are often serious obstacles to data exchange, either lack of a unified data format, or serious loss of model information after import and export operations.
[0103] It should be noted that FORAN is a 3D shipbuilding software. TRIBON is a computer software integration system that assists in ship design and construction. CATIA V6 is a 3D design software.
[0104] In order to ensure that model data between different software can be effectively converted, it is urgent to establish a standard format data file. The standard format model that can be effectively applied to various 3D design software and has valid information is called a universal information model.
[0105] The present invention aims to provide a method for constructing a universal information model for electrical engineering, converting an existing three-dimensional model for electrical engineering into a universal information model for electrical engineering (which can be understood as a type of universal information model), and realizing rapid transmission and long-term preservation of the model. The universal information model for electrical engineering can be effectively applied to various three-dimensional design software and is a standard format model with effective information.
[0106] The overall design of a ship is a project involving a large number of people and complex product information. Its entire life cycle is very long, including various stages such as design, construction, and maintenance. The 3D model design of ship products is carried out with the help of 3D design software. The software version is updated quickly and the update iteration is frequent, which is not conducive to the long-term storage and management of the model. The universal model (general information model for electrical professionals) based on the STEP (Standard for the Exchange of Product Model Data) standard, which is independent of a specific software platform, is an intermediate format file that can effectively realize information transmission and reuse in an integrated data environment, seamlessly connect between different software systems, and enable data to interact in a unified intermediate format.
[0107] Specifically, the electrical professional general information model is a model for ship products, which covers all data and information of the ship's entire life cycle from design, analysis, manufacturing, testing, service, management, maintenance, scrapping, etc. At the same time, it is a general model based on the STEP standard, which uses a standard, universal, and neutral mechanism to describe the general information of ships, clarifies the basic rules for product data exchange, and can be shared by various professional fields.
[0108] In the technical solution defined in the present invention, based on the electrical professional metamodel definition and data acquisition method of the general information model (the method for constructing the electrical professional general information model), the electrical professional three-dimensional model is converted into an electrical professional general information model in an intermediate format for reuse. The electrical professional general information model can be effectively transferred between various research and development units, and can be stored and managed for a long time throughout the life cycle.
[0109] In some embodiments, optionally, the cable basic library includes one of the following or a combination thereof: isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification.
[0110] When there is only one type of cable basic library, the cable basic library only includes any one of the isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification. When there are multiple types of cable basic library, the cable basic library includes any combination of isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification.
[0111] The design attributes and production attributes of cables are defined according to the cable basic library. The design attributes include but are not limited to the isolation level, cable cross-sectional area and nominal voltage. The design attributes are directly related to the functional realization and safety assurance of the cable in the electrical system. The production attributes include but are not limited to the cable manufacturer, cable core material, cable classification, cable model and cable specification. The production attributes are crucial for the production, procurement and quality control of cables.
[0112] The isolation level determines the cable's anti-interference ability and safety in different electrical environments, and is an important parameter for the stable operation of the electrical system. The isolation level is a key factor in protecting the electrical system from electromagnetic interference and ensuring safe operation. Different electrical equipment and working environments have strict requirements on the isolation performance of the cable.
[0113] The cross-sectional area of the cable affects the current carrying capacity and needs to be precisely designed according to the system power requirements.
[0114] The nominal voltage is used to specify the rated voltage value that the cable can withstand. This is a key parameter to ensure that the cable is properly matched to electrical equipment to prevent damage from overvoltage or undervoltage.
[0115] Relevant information about cable manufacturers helps to trace product quality and supply sources. Different manufacturers may have differences in production processes and quality standards.
[0116] The cable core material determines the cable's physical properties such as conductivity and corrosion resistance, and is an important basis for selecting cables.
[0117] Cable classification, cable models and cable specifications constitute a complete set of cable selection standard system, which is used for accurate selection and standardized management of cables during the design and production process.
[0118] Cable classification can be divided into many ways according to purpose (such as power cable, communication cable, control cable, etc.), insulation material (such as rubber insulated cable, plastic insulated cable, etc.), structural form (such as single-core cable, multi-core cable, etc.), etc., which makes it easy to quickly locate the appropriate cable category according to the functional requirements of the electrical system in the early stage of design.
[0119] The cable model is further refined based on the classification, and specific technical parameters and performance indicators of the cable are specified, such as the rated current, withstand voltage level, insulation thickness, etc. of a certain model of cable.
[0120] Cable specifications are usually expressed in terms of dimensional parameters such as the cable's outer diameter, inner diameter, and number of cores, providing an accurate dimensional basis for the installation, wiring, and connection of the cable.
[0121] The design attributes and production attributes defined in the cable basic library are interrelated and influence each other, and together constitute a complete information system of the cable in the electrical professional meta-model, providing an accurate and comprehensive basis for each link of the cable's life cycle, including design, production, selection, installation and maintenance, and is an important guarantee for the efficient, safe and reliable operation of the electrical system.
[0122] Optionally, the isolation level attribute, cable cross-sectional area attribute, nominal voltage attribute, cable manufacturer attribute, cable core material attribute, cable classification attribute, cable model attribute and cable specification attribute of the cable are defined according to the cable basic library. The isolation level attribute definition related content is shown in Table 1.
[0123]
[0124] Table 1
[0125] It should be noted that seqid (Sequence Identifier) is a sequence identifier. Oid (Object Identifier) is an object identifier. NumberType is a numeric type, indicating that the data types of Seqid and Oid are numeric types. In computer systems, numeric data can be used for various mathematical operations and comparison operations, which is very convenient for data sorting, indexing, and numeric range-based queries.
[0126] In Table 1, code and Code represent the isolation level code. StringType is a string type, indicating that the data type of the isolation level code is a string type. String type data can contain various character combinations such as letters, numbers, and symbols. In addition, desc (abbreviation of description) and Description represent specific descriptions, and their data types are also string types (StringType).
[0127] In some embodiments, the cable tray library optionally includes standard parts for fastening cables. In other words, the cable tray library is a standard part mainly used by shipyards when fastening cables.
[0128] Since ships experience various complex working conditions such as vibration and shaking during operation, cable brackets as standard parts can provide reliable support and fixation for cables, preventing cables from displacement, wear and even breakage due to external forces, thereby ensuring the continuity and safety of the electrical system.
[0129] Define standard parts for fastening cables based on the cable tray library. Physical properties such as weight, length, width, and center of gravity are the core considerations for standard parts in actual installation and mechanical design.
[0130] Optionally, the cable tray attributes are defined according to the cable tray library. The cable tray attribute definition related content is shown in Table 2.
[0131]
[0132] Table 2
[0133] It should be noted that Name indicates the bracket code. "stock_code" and "Stock_code" indicate the bracket pallet code. Supplier indicates the manufacturer. Weight indicates the weight. Length indicates the length. Width indicates the width. COG indicates the center of gravity.
[0134] Optionally, the cable tray attributes include, but are not limited to, tray designator, tray tray code, manufacturer, weight, length, width, and center of gravity.
[0135] In some embodiments, optionally, the cable channel library includes one or a combination of the following: channel materials, channel styles, channel models and specifications, and a cable penetration library.
[0136] When the cable channel library has one type, the cable channel library only includes any one of the channel material, channel style, channel model and specification, and cable penetration library. When the cable channel library has multiple types, the cable channel library includes any combination of the channel material, channel style, channel model and specification, and cable penetration library.
[0137] Define the cable channel attribute information (including channel material, channel style, channel model and specification, and cable penetration library) according to the cable channel library. The purpose of this step is to estimate the size during the design phase.
[0138] Among them, channel materials are an important part of the cable channel library. Different channel materials have different physical and chemical properties, which directly affect the applicability and durability of cable channels in various environments.
[0139] The variety of channel styles is to meet different cable laying requirements and space constraints. The attributes of the channel style such as width, height, diameter, etc. determine the layout and accommodation capacity of the cables in the channel.
[0140] Channel models and specifications further refine the design parameters of cable channels. Different models usually correspond to different structural characteristics and performance indicators.
[0141] The cable penetration library plays a key role in the connection and transition of the entire cable channel system. Cable penetrations can achieve seamless connection between the cable channel and other equipment or between different parts of the cable channel.
[0142] The various components of the cable channel library cooperate and complement each other. From the selection of materials to the determination of styles, from the precise positioning of model specifications to the effective connection of penetration pieces, they fully meet the various requirements for cable laying in electrical systems under different environments and different needs, laying the foundation for the efficient, safe and reliable operation of electrical systems.
[0143] In a specific embodiment, the channel style attribute definition related content is shown in Table 3.
[0144]
[0145]
[0146] Table 3
[0147] It should be noted that "Patt_descr" indicates the pattern description. "Patt_type" indicates the pattern type. "Level_width" indicates the width. "Level_height" indicates the height. "Level_diam" indicates the diameter. "Stock_code" indicates the pallet code. "Segregation" indicates the segregation level.
[0148] In some embodiments, the cable channel model optionally includes cable channel assemblies, pipelines, pipe segments, straight pipes, elbows, and accessories.
[0149] The cable channel model is used to reflect the constituent elements and structural levels of the cable channel.
[0150] Cable channel assemblies are basic components for building cable channels. Their types and specifications determine the basic framework and connection methods of the channel.
[0151] Pipelines are the main part of cable channels and have the main function of accommodating and protecting cables. Different types of pipelines (such as metal pipes, plastic pipes, etc.) have their own advantages and disadvantages in terms of corrosion resistance, electromagnetic shielding performance, etc., and are suitable for different electrical environments.
[0152] Pipe sections, straight pipes and elbows are more detailed classifications based on the shape and function of the pipelines. Straight pipes are used for long-distance straight-line laying, while elbows are used to change the laying direction of cables. Their parameters such as size and bending radius have an important impact on the installation and operation of cables.
[0153] Accessories such as seals and fixing clips serve to improve the function of the cable channel and ensure the stability and safety of the cables in the channel.
[0154] In some embodiments, the cable tray model optionally includes a tray geometry and a tray assembly.
[0155] The cable tray model is divided into tray geometry and tray assembly. This classification helps to deeply analyze the structural design and assembly relationship of the tray.
[0156] The bracket geometry is used to determine the basic shape and spatial structure of the bracket. For example, different geometric shapes (such as trough type, ladder type, etc.) have differences in cable carrying capacity, heat dissipation performance, etc. Designers can choose the appropriate bracket geometry based on factors such as the number and weight of cables and the operating environment.
[0157] The bracket assembly is responsible for combining and installing the bracket geometry together, including connecting bolts, nuts and other components. Its quality and installation method are directly related to the overall stability and reliability of the bracket.
[0158] Taking the cable tray geometry as an example, the relevant contents of the cable tray geometry attribute definition are shown in Table 4.
[0159]
[0160]
[0161] Table 4
[0162] It should be noted that "seqId" indicates the sequence number. code indicates the number. Description indicates the description. version indicates the version. "min_x" indicates the minimum value in the X direction. "min_y" indicates the minimum value in the Y direction. "min_z" indicates the minimum value in the Z direction. "max_x" indicates the maximum value in the X direction. "max_y" indicates the maximum value in the Y direction. "max_z" indicates the maximum value in the Z direction. state indicates the state. "positionX" indicates the X value of the positioning coordinate. "positionY" indicates the Y value of the positioning coordinate. "positionZ" indicates the Z value of the positioning coordinate. "modifyDate" indicates the modification date. muser indicates the modifier account. "dir_u" indicates the U direction offset value. "dir_v" indicates the V direction offset value. "dir_w" indicates the W direction offset value. angle angle value. "pcon1_x" indicates the X value of 2D (plane) domain 1. "pcon1_y" indicates the Y value of 2D domain 1. "pcon1_z" indicates the Z value of 2D domain 1. "pcen_x" indicates the X value of the center of the circle. "pcen_y" indicates the Y value of the center of the circle. "pcen_z" indicates the X value of the center of the circle. "pcon2_x" indicates the X value of 2D domain 2. "pcon2_y" indicates the Y value of 2D domain 2. "pcon2_z" indicates the Z value of 2D domain 2. "sdate" indicates the status modification date. "symmetrical" indicates whether it is symmetrical. "ctype" indicates the bracket type. "line" indicates the cable channel segment. "span" indicates the length of the hanger leg extension. "type" indicates the bracket type. "data1" indicates bracket data 1. "data2" indicates bracket data 2.
[0163] In a specific embodiment, Figure 6 As shown, the electrical model (i.e., the electrical professional meta-model) includes an electrical basic library and an electrical assembly model. The electrical basic library includes a cable basic library, a cable tray library, and a cable channel library. The electrical assembly model includes cables (i.e., cable models), cable channels (i.e., cable channel models), and cable trays (i.e., cable tray models).
[0164] The basic cable library includes isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification. The cable bracket library is the standard parts mainly used by shipyards for cable fastening. The cable channel library includes channel materials, channel styles, channel models and specifications, and cable penetration parts library.
[0165] The cable tray (i.e., the cable tray model) includes the tray geometry and the tray assembly. The cable channel (i.e., the cable channel model) includes the cable channel assembly, pipelines, pipe segments, straight pipes, elbows, and accessories.
[0166] In some embodiments, optionally, Figure 2 As shown, before S106 (obtaining geometric information and non-geometric information through source CAD software based on the relationship class diagram), the method for constructing a general information model for electrical engineering further includes:
[0167] S105, constructing a model database based on the relationship class diagram, wherein each class in the electrical professional meta-model corresponds to a data table in the model database.
[0168] When constructing the model database, each class in the electrical professional metamodel corresponds to a data table in the model database. In the data table, the first column contains at least OID (object identifier), CODE or NAME (code name) and the specifically defined attribute name, and the second column is the corresponding attribute type. For the processing of attributes, if the class inherits from other classes, the attributes of the corresponding parent class should also be saved in the data table as the attributes of this class, but if the attributes in the child class have the same name as the parent class attributes, the parent class attributes are overwritten, and the processing rules follow the inheritance mechanism. In the process of modeling, a metamodel (electrical professional metamodel) may define and generate multiple model entities. Therefore, the database will generate a corresponding number of data tables according to the number of classes contained in the metamodel.
[0169] The relationship class diagram clearly depicts the relationship between each class in the electrical professional metamodel, such as inheritance, association, aggregation, etc. These relationships are the key basis for building the model database. The relationship class diagram helps to determine the structure of the data table in the database. From the relationship class diagram, you can see the attributes of each class and the relationship between the attributes, so as to determine the column name and data type of the corresponding data table.
[0170] In some embodiments, optionally, Figure 3 As shown, S108 (exporting geometric information as a STEP file and non-geometric information as an XML file through a model conversion platform) includes the following steps:
[0171] S1082, exporting the reconstructed files of geometric information and non-geometric information through the model conversion platform and establishing an association relationship, thereby forming a STEP file containing geometric information and an XML file containing non-geometric information; wherein the non-geometric information is attribute information.
[0172] Model information (including geometric information and non-geometric information) can be extracted by region and system according to user needs, which can be executed individually or in batches. By traversing and searching all line segment numbers under the selected region and system, the geometric information and attribute information related to each line segment are extracted, and the corresponding STEP file and XML file are generated.
[0173] In a specific embodiment, Figure 8As shown, the method for collecting data for the electrical professional meta-model includes the following steps:
[0174] S1091, enter the 3D design software.
[0175] S1092, export the design model.
[0176] S1093, import the design model into the IPDE platform.
[0177] S1094, export reference model.
[0178] S1095, import the reference model into the IPDE platform.
[0179] S1096, enter Intel 3D (model visualization system tool).
[0180] S1097, marking model information.
[0181] S1098, export the model of step 242.
[0182] S1099, import the step242 model into the IPDE platform and annotate the information.
[0183] S1100, enter the IPDE platform.
[0184] S1101, create a delivery package.
[0185] S1102, exporting a general information model (general information model for electrical engineering).
[0186] In a specific embodiment, Figure 8 As shown in the figure, the method of constructing a general information model for electrical engineering includes:
[0187] S1, define the electrical design metamodel.
[0188] Take the cable channel as an example, the rest are similar. The relevant contents of the cable channel assembly attribute definition are shown in Table 5.
[0189]
[0190] Table 5
[0191] It should be noted that placement represents the positioning matrix. weight represents weight. "uuid" represents a unique identifier. "shipX" represents position x. "shipY" represents position y. "shipZ" represents position z.
[0192] S2, establish class diagram and class diagram relationship.
[0193] S3, collects and converts model and attribute information through STEP files and XML files.
[0194] S4, add model annotation information and process information.
[0195] S5, converting the model information into a general information model of electrical engineering through IPDE.
[0196] Among them, IPDE is a general information platform.
[0197] In one embodiment according to the present invention, Figure 4 As shown, the system 200 for constructing a universal information model for electrical engineering includes a metamodel definition module 210 , a model analysis module 220 , a data collection module 230 , a data export module 240 , an information addition module 250 and a model determination module 260 .
[0198] The metamodel definition module 210 is used to define the electrical professional metamodel. The electrical professional metamodel includes an electrical basic library and an electrical assembly model. The electrical basic library includes one of the following or a combination thereof: a cable basic library, a cable tray library, and a cable channel library. The electrical assembly model includes one of the following or a combination thereof: a cable model, a cable channel model, and a cable tray model.
[0199] When there is only one type of electrical basic library, the electrical basic library only includes any one of the cable basic library, the cable tray library and the cable channel library. When there are multiple types of electrical basic libraries, the electrical basic library includes any combination of the cable basic library, the cable tray library and the cable channel library.
[0200] When there is only one type of electrical assembly model, the electrical assembly model only includes any one of the cable model, the cable channel model and the cable tray model. When there are multiple types of electrical assembly models, the electrical assembly model includes any combination of the cable model, the cable channel model and the cable tray model.
[0201] By defining the electrical professional metamodel in a detailed and hierarchical manner, it can provide a foundation for subsequent electrical professional data collection, model conversion, and the construction of a common electrical professional information model, ensuring that the digital design and management process of the entire electrical system can be carried out efficiently and accurately.
[0202] In a specific embodiment, the cable basic library is divided into eight basic tables according to design and process requirements: isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification.
[0203] In one specific embodiment, the cable tray library includes standard components for securing cables.
[0204] In a specific embodiment, the cable channel library includes channel materials, channel styles, channel models and specifications, and a cable penetration library.
[0205] The cable channel model is used to reflect the constituent elements and structural levels of the cable channel.
[0206] The cable tray model is divided into tray geometry and tray assembly. This classification helps to deeply analyze the structural design and assembly relationship of the tray.
[0207] The model analysis module 220 is used to determine the relationship class diagram according to the electrical professional metamodel.
[0208] Establish class diagrams and class diagram relationships based on the electrical professional metamodel to determine the relationship class diagram.
[0209] The relationship class diagram is a graphical tool for representing the relationship between classes. Taking the cable channel as an example, its relationship class diagram shows the relationship between the cable channel related classes. This relationship may include multiple types such as inclusion relationship and dependency relationship between classes, which can help technicians better understand the internal connection between various parts in the electrical professional model.
[0210] The data collection module 230 is used to obtain geometric information and non-geometric information through the source CAD software based on the relationship class diagram.
[0211] The relationship class diagram can sort out the relationship between the various parts in the electrical professional meta-model and provide guidance for obtaining information from the source CAD software. For example, it can help determine the data association between different libraries and models in the electrical basic library and electrical assembly model, so as to accurately obtain geometric and non-geometric information.
[0212] The data export module 240 is used to export the geometric information in a STEP file through the model conversion platform, and to export the non-geometric information in an XML file.
[0213] It should be noted that non-geometric information includes attribute information. Model information (including geometric information and non-geometric information) can be extracted by region and system according to user needs, which can be executed individually or in batches. By traversing and searching all line segment numbers under the selected region and system, the geometric information and attribute information related to each line segment are extracted, and the corresponding STEP file and XML file are generated.
[0214] The information adding module 250 is used to determine the three-dimensional model according to the STEP file and the XML file, and to add model annotation information and process information to the three-dimensional model.
[0215] It should be noted that the three-dimensional model includes the design model and the reference model.
[0216] The design model and reference model determined by the source CAD software are exported to STEP format, and three-dimensional annotation and process information are added based on the model visualization system tool (Intel 3D), and then the annotated model is exported to the electrical professional general information model. The above design model, reference model, and annotated model are imported into the IPDE platform and transmitted in the intermediate format of the electrical professional general information model.
[0217] The model determination module 260 is used to determine the general information model of the electrical profession based on the three-dimensional model, model annotation information and process information.
[0218] In the process of data acquisition and conversion of electrical professional meta-model, step242 format appears after the design model and reference model are 3D-annotated and process information is added based on model visualization system tools (such as Intel 3D). It is a specific format used when exporting the annotated model. It is an intermediate or final format form after a series of processing from the source CAD software. It is used for data transfer and sharing between specific platforms (IPDE platform).
[0219] The present invention aims to provide a system 200 for constructing a general information model for electrical profession, which is conducive to constructing a general information model database based on the electrical profession metamodel by defining the composition of the electrical profession metamodel. In addition, the system of the present invention (system 200 for constructing a general information model for electrical profession) standardizes the method or approach of data collection and conversion of the electrical profession metamodel, and can quickly convert the three-dimensional model of the third-party software into the electrical profession general information model in an intermediate format, so as to facilitate the effective transmission of the electrical profession general information model between various research and development units without data exchange obstacles and loss of model information.
[0220] In one embodiment according to the present invention, Figure 5 As shown, the electronic device 300 includes a memory 310 and a processor 320. The memory 310 stores a program or instruction that can be run on the processor 320, and the processor 320 implements the steps of the method for constructing a general information model for electrical professionals in any of the above embodiments when executing the program or instruction. Therefore, the electronic device 300 has the beneficial effects of any of the above embodiments, which will not be described in detail.
[0221] In one embodiment of the present invention, the readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the method for constructing a general information model for electrical professionals in any of the above embodiments are implemented. Therefore, the readable storage medium has the beneficial effects of any of the above embodiments, which will not be repeated here.
[0222] In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise clearly defined. The terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0223] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by terms such as “upper”, “lower”, “left”, “right”, “front” and “back” are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation, and therefore, cannot be understood as a limitation on the present invention.
[0224] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0225] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for constructing a general information model for electrical engineering, characterized in that: include: An electrical professional metamodel is defined, wherein the electrical professional metamodel includes an electrical basic library and an electrical assembly model; the electrical basic library includes one of the following or a combination thereof: a cable basic library, a cable tray library, and a cable channel library; the electrical assembly model includes one of the following or a combination thereof: a cable model, a cable channel model, and a cable tray model; Determine a relationship class diagram according to the electrical professional metamodel; Based on the relationship class diagram, geometric information and non-geometric information are obtained through source CAD software; Exporting the geometric information as a STEP file and exporting the non-geometric information as an XML file through a model conversion platform; Determine a three-dimensional model according to the STEP file and the XML file, and add model annotation information and process information to the three-dimensional model; Based on the three-dimensional model, the model annotation information and the process information, a general information model of the electrical profession is determined.
2. The method for constructing a general information model for electrical engineering according to claim 1, characterized in that: The cable basic library includes one of the following or a combination thereof: isolation level, cable cross-sectional area, nominal voltage, cable manufacturer, cable core material, cable classification, cable model and cable specification.
3. The method for constructing a general information model for electrical engineering according to claim 1, characterized in that: The cable bracket library includes: standard parts for fastening cables.
4. The method for constructing a general information model for electrical engineering according to claim 1, characterized in that: The cable channel library includes one of the following or a combination thereof: channel materials, channel styles, channel models and specifications, and a cable penetration library.
5. The method for constructing a general information model for electrical engineering according to any one of claims 1 to 4, characterized in that: The cable channel model includes: cable channel assemblies, pipelines, pipe sections, straight pipes, elbows and accessories; and / or The cable tray model includes: a tray geometry and a tray assembly.
6. The method for constructing a general information model for electrical engineering according to any one of claims 1 to 4, characterized in that: Also includes: Before obtaining geometric information and non-geometric information through the source CAD software based on the relationship class diagram, a model database is constructed based on the relationship class diagram, and each class in the electrical professional metamodel corresponds to a data table in the model database.
7. The method for constructing a general information model for electrical engineering according to any one of claims 1 to 4, characterized in that: The exporting of the geometric information as a STEP file and the exporting of the non-geometric information as an XML file through the model conversion platform includes: The reconstructed files of the geometric information and the non-geometric information are exported through the model conversion platform and an association relationship is established to form a STEP file containing the geometric information and an XML file containing the non-geometric information; wherein the non-geometric information is attribute information.
8. A system for constructing a general information model for electrical engineering, characterized in that: include: A metamodel definition module (210) is used to define an electrical professional metamodel, wherein the electrical professional metamodel includes an electrical basic library and an electrical assembly model; the electrical basic library includes one of the following or a combination thereof: a cable basic library, a cable tray library, and a cable channel library; the electrical assembly model includes one of the following or a combination thereof: a cable model, a cable channel model, and a cable tray model; A model analysis module (220), used for determining a relationship class diagram according to the electrical professional metamodel; A data collection module (230) is used to obtain geometric information and non-geometric information through source CAD software based on the relationship class diagram; A data export module (240), used to export the geometric information in a STEP file and the non-geometric information in an XML file through the model conversion platform; An information adding module (250), used for determining a three-dimensional model according to the STEP file and the XML file, and adding model annotation information and process information to the three-dimensional model; The model determination module (260) is used to determine the electrical professional general information model based on the three-dimensional model, the model annotation information and the process information.
9. An electronic device, characterized in that: include: A memory (310) and a processor (320), wherein the memory (310) stores a program or instruction that can be run on the processor (320), and when the processor (320) executes the program or the instruction, the steps of the method for constructing a general information model for electrical engineering as described in any one of claims 1 to 7 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the method for constructing a general information model for electrical engineering as described in any one of claims 1 to 7 are implemented.