A method, device, equipment and storage medium for generating a power grid design model
By digitally splitting the target data standards of power engineering and user-defined adjustments, model design components are generated, which solves the problems of low efficiency and high cost of generation of traditional power grid design models, and achieves more efficient and quality design model generation.
Patent Information
- Application Number
- CN202410032513.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-09
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2044-01-09
AI Technical Summary
In power grid engineering project design, the traditional GIM file design process has problems such as failing to pass the audit and repeated modification, resulting in large manual workload and low design model generation efficiency.
By obtaining the target data standards of the current power project and digitizing them to generate split data, obtaining user-defined adjustment data, generating model design components, and finally generating grid design models based on these components.
It reduces manual workload, improves the efficiency and quality of model generation, reduces design costs, and reduces the risk of failing to pass the design model audit brought by multiple engineering and different standards.
Smart Images

Figure CN117851385B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid engineering, and particularly to a method, device, equipment and storage medium for generating a power grid design model. Background Art
[0002] The design results of power grid engineering projects are mainly delivered in the GIM format. Taking electrical design as the main line, it includes general data in the traditional civil engineering IFC format, covering all the content that needs to be transferred after the electrical design process, and plays the role of the most basic general data support in the process of State Grid's three-dimensional digital construction. With the development and progress of the State Grid's three-dimensional digital construction process, the design results of State Grid engineering projects are required to be delivered in the GIM format. GIM greatly saves the space occupied by three-dimensional project delivery, includes the full information model of the power grid, and can provide the most basic support for future intelligent operation and maintenance.
[0003] Traditional design software GIM files are formed during the design stage. If the review fails, it is necessary to return to the design file to adjust the GIM primitives and attributes multiple times, and then output the GIM file for review and delivery. In this process, a power grid project usually involves multiple designers, and there are often situations where the review fails and repeated modifications are required in some areas of the project, resulting in a large amount of manual work and low efficiency in generating the power grid design model. Summary of the Invention
[0004] The present invention provides a method, device, equipment and storage medium for generating a power grid design model, so as to improve the generation efficiency of the power grid design model during the GIM design process based on the State Grid GIM standard specification.
[0005] According to one aspect of the present invention, a method for generating a power grid design model is provided. The method includes:
[0006] Obtain the target data standard of the current power project, and split the target data standard to generate split data, where the split data includes the association relationship between primitive information and attribute information;
[0007] Obtain adjustment data based on the split data, and generate model design components according to the adjustment data;
[0008] Generate the power grid design model of the current power project based on the model design components.
[0009] Optionally, obtain the target data standard of the current power project, including: determining the target project type of the current power project; obtaining a data standard library, where the data standard library includes data standards corresponding to each project type; matching the data standard library according to the target project type to obtain the target data standard matching the target project type, where the target data standard includes data type, identification information, attribute information, and graphic element information.
[0010] Optionally, split the target data standard to generate split data, including: determining the identification information corresponding to each data type in the target data standard; constructing a structure table and an attribute table based on the target data standard, and establishing an association relationship between the structure table and the attribute table based on the identification information, where the structure table includes graphic element information and the attribute table includes attribute information; splitting the target data standard according to the association relationship to generate split data.
[0011] Optionally, establish an association relationship between the structure table and the attribute table based on the identification information, including: sequentially using each identification information as the target identification information; determining the target graphic element information corresponding to the target identification information in the structure table, and determining the target attribute information corresponding to the target identification information in the attribute table; establishing a sub-association relationship between the target graphic element information and the target attribute information; generating an association relationship according to each sub-association relationship.
[0012] Optionally, obtain adjustment data based on the split data, including: sending the split data to a user terminal for display to obtain an adjustment instruction input by the user, where the adjustment instruction includes the graphic element information and attribute information to be adjusted; adjusting the split data based on the adjustment instruction to generate adjustment data.
[0013] Optionally, generate a model design component according to the adjustment data, including: when obtaining a component creation instruction input by the user, importing the adjustment data into a specified address to generate a model design component.
[0014] Optionally, generate a power grid design model for the current power project based on the model design component, including: sending the model design component to a user terminal for display to obtain the target model design component and an editing instruction input by the user; combining the target model design component and the editing instruction to generate a power grid design model.
[0015] According to another aspect of the present invention, there is provided a device for generating a power grid design model, the device including:
[0016] A data standard acquisition and split data generation module, configured to acquire the target data standard of the current power project and split the target data standard to generate split data, where the split data includes the association relationship between graphic element information and attribute information;
[0017] The model design component generation module is used to obtain adjusted data based on the split data and generate model design components according to the adjusted data;
[0018] The power grid design model generation module is used to generate a power grid design model for the current power project based on the model design components.
[0019] Optionally, the data standard acquisition and split data generation module specifically includes: a target data standard acquisition unit, which is used to: determine the target project type of the current power project; obtain a data standard library, where the data standard library includes data standards corresponding to each project type; match the data standard library according to the target project type to obtain a target data standard that matches the target project type, where the target data standard includes data types, identification information, attribute information, and graphic element information.
[0020] Optionally, the data standard acquisition and split data generation module specifically includes: an identification information determination unit, which is used to: determine the identification information corresponding to each data type in the target data standard; a correlation relationship determination unit, which is used to: construct a structure table and an attribute table based on the target data standard, and establish an association relationship between the structure table and the attribute table based on the identification information, where the structure table includes graphic element information and the attribute table includes attribute information; a split data generation unit, which is used to: split the target data standard according to the association relationship to generate split data.
[0021] Optionally, the correlation relationship determination unit is specifically used to: sequentially use each piece of identification information as the target identification information; determine the target graphic element information corresponding to the target identification information in the structure table, and determine the target attribute information corresponding to the target identification information in the attribute table; establish a sub-association relationship between the target graphic element information and the target attribute information; generate a correlation relationship according to each sub-association relationship.
[0022] Optionally, the model design component generation module specifically includes: an adjusted data acquisition unit, which is specifically used to: send the split data to the user terminal for display to obtain an adjustment instruction input by the user, where the adjustment instruction includes graphic element information and attribute information to be adjusted; adjust the split data based on the adjustment instruction to generate adjusted data.
[0023] Optionally, the model design component generation module specifically includes: a model design component generation unit, which is specifically used to: when a component creation instruction input by the user is obtained, import the adjusted data into a specified address to generate model design components.
[0024] Optionally, the power grid design model generation module is specifically used to: send the model design components to the user terminal for display to obtain the target model design components and editing instructions input by the user; combine the target model design components and the editing instructions to generate a power grid design model.
[0025] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0026] at least one processor; and
[0027] a memory communicatively connected to the at least one processor; wherein,
[0028] the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute a method for generating a power grid design model according to any embodiment of the present invention.
[0029] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for generating a power grid design model according to any embodiment of the present invention when executed.
[0030] The technical solution of the embodiment of the present invention digitizes and splits the target data standard of the current power project obtained to generate split data, obtains user-defined adjustment data through the split data, and can further generate model design components for the user to design a power grid design model, reducing the manual workload, improving the efficiency and quality of model generation, reducing the risk of the design model not passing the review caused by multiple projects and different standards, and at the same time reducing the design cost, and being able to meet the modeling needs of power project users at different levels.
[0031] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0033] Figure 1 is a flowchart of a method for generating a power grid design model according to Embodiment 1 of the present invention;
[0034] Figure 2 is a flowchart of another method for generating a power grid design model according to Embodiment 1 of the present invention;
[0035] Figure 3It is a flowchart of another method for generating a power grid design model provided in Embodiment 2 of the present invention;
[0036] Figure 4 It is a schematic diagram of the storage and use process of a model design component provided in Embodiment 2 of the present invention;
[0037] Figure 5 It is a schematic structural diagram of a power grid design model generation device provided in Embodiment 3 of the present invention;
[0038] Figure 6 It is a schematic structural diagram of an electronic device for implementing the method for generating a power grid design model according to an embodiment of the present invention. Detailed implementation manners
[0039] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0041] Embodiment 1
[0042] Figure 1 A flowchart of a method for generating a power grid design model is provided for Embodiment 1 of the present invention. This embodiment is applicable to the situation of establishing a power grid design model. This method can be executed by a power grid design model generation device, which can be implemented in the form of hardware and / or software, and the power grid design model generation device can be configured in a computer controller. As Figure 1 shown, this method includes:
[0043] S110. Obtain the target data standard of the current power project, and split the target data standard to generate split data, where the split data includes the association relationship between graphic element information and attribute information.
[0044] Among them, the target data standard refers to the professional and matching data standard required for the current modeled power project. The target data standard refers to the Grid Information Model (GIM) standard. That is, in order to meet the needs of three-dimensional delivery of transmission and transformation projects, the unified model framework and data interaction format are used to realize data sharing throughout the life cycle of the project, and a three-dimensional standard is compiled. After determining the target data standard, it is necessary to split the target data standard. Since the GIM standard is a text standard that describes the composition and attributes of substation components, but the text description standard cannot be digitized or informatized, and splitting is to digitize the text standard, make it data-based, and organize the data structure.
[0045] It should be noted that the technical solution of the embodiment of the present invention adopts a hierarchical design, including a basic platform layer, a software development layer, and an application integration layer. Among them, the basic platform layer includes function modules such as geometric modeling and parametric modeling; the software development layer includes BIM modeling functions and related modules for realizing the standardization and digitization of customized attributes; the application integration layer integrates the functions of the basic platform layer and the software development layer to realize digital support for GIM from geometric modeling to standard attribute customization. At the same time, a unified data standard interface is adopted, including three-dimensional model unity and data standard sharing, to ensure the consistency and accuracy of the model from data to structure.
[0046] Figure 2 The flowchart of a method for generating a power grid design model according to Embodiment 1 of the present invention is provided. Step S110 mainly includes the following steps S111 to S114:
[0047] S111. Obtain the target data standard of the current power project.
[0048] Optionally, obtaining the target data standard of the current power project includes: determining the target project type of the current power project; obtaining a data standard library, where the data standard library includes data standards corresponding to each project type; matching the data standard library according to the target project type to obtain the target data standard matching the target project type, where the target data standard includes data type, identification information, attribute information, and graphic element information.
[0049] Specifically, before obtaining the target data standard for the current power project, it is also necessary to disassemble and analyze the basic geometric primitives in the GIM format. The basic geometric primitives include spheres, cubes, cones, cylinders, extrusions, rotations, lofts, and component systems. Then the controller will conduct a project analysis of the power project, that is, determine the target project type of the current power project. Since the data standard library includes data standards corresponding to each project type, matching the target project type with the data standard library can determine the target data standard that matches the target project type. The target data standard includes data types, identification information, attribute information, and primitive information.
[0050] S112. Determine the identification information corresponding to each data type in the target data standard.
[0051] Among them, the identification information refers to the identity identifier of the data type, that is, each type has an ID.
[0052] S113. Build a structure table and an attribute table based on the target data standard, and establish an association relationship between the structure table and the attribute table based on the identification information. Among them, the structure table includes primitive information, and the attribute table includes attribute information.
[0053] Optionally, establishing an association relationship between the structure table and the attribute table based on the identification information includes: sequentially taking each identification information as the target identification information; determining the target primitive information corresponding to the target identification information in the structure table, and determining the target attribute information corresponding to the target identification information in the attribute table; establishing a sub-association relationship between the target primitive information and the target attribute information; generating an association relationship according to each sub-association relationship.
[0054] Specifically, the controller will build a structure table and an attribute table. The primitive information corresponds to the structure table of the table file, and the table records information such as the geometric primitives and component primitives of GIM. The attribute information corresponds to the attribute table in the table file, and the table records information such as the design attributes of the primitive. The controller can respectively determine the target primitive information corresponding to the target identification information in the structure table and the target attribute information corresponding to the target identification information in the attribute table. Furthermore, establish a sub-association relationship between the target primitive information and the target attribute information, and finally an association relationship between the primitive information and the attribute information can be established.
[0055] S114. Split the target data standard according to the association relationship to generate split data.
[0056] Specifically, splitting the target data standard according to the association relationship refers to the process of disassembling the target data standard according to the association relationship between the primitive information and the attribute information. Further, the split target data standard can be imported into the basic enabling platform to form the attributes of the custom specific primitive types. Through this embodiment, the GIM text standard can be turned into a standard set built into the software, which is better for designers and modelers to unify and share.
[0057] S120. Obtain adjusted data based on the split data, and generate model design components according to the adjusted data.
[0058] Specifically, adjustment refers to the process of adjusting the association relationship between graphic element information and attribute information. Users can input adjusted data as needed, that is, the process of user-defined attributes. Model design components refer to the design elements that may be required in the process of designing the power grid design model. The model design components include one or more basic design elements that cannot be further split.
[0059] S130. Generate the power grid design model of the current power project based on the model design components.
[0060] Optionally, generating the power grid design model of the current power project based on the model design components includes: sending the model design components to the user terminal for display to obtain the target model design components and editing instructions input by the user; combining the target model design components and the editing instructions to generate the power grid design model.
[0061] Specifically, the user can select the target model design components through the user terminal. Specifically, the import component option in the project browser or component library menu can be used to import the target model design components. After import, the target model design components and the editing instructions can be combined to generate the power grid design model. The editing instructions refer to the editing operations performed on the components. The editing instructions can include operations such as zooming in, zooming out, and rotating to change the target model design components.
[0062] It should be noted that through the technical solution of the embodiments of the present invention, the GIM model can achieve the separation of geometric modeling and design attributes, realize the independence of creation and editing and the improvement of efficiency, and improve the delivery efficiency and accuracy of the GIM digital three-dimensional model design results. By adopting a domestic independent and controllable basic enabling platform and domestic modeling technology, the stability and security of the platform are guaranteed. And this implementation plan integrates the mainstream BIM software and technical frameworks at home and abroad to achieve performance improvement and function complementarity. With the support of the digital functions of the basic enabling platform, the efficiency and quality of engineering construction are improved, and the risk of design model review failure caused by multiple projects and different standards is reduced. This implementation plan is combined with the actual business requirements of the power grid project, adopts a unified data standard, realizes the consistency and accuracy of data, and can reduce project costs. And it has a good user experience and stability, and can meet the modeling needs of power engineering users at different levels.
[0063] The technical solution of the embodiment of the present invention digitizes and splits the obtained target data standard of the current power project to generate split data, obtains the user-defined adjustment data through the split data, and can further generate model design components for the user to design the power grid design model, reducing the manual workload, improving the efficiency and quality of model generation, reducing the risk of the design model not passing the review caused by multiple projects and different standards, and at the same time reducing the design cost, and can meet the modeling needs of power project users at different levels.
[0064] Embodiment 2
[0065] Figure 3 FIG. is a flowchart of a method for generating a power grid design model provided by Embodiment 2 of the present invention. In this embodiment, on the basis of Embodiment 1 above, the specific process of obtaining adjustment data based on the split data and generating model design components according to the adjustment data is added. Among them, the specific contents of steps S210 and S250 are substantially the same as those of steps S110 and S130 in Embodiment 1, so they will not be described in detail in this embodiment. As Figure 3 shown, the method includes:
[0066] S210. Obtain the target data standard of the current power project, and split the target data standard to generate split data, where the split data includes the association relationship between graphic element information and attribute information.
[0067] Optionally, obtaining the target data standard of the current power project includes: determining the target project type of the current power project; obtaining a data standard library, where the data standard library includes data standards corresponding to each project type; matching the data standard library according to the target project type to obtain the target data standard matching the target project type, where the target data standard includes data type, identification information, attribute information, and graphic element information.
[0068] Optionally, splitting the target data standard to generate split data includes: determining the identification information corresponding to each data type in the target data standard; constructing a structure table and an attribute table based on the target data standard, and establishing an association relationship between the structure table and the attribute table based on the identification information, where the structure table includes graphic element information and the attribute table includes attribute information; splitting the target data standard according to the association relationship to generate split data.
[0069] Optionally, establishing an association relationship between the structure table and the attribute table based on the identification information includes: sequentially using each identification information as the target identification information; determining the target graphic element information corresponding to the target identification information in the structure table, and determining the target attribute information corresponding to the target identification information in the attribute table; establishing a sub-association relationship between the target graphic element information and the target attribute information; generating an association relationship according to each sub-association relationship.
[0070] S220. Send the split data to the user terminal for display to obtain an adjustment instruction input by the user, where the adjustment instruction includes the primitive information and attribute information to be adjusted.
[0071] Specifically, through the adjustment instruction, the user can customize and edit the association relationship between the primitive information and the attribute information.
[0072] S230. Adjust the split data based on the adjustment instruction to generate adjusted data.
[0073] Exemplarily, the user can use primitives to design a 3D model of a power project. When the primitive design is completed, the user can select attributes in the component property dialog box on the client interface of the user terminal. At this time, the primitive tree information imported into the software standard set will be displayed in the component property dialog box for the user to determine the primitive component type. Once the type is determined, the custom attributes in the standard set will appear in the component property dialog box, and the user can adjust each attribute item. While completing the design intention, the standard attribute assignment required for delivery is also completed.
[0074] S240. When an instruction for creating a component input by the user is obtained, import the adjusted data to a specified address to generate a model design component.
[0075] Specifically, for repetitive primitive models, they can be saved as components. The specified address refers to the address of the component library set by the user. The user can input an instruction for creating a component, and at this time, the controller will import the adjusted data to the specified address to generate a model design component.
[0076] Further, Figure 4 This is a schematic diagram of the process for storing and using a model design component provided by an embodiment of the present invention. Figure 4 It includes creating a new component: creating a new component by using a component creation wizard or manually creating a component. Loading a component: loading the newly created component into the current project. Updating the project: after copying the component, the project needs to be updated to use the component. The project can be updated by using the option for updating components in the project browser or the component library menu. Importing a component: in the project where the component is to be used, the component can be imported by using the option for importing components in the project browser or the component library menu. After import, the components of the component can be used in the project.
[0077] S250. Generate a power grid design model of the current power project based on the model design component.
[0078] Optionally, generating a power grid design model of the current power project based on the model design component includes: sending the model design component to the user terminal for display to obtain a target model design component and an editing instruction input by the user; combining the target model design component and the editing instruction to generate a power grid design model.
[0079] The technical solution of the embodiment of the present invention digitizes and splits the obtained target data standard of the current power project to generate split data, obtains the user-defined adjustment data through the split data, and can further generate model design components for the user to design the power grid design model, reducing the manual workload, improving the efficiency and quality of model generation, reducing the risk of model design review failure caused by multiple projects and different standards, and at the same time reducing the design cost, and can meet the modeling needs of power project users at different levels.
[0080] Embodiment III
[0081] Figure 5 It is a schematic structural diagram of a power grid design model generation device provided by Embodiment III of the present invention. As Figure 5 shown, the device includes: a data standard acquisition and split data generation module 310, configured to acquire the target data standard of the current power project and split the target data standard to generate split data, where the split data includes the association relationship between graphic element information and attribute information;
[0082] a model design component generation module 320, configured to obtain adjustment data based on the split data and generate model design components according to the adjustment data;
[0083] a power grid design model generation module 330, configured to generate a power grid design model of the current power project based on the model design components.
[0084] Optionally, the data standard acquisition and split data generation module 310 specifically includes: a target data standard acquisition unit, configured to: determine the target project type of the current power project; acquire a data standard library, where the data standard library includes data standards corresponding to each project type; match the data standard library according to the target project type to obtain a target data standard matching the target project type, where the target data standard includes data types, identification information, attribute information, and graphic element information.
[0085] Optionally, the data standard acquisition and split data generation module 310 specifically includes: an identification information determination unit, configured to: determine the identification information corresponding to each data type in the target data standard; an association relationship determination unit, configured to: construct a structure table and an attribute table based on the target data standard, and establish an association relationship between the structure table and the attribute table based on the identification information, where the structure table includes graphic element information and the attribute table includes attribute information; a split data generation unit, configured to: split the target data standard according to the association relationship to generate split data.
[0086] Optionally, the association relationship determination unit is specifically configured to: sequentially use each piece of identification information as the target identification information; determine the target graphic element information corresponding to the target identification information in the structure table, and determine the target attribute information corresponding to the target identification information in the attribute table; establish a sub-association relationship between the target graphic element information and the target attribute information; and generate an association relationship according to each sub-association relationship.
[0087] Optionally, the model design component generation module 320 specifically includes: an adjustment data acquisition unit, specifically configured to: send the split data to the user terminal for display to obtain an adjustment instruction input by the user, where the adjustment instruction includes the graphic element information and attribute information to be adjusted; and adjust the split data based on the adjustment instruction to generate adjustment data.
[0088] Optionally, the model design component generation module 320 specifically includes: a model design component generation unit, specifically configured to: when receiving a component creation instruction input by the user, import the adjustment data into a specified address to generate a model design component.
[0089] Optionally, the power grid design model generation module 330 is specifically configured to: send the model design component to the user terminal for display to obtain the target model design component and an editing instruction input by the user; and combine the target model design component and the editing instruction to generate a power grid design model.
[0090] The technical solution of the embodiment of the present invention digitizes and splits the target data standard of the current power project obtained to generate split data, obtains user-defined adjustment data through the split data, and can further generate a model design component for the user to design a power grid design model, reducing the manual workload, improving the efficiency and quality of model generation, reducing the risk of the design model not passing the review caused by multiple projects and different standards, and at the same time reducing the design cost, and being able to meet the modeling needs of power project users at different levels.
[0091] The power grid design model generation device provided by the embodiment of the present invention can execute the power grid design model generation method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0092] Embodiment 4
[0093] Figure 6The structural schematic diagram of an electronic device 10 that can be used to implement the embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0094] As Figure 6 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0095] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0096] The processor 11 may be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a power grid design model generation method. That is: obtaining the target data standard of the current power project, and splitting the target data standard to generate split data, where the split data includes the association relationship between graphic element information and attribute information; obtaining adjustment data based on the split data, and generating model design components according to the adjustment data; generating a power grid design model of the current power project based on the model design components.
[0097] In some embodiments, a power grid design model generation method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the power grid design model generation method described above may be executed. Alternatively, in other embodiments, the processor 11 may be configured to execute a power grid design model generation method in any other suitable manner (e.g., by means of firmware).
[0098] Various embodiments of the systems and techniques described above in this document may be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-a-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a special-purpose or general-purpose programmable processor, and may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0099] A computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0100] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0101] In order to provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0102] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0103] A computing system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0104] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.
[0105] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for generating a power grid design model, characterized in that: include: Acquire the target data standard of the current power project, and split the target data standard to generate split data, wherein the split data includes the association relationship between the primitive information and the attribute information, wherein the target data standard refers to the power grid information model standard GIM; Acquire adjustment data based on the split data, and generate a model design component according to the adjustment data; Generate a power grid design model of the current power project based on the model design component; The target data standard for obtaining the current power project includes: Determine the target project type of the current power project; Acquire a data standard library, wherein the data standard library includes data standards corresponding to each engineering type; Matching the data standard library according to the target engineering type to obtain a target data standard that matches the target engineering type, wherein the target data standard includes a data type, identification information, attribute information, and graphic element information; Before obtaining the target data standard of the current power engineering, it also includes: disassembling and analyzing the basic geometric primitives in the GIM format, which include spheres, cubes, cones, cylinders, stretching, rotation, lofting and component systems, and then conducting a project analysis of the power engineering to determine the target engineering type of the current power engineering; Wherein, generating a model design component according to the adjustment data includes: When a component creation instruction for a repetitive graphic element model input by a user is obtained, the adjustment data is imported into a specified address to generate the model design component.
2. The method according to claim 1, characterized in that The step of standardly splitting the target data to generate split data includes: Determine identification information corresponding to each data type in the target data standard; Constructing a structure table and an attribute table based on the target data standard, and establishing an association relationship between the structure table and the attribute table based on the identification information, wherein the structure table includes primitive information and the attribute table includes attribute information; The target data is split according to the association relationship to generate the split data.
3. The method according to claim 2, characterized in that The establishing of the association relationship between the structure table and the attribute table based on the identification information includes: Taking each of the identification information as target identification information in turn; Determine the target primitive information corresponding to the target identification information in the structure table, and determine the target attribute information corresponding to the target identification information in the attribute table; Establishing a sub-association relationship between the target primitive information and the target attribute information; The association relationship is generated according to each of the sub-association relationships.
4. The method according to claim 1, characterized in that: The obtaining the adjustment data based on the split data includes: The split data is sent to a user terminal for display to obtain an adjustment instruction input by the user, wherein the adjustment instruction includes primitive information and attribute information to be adjusted; The split data is adjusted based on the adjustment instruction to generate the adjusted data.
5. The method according to claim 1, characterized in that The generating of the power grid design model of the current power project based on the model design component comprises: Sending the model design component to a user terminal for display to obtain a target model design component and an editing instruction input by the user; The target model design component and the editing instructions are combined to generate the power grid design model.
6. A power grid design model generation device, characterized in that: include: A data standard acquisition and split data generation module, used to acquire the target data standard of the current power project, and split the target data standard to generate split data, wherein the split data includes the association relationship between the primitive information and the attribute information; A model design component generation module, used to obtain adjustment data based on the split data, and generate a model design component according to the adjustment data; A power grid design model generation module, used to generate a power grid design model of the current power project based on the model design component; The data standard acquisition and split data generation module specifically includes: The target data standard acquisition unit is used to: determine the target project type of the current power project; Acquire a data standard library, wherein the data standard library includes data standards corresponding to each engineering type; Matching the data standard library according to the target engineering type to obtain a target data standard that matches the target engineering type, wherein the target data standard includes a data type, identification information, attribute information, and graphic element information; Before obtaining the target data standard of the current power engineering, it also includes: disassembling and analyzing the basic geometric primitives in the GIM format, which include spheres, cubes, cones, cylinders, stretching, rotation, lofting and component systems, and then conducting a project analysis of the power engineering to determine the target engineering type of the current power engineering; The model design component generation module specifically includes: a model design component generation unit, which is specifically used to: When a component creation instruction for a repetitive graphic element model input by a user is obtained, the adjustment data is imported into a specified address to generate the model design component.
7. The device according to claim 6, characterized in that The data standard acquisition and split data generation module specifically includes: An identification information determining unit, used to: determine identification information corresponding to each data type in the target data standard; An association relationship determination unit, configured to: construct a structure table and an attribute table based on the target data standard, and establish an association relationship between the structure table and the attribute table based on the identification information, wherein the structure table includes primitive information and the attribute table includes attribute information; The split data generating unit is used to split the target data standard according to the association relationship to generate the split data.
8. The device according to claim 7, characterized in that The association relationship determination unit is specifically used to: Taking each of the identification information as target identification information in turn; Determine the target primitive information corresponding to the target identification information in the structure table, and determine the target attribute information corresponding to the target identification information in the attribute table; Establishing a sub-association relationship between the target primitive information and the target attribute information; The association relationship is generated according to each of the sub-association relationships.
9. The device according to claim 6, characterized in that The model design component generation module specifically includes: an adjustment data acquisition unit, specifically used to: The split data is sent to a user terminal for display to obtain an adjustment instruction input by the user, wherein the adjustment instruction includes primitive information and attribute information to be adjusted; The split data is adjusted based on the adjustment instruction to generate the adjusted data.
10. The device according to claim 6, characterized in that The power grid design model generation module is specifically used for: Sending the model design component to a user terminal for display to obtain a target model design component and an editing instruction input by the user; The target model design component and the editing instructions are combined to generate the power grid design model.
11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 5.
12. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Rapid BIM model construction method based on national power grid GIM standard
CN113536438A
Component library construction method, device and equipment and readable storage medium
CN116893817A
Ship design graph generation method, device and equipment and storage medium
CN117057040A