Power transmission project GIM model analysis loading method, device, equipment and medium
By automatically extracting and simplifying the tower group graph data in the GIM model of transmission engineering, generating a three-dimensional model and performing slice processing, the problems of low data analysis efficiency and insufficient model accuracy in traditional modeling methods are solved, and efficient and accurate tower design loading is achieved.
Patent Information
- Application Number
- CN202411636943.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-28
AI Technical Summary
Traditional transmission engineering modeling methods have problems such as low data analysis efficiency, insufficient model accuracy and slow loading speed, which cannot meet the needs of modern power systems for efficient and accurate modeling, especially when dealing with complex tower equipment, which can easily lead to data loss or errors.
It provides a GIM model analysis and loading method for power transmission engineering. It automatically extracts and simplifies the graphic data of the tower group, generates a three-dimensional model, and forms a model file through slice processing, and ultimately realizes the three-dimensional spatial layout and loading range control of the tower equipment.
It improves the efficiency and accuracy of tower design loading, reduces data processing volume, retains key information, enhances data maintainability, and optimizes the storage and transmission efficiency of model files.
Smart Images

Figure CN119538340A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power transmission engineering, and in particular relates to a method, device, equipment and medium for analyzing and loading a GIM model of a power transmission engineering. Background Art
[0002] In the power industry, the construction and maintenance of transmission projects are the main components to ensure the stable operation of the power system. Modeling and simulation technology of transmission projects plays an increasingly important role in engineering design, construction, operation and maintenance. However, traditional transmission project modeling methods often have problems such as low data analysis efficiency, insufficient model accuracy, and slow loading speed, which cannot meet the needs of modern power systems for efficient and accurate modeling.
[0003] At present, power transmission projects use GIM for digital modeling in engineering design. The GIM model contains rich information about power transmission equipment. However, when using the GIM model to design and load power transmission equipment such as towers, due to the relatively complex structure and the need to combine actual conditions and design requirements, a large amount of data will be extracted or processed. Directly loading and processing a large amount of data often leads to low efficiency, and even data loss or errors.
[0004] How to extract, simplify and load the graphic data of the tower group in the GIM model while ensuring the accuracy and integrity of the tower model is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present invention provides a power transmission project GIM model parsing and loading method, which can automatically extract pole tower group graphic data from the power transmission project GIM model, output it as a three-dimensional model after simplification processing, further perform slicing processing to form a model file, and finally realize the three-dimensional spatial layout and loading range control of pole tower equipment, thereby improving the efficiency and accuracy of pole tower design loading.
[0006] Methods include: S101: Acquire a GIM model of a power transmission project, extract and analyze the tower group graphic data in the GIM model of the power transmission project; S102: Simplifying the graphic data of the tower group according to different levels, and outputting the simplified results as a three-dimensional model; S103: Slice the 3D model in fbx format to form a model file; S104: extracting status information of tower equipment in the model file; S105: parsing and exporting the tower equipment attribute information in the GIM model of the power transmission project in the form of an SQL file; S106: Arrange the pole tower equipment in three dimensions to form the form of the transmission line; S107: Analyze the positions of the ground wire and the grounding wire according to the GIM model of the power transmission project, and store the key point data of the ground wire; S108: Based on the spatial range control model, the loading range of the three-dimensional model, the grounding wire and the hanging grounding wire and the visible height of the three-dimensional model are set.
[0007] It should be further explained that, in step S101, the data in the GIM model of the power transmission project includes: a geometric model unit, a combination model, a physical model, a logical model, an engineering model and attribute information.
[0008] It should be further explained that, in step S101, parsing the tower group graphic data in the GIM model of the power transmission project includes: looping through and parsing from the material, equipment, and facility levels in turn, parsing out the tower group sub-equipment and the conductor group sub-equipment, and using the OpenMesh library for parameterized modeling; The tower body, tower legs and insulators of the parametric model are assembled and spatially transformed to obtain the equipment group model, which is then converted into the FBX data format.
[0009] It should be further explained that in step S102, when the tower body, tower legs and insulators are parametrically modeled, a mesh body is constructed, and the center point of the mesh body is used as a reference point. All vertices of the mesh are traversed, and the distance between the reference point and the vertex is calculated to determine whether to delete it. If the distance is greater than a given threshold, the vertex is deleted and a simplified off model is output; After the model is assembled, the OpenMesh library vertex clustering algorithm is used to simplify the mesh, merge the vertices in the same voxel, and reconnect the facets based on the clustered vertices.
[0010] It should be further explained that, in step S103, the top block space is divided into eight equal regions using the octree algorithm, and the data are stored in each region space according to the region where the GIM model of the power transmission project is located, and then the data of each region space is recursively divided downward in turn through a given maximum recursion depth until the octree depth reaches the maximum recursion depth; According to the distance of the GIM model of the transmission project, the data is reorganized and the display accuracy of the data is adjusted, the slice data is divided and output in three file formats: b3dm, i3dm and cmpt, so as to construct a model file based on 3dtiles standard data.
[0011] It should be further explained that step S104 also includes: by parsing the model file, recording the engineering model file whose ENTITYNAME attribute is F4System, and then recording the BLHA of the TOWER type and the POINT.BLHA and POINT.MATRIX of the WIRE type respectively according to the GROUPTYPE type, that is, obtaining the position information and azimuth of the tower, as well as the insulator hanging point position and spatial posture matrix; Parse the CBM engineering model with GROUPTYPE type CROSS to obtain the location information of the crossing objects.
[0012] It should be further explained that step S105 also includes: searching the CBM file referenced by the ontology by the GROUPTYPE type, parsing the referenced CBM file and recording the content of the BASEFAMILY field; The FAM attribute file name is set, the FAM attribute file is parsed to obtain the device attribute information, and the attribute information of the tower, conductor and crossing object and the corresponding model file name are recorded in the form of a SQL file using a library table.
[0013] The present application also provides a GIM model analysis and loading device for a power transmission project, the device comprising: The data extraction and analysis module is used to obtain the GIM model of the power transmission project, extract and analyze the tower group graphic data in the GIM model of the power transmission project; A simplified processing module is used to simplify the graphic data of the tower group according to different levels and output the simplified results as a three-dimensional model; The slicing processing module is used to slice the 3D model in fbx format to form a model file; An information extraction module is used to extract the status information of the tower equipment in the model file; The information parsing module is used to parse and export the tower equipment attribute information in the GIM model of the power transmission project in the form of SQL files; Line layout module, used to arrange tower equipment in three dimensions to form the form of transmission lines; The position analysis module is used to analyze the positions of the ground wire and the hanging ground wire according to the GIM model of the power transmission project, and store the key point data of the ground wire; The parameter setting module controls the model based on the spatial range and sets the loading range of the three-dimensional model, the ground wire and the hanging ground wire as well as the visible height of the three-dimensional model.
[0014] According to another embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the power transmission engineering GIM model parsing and loading method when executing the program.
[0015] According to another embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the power transmission engineering GIM model parsing and loading method are implemented.
[0016] It can be seen from the above technical solutions that the present invention has the following advantages: The transmission project GIM model parsing and loading method provided in this application realizes the extraction, parsing and loading of pole tower data, shortening the pole tower design time. By simplifying the design loading parameters and models, the amount of data processing is reduced, key information is retained, and the accuracy of subsequent three-dimensional model generation is guaranteed. By parsing the SQL file of pole tower equipment attribute information, the maintainability of the data is enhanced. By generating a three-dimensional model and performing a three-dimensional spatial layout, the visualization of the pole tower equipment is enhanced. The slicing processing of the three-dimensional model optimizes the storage and transmission efficiency of the model file. Based on the spatial range control model, the loading range of the three-dimensional model, the ground wire and the hanging ground wire and the visible height of the three-dimensional model are set, which facilitates the designer's understanding of the loading process. If an abnormality occurs, it can be adjusted in time, effectively avoiding abnormalities in the pole tower data loading process caused by data errors or understanding deviations. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0018] Figure 1 Analyze the loading method flow chart for the GIM model of power transmission projects; Figure 2 Flowchart of the implementation method of GIM model analysis and loading for power transmission engineering Figure 3 Schematic diagram of an electronic device. DETAILED DESCRIPTION
[0019] The analytical loading method provided in this application is mainly implemented based on the GIM model of power transmission engineering. The GIM model of power transmission engineering is a Grid Information Model, which is a three-dimensional design of equipment and devices involved in power transmission and transformation projects. This application mainly uses the GIM model of power transmission engineering for pole tower design. Key data such as pole tower group graphic data and equipment attribute information are extracted from the GIM model of power transmission engineering. A three-dimensional model is generated through steps such as simplified processing and slicing processing to improve the loading and rendering speed of the model. The pole tower equipment is arranged in three-dimensional space to form the form of the transmission line, and the loading range and visible height are set based on the spatial range control model to meet the pole tower design requirements. Moreover, for the device provided in this application, key information can be extracted from the GIM model of power transmission engineering and fed back to the user in the form of natural language, thereby improving the operation and interaction of the GIM model of power transmission engineering based on the pole tower equipment design process and results.
[0020] The following will describe in detail the process of the GIM model analysis and loading method for power transmission engineering. For the purpose of explanation rather than limitation, specific details such as specific system structures and technologies are proposed to facilitate a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.
[0021] It should be understood that when used in the present specification, the term "includes" indicates the presence of the described features, integral bodies, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integral bodies, steps, operations, elements, components and / or their collections. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0022] The phrases such as "one embodiment" or "some embodiments" described in the present application mean that the specific features, structures or characteristics described in the embodiment are included in one or more embodiments of the present application. Therefore, the phrases such as "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments" etc. that appear in different places in the present application do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] See also Figure 1 The figure is a flow chart of a method for analyzing and loading a GIM model of a power transmission project in a specific embodiment, the method comprising: S101: Acquire a GIM model of a power transmission project, and extract and parse the graphic data of a tower group in the GIM model of the power transmission project.
[0025] In some embodiments, a pre-stored power transmission project GIM model may be obtained from a database: the power transmission project GIM model includes three-dimensional graphic data and attribute information of equipment such as tower groups, ground wires, and substations of the power transmission and transformation project.
[0026] In this embodiment, the three-dimensional modeling software can be used to locate the pole tower group part, and the three-dimensional graphic data of the pole tower group can be extracted by selecting or filtering functions, that is, the pole tower group graphic data is extracted. The extracted pole tower group graphic data is analyzed, including the model, size, material, position coordinates and other information of the pole tower, and the specific pole tower related data can be analyzed according to the actual design needs.
[0027] This embodiment uses the GIM model of power transmission engineering to parse the tower group graphic data in the GIM model, meeting the requirements of tower equipment design, simplified processing, three-dimensional model generation, and extracting relevant data according to design needs.
[0028] In some specific embodiments, the power transmission project GIM model contains power transmission project GIM standard format file data, that is, the power transmission project GIM standard format file data is stored in the database.
[0029] The data stored in the transmission project GIM standard format file include: geometric model unit (*.mod), combination model (*.phm), physical model (*.dev), logical model (*.sch), engineering model (*.cbm) and attribute information (*.fam). The standard format file stores data in four directory structures: CBM, DEV, PHM and MOD. The file uses GUID as the unique identifier. All files are uniformly encoded in UTF-8. The standard format file establishes the relationship between each level through reference.
[0030] This embodiment also manages the engineering GIM model hierarchy and can divide the GIM model data into five levels, starting from level 1 full-line level, level 2 segment level, level 3 tension section level, level 4 equipment group (pole tower group, conductor group, crossing group) level, and level 5 material, equipment, and facility level to extract attribute information and perform parametric modeling of basic graphics elements.
[0031] For example, the GIM model of the transmission project has a project.cbm file, which is traversed and parsed in sequence from level 1 full-line level to level 5 material, equipment, and facility levels according to the reference relationship. The parsed basic graphics elements such as tower group sub-equipment and conductor group sub-equipment are parametrically modeled using the OpenMesh library. The equipment group level assembles and spatially transforms the parametric model tower itself, tower legs, insulators, etc. through the reference relationship to obtain a complete equipment group model, and converts it into the standard FBX data format based on the FBX SDK; the parsed attribute data such as tower hanging points, tower postures, crossing objects, etc. are stored in the form of sql files.
[0032] S102: Simplify the graphic data of the tower group according to different levels, and output the simplified results as a three-dimensional model.
[0033] In some embodiments, the tower group graphic data is divided into different levels according to its complexity and display requirements. For example, the overall structure of the tower can be divided into the top layer, and the detailed parts on the tower (such as insulators, hardware, etc.) can be divided into the bottom layer.
[0034] This embodiment simplifies the graphic data of each level. For the top-level data, its overall outline and top-level features can be retained; for the bottom-level data, it can be configured according to the design requirements.
[0035] The method for simplifying the tower in this embodiment includes reducing the number of polygons, merging similar geometric bodies, optimizing texture mapping, etc.
[0036] The simplified graphic data is output as a 3D model file and then saved. The simplified 3D model in this embodiment can improve the loading and rendering efficiency and user experience, and facilitate the subsequent slicing and spatial layout.
[0037] As a preferred method of this embodiment, when parametric modeling is performed on pole towers and insulators, the built-in PolyMesh_ArrayKerneIT triangular mesh class is used through the OpenMesh library to construct a mesh body according to the parameterization, and the center point of the mesh body is used as the reference point to traverse all the vertices of the mesh. The distance between the reference point and the vertex is calculated to determine whether to delete it. If the distance is greater than a given threshold, the vertex is deleted and the simplified off model is output. After the model is assembled, the OpenMesh library vertex clustering algorithm is used to further simplify the mesh, merge the vertices in the same voxel, and reconnect the facets based on the clustered vertices to achieve the effect of simplifying the mesh.
[0038] S103: Slice the 3D model in fbx format to form a model file.
[0039] In some embodiments, the simplified FBX format 3D model is imported into the slicing processing software, and the slicing processing software can use existing software, such as 3D Slicer slicing processing software. In the slicing processing software, the pole tower slicing parameters are set, such as the pole tower slicing direction, the pole tower slicing thickness, the number of pole tower slicing, etc. Setting the parameters for the pole tower can generate the slicing effect and quality of the model file.
[0040] Slice the 3D model according to the set slice parameters. The slicing software will cut the model into multiple thin layers and save each layer as a model file. Export the sliced model file to the required format.
[0041] S104: Extracting status information of tower equipment in the model file.
[0042] In this embodiment, the state information of the pole tower equipment is extracted from the parsed data. The parsed data information includes, but is not limited to, parameters such as the inclination angle, stress condition, foundation information, and usage status of the pole tower. The method of extracting the state information includes measuring the change of geometric shape, analyzing the change of material properties, etc. The extracted state information is recorded in a database or storage medium.
[0043] S105: Parsing and exporting the tower equipment attribute information in the power transmission project GIM model in the form of an SQL file.
[0044] In this embodiment, the tower equipment attribute information in the GIM model of the power transmission project is parsed. Specifically, it includes the model, size, material, etc. of the tower. According to the parsed attribute information, the structure of the SQL file is constructed. The structure of the SQL file may involve defining data tables, fields, and data types, etc. The parsed attribute information is organized according to the structure of the SQL file and exported as an SQL file. It can be used to import and store data in a database management system. Improve the efficiency and accuracy of data management.
[0045] S106: Arrange the pole tower equipment in three dimensions to form the shape of the transmission line.
[0046] In one implementation of this embodiment, the position coordinates of each pole tower device in three-dimensional space are determined according to the design requirements and actual conditions of the power transmission project. In three-dimensional modeling, instances of pole tower devices are created based on the pole tower group graphic data obtained by previous parsing and simplification. These instances will be used for subsequent three-dimensional space layout. The created pole tower device instances are arranged according to the determined position coordinates. In the arrangement process, factors such as the relative position relationship between the pole tower devices and the direction of the transmission line need to be considered.
[0047] For the construction of the transmission line form involved in this embodiment, after the pole tower equipment is arranged, according to the design requirements and actual conditions of the transmission line, the pole tower equipment can be connected using components such as conductors and ground wires to form the form of the transmission line. This embodiment can display the form and layout of the transmission line through three-dimensional space arrangement for designers to view and use, and can optimize the design of the three-dimensional model of the pole tower during the design process.
[0048] S107: Analyze the positions of the ground wire and the hanging ground wire in the GIM model of the power transmission project, and store the key point data of the ground wire.
[0049] In this embodiment, the location information of the ground wire and the hanging ground wire is parsed from the GIM model of the power transmission project. The location information includes but is not limited to the starting point, end point, path coordinates, etc. of the ground wire and the hanging ground wire. According to the parsed location information, the key point data on the ground wire is extracted. The key point data includes the turning point, fixed point, connection point, etc. of the ground wire. The extracted key point data of the ground wire is stored in a database or other forms of storage media.
[0050] S108: Based on the spatial range control model, the loading range of the three-dimensional model, the grounding wire and the hanging grounding wire and the visible height of the three-dimensional model are set.
[0051] In some embodiments, a three-dimensional spatial range control model is constructed according to the actual geographical environment and design requirements of the power transmission project. The three-dimensional spatial range control model can define the boundary and range of the power transmission project in three-dimensional space. Within the spatial range control model, the loading range of the three-dimensional model, the ground wire, and the hanging ground wire is determined according to actual needs. The loading range can be a fixed area or can be dynamically adjusted according to the user's perspective or operation.
[0052] According to the actual situation and design requirements of the power transmission project, the visible height of the 3D model in 3D space is set. The visible height is configured according to the actual design scheme to meet the design requirements of the tower.
[0053] In the 3D modeling software, the loading and rendering control of the 3D model, ground wire and ground wire can be realized according to the set loading range and visible height. Specifically, it can include loading model files, rendering models, adjusting viewing angles and other operations.
[0054] This embodiment can optimize the loading and rendering performance of the three-dimensional model by setting the loading range and visible height, so that the design of the tower meets the requirements.
[0055] In the GIM model analysis and loading method for power transmission engineering involved in the present application, further processing is performed after simplifying the three-dimensional model of the result output. The following will be an extension of the specific implementation method of the above embodiment to provide another preferred implementation method, such as Figure 2 As shown, the specific implementation process in this embodiment is fully described below.
[0056] S301: The top block space is divided into eight equal regions using the octree algorithm, and the model data is stored in each region space according to the region where the model is located. Then, through a given maximum recursive depth, the spatial data of each region is recursively divided downward in turn until the octree depth reaches the maximum recursive depth.
[0057] This embodiment reorganizes the data and adjusts the display accuracy of the data according to the distance of the model. The divided slice data is output in three file formats: b3dm, i3dm and cmpt. The model's hierarchical structure and slice data scheduling relationship are output in tree structures in scenetree.json and tileset.json files, respectively, to construct 3dtiles standard data results. After the result data is published online, a three-dimensional data service with sharing capabilities can be constructed.
[0058] S302: Extracting spatial location information of equipment in the GIM model of the power transmission project.
[0059] Based on the analysis of the GIM model graphic data and attribute data in step S101, the CBM engineering model file is analyzed, and the engineering model file with the ENTITYNAME attribute of F4System is recorded. According to its GROUPTYPE type, the BLHA of TOWER type and the POINT.BLHA and POINT.MATRIX of WIRE type are recorded respectively, so that the location information and azimuth of the tower, as well as the location and spatial pose matrix of the insulator hanging point can be obtained. Similarly, the location information of the crossing object can be obtained by analyzing the CBM engineering model with the GROUPTYPE type of CROSS.
[0060] S303: Extracting attribute information of the tower equipment of the GIM model of the power transmission project.
[0061] Based on the extraction of the spatial information of the GIM model equipment, this embodiment searches for the CBM file referenced by its ontology through the GROUPTYPE type, parses the referenced CBM file and records the content of the BASEFAMILY field, that is, the name of the FAM attribute file.
[0062] This embodiment parses the FAM attribute file to obtain device attribute information, and uses a SQL file to record the attribute information of the tower, conductor and crossing object and the corresponding model file name in a library table, retaining the correspondence between the structured attribute information and the graphic information to support the three-dimensional platform side view attribute query capability.
[0063] S304: Based on the results of step 3 and step 4, the processing results of the pole tower equipment group are arranged in three-dimensional space to form the basic form of the line, and the attribute information is stored in the database to realize the construction of graphic query capability of the pole tower group equipment.
[0064] S305: Draw the ground wire in the three-dimensional scene according to the endpoint position, key point position and other data of the ground wire, use yellow, green, red and gray to render and color the conductors (Phase A, Phase B, Phase C) and the ground wire, organize and store the drawing results in the format of vector data, and publish them as data services that can be loaded by the three-dimensional platform.
[0065] S306: Control the content and display strategy of the model loading according to the spatial range, and control the loading of the model and vector lines according to the height and the spatial range around the viewpoint.
[0066] The viewing angle height and model automatic loading range of this embodiment are 1 km and 3 km respectively, and layer-by-layer loading is set during loading to reduce the amount of model data transmission. The rendering resources occupied by the three-dimensional model and vector data involved in this embodiment can be released in time to ensure the stability and smoothness of loading.
[0067] The following is an embodiment of a power transmission project GIM model analysis and loading device provided in an embodiment of the present disclosure. The device and the power transmission project GIM model analysis and loading method of the above-mentioned embodiments belong to the same inventive concept. For details not fully described in the embodiment of the power transmission project GIM model analysis and loading device, please refer to the embodiment of the above-mentioned power transmission project GIM model analysis and loading method.
[0068] The device includes: The data extraction and analysis module is used to obtain the GIM model of the power transmission project, extract and analyze the tower group graphic data in the GIM model of the power transmission project; A simplified processing module is used to simplify the graphic data of the tower group according to different levels and output the simplified results as a three-dimensional model; The slicing processing module is used to slice the 3D model in fbx format to form a model file; An information extraction module is used to extract the status information of the tower equipment in the model file; The information parsing module is used to parse and export the tower equipment attribute information in the GIM model of the power transmission project in the form of SQL files; The line layout module is used to arrange the tower equipment in three dimensions to form the form of the transmission line; The position analysis module is used to analyze the positions of the ground wire and the hanging ground wire according to the GIM model of the power transmission project, and store the key point data of the ground wire; The parameter setting module controls the model based on the spatial range and sets the loading range of the three-dimensional model, the ground wire and the hanging ground wire, as well as the visible height of the three-dimensional model.
[0069] The device of the present application can set the visible height of the three-dimensional model in three-dimensional space according to the actual situation and design requirements of the power transmission project. The visible height is configured according to the actual design scheme to meet the design requirements of the tower. In the three-dimensional modeling software, the loading and rendering control of the three-dimensional model, ground wire and hanging ground wire are realized according to the set loading range and visible height. Specifically, it can include operations such as loading model files, rendering models, and adjusting viewing angles.
[0070] like Figure 3 As shown, the present application also provides an electronic device, including a display module 103, a memory 102, a processor 101, and a computer program stored in the memory and executable on the processor 101, wherein the processor 101 implements the steps of a method for parsing and loading a GIM model of a power transmission project when executing the program.
[0071] In embodiments of the present invention, electronic devices include, but are not limited to, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, 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 embodiments of the present application described and / or required herein.
[0072] In the embodiment of the present application, the processor 101 can be implemented by using at least one of an application-specific integrated circuit (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein. In some cases, such an implementation can be implemented in a controller. For software implementation, implementations such as processes or functions can be implemented with separate software modules that allow execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any appropriate programming language, and the software code can be stored in a memory and executed by a controller.
[0073] The display module 103 is used to display information input by the user or information provided to the user. The display module 103 may include a display panel, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
[0074] The memory 102 may be used to store software programs and various data. The memory 102 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0075] In addition, the electronic device 500 includes some functional modules not shown, which will not be described in detail here.
[0076] The present application also provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the power transmission engineering GIM model parsing and loading method are implemented.
[0077] The storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0078] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A GIM model analysis and loading method for power transmission engineering, characterized in that: Methods include: S101: Acquire a GIM model of a power transmission project, extract and analyze the tower group graphic data in the GIM model of the power transmission project; S102: Simplifying the graphic data of the tower group according to different levels, and outputting the simplified results as a three-dimensional model; S103: Slicing the 3D model in fbx format to form a model file; S104: extracting status information of tower equipment in the model file; S105: parsing and exporting the tower equipment attribute information in the GIM model of the power transmission project in the form of an SQL file; S106: Arrange the pole tower equipment in three dimensions to form the form of the transmission line; S107: Analyze the positions of the ground wire and the grounding wire according to the GIM model of the power transmission project, and store the key point data of the ground wire; S108: Based on the spatial range control model, the loading range of the three-dimensional model, the grounding wire and the hanging grounding wire and the visible height of the three-dimensional model are set.
2. The power transmission engineering GIM model analysis and loading method according to claim 1 is characterized in that: In step S101, the data in the GIM model of the power transmission project includes: geometric model units, combination models, physical models, logical models, engineering models and attribute information.
3. The power transmission engineering GIM model analysis and loading method according to claim 2 is characterized in that: In step S101, parsing the tower group graphic data in the GIM model of the power transmission project includes: looping through and parsing from the material, equipment, and facility levels in turn, parsing out the tower group sub-equipment and the conductor group sub-equipment, and using the OpenMesh library for parameterized modeling; The tower body, tower legs and insulators of the parametric model are assembled and spatially transformed to obtain the equipment group model, which is then converted into the FBX data format.
4. The power transmission engineering GIM model analysis and loading method according to claim 1 is characterized in that: In step S102, when parametric modeling is performed on the tower body, tower legs, and insulators, a mesh body is constructed, and the center point of the mesh body is used as a reference point. All vertices of the mesh are traversed, and the distance between the reference point and the vertex is calculated to determine whether to delete it. If the distance is greater than a given threshold, the vertex is deleted, and a simplified off model is output; After the model is assembled, the OpenMesh library vertex clustering algorithm is used to simplify the mesh, merge the vertices in the same voxel, and reconnect the facets based on the clustered vertices.
5. The power transmission engineering GIM model analysis and loading method according to claim 1 is characterized in that: In step S103, the top block space is divided into eight equal regions using an octree algorithm, and the data are stored in each region space according to the region where the GIM model of the power transmission project is located. Then, the data of each region space is recursively divided downward in turn through a given maximum recursion depth until the octree depth reaches the maximum recursion depth. According to the distance of the GIM model of the transmission project, the data is reorganized and the display accuracy of the data is adjusted, the slice data is divided and output in three file formats: b3dm, i3dm and cmpt, so as to construct a model file based on 3dtiles standard data.
6. The power transmission engineering GIM model analysis and loading method according to claim 5 is characterized in that: Step S104 also includes: by parsing the model file, recording the engineering model file whose ENTITYNAME attribute is F4System, and then recording the BLHA of the TOWER type and the POINT.BLHA and POINT.MATRIX of the WIRE type respectively according to the GROUPTYPE type, that is, obtaining the position information and azimuth of the tower, as well as the insulator hanging point position and spatial posture matrix; Parse the CBM engineering model with GROUPTYPE type CROSS to obtain the location information of the crossing objects.
7. The power transmission engineering GIM model analysis and loading method according to claim 6 is characterized in that: Step S105 also includes: searching the CBM file referenced by the ontology through the GROUPTYPE type, parsing the referenced CBM file and recording the content of the BASEFAMILY field; The FAM attribute file name is set, the FAM attribute file is parsed to obtain the device attribute information, and the attribute information of the tower, conductor and crossing object and the corresponding model file name are recorded in the form of a SQL file using a library table.
8. A GIM model analysis and loading device for power transmission engineering, characterized in that: The device is used to implement the power transmission engineering GIM model analysis and loading method according to any one of claims 1 to 7; the device comprises: The data extraction and analysis module is used to obtain the GIM model of the power transmission project, extract and analyze the tower group graphic data in the GIM model of the power transmission project; A simplified processing module is used to simplify the graphic data of the tower group according to different levels and output the simplified results as a three-dimensional model; The slicing processing module is used to slice the 3D model in fbx format to form a model file; An information extraction module is used to extract the status information of the tower equipment in the model file; The information parsing module is used to parse and export the tower equipment attribute information in the GIM model of the power transmission project in the form of SQL files; Line layout module, used to arrange tower equipment in three dimensions to form the form of transmission lines; The position analysis module is used to analyze the positions of the ground wire and the hanging ground wire according to the GIM model of the power transmission project, and store the key point data of the ground wire; The parameter setting module controls the model based on the spatial range and sets the loading range of the three-dimensional model, the ground wire and the hanging ground wire as well as the visible height of the three-dimensional model.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the power transmission project GIM model parsing and loading method as described in any one of claims 1 to 7 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the power transmission project GIM model analysis and loading method as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Nuclear power station containment vessel model rendering method, system and equipment
CN119941957A
Overhead transmission line power grid information model construction and space division method and device
CN120893158A