Method, device and program product for generating a three-dimensional model of a substation secondary panel cabinet

CN122799005APending Publication Date: 2026-09-22BEIJING JINNUOHUITENG ELECTRIC POWER TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611074499.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-17
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0004]有鉴于此,本申请实施例提供了一种变电站二次屏柜的三维模型生成方法、设备及程序产品,以解决现有技术中获取变电站二次屏柜的三维模型的效率较低的技术问题

Benefits of technology

在本申请实施例提供的变电站二次屏柜的三维模型生成方法中,首先解析变电站二次屏柜的配置文件,提取变电站二次屏柜的柜体信息和元器件信息,之后根据柜体信息,获取变电站二次屏柜的柜体模型,并且根据元器件信息,获取变电站二次屏柜的元器件模型;然后获取针对柜体模型的第一空间信息和针对元器件模型的第二空间信息;最后根据第一空间信息、第二空间信息、柜体模型以及元器件模型,生成变电站二次屏柜的三维模型。通过本方法能够自动生成变电站二次屏柜的三维模型,提高了获取变电站二次屏柜的三维模型的效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122799005A_ABST
    Figure CN122799005A_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of a transformer substation, and provides a three-dimensional model generation method, equipment and program product of a secondary screen cabinet of a transformer substation. The method comprises the following steps: analyzing a configuration file of the secondary screen cabinet of the transformer substation, and extracting cabinet body information and component information of the secondary screen cabinet of the transformer substation; obtaining a cabinet body model of the secondary screen cabinet of the transformer substation according to the cabinet body information; obtaining a component model of the secondary screen cabinet of the transformer substation according to the component information; obtaining first spatial information for the cabinet body model and second spatial information for the component model; and generating a three-dimensional model of the secondary screen cabinet of the transformer substation according to the first spatial information, the second spatial information, the cabinet body model and the component model. Through the method, the three-dimensional model of the secondary screen cabinet of the transformer substation can be automatically generated, and the efficiency of obtaining the three-dimensional model of the secondary screen cabinet of the transformer substation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of substation technology, and in particular relates to a method, equipment and program product for generating a three-dimensional model of a substation secondary switchgear. Background Technology

[0002] In the process of digitally constructing substation systems, it is necessary to model the secondary switchgear to obtain 3D models of the substation secondary switchgear. Currently, in practical applications, the modeling of substation secondary switchgear is usually done manually. This manual modeling method severely limits the modeling efficiency. A single 220kV substation typically contains dozens of secondary switchgear, and it usually takes several weeks to model all of them manually.

[0003] It can be seen that the efficiency of obtaining a 3D model of a substation secondary cabinet is relatively low in the existing technology. Summary of the Invention

[0004] In view of this, embodiments of this application provide a method, device, and program product for generating a three-dimensional model of a substation secondary switchgear, in order to solve the technical problem of low efficiency in obtaining a three-dimensional model of a substation secondary switchgear in the prior art.

[0005] In a first aspect, embodiments of this application provide a method for generating a three-dimensional model of a substation secondary switchgear, including: The configuration file of the substation secondary switch cabinet is parsed to extract the cabinet information and component information of the substation secondary switch cabinet; Based on the cabinet information, obtain the cabinet model of the substation secondary switch cabinet; Based on the component information, obtain the component model of the substation secondary cabinet; Obtain first spatial information for the cabinet model and second spatial information for the component model; A three-dimensional model of the substation secondary cabinet is generated based on the first spatial information, the second spatial information, the cabinet model, and the component model.

[0006] Optionally, after extracting the cabinet information and component information of the substation secondary switchgear, the method further includes: The cabinet information and the component information are stored in a visual database in a tree structure; wherein, the first level of the tree structure is the substation level, the second level of the tree structure is the voltage level level, the third level of the tree structure is the bay level, the fourth level of the tree structure is the cabinet level, and the fifth level of the tree structure is the component level.

[0007] Optionally, after storing the cabinet information and the component information in a tree structure in a visual database, the method further includes: In response to a user's information correction command based on the visualization database, the cabinet information and / or the component information in the visualization database are corrected.

[0008] Optionally, the cabinet information includes the cabinet model and / or the first model mapping number; obtaining the cabinet model of the substation secondary switchgear based on the cabinet information includes: Obtain a preset cabinet model database; the cabinet model database includes several cabinet models, each cabinet model corresponding to several cabinet models and / or several first model mapping numbers; Based on the cabinet model and / or the first model mapping number, the cabinet model is obtained by matching from each of the cabinet models in the cabinet model database.

[0009] Optionally, the component information includes component model and / or second model mapping number; obtaining the component model of the substation secondary cabinet based on the component information includes: Obtain a preset component model database; the component model database includes several sample component models, each of which corresponds to several component models and / or several second model mapping numbers; The component model is obtained by matching from each of the sample component models in the component model database based on the component model model and / or the second model mapping number.

[0010] Optionally, the first spatial information includes the location information of the substation secondary switchgear in the substation, the size information of the substation secondary switchgear, and the orientation information.

[0011] Optionally, the second spatial information includes relative coordinate information, arrangement spacing information, and installation level information; the relative coordinate information is used to describe the relative coordinates of the components in the substation secondary cabinet, the arrangement spacing information is used to describe the distance between each component or between the component and the edge of the substation secondary cabinet, and the installation level information is used to describe the vertical height of the components in the substation secondary cabinet.

[0012] Optionally, generating a three-dimensional model of the substation secondary cabinet based on the first spatial information, the second spatial information, the cabinet model, and the component model includes: Based on the location information, the size information, and the orientation information, the cabinet model is placed in a preset three-dimensional scene; After placing the cabinet model in the three-dimensional scene, the relative coordinate information is verified according to the arrangement spacing information and the installation level information. If the verification is successful, the component model is placed in the cabinet model according to the relative coordinate information to obtain the three-dimensional model.

[0013] Secondly, embodiments of this application provide a three-dimensional model generation device for a substation secondary switchgear, comprising: The parsing unit is used to parse the configuration file of the substation secondary switch cabinet and extract the cabinet information and component information of the substation secondary switch cabinet. The first model acquisition unit is used to acquire the cabinet model of the substation secondary switch cabinet based on the cabinet information. The second model acquisition unit is used to acquire the component model of the substation secondary cabinet based on the component information. An information acquisition unit is used to acquire first spatial information for the cabinet model and second spatial information for the component model; The model generation unit is used to generate a three-dimensional model of the substation secondary cabinet based on the first spatial information, the second spatial information, the cabinet model, and the component model.

[0014] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements each step in the method for generating a three-dimensional model of a substation secondary switchgear as described in any of the first aspects above.

[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the method for generating a three-dimensional model of a substation secondary switchgear as described in any of the first aspects above.

[0016] Fifthly, embodiments of this application provide a computer program product that, when run on a display device, causes the display device to execute the steps in the three-dimensional model generation method for substation secondary cabinets as described in any of the first aspects above.

[0017] The beneficial effects of the three-dimensional model generation method for substation secondary switchgear provided in this application embodiment are as follows: In the method for generating a 3D model of a substation secondary switchgear provided in this application embodiment, the configuration file of the substation secondary switchgear is first parsed to extract the cabinet information and component information. Then, based on the cabinet information, the cabinet model of the substation secondary switchgear is obtained, and based on the component information, the component model of the substation secondary switchgear is obtained. Next, first spatial information for the cabinet model and second spatial information for the component model are obtained. Finally, based on the first spatial information, second spatial information, cabinet model, and component model, a 3D model of the substation secondary switchgear is generated. This method can automatically generate a 3D model of a substation secondary switchgear, improving the efficiency of obtaining such a model. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart illustrating the implementation of the method for generating a 3D model of a substation secondary switchgear provided in this application embodiment; Figure 2 A schematic diagram of the structure of a three-dimensional model generation device for a substation secondary switchgear provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0020] It should be noted that the terminology used in the embodiments of this application is only for explaining specific embodiments of this application and is not intended to limit this application. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more, "at least one" or "one or more" means one, two or more. The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0021] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0022] Traditional 3D modeling of substation secondary cabinets generally relies on manual operation. In addition to low modeling efficiency, this method also has the following problems: poor data consistency due to errors and omissions in manually entering equipment models, circuit names, and cabinet location information; incompatibility with the actual installation layout of the cabinet due to the fact that the installation coordinates and hierarchy of the internal components are all customized based on modeling experience; and high update costs due to the need to manually modify the 3D model after changes to the configuration file of the substation secondary cabinet.

[0023] To address the above issues, this application provides a method for generating a three-dimensional model of a substation secondary switchgear.

[0024] For ease of understanding, the following explains some key terms in this embodiment: The configuration file of a substation secondary switchgear is an electronic file that describes the structure, composition and internal component configuration of the substation secondary switchgear.

[0025] Cabinet information refers to data describing the external structure and basic attributes of the secondary cabinets in a substation.

[0026] Component information refers to the attribute data describing the various components (such as intelligent electronic devices, hard pressure plates, air switches, and terminals) contained inside the secondary cabinets of a substation.

[0027] A cabinet model refers to a three-dimensional representation of the geometry and appearance of a substation secondary cabinet. A component model refers to a three-dimensional representation of the geometry and appearance of each component inside the substation secondary cabinet. Primary spatial information refers to data describing the macroscopic spatial layout of the cabinet model within the entire substation three-dimensional scene, including its position, dimensions, and orientation.

[0028] Secondary spatial information refers to data used to describe the microscopic spatial layout of component models within the cabinet model, including their relative positions, spacing, and installation levels.

[0029] A 3D model refers to a digital 3D representation that integrates cabinet models, component models, and corresponding spatial information to comprehensively and accurately reflect the actual layout of the secondary cabinets and their internal components in a substation.

[0030] Please see Figure 1 , Figure 1 This is a flowchart illustrating the implementation of the three-dimensional model generation method for substation secondary switchgear provided in this application embodiment. The three-dimensional model generation method for substation secondary switchgear may include S101~S105, as detailed below: In S101, the configuration file of the substation secondary switch cabinet is parsed to extract the cabinet information and component information of the substation secondary switch cabinet.

[0031] In this embodiment, the configuration file for the substation secondary switchgear can be an SCD-suffix configuration file. The electronic equipment can have a built-in parsing engine. Based on this, the electronic equipment can traverse each standard node in the configuration file to extract the cabinet information and component information of the substation secondary switchgear. The standard nodes can include, but are not limited to: <header> 、 <ied> 、 <accesspoint> 、 <ln> 、 <dai> 、 <terminal>.

[0032] In practical applications, due to the complexity of the secondary system and the large number of devices in the substation, if the parsed information is directly used for modeling, the lack of a standardized data organization and storage method will lead to chaotic and inefficient management, querying of massive equipment information and data correction operations for specific levels, making it difficult to support the refined modeling and maintenance of large-scale substation secondary cabinets.

[0033] In response, this application further proposes that after extracting the cabinet information and component information of the substation secondary cabinets, the method also includes: storing the cabinet information and component information in a tree structure into a visual database; wherein, the first level of the tree structure is the substation level, the second level of the tree structure is the voltage level level, the third level of the tree structure is the bay level, the fourth level of the tree structure is the cabinet level, and the fifth level of the tree structure is the component level.

[0034] This step aims to systematically and hierarchically organize and store the discrete cabinet and component information extracted from the configuration file, in order to solve the problems of chaotic data management and low query efficiency.

[0035] The first level of the tree structure is the substation level. This level serves as the root node of the entire data tree, establishing the global scope of the data and representing a complete substation entity. It carries macro-level information about the substation, such as its name, number, and geographical location. In the database, this can be represented as a top-level record or an independent table, whose unique identifier serves as the root reference for all subsequent sub-level data.

[0036] The second level of the tree structure is the voltage level level, which is a direct child level of the substation level. This level is used for the initial functional and spatial division of equipment within the substation. For example, a substation may contain different voltage level areas such as 220kV, 110kV, and 35kV. Each voltage level node contains information on all relevant equipment within that voltage level and is connected to the upper-level substation level through association relationships.

[0037] The third level of the tree structure is the bay level, which is a sublevel of the voltage level level. This level further refines the functional divisions within the substation, such as main transformer bays, outgoing line bays, and busbar bays. Each bay level node represents a specific bay unit, which contains information about all the cabinets within that bay and is associated with the upper voltage level level.

[0038] The fourth level of the tree structure is the cabinet level, which is a child level of the bay level and directly corresponds to the solid object in the 3D model—the substation secondary cabinet. Each cabinet level node stores detailed information about a specific cabinet, such as cabinet model, number, and size, and serves as the parent node of its lower component level.

[0039] The fifth level of the tree structure is the component level, which is a child level of the cabinet level and the bottom level of the tree structure. It is used to store the specific component information inside each cabinet. For example, relays, circuit breakers, and measuring instruments. Each component level node will contain detailed data such as the component's model, installation coordinates, and spacing, and will be associated with the upper cabinet level.

[0040] Through the above technical solution, the parsed cabinet and component information is stored in a visual database in a tree structure, constructing a complete data link from the macroscopic perspective of the substation to the microscopic perspective of the components. This hierarchical storage method effectively solves the problems of chaotic data management and inefficient querying in substation secondary systems. Specifically, the tree structure nests five levels—substation, voltage level, bay, cabinet, and component—in sequence, realizing a digital mapping of the physical topology of the substation secondary system. This allows the system to clearly identify the ownership relationship of each device within the entire substation system. This not only provides accurate data indexes for subsequent automated modeling, greatly improving the logic and maintainability of data processing, but also enables users to quickly locate and operate on data at a specific level (such as a cabinet or bay) when they need to modify the data, avoiding the tediousness of full-scale modification. This significantly improves the efficiency and accuracy of data correction, laying a solid data foundation for achieving full-link automated modeling and ensuring the consistency between the 3D model and the actual configuration data.

[0041] In some of the embodiments described above in this application, cabinet information and component information are stored in a tree structure in a visual database to achieve automated generation of 3D models. However, in actual application scenarios, the configuration information of substation secondary cabinets may have input errors, delayed updates, or be inconsistent with the actual situation on site. If there is no effective correction mechanism, the subsequently generated 3D model will deviate from the actual physical environment, thereby affecting the operation and maintenance reference value of the digital twin model.

[0042] In this regard, this application further proposes that after storing the cabinet information and component information in a tree structure in the visual database, the method also includes: in response to the information correction instruction issued by the user based on the visual database, correcting the cabinet information and / or component information in the visual database.

[0043] "Responding to a user's information correction instruction based on the visual database" refers to an electronic device receiving a request initiated by the user to correct or update the configuration information of the cabinet or components stored in the visual database. This instruction serves as an interface for human-computer interaction, allowing users to intervene in the automatically parsed and stored data.

[0044] "Correcting cabinet and / or component information in the visualization database" refers to the system updating, deleting, or adding configuration data for cabinets or components stored in the visualization database based on received correction instructions. This step ensures the accuracy, real-time nature, and consistency of data in the visualization database with the actual site conditions, and is a crucial step in maintaining the effectiveness of the digital twin model. Specifically, after receiving a correction instruction, the system locates the corresponding cabinet or component information record in the visualization database based on the unique identifier contained in the instruction (e.g., cabinet ID, component ID, or its path in the tree structure) and performs update, deletion, or addition operations. For example, updating the component model, modifying its relative coordinates, or deleting a record of a removed component. Before performing the correction operation, the system can perform data validity checks, such as checking whether the corrected component dimensions conflict with the cabinet space, or whether the new model conforms to preset specifications. If the check passes, the correction is performed; if the check fails, an error message is returned to the user.

[0045] Through the aforementioned technical solution, this application introduces an interactive information correction mechanism, enabling dynamic maintenance and closed-loop management of data stored in the visual database. In the automated modeling process, this technique ensures the accuracy and real-time nature of the data source. By responding to user-issued information correction commands, the system can accurately locate and update cabinet or component information stored in the tree structure, thereby solving the problem of 3D model distortion caused by errors in the original data or changes in substation equipment. This human-computer interaction not only compensates for potential logical blind spots in automated parsing but also provides flexible adjustment methods for model iteration, ensuring that the 3D model always maintains a high degree of consistency with the actual configuration of the substation. This improves the reliability and reference value of the digital twin model during operation and maintenance, effectively reducing the model update cost in cases of substation technical upgrades and setting changes.

[0046] In S102, the cabinet model of the substation secondary cabinet is obtained based on the cabinet information.

[0047] In this embodiment of the application, the cabinet information may include the cabinet model and / or the first model mapping number. Based on this, "obtaining the cabinet model of the substation secondary switchgear according to the cabinet information" can be achieved in the following manner, detailed below: Obtain a preset cabinet model database; the cabinet model database includes several cabinet models, each cabinet model corresponds to several cabinet models and / or several first model mapping numbers; based on the cabinet models and / or first model mapping numbers, match and obtain the cabinet model from each cabinet model in the cabinet model database.

[0048] Specifically, the cabinet model information refers to the standardized product model of the substation secondary switchgear, usually defined by the manufacturer, used to identify the basic attributes of the switchgear such as size, structure, and function. The cabinet model directly identifies a specific type of switchgear. The first model mapping number is a unique identifier introduced to address issues such as inconsistent naming, aliases, or different manufacturers' models corresponding to the same physical structure. It uniquely associates a specific switchgear 3D model within the system. For example, when multiple cabinet models are completely identical in 3D representation, they can share the same first model mapping number. These two types of information can be used individually or in combination, providing a flexible and accurate identification basis for subsequent model matching.

[0049] Furthermore, this application obtains a pre-defined cabinet model database. This cabinet model database is a pre-established, structured data storage system that contains three-dimensional model data of various commonly used or specific types of substation secondary cabinets.

[0050] The database serves as a resource repository for 3D modeling, providing standardized and reusable cabinet models. Notably, the cabinet model database includes several cabinet models, each corresponding to several cabinet models and / or several first model mapping numbers. This means that each 3D cabinet model in the database is not bound to only one cabinet model or one mapping number. For example, a common standard cabinet model may correspond to multiple cabinet models from different manufacturers but with similar structures, or to multiple cabinets with different model names due to historical reasons but identical actual physical structures. This many-to-many mapping relationship improves the database's reusability and flexibility, reduces redundant model storage, and simplifies management.

[0051] Based on this, the system matches and retrieves the cabinet model from various cabinet models in the cabinet model database according to the cabinet model and / or the first model mapping number. This matching process can be implemented in several ways. For example, after receiving the cabinet model or the first model mapping number, the system first checks whether a directly corresponding cabinet model exists in the mapping table of the database. If it exists, the model is directly extracted. If it does not exist, the system can attempt fuzzy matching or conversion using preset rules to find the closest or compatible model. Another implementation is that the system can maintain an index structure, using the cabinet model and the first model mapping number as keys and the cabinet model as the corresponding value. When a cabinet model is needed, the index is queried directly through the key value to quickly locate and extract the corresponding cabinet model. This method can significantly improve matching efficiency, especially when the database is large.

[0052] Through the above technical solution, this application solves the problem of model matching difficulties caused by unclear cabinet information or complex models in traditional methods. The cabinet model provides a standardized identification basis, while the first model mapping number further enhances the uniqueness and flexibility of identification, allowing accurate identification even in cases of inconsistent model naming or the existence of aliases. The cabinet model database, as a standardized model resource pool, achieves pre-association and structured storage of model and actual equipment information, avoiding the tedious process of manual searching and importing. This mechanism based on multi-dimensional information and database matching ensures that the cabinet model generated in the 3D scene is completely consistent with the actual cabinet configuration in the substation, significantly improving the automation level and data accuracy of 3D model generation, effectively avoiding data inconsistencies caused by information entry errors in manual modeling, thereby improving overall modeling efficiency and model quality.

[0053] In S103, the component model of the substation secondary cabinet is obtained based on the component information.

[0054] In this embodiment of the application, the component information includes the component model and / or the second model mapping number; based on this, "obtaining the component model of the substation secondary cabinet according to the component information" can be achieved in the following way, detailed below: Obtain a preset component model database; the component model database includes several sample component models, each sample component model corresponds to several component models and / or several second model mapping numbers; based on the component models and / or second model mapping numbers, match and obtain the component model from each sample component model in the component model database.

[0055] Specifically, component information is key data describing the various components within the secondary switchgear of a substation, and its accuracy and completeness directly affect the realism of the 3D model. Component model numbers typically refer to standard codes provided by the manufacturer to uniquely identify the specifications and performance of a particular type of component. The second model mapping number is an internally defined unique identifier used to associate a specific component model with a specific sample component model in the 3D model database. By introducing the second model mapping number, it is possible to differentiate between 3D models of the same model but with different appearances or details, or to provide a unified mapping for components of different models that share the same 3D model.

[0056] To effectively acquire component models, this application obtains a pre-defined component model database. This database is a knowledge base that centrally stores 3D models of various components. Based on this, each sample component model corresponds to several component models and / or several second model mapping numbers. This correspondence is achieved by establishing a mapping table in the database or embedding related information in the model metadata. For example, one sample component model may correspond to multiple component models because similar components produced by different manufacturers may have similar appearances and dimensions, and can be represented using the same 3D model. Conversely, one component model may also correspond to multiple sample component models to meet the needs of different installation methods, different colors, or different levels of detail. The second model mapping numbers further refine this correspondence, ensuring the accuracy of model selection in complex scenarios.

[0057] Finally, based on the component model and / or the second model mapping number, the component model is obtained by matching from various sample component models in the component model database. The matching process can employ several strategies. One approach is exact matching, where the system searches the database for a completely matching record based on the parsed component model and / or second model mapping number. Another approach is rule-based matching; for example, when the exact model does not exist, fuzzy matching can be performed based on the model's prefix, suffix, or specific fields, or the closest sample component model can be selected based on preset substitution rules. Upon successful matching, the system obtains the corresponding sample component model and prepares it for subsequent 3D scene construction.

[0058] Through the above technical solution, this application effectively solves the problems of low matching accuracy and insufficient automation in the process of acquiring component models for substation secondary switchgear. By introducing component model and second model mapping number as dual indexes, the system can accurately and quickly match and obtain the corresponding sample component model from the preset component model database based on the parsed component information. This multi-dimensional matching mechanism not only improves the accuracy of model selection and avoids the inefficiency and data inconsistency risks caused by manual model searching and dragging, but also standardizes the component model calling process, laying a solid data foundation for the fully automated generation of 3D models of substation secondary switchgear, and significantly improving the efficiency and systematization of modeling.

[0059] In S104, the first spatial information for the cabinet model and the second spatial information for the component model are obtained.

[0060] In this embodiment, in addition to acquiring the cabinet model and the component model, the electronic device can also acquire first spatial information for the cabinet model and second spatial information for the component model. Specifically, the user can input the first spatial information for the cabinet model and the second spatial information for the component model into the electronic device, so that the electronic device can acquire the first spatial information for the cabinet model and the second spatial information for the component model.

[0061] In one possible implementation, the first spatial information includes the location information of the substation secondary switchgear in the substation, the size information of the substation secondary switchgear, and the orientation information.

[0062] Specifically, the first spatial information refers to the data set used to describe the overall spatial attributes of the substation secondary cabinets in a three-dimensional scene. Its function is to provide a basis for the global positioning and attitude of the cabinet model.

[0063] The location information of a substation secondary switchgear within a substation refers to the specific coordinates of the switchgear within the substation's three-dimensional scene coordinate system. For example, this location information can be three-dimensional coordinates (X, Y, Z), using a fixed point in the substation (such as the entrance or center point) as the origin, describing the coordinates of the switchgear's geometric center or a corner point; alternatively, it can be relative coordinates, such as those relative to a reference point of a building or area, determined in conjunction with an offset.

[0064] The dimensional information of a substation secondary switchgear refers to its physical length, width, and height. For example, this dimensional information can be three independent values ​​(length, width, and height).

[0065] Orientation information refers to the rotation angle or orientation of the substation secondary cabinet in three-dimensional space. For example, this orientation information can be Euler angles, such as the rotation angles around the X, Y, and Z axes; or, this orientation information can be a quaternion to represent three-dimensional rotation, avoiding the problem of universal joint deadlock.

[0066] Through the above technical solution, when generating a 3D model of a substation secondary switchgear, not only can the cabinet model and component models be obtained, but more importantly, by introducing first spatial information, necessary physical environment parameters are provided for the 3D modeling of the substation secondary switchgear. Specifically, location information allows the system to accurately place the switchgear model on specific coordinate points in the 3D scene of the substation, ensuring the consistency between the digital twin model and the geographical space of the physical substation, and solving the problem of ambiguous model positioning in virtual space. Size information allows the system to scale or constrain the model according to the actual physical specifications of the switchgear, avoiding layout conflicts caused by model scale distortion, and ensuring the authenticity of the 3D model in terms of space occupation. Orientation information allows the system to determine the placement angle of the switchgear in the substation, which is of great significance for restoring the real visual effect inside the substation and for subsequent operation and maintenance inspection path planning, enabling the model to accurately reflect the actual installation posture of the switchgear on site. In summary, this solution establishes a spatial mapping mechanism from abstract models to physical entities by associating spatial attributes such as location, size, and orientation with the cabinet model. This provides crucial spatial data support for achieving high-fidelity, maintainable 3D digital twins of substations, significantly improving the accuracy and practicality of the generated 3D models. It effectively solves the problems of inconsistency between the 3D model and the actual SCD configuration data, as well as the lack of standardized basis for spatial arrangement in existing technologies.

[0067] In one possible implementation, the second spatial information may include relative coordinate information, arrangement spacing information, and installation hierarchy information.

[0068] Specifically, relative coordinate information is used to describe the relative coordinates of components within the secondary cabinets of a substation. This relative coordinate information defines the reference position of the component inside the cabinet. For example, a three-dimensional Cartesian coordinate system (X, Y, Z) can be used to accurately represent the position of the component relative to a fixed reference point inside the cabinet (such as the lower left corner or center point of the cabinet). Alternatively, the relative position can be determined by defining the two-dimensional planar coordinates of the component on the cabinet panel and combining them with its installation depth information. By introducing relative coordinate information, a clear and quantifiable positioning reference can be provided for the placement of component models in three-dimensional space.

[0069] Spacing information describes the distances between individual components or between components and the edges of substation secondary cabinets. This spacing information can include minimum safety clearances, standard installation clearances, etc. For example, it can specify the minimum horizontal or vertical clearance between adjacent components to ensure electrical safety and maintenance space. It can also define the distances between components and the internal edges of cabinet side panels, top panels, bottom panels, etc., to conform to actual installation specifications. Spacing information effectively avoids overlapping or unreasonably tight arrangement of component models in the 3D model, ensuring the model conforms to physical constraints and installation standards.

[0070] Installation hierarchy information describes the vertical height of components within the secondary cabinets of a substation. This information can define different mounting planes or heights of the components within the cabinet; for example, it can specify whether a component is installed at the top, middle, or bottom of the cabinet, or specify a predetermined mounting rail height. Alternatively, it can be represented by defining the vertical distance from the bottom or center point of the component to the bottom of the cabinet. This installation hierarchy information allows for precise control of the component model's vertical positioning, ensuring that the 3D model accurately reflects the vertical distribution of components within the cabinet.

[0071] Through the above technical solution, this application achieves a refined definition of the layout of components within the cabinet by introducing multi-dimensional spatial constraint parameters. Relative coordinate information clarifies the reference position of components within the cabinet, providing a basic coordinate reference for model placement. Spacing information quantifies the physical gaps between components and the distance between components and the cabinet edge, ensuring that the model's spatial layout conforms to the physical constraints of actual installation and avoiding component overlap or positional offset. Installation hierarchy information precisely locks the vertical installation height of components, ensuring that the 3D model's vertical layout is highly consistent with the actual site conditions. These technical features work together to transform the originally ambiguous spatial positioning into quantifiable and verifiable structured data, thereby solving the problem of a lack of standardized basis for spatial layout in 3D modeling and significantly improving the consistency between the 3D model and the actual cabinet layout. Combining the cabinet model and component model, and utilizing the first spatial information, this solution can generate a highly accurate 3D model of a substation secondary cabinet that conforms to actual installation specifications, greatly improving the automation level and data consistency of modeling, and providing a reliable foundation for subsequent operation and maintenance and digital twin applications.

[0072] In S105, a three-dimensional model of the substation secondary cabinet is generated based on the first spatial information, the second spatial information, the cabinet model, and the component model.

[0073] In this embodiment of the application, after obtaining the cabinet model, component model, first spatial information, and second spatial information, the electronic device can also generate a three-dimensional model of the substation secondary cabinet based on the first spatial information, second spatial information, cabinet model, and component model, as detailed below: Based on the location, size, and orientation information, the cabinet model is placed in a preset 3D scene. After placing the cabinet model in the 3D scene, the relative coordinate information is verified based on the arrangement spacing and installation level information. If the verification is successful, the component models are placed inside the cabinet model based on the relative coordinate information to obtain the 3D model.

[0074] Specifically, based on location, size, and orientation information, the cabinet model is placed in a pre-defined 3D scene, aiming to provide basic spatial positioning and orientation for the construction of the entire cabinet's 3D model. Location information can include the cabinet's global coordinates in the 3D scene (e.g., X, Y, Z axis coordinates), size information can include the cabinet's length, width, and height, and orientation information can include the cabinet's rotation angle relative to a reference axis. One implementation method is for the system to parse these pre-defined parameters in the configuration file and call the 3D modeling engine's API interface to instantiate and precisely place the cabinet model. Another implementation method is to allow users to interactively specify the cabinet's placement point, scaling ratio, and rotation direction in a graphical interface. The system then converts these user inputs into corresponding spatial information and adjusts the cabinet model's appearance in the 3D scene accordingly.

[0075] After placing the cabinet model in a 3D scene, verifying the relative coordinate information based on the spacing and installation level information is a crucial step in ensuring the rationality and compliance of the component layout. Spacing information describes the distance between individual components or between a component and the edge of the substation secondary cabinet, while installation level information describes the vertical height of the component within the substation secondary cabinet. One verification method involves the system maintaining a pre-defined verification rule base, which includes specifications such as minimum safe spacing, recommended installation level ranges, and minimum distances from the cabinet edge for different types of components. When the relative coordinate information of a component is received, the system queries the rule base for comparison based on the component type, cabinet type, and the positions of other placed components. For example, it checks whether the center-to-center distance between adjacent components meets the minimum spacing requirement or whether the installation height of the component is within the allowed level range. Another verification method is to use collision detection or space occupancy analysis based on a physics engine. The system can define a bounding box or more precise geometry for each component model, and then simulate placing the component at the suggested relative coordinates to detect whether it collides with the bounding boxes of other components or exceeds the internal boundary of the cabinet. At the same time, combined with the installation level information, it determines whether the Z-axis coordinate of the component falls within the preset effective installation height range.

[0076] If the verification passes, the component model is placed within the cabinet model based on the relative coordinate information to obtain the 3D model. This step ensures that only component layouts conforming to the specifications are actually constructed into the 3D model. One implementation is that, when the verification result is passed, the system directly uses the relative coordinate information of the components (e.g., X, Y, Z coordinates relative to the origin inside the cabinet) and the geometric data of the component model itself, through the API of the 3D modeling software or engine, to add the component model as a sub-object or component to a specified position inside the cabinet model. Another implementation is that, after the verification passes, the system converts the relative coordinate information into absolute coordinates in the cabinet's local coordinate system, then loads and places the component model onto these calculated absolute coordinate points, and can rotate it according to the component's orientation information to ensure its correct posture within the cabinet.

[0077] Through the above technical solution, this application introduces a verification mechanism for the spatial layout of components during the generation of a 3D model of a substation secondary cabinet. First, using the position, size, and orientation information from the first spatial information, the cabinet model is accurately placed in a preset 3D scene, laying a solid spatial benchmark for the subsequent refined layout of components. Based on this, before actually placing the component models, the relative coordinate information of the components is rigorously verified according to the spacing and installation level information from the second spatial information. This verification process transforms actual installation specifications and physical constraints into digital verification rules, effectively avoiding problems such as component position conflicts, incorrect installation levels, or spacing that does not conform to actual physical constraints. Only when the relative coordinate information passes verification will the component model be placed within the cabinet model. This fundamentally solves the problem that directly placing the model based solely on spatial information may lead to unreasonable and non-compliant layouts, ensuring that the final generated 3D model is highly consistent with the actual configuration at the substation site in terms of spatial structure. This significantly improves the accuracy and reliability of the digital twin model and its reference value in operation and maintenance, while reducing the cost of manual correction and the risk of data inconsistency.

[0078] This method automates the parsing of configuration files, acquisition of model and spatial information, and integration to generate a 3D model. It effectively solves the problems of low efficiency, inconsistent data, lack of standardized spatial layout, and high cost of model iteration and updates in traditional substation secondary cabinet 3D modeling. As a result, modeling efficiency and data accuracy are improved, consistency between the 3D model and the actual configuration is ensured, and a digital twin foundation is provided for subsequent operation, maintenance, and technical upgrades.

[0079] Based on the method for generating a 3D model of a substation secondary switchgear provided in the above embodiments, this application further provides a device for generating a 3D model of a substation secondary switchgear to implement the above method embodiments. Please refer to [link to relevant documentation]. Figure 2 , Figure 2 This is a schematic diagram of the structure of a three-dimensional model generation device for a substation secondary switchgear provided in an embodiment of this application, as shown below. Figure 2 As shown, the 3D model generation device 20 for substation secondary switchgear may include: a parsing unit 21, a first model acquisition unit 22, a second model acquisition unit 23, an information acquisition unit 24, and a model generation unit 25. Wherein: The parsing unit 21 is used to parse the configuration file of the substation secondary switch cabinet and extract the cabinet information and component information of the substation secondary switch cabinet.

[0080] The first model acquisition unit 22 is used to acquire the cabinet model of the substation secondary cabinet based on the cabinet information.

[0081] The second model acquisition unit 23 is used to acquire the component model of the substation secondary cabinet based on the component information.

[0082] The information acquisition unit 24 is used to acquire the first spatial information for the cabinet model and the second spatial information for the component model.

[0083] The model generation unit 25 is used to generate a three-dimensional model of the substation secondary cabinet based on the first spatial information, the second spatial information, the cabinet model, and the component model.

[0084] Optionally, the 3D model generation device 20 for the substation secondary switchgear may include a data storage unit, wherein: The data storage unit is specifically used for: The cabinet information and component information are stored in a visual database in a tree structure; the first level of the tree structure is the substation level, the second level is the voltage level level, the third level is the bay level, the fourth level is the cabinet level, and the fifth level is the component level.

[0085] Optionally, the data storage unit is also used for: In response to user-issued information correction commands based on the visualization database, the cabinet information and / or component information in the visualization database are corrected.

[0086] Optionally, the cabinet information includes the cabinet model and / or the first model mapping number; the first model acquisition unit 22 is specifically used for: Obtain the preset cabinet model database; the cabinet model database includes several cabinet models, each cabinet model corresponds to several cabinet models and / or several first model mapping numbers; Based on the cabinet model and / or the first model mapping number, the cabinet model is obtained by matching from each cabinet model in the cabinet model database.

[0087] Optionally, the component information includes the component model and / or the second model mapping number; the second model acquisition unit 23 is specifically used for: Obtain the preset component model database; the component model database includes several sample component models, each sample component model corresponds to several component models and / or several second model mapping numbers; Based on the component model and / or the second model mapping number, the component model is obtained by matching from each sample component model in the component model database.

[0088] Optionally, the first spatial information includes the location information of the substation secondary switchgear in the substation, the size information of the substation secondary switchgear, and the orientation information. The second spatial information includes relative coordinate information, arrangement spacing information, and installation hierarchy information; the relative coordinate information is used to describe the relative coordinates of the components in the substation secondary switchgear, the arrangement spacing information is used to describe the distance between each component, or between the component and the edge of the substation secondary switchgear, and the installation hierarchy information is used to describe the vertical height of the components in the substation secondary switchgear; the model generation unit 25 is specifically used for: Based on the location, size, and orientation information, the cabinet model is placed in a preset 3D scene; After placing the cabinet model in the 3D scene, the relative coordinate information is verified based on the layout spacing information and installation level information. If the verification is successful, the component models are placed inside the cabinet model according to the relative coordinate information to obtain the 3D model.

[0089] It should be noted that the information interaction and execution process between the above-mentioned units are based on the same concept as the method embodiments of this application. Their specific functions and technical effects can be referred to the method embodiments section, and will not be repeated here.

[0090] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device 3 provided in this embodiment may include: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program corresponding to a three-dimensional model generation method for substation secondary switchgear. When the processor 30 executes the computer program 32, it implements the steps described above in the embodiment of the three-dimensional model generation method for substation secondary switchgear, for example... Figure 1 S101~S105 are shown. Alternatively, when processor 30 executes computer program 32, it implements the functions of each module / unit in the above embodiment of the three-dimensional model generation device for substation secondary cabinets, for example... Figure 2 The functions of units 21-25 shown.

[0091] For example, computer program 32 can be divided into one or more modules / units, one or more of which are stored in memory 31 and executed by processor 30 to complete this application. One or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of computer program 32 in electronic device 3. For example, computer program 32 can be divided into parsing unit 21, first model acquisition unit 22, second model acquisition unit 23, information acquisition unit 24, and model generation unit 25. For the specific functions of each unit, please refer to [reference needed]. Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.

[0092] Those skilled in the art will understand that Figure 3 This is merely an example of electronic device 3 and does not constitute a limitation on electronic device 3. It may include more or fewer components than shown, or combine certain components, or use different components.

[0093] The processor 30 can be a central processing unit (CPU), a graphics processing unit (GPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0094] The memory 31 can be an internal storage unit of the electronic device 3, such as a hard disk or RAM. The memory 31 can also be an external storage device of the electronic device 3, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, or flash card. Furthermore, the memory 31 can include both internal and external storage units of the electronic device 3. The memory 31 is used to store computer programs and other programs and data required by the electronic device. The memory 31 can also be used to temporarily store data that has been output or will be output.

[0095] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units is merely an example. In practical applications, the functions described above can be assigned to different functional units as needed. For instance, the internal structure of the 3D model generation device for substation secondary cabinets can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units are merely for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0096] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the various method embodiments described above.

[0097] This application provides a computer program product that, when run on a terminal device, enables the terminal device to implement the steps described in the various method embodiments above.

[0098] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

[0099] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0100] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.< / terminal> < / dai> < / ln> < / accesspoint> < / ied> < / header>

Claims

1. A method for generating a three-dimensional model of a substation secondary switchgear, characterized in that, include: The configuration file of the substation secondary switch cabinet is parsed to extract the cabinet information and component information of the substation secondary switch cabinet; Based on the cabinet information, obtain the cabinet model of the substation secondary switch cabinet; Based on the component information, obtain the component model of the substation secondary cabinet; Obtain first spatial information for the cabinet model and second spatial information for the component model; A three-dimensional model of the substation secondary cabinet is generated based on the first spatial information, the second spatial information, the cabinet model, and the component model.

2. The method according to claim 1, characterized in that, After extracting the cabinet information and component information of the substation secondary switchgear, the method further includes: The cabinet information and the component information are stored in a visual database in a tree structure; wherein, the first level of the tree structure is the substation level, the second level of the tree structure is the voltage level level, the third level of the tree structure is the bay level, the fourth level of the tree structure is the cabinet level, and the fifth level of the tree structure is the component level.

3. The method according to claim 2, characterized in that, After storing the cabinet information and the component information in a tree structure in the visual database, the method further includes: In response to a user's information correction command based on the visualization database, the cabinet information and / or the component information in the visualization database are corrected.

4. The method according to claim 1, characterized in that, The cabinet information includes the cabinet model and / or the first model mapping number; obtaining the cabinet model of the substation secondary switchgear based on the cabinet information includes: Obtain a preset cabinet model database; the cabinet model database includes several cabinet models, each cabinet model corresponding to several cabinet models and / or several first model mapping numbers; Based on the cabinet model and / or the first model mapping number, the cabinet model is obtained by matching from each of the cabinet models in the cabinet model database.

5. The method according to claim 1, characterized in that, The component information includes component model and / or second model mapping number; obtaining the component model of the substation secondary cabinet based on the component information includes: Obtain a preset component model database; the component model database includes several sample component models, each of which corresponds to several component models and / or several second model mapping numbers; The component model is obtained by matching from each of the sample component models in the component model database based on the component model model and / or the second model mapping number.

6. The method according to any one of claims 1 to 5, characterized in that, The first spatial information includes the location information of the substation secondary switchgear in the substation, the size information of the substation secondary switchgear, and the orientation information.

7. The method according to claim 6, characterized in that, The second spatial information includes relative coordinate information, arrangement spacing information, and installation level information; the relative coordinate information is used to describe the relative coordinates of the components in the substation secondary cabinet, the arrangement spacing information is used to describe the distance between each component or between the component and the edge of the substation secondary cabinet, and the installation level information is used to describe the vertical height of the components in the substation secondary cabinet.

8. The method according to claim 7, characterized in that, The step of generating a three-dimensional model of the substation secondary cabinet based on the first spatial information, the second spatial information, the cabinet model, and the component model includes: Based on the location information, the size information, and the orientation information, the cabinet model is placed in a preset three-dimensional scene; After placing the cabinet model in the three-dimensional scene, the relative coordinate information is verified according to the arrangement spacing information and the installation level information. If the verification is successful, the component model is placed in the cabinet model according to the relative coordinate information to obtain 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, characterized in that, When the processor executes the computer program, it implements each step in the method for generating a three-dimensional model of a substation secondary switchgear as described in any one of claims 1 to 8.

10. A computer program product, characterized in that, When the computer program product is executed by the processor, it implements each step in the three-dimensional model generation method for substation secondary switchgear as described in any one of claims 1 to 8.