Power automatic mapping method and system based on topology identification

By using a topology-based automatic power system mapping method, the power system model is automatically parsed to generate main wiring diagrams and bay diagrams. This solves the problems of low efficiency in generating power system drawings and incomplete data fusion in existing technologies, and achieves high efficiency, automation and accuracy in power system design.

CN121808997APending Publication Date: 2026-04-07SHANGHAI SIHONGRUI ELECTRIC CONTROL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-10
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing technologies cannot achieve fully automated generation and deep data integration of power system drawings, and lack the ability to deeply analyze the topological connection relationships in the substation system description model and the ability to automatically lay out primary equipment.

Method used

The power grid automatic mapping method based on topology recognition obtains the primary power equipment and connection relationships by parsing the SSD model in the SCD file, determines the wiring method and independent bays by analyzing the power grid topology, generates the equipment coordinate positions by using an automatic layout algorithm, and automatically generates the main wiring diagram and bay diagram, realizing the data association between the equipment and the database.

Benefits of technology

It has achieved highly efficient automation of power system design work, reduced manual drawing time, improved the accuracy of drawings and data consistency, adapted to various substation wiring methods, and reduced repetitive work and potential errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121808997A_ABST
    Figure CN121808997A_ABST
Patent Text Reader

Abstract

The invention provides an electric power automatic mapping method and system based on topology identification, and relates to the technical field of electric power monitoring, and the method comprises the steps: determining the wiring modes and independent intervals of different voltage levels through the analysis of a power grid topology structure; performing layout on the primary equipment by adopting an automatic layout algorithm according to the wiring mode and the independent interval, and generating an equipment coordinate position; automatically generating a main wiring diagram based on the coordinate position of the equipment, and completing data association between the primary equipment and a database; based on the independent intervals in the main wiring diagram, the interval types are automatically recognized, interval diagrams are generated in batches through a dynamic template, and the dynamic template replaces wildcard characters with actual interval names and device names to complete data association between devices in the interval diagrams and a database. According to the automatic mapping method, the topology of the power system can be intelligently analyzed, graph layout can be automatically completed, data seamless association can be realized, and the efficiency and quality of power system design work can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power monitoring technology, and in particular to a method and system for automatic power mapping based on topology identification. Background Technology

[0002] As the core graphic carriers of power monitoring systems, main wiring diagrams and bay diagrams directly affect the design, operation, maintenance, and analysis levels of substations. Traditionally, the generation of these diagrams mainly relied on manual drawing, which inherently suffers from low efficiency, susceptibility to errors, and difficulty in associating with dynamic data. With the development of smart grids and digital twin technologies, the field of power system design has created an urgent need for automated and intelligent diagram generation technologies.

[0003] Currently, the technical approaches to achieving automatic or semi-automatic mapping in the industry mainly fall into two categories:

[0004] The first category is the use of computer-aided drawing tools. Although such tools (such as AutoCAD Electrical) provide a graphical editing environment and improve drawing efficiency to a certain extent, they are essentially still semi-automatic. Specifically, this manifests as follows: (1) The location and wiring of primary equipment such as circuit breakers, busbars, and disconnectors in the drawings still require manual intervention and adjustment, lacking the ability to intelligently identify and automatically lay out the power grid topology; (2) Graphical elements cannot be automatically associated with equipment models and measurement point information in the background database, and designers still need to manually bind the data, which is labor-intensive and prone to errors, failing to achieve true automated design and data integration.

[0005] The second category is automatic mapping solutions based on rule engines or template matching. This solution uses predefined graphic templates of typical wiring configurations (e.g., single busbar, double busbar, 3 / 2 circuit breaker, etc.) to instantiate and replace equipment symbols and connection relationships in the templates based on the input substation configuration data. However, this solution has some limitations: (1) its applicability is severely limited by the completeness of the template library, and it has poor adaptability to non-standard or complex wiring configurations; (2) the templates are usually statically configured, lacking the ability to dynamically analyze and adapt to the changing field wiring topologies, making it difficult to meet the personalized needs of different engineering projects. Therefore, this solution is mostly suitable for substations with high standardization and simple structure, and cannot meet the flexible and efficient mapping requirements of modern intelligent substations.

[0006] In summary, existing technologies, whether human-computer interaction modes represented by CAD tools or rule-based matching modes based on pre-set templates, have failed to achieve fully automated generation and deep data fusion from power grid model data to standard engineering drawings. The core problem lies in the lack of deep analytical capabilities regarding the topological connections inherent in the substation system description model, as well as the lack of automatic primary equipment layout capabilities and automatic model library association mechanisms driven by these topological relationships. Summary of the Invention

[0007] The technical problem to be solved by this invention is to provide an automatic power system mapping system based on topology recognition, which can intelligently analyze the power system topology, automatically complete the graphic layout, and achieve seamless data association in the automatic mapping method, so as to improve the efficiency and quality of power system design work.

[0008] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0009] A first aspect is an automatic power mapping method based on topology recognition, the method comprising:

[0010] Parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationships between primary equipment, and the measurement point data bound to the primary equipment;

[0011] Based on the connection relationships between primary equipment, the wiring methods and independent bays for different voltage levels are determined through power grid topology analysis.

[0012] Based on the wiring method and independent intervals, an automatic layout algorithm is used to lay out the primary equipment and generate the equipment coordinate positions;

[0013] Based on the device's coordinates, a main wiring diagram is automatically generated, and a primary data association between the device and the database is completed.

[0014] Based on the independent bays in the main wiring diagram, the bay type is automatically identified, and bay diagrams are generated in batches using dynamic templates. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names.

[0015] Secondly, an automatic power mapping system based on topology recognition includes:

[0016] The acquisition module is used to parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationship between primary equipment, and the measurement point data bound to the primary equipment.

[0017] The analysis module is used to determine the wiring methods and independent bays for different voltage levels based on the connection relationships between primary equipment and the power grid topology analysis.

[0018] The layout module is used to lay out the primary equipment according to the wiring method and independent intervals, and generate the coordinate positions of the equipment.

[0019] The association module is used to automatically generate a main wiring diagram based on the coordinate position of the device and complete the data association between the device and the database.

[0020] The processing module is used to automatically identify the bay type based on the independent bays in the main wiring diagram, and generate bay diagrams in batches using dynamic templates. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names.

[0021] Thirdly, a computing device including a memory and a processor;

[0022] The memory stores one or more computer programs, the one or more computer programs including instructions; when the instructions are executed by the processor, the computing device performs the method as described in the first aspect.

[0023] Fourthly, a computer-readable storage medium for storing a computer program for performing the method as described in the first aspect.

[0024] The above-described solution of the present invention has at least the following beneficial effects:

[0025] This invention starts by parsing standardized SCD / SSD model files, automatically completing the entire process from topology identification and equipment layout to graphic generation and data association. It changes the traditional mode of relying on manual drawing or semi-automated assisted drawing, reducing the workload of drawing design that originally required several days to be completed within minutes, greatly liberating engineering designers and improving the overall efficiency of power system design.

[0026] By automatically laying out the data based on the actual power grid topology and following established substation graphic design specifications, the system effectively avoids problems such as connection errors and unreasonable layouts that may occur with manual drawing, ensuring the accuracy, consistency, and standardization of the generated main wiring diagrams and bay diagrams in terms of electrical logic and engineering expression.

[0027] While automatically generating drawings, this invention utilizes the equipment path information parsed from the SSD model to automatically and accurately bind primary equipment elements in the drawings to real-time measurement point data in the background SCADA monitoring database. This source-end association mechanism provides the monitoring system with an accurate data mapping relationship.

[0028] This invention does not rely on a large number of predefined static templates. Its core lies in the dynamic analysis capability of the power grid topology. Therefore, it can adapt to various standard substation wiring methods (such as 3 / 2 wiring, double busbar wiring, etc.) and has good adaptability to specific wiring changes in different engineering projects, breaking through the bottleneck of the limited applicability of traditional template matching methods.

[0029] By using dynamic template technology, when generating interval charts in batches, a large number of similar interval charts can be quickly drawn and data bound simply by replacing wildcards. This is not only highly efficient, but also ensures the consistency of the appearance and data association logic of interval charts of the same type, greatly reducing repetitive work and potential errors. Attached Figure Description

[0030] Figure 1 This is a flowchart illustrating the automatic power mapping method based on topology recognition of the present invention.

[0031] Figure 2 This is a schematic diagram of the automatic power mapping system based on topology recognition according to the present invention.

[0032] Figure 3 This is a schematic diagram of a computing device. Detailed Implementation

[0033] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0034] like Figure 1 As shown, embodiments of the present invention propose an automatic power mapping method based on topology identification, comprising:

[0035] Step 1: Parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationships between primary equipment, and the measurement point data bound to the primary equipment;

[0036] Step 2: Based on the connection relationship between primary equipment, determine the wiring method and independent bay for different voltage levels through power grid topology analysis;

[0037] Step 3: Based on the wiring method and independent intervals, use an automatic layout algorithm to lay out the primary equipment and generate the equipment coordinate positions;

[0038] Step 4: Based on the device coordinates, automatically generate the main wiring diagram and complete the data association between the device and the database.

[0039] Step 5: Based on the independent bays in the main wiring diagram, automatically identify the bay type and use dynamic templates to generate bay diagrams in batches. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names.

[0040] In this embodiment, the efficiency of power system mapping is significantly improved through fully automated operation, reducing the workload from several days to just a few minutes, thus significantly alleviating the burden on engineering personnel. It automatically completes the data association between primary equipment and the database, reducing manual binding operations, lowering the probability of human error, and ensuring mapping accuracy and data consistency. It supports wiring methods for multiple voltage levels, can generate bay diagrams in batches, and adapts to different substation application scenarios, offering greater flexibility. Simultaneously, it reduces R&D and maintenance costs, improves customer satisfaction, and provides a reference for the automatic mapping functions of subsequent products, demonstrating strong scalability.

[0041] In a preferred embodiment of the present invention, step 1, parsing the SSD model in the SCD file to obtain the primary power equipment, the connection relationships between primary equipment, and the measurement point data bound to the primary equipment, includes:

[0042] Step 100: Extract the SSD model from the SCD file. The SSD model includes a primary equipment model, an auxiliary control equipment model, and regional geographic information data, specifically including:

[0043] First, preliminary preparations are made to confirm that the SCD file to be processed conforms to the relevant power system specifications (consistent with the standards followed in subsequent layout optimization to ensure data compatibility). Then, the power grid model parsing module is started and initialized to ensure that the module's initial data reading function is available.

[0044] Next, the structure of the SCD file is scanned through the initial data reading function of the power grid model parsing module. The focus is on finding the system structure description module marked with SSD in the file. This module is the carrier of the core data of the power system. All key data related to automatic mapping are stored here. It is necessary to accurately locate its specific position in the SCD file and clarify the storage path and data format of this module.

[0045] After locating the target module, three categories of key data are extracted from it: The first category is the primary equipment model, which needs to cover the basic descriptive information of all core power system equipment such as circuit breakers, busbars, disconnectors, and transformers. This information is the core basis for subsequent analysis of equipment connection relationships and automatic layout. The second category is the auxiliary control equipment model, which needs to include the auxiliary control system component data related to the primary equipment, such as the model information of intelligent cabinets and measurement and control units, to provide data support for the subsequent generation of auxiliary control diagrams. The third category is regional geographic information data, which needs to extract and record the spatial information such as the location coordinates and regional boundaries of different functional areas within the substation to meet the needs of subsequent regional plan drawing.

[0046] During the data extraction process, a data integrity verification mechanism is simultaneously activated to check the three types of extracted data: on the one hand, it checks whether there are any missing fields in each type of data, such as whether the equipment identification field in the primary equipment model, the functional description field in the auxiliary control equipment model, and the coordinate value field in the regional geographic information data are complete; on the other hand, it verifies whether the data format is correct, ensuring that the format of each type of data meets the processing requirements of the subsequent parsing stage. If any missing fields or format errors are found, they need to be reported and corrected in a timely manner, ultimately ensuring that the extracted SSD model data is complete and accurate, and can meet the parsing requirements of each stage of subsequent automatic mapping.

[0047] Step 101: Parse the primary device model in the SSD model to obtain the device type, device identifier, and electrical parameters of all primary devices, specifically including:

[0048] The device attribute parsing function of the power grid model parsing module is invoked to perform a device-by-device breakdown analysis of the primary equipment model extracted in step 100. First, each device node in the primary equipment model is traversed. By identifying the device type identifier field within the device node, specific device types such as circuit breakers, busbars, disconnectors, PTs (voltage transformers), CTs (current transformers), and transformers are distinguished, ensuring that the device classification completely matches the actual device types in the power system. Then, a unique device identifier is extracted from each device node. This identifier consists of the device's voltage level, device function code, and serial number, enabling accurate differentiation of different devices and avoiding device confusion. Finally, key electrical parameters such as rated voltage, rated current, rated power, and insulation class are extracted from the electrical parameter description section of the device nodes. The type, identifier, and electrical parameters of each device are organized and stored in a structured format of device ID-attribute, forming a clear list of primary equipment attributes.

[0049] Step 102: Based on the connection node information between primary devices in the SSD model, construct the connection relationship between primary devices. The connection relationship includes the electrical connection topology and the inter-device links, specifically including:

[0050] Based on the power grid topology analysis module, the connection node information between primary devices is first extracted from the device connection description section of the SSD model. This information includes details such as the unique node number, the corresponding device's connection port number, port type (e.g., incoming terminal, outgoing terminal), and connection medium (e.g., cable, busbar). Then, a device connection relationship matrix is ​​constructed with the connection nodes as the core: each primary device is used as a row and column of the matrix, associated by node number, marking whether there is a direct connection between devices. If a connection exists, the connection port, connection medium, and other information are recorded at the corresponding position in the matrix, forming an intuitive electrical connection topology. Simultaneously, based on the voltage level labeling of the connection nodes (the node field in the SSD model contains voltage level information), the link paths between devices are identified, marking the starting device, ending device, intermediate nodes, and voltage level of each node for each link. This clearly distinguishes device links under different voltage levels, providing accurate topology support for subsequent identification of wiring methods at different voltage levels (e.g., single busbar, double busbar, 3 / 2 wiring, etc.) and the division of independent bays.

[0051] Step 103: Parse the measurement point data bound to the primary device in the SSD model. The measurement point data includes measured values, status points, and device path information, specifically including:

[0052] By extracting measurement point data using the power grid model analysis module, the measurement point description segment bound to primary equipment in the SSD model is located. This segment records all measurement point information corresponding to each primary equipment. First, measured value data is extracted, including the acquisition identifiers and data types of real-time monitoring data such as current, voltage, power, frequency, SF6 pressure, and GIS room temperature. This data corresponds to telemetry information in the subsequent monitoring system. Then, status point data is extracted, covering equipment opening and closing status (e.g., circuit breaker opening and closing status), fault alarm status (e.g., PT disconnection, CT disconnection, zero-sequence over-limit alarm), and control panel status (e.g., protection maintenance control panel, remote operation control panel). This data corresponds to remote signaling and indicator status information in the subsequent bay diagram. Finally, equipment path information is extracted. This information is recorded in a hierarchical format of voltage level-bay name-equipment name, used for path matching during subsequent database storage. After extraction, the measured value, status point, and equipment path information of each measurement point are bound to the corresponding primary equipment using a unique equipment identifier, forming an equipment-measurement point mapping table. This provides a direct data association basis for subsequent SCADA data association and automatic database linking.

[0053] This invention ensures that the SSD model data is complete and error-free through precise positioning and integrity verification, avoiding rework due to data issues in subsequent parsing. Structured attribute organization makes primary equipment information clearly traceable, providing clear equipment parameter support for topology parsing and layout algorithms. The constructed connection matrix and link analysis accurately present the equipment topology, laying the foundation for subsequent identification of wiring methods and interval division. The resulting equipment-measurement point mapping table directly establishes the association between equipment and measurement point data, reducing manual operations for subsequent data binding. The entire process is based on automatic parsing of the SSD model, replacing traditional manual data organization methods, significantly reducing human error and improving data processing efficiency.

[0054] In a preferred embodiment of the present invention, step 2, based on the connection relationship between primary equipment, determines the wiring method and independent bay for different voltage levels through power grid topology analysis, including:

[0055] Step 200: Based on the connection relationships between primary devices, identify all different voltage levels in the power system through topology traversal, specifically including:

[0056] Based on the primary equipment connection relationships (including electrical connection topology and equipment links) constructed in step 102, the topology traversal process is initiated. The traversal starts from the core primary equipment of the power system (such as buses and transformers), because these types of equipment are usually directly associated with voltage level information. During the traversal, the rated voltage parameters of each primary equipment (derived from the electrical parameters obtained in step 101) and the voltage level identifier attached to the equipment connection nodes (voltage attributes contained in the connection nodes in the SSD model) are extracted simultaneously. These voltage information are associated with the corresponding equipment and links one by one. After that, all extracted voltage values ​​are deduplicated to exclude abnormal values ​​(such as values ​​that exceed the range of conventional power system voltage levels). Different voltage levels that actually exist, such as 220kV, 110kV, and 35kV, are classified and organized. The primary equipment and corresponding connection links contained under each voltage level are recorded to form a voltage level-equipment-link correspondence table, thus completing the identification of all different voltage levels.

[0057] Step 201: For each voltage level, analyze its bus configuration and primary equipment connection mode to determine the wiring method for that voltage level, specifically including:

[0058] For each voltage level determined in step 200, all primary equipment and connection links under that level are selected from the voltage level-equipment-link correspondence table. The connection logic of key equipment such as busbars (main busbars and bypass busbars), circuit breakers, and disconnectors is analyzed in detail. First, the busbar configuration for that voltage level is determined: the number of main busbars (single or two), whether bypass busbars are set, and whether the main busbars are divided into multiple sections via sectionalizing switches are counted, clarifying the number, type, and segmentation of the busbars. Next, the connection mode between primary equipment and busbars is analyzed. For example, it is determined whether circuit breakers are directly connected to two main busbars (meeting the 3 / 2 wiring characteristics), whether lines or transformers are connected to only a single main busbar via disconnectors (meeting the single busbar wiring characteristics), whether bypass busbar disconnectors connect lines / main transformers to bypass busbars (meeting the bypass busbar wiring characteristics), and whether sectionalizing switches are used to segment the main busbars (meeting the segmented wiring characteristics), etc. The actual connection mode is matched with the preset standard wiring method library (including nine document-supported wiring methods such as 3 / 2 wiring and single bus wiring), and then confirmed through logic verification. For example, 3 / 2 wiring needs to meet the structure of two circuit breakers sandwiching a disconnecting switch, and double bus wiring needs to support the switching of equipment between two main busbars. Finally, the wiring method for this voltage level is determined, and the connection details of key equipment, such as the connection sequence of busbars and circuit breakers and the location of bypass busbar access, are recorded.

[0059] Step 202: Based on the wiring method and the functional relationships between primary equipment, divide the electrical connections at the same voltage level into one or more independent circuit bays; the wiring methods include 3 / 2 wiring, single busbar wiring, single busbar segmented wiring, single busbar with bypass busbar wiring, single busbar segmented wiring with bypass busbar wiring, double busbar wiring, double busbar segmented wiring, double busbar with bypass busbar wiring, or double busbar segmented wiring with bypass busbar wiring, specifically including:

[0060] For each voltage level and its corresponding wiring method, first clarify the typical function of the circuit bay under that wiring method (e.g., line bays serve transmission lines, main transformer bays serve transformers, busbar segment bays serve busbar segments). Each bay must contain a set of associated primary equipment that performs a specific function (e.g., line bays include line-side circuit breakers, busbar-side disconnectors, grounding disconnectors, etc.). Then, based on the functional association between primary equipment (e.g., a group of equipment jointly serves the same line), and combined with the structural characteristics of the wiring method, identify the equipment combination with independent functions from the electrical connection topology of that voltage level. For example, in a single busbar connection, the equipment chain of line / main transformer-disconnector-circuit breaker-busbar disconnector-busbar is used as a potential bay; in a 3 / 2 connection, the circuit breaker, disconnector, and line / main transformer connection terminal between the two busbars are used as potential bays. Next, determine whether the potential bays conform to the characteristics of symmetrical bays (the document mentions that the independent bay structures of different voltage levels are similar), eliminate duplicate or functionally overlapping equipment combinations, and ensure that each bay's equipment serves only a single function and does not conflict with other bays. Finally, each independent bay is named (e.g., the 220kV263 line bay), and the list of primary equipment and connection relationships within the bay are recorded to form a table corresponding to voltage level, wiring method, independent bay, and equipment.

[0061] In this embodiment, all voltage levels are accurately identified through topology traversal, avoiding voltage level confusion. For each voltage level, bus configuration and connection patterns are analyzed, and matched and verified using a standard wiring method library to ensure accurate wiring method judgment and compliance with power system specifications. Independent bays are divided based on functional association and symmetry features, ensuring reasonable and non-repetitive bay division and providing clear bay data support for subsequent batch generation of bay diagrams. The entire process relies on automatic topology parsing, replacing the traditional manual methods of analyzing voltage levels, determining wiring methods, and dividing bays, significantly reducing human error and improving topology parsing efficiency.

[0062] In a preferred embodiment of the present invention, step 3, which involves using an automatic layout algorithm to lay out the primary equipment according to the wiring method and independent intervals, and generating the equipment coordinate positions, includes:

[0063] Step 300: Using independent bays as the basic layout unit, identify the main connection paths and primary equipment within each independent bay according to its corresponding wiring method. Specifically, this includes:

[0064] For each independent bay, first retrieve the corresponding wiring method (derived from the result determined in step 201) and the list of primary equipment included (derived from step 202). Based on the structural characteristics of the wiring method, clarify the rules for determining the main connection path. For example, the main path of a 3 / 2 wiring bay consists of two main busbars, a circuit breaker, a disconnector, and a line / transformer connection terminal. The main path of a single busbar wiring bay consists of a main busbar, a busbar-side disconnector, a circuit breaker, a line / transformer-side disconnector, and a line / transformer connection terminal. Next, select the key equipment constituting the main path from the primary equipment of the bay, excluding branch auxiliary equipment such as grounding disconnectors and voltage transformers. Organize the connection relationship of the main equipment according to the logical order of current transmission (from busbar to line / transformer), and record the arrangement order of the equipment on the main path (such as busbar, disconnector, circuit breaker, disconnector, line terminal) to form the main path-equipment list for each independent bay, thus completing the identification of the main connection path and the corresponding primary equipment.

[0065] Step 301: Using a trunk-branch layout method, prioritize the location of devices on the trunk connection path to form a layout baseline, specifically including:

[0066] The automatic layout algorithm's backbone positioning module is activated. First, the drawing coordinate system is determined (with the lower left corner of the drawing as the origin, the horizontal direction as the X-axis, and the vertical direction as the Y-axis). Based on the substation QGDW11162 graphic standard, equipment spacing benchmarks are set (e.g., the horizontal spacing between adjacent circuit breakers is no less than 50mm, and the vertical spacing between busbars and circuit breakers is no less than 30mm). For each bay's backbone path, the backbone direction is determined according to the bay's function (line bay, main transformer bay, segmented bay). Line bay backbones prioritize horizontal routing, while main transformer bay backbones prioritize vertical routing to match the high and low voltage busbar positions. Following the backbone path-equipment list arrangement order, initial coordinates are assigned starting from the path's origin (e.g., busbar): first, the busbar coordinates are fixed, with buses of the same voltage level arranged horizontally along the X-axis, maintaining a unified Y-axis coordinate. Then, the coordinates of subsequent backbone equipment (disconnectors, circuit breakers) are calculated sequentially according to the set equipment spacing, ensuring that the backbone equipment is distributed in a straight line along the set direction without coordinate overlap, forming the benchmark axis for the bay layout and providing a reference for branch equipment layout.

[0067] Step 302: Determine the connection relationship and electrical function between the primary equipment and the main trunk connection path based on the layout datum; classify and sort the primary equipment in the branch section according to the connection relationship and electrical function between the primary equipment and the main trunk connection path to obtain the sorting result, specifically including:

[0068] First, analyze the physical connection points of each branch primary equipment (grounding switch, voltage transformer, current transformer, etc.) to the main trunk connection path (e.g., the grounding switch is connected to the connection node between the circuit breaker and the line-side switch, and the voltage transformer is connected to the bus-side branch node), and record the connection position of each branch equipment. Simultaneously, clarify the electrical functions of the branch equipment (grounding protection, voltage measurement, current acquisition, etc.) and classify the branch equipment according to functional type (e.g., grounding, measurement, protection). Then, sort the branch equipment according to the degree of difference between it and the main trunk path: the degree of difference is determined by the connection distance from the branch equipment to the main trunk reference axis and its functional relevance. The closer the connection distance and the stronger the functional relevance to the main trunk equipment (e.g., the grounding switch directly connected to the circuit breaker), the smaller the degree of difference, and the higher the priority is given to the branch equipment. Conversely, the farther the connection distance and the weaker the functional relevance (e.g., voltage transformers for auxiliary measurement), the greater the degree of difference, and the lower the priority is given to the branch equipment. This final sorting result ensures that branch equipment is prioritized for proximity to the main trunk during subsequent layout, reducing line crossings.

[0069] Step 303: Based on the sorting results and in accordance with the substation graphic design specifications, calculate and determine the coordinate positions of all primary equipment on the main trunk and branches in the drawings, completing the local layout on an independent bay basis. This includes:

[0070] Based on the branch equipment sorting results in step 302, and combined with the minimum spacing requirements between branch equipment and main equipment in the QGDW11162 standard (e.g., the spacing between grounding switches and main circuit breakers should not be less than 20mm), the coordinates of the branch equipment are calculated starting from the connection point of the main reference axis. First, the branch layout direction is determined (branches are preferentially distributed vertically when the main axis is horizontal, and branches are preferentially distributed horizontally when the main axis is vertical). The coordinates are then allocated sequentially according to the sorting order, with the branch equipment at the front being close to the connection point, and subsequent equipment arranged outwards according to the spacing requirements. At the same time, coordinate space is reserved for equipment text labels (to avoid overlap between labels and equipment or other labels). After completing the coordinate calculation of all branch equipment, the coordinates of the main and branch equipment within the entire bay are checked as a whole to see if there are any problems such as equipment overlap or insufficient spacing. If so, the coordinates are finely adjusted (e.g., a horizontal offset of 5-10mm). Finally, the local layout is completed on an independent bay basis, ensuring that the equipment layout within each bay is standardized and clear.

[0071] Step 304: Arrange all independent bays according to their voltage levels and electrical connections to generate the final overall equipment coordinates, specifically including:

[0072] First, group all independent bays with completed local layouts according to the voltage levels determined in step 200 (e.g., 220kV, 110kV, 35kV), following the conventional layout logic of power system drawings (high voltage level on top, low voltage level on the bottom, or high voltage level on the left, low voltage level on the right), and determine the overall arrangement area for different voltage levels (e.g., 220kV bay groups are allocated to the upper half of the drawing, 110kV to the middle half, and 35kV to the lower half). Within the same voltage level, sort by bay type (line bays, transformer bays, busbar segment bays), and group bays with similar functions together (e.g., all line bays are adjacent, and transformer bays are close to their corresponding high and low voltage busbar bays). Then, fine-tune the bay positions according to the electrical connection relationships between bays (e.g., transformer bays need to be connected to both high voltage level busbar bays and low voltage level busbar bays), ensuring that the connection links between bays (e.g., the connection lines between transformers and busbars) are smooth and without intersections. Finally, the coordinate system of all intervals is unified, the local coordinates of each interval are converted into the coordinates of the overall drawing, the final coordinate position of all primary equipment is recorded, and the overall layout is completed.

[0073] In this embodiment, by clearly defining the main path, a core framework is established for the layout, avoiding chaotic equipment placement; the main coordinates are fixed according to standards to ensure a unified layout benchmark and compliance with power industry specifications; branch equipment is categorized and sorted to reduce line intersections in subsequent layouts and improve drawing readability; local layout verification ensures the layout of individual bays is standardized and there are no equipment overlap issues; the overall layout is sorted by voltage level and function to ensure a clear structure and smooth connections in the entire system drawings. The entire process relies on an automatic layout algorithm to replace manual adjustment of equipment positions, significantly shortening the layout time, while strictly adhering to industry standards, reducing errors from manual layout, and improving the standardization and accuracy of power system drawings.

[0074] In a preferred embodiment of the present invention, step 4, based on the device coordinates, automatically generates a main wiring diagram and completes the data association between the primary device and the database, including:

[0075] Step 400: Based on the final overall equipment coordinates, place the corresponding primary equipment graphic symbols according to the coordinates in the graphic drawing interface, and draw connecting lines according to the connection relationships between the primary equipment to generate the graphic framework of the main wiring diagram, specifically including:

[0076] Obtain a primary equipment graphic symbol library conforming to the QGDW11162 graphic standard for substations. This library contains standard graphic symbols for equipment such as circuit breakers, busbars, disconnectors, and transformers, ensuring that the graphic symbols are consistent with power industry standards. Next, call the final overall equipment coordinate position data generated in step 304, and establish a drawing coordinate system matching the coordinate data in the graphic drawing interface. According to the correspondence between equipment identifier, coordinate, and graphic symbol, accurately place the graphic symbol of each primary equipment in the corresponding coordinate position on the interface to avoid symbol offset or overlap. Then, extract the connection link information (including connection port and link path) of each equipment from the connection relationship between primary equipment constructed in step 102. Draw connecting lines between the connection ports of the corresponding equipment graphic symbols according to the link path. The connecting lines use straight lines or standard broken lines (avoiding crossing multiple equipment symbols), and ensure that the connecting lines are accurately connected to the equipment ports. After completing the placement of all symbols and drawing of connecting lines, perform an integrity check on the graphic framework to check for any missing equipment symbols, broken connecting lines, or excessive intersections. If any are found, fine-tune the routing of the connecting lines to finally generate a complete and compliant main wiring diagram graphic framework.

[0077] Step 401: Bind the graphic symbol of each primary device in the graphic framework of the main wiring diagram to the device path information parsed from the SSD model to establish the correspondence between graphic elements and device models. This specifically includes:

[0078] From the main wiring diagram graphical framework generated in step 400, the unique identifier (such as symbol name and coordinate label) of each primary equipment graphic symbol is extracted one by one, and associated with the actual information of the primary equipment corresponding to the symbol (derived from the equipment identifier and type in step 101). Next, the equipment path information of the primary equipment in the SSD model parsed in step 103 is retrieved. The hierarchical format is voltage level-interval name-equipment name. Through the element-model binding function of the drawing module, the unique identifier of the equipment graphic symbol is associated and stored with the corresponding equipment path information, forming a mapping table of graphic symbol identifier-equipment path. Then, the mapping relationship is uniquely verified to ensure that one graphic symbol is bound to only one equipment path, and one equipment path corresponds to only one graphic symbol, avoiding many-to-one or one-to-many binding errors. Finally, a precise correspondence is established between each graphic symbol in the main wiring diagram and the equipment model within the SSD model.

[0079] Step 402: Based on the device path information, associate the primary device and its bound measurement point data with the corresponding data points in the SCADA monitoring database, specifically including:

[0080] First, read the graphic symbol identifier-device path mapping table established in step 401, and the primary equipment bound measurement point data (including measured values ​​and status points) extracted in step 103. Since the database already stores data according to the primary equipment path, the corresponding equipment data entries are retrieved from the SCADA monitoring database using the equipment path as the matching keyword. This includes the real-time operation data storage address of the equipment and measurement point data fields (such as current, voltage, and open / close status fields). The primary equipment and its bound measurement point data are then associated with the corresponding data points retrieved from the database. For example, the open / close status measurement point of a circuit breaker is associated with the status field under the circuit breaker path in the database, and the current measurement value measurement point is associated with the current field in the database. After the association is completed, a linkage test is performed to simulate data updates in the database and check whether the corresponding equipment graphic symbols in the main wiring diagram can synchronously reflect data changes (such as symbol color switching when status points change). This ensures the association is effective, ultimately achieving automatic data association between the primary equipment and the SCADA monitoring database.

[0081] In this embodiment, the main wiring diagram framework is generated based on standard symbols and coordinates, ensuring that the graphics conform to power industry standards and avoiding the non-standard problems of manual drawing. A precise correspondence is established between graphic elements and equipment models, building a crucial bridge for data association and reducing errors caused by mismatches between graphic elements and equipment. Automatic data association is achieved through equipment paths, replacing the tedious manual database binding operation and significantly reducing the workload of data association. The entire process integrates automatic generation of the main wiring diagram and automatic data association, not only shortening the drawing and data binding time from several days to minutes, but also ensuring the accuracy of graphic standardization and data association.

[0082] In a preferred embodiment of the present invention, step 5 involves automatically identifying the interval type based on the independent intervals in the main wiring diagram and generating interval diagrams in batches using a dynamic template. The dynamic template completes the data association between the devices in the interval diagram and the database by replacing wildcards with actual interval names and device names.

[0083] Step 500: Based on the independent bays already divided in the main wiring diagram, analyze the composition and connection characteristics of the primary equipment within each bay, and automatically identify its bay type, specifically including:

[0084] Retrieve information about each independent bay from the main wiring diagram, including a list of all primary equipment within the bay (such as circuit breakers, disconnectors, grounding switches, etc.), equipment types, and connection relationships between equipment (derived from the bay equipment association data determined in step 202); analyze the core functional characteristics of each bay. If the bay contains line-side access equipment (such as line disconnectors, line-side circuit breakers) and is directly connected to the transmission line, it is determined to be a line bay; if the equipment within the bay is directly associated with the high and low voltage side connection terminals of the transformer, it is determined to be a transformer bay; if the bay only contains busbar sectionalizing switches and sectionalizing disconnectors, it is determined to be a busbar sectionalizing bay; if the bay contains bypass busbar access related equipment (such as bypass busbar disconnectors, bypass busbar circuit breakers), it is determined to be a bypass busbar bay. The analyzed bay functional characteristics are matched with the preset bay type characteristic library (covering common bay types such as lines, main transformers, busbar sections, and bypass busbars), and then logical verification is performed. For example, line bays must meet the connection logic of line-disconnector-circuit breaker-busbar disconnector-busbar. Finally, the specific type of each independent bay is determined, and the association information between the bay type and the corresponding equipment composition is recorded.

[0085] Step 501: Based on the interval type, match the corresponding dynamic template from the preset interval diagram template library. The dynamic template contains preset device graphics, connection relationships, and database paths containing wildcards, specifically including:

[0086] A pre-built bay diagram template library is established. Each dynamic template in the library corresponds to a bay type (e.g., line bay template, main transformer bay template). Each template contains standard equipment graphics for that type of bay (e.g., the line bay template includes standard graphics of line-side disconnectors, circuit breakers, and grounding switches), fixed connection relationships between equipment (e.g., the connection route between disconnectors and circuit breakers), and database paths with wildcards (e.g., {bay name}-{equipment name}-status, {bay name}-{equipment name}-telemetry value; wildcards are used to replace actual information later). Based on the type of each independent bay determined in step 500, the corresponding dynamic template is selected from the template library. For example, line bays match line bay dynamic templates, and main transformer bays match main transformer bay dynamic templates. After matching, the template integrity verification function checks whether the template contains complete equipment graphics, connection relationships, and wildcard database paths. If any are missing, a backup template is automatically retrieved or a prompt for supplementation is given, ensuring that the matched dynamic template can be directly used for subsequent customized generation.

[0087] Step 502 involves batch replacing the wildcards in the matching dynamic template with the actual interval name and the specific device name of the included device for the current independent interval, generating a customized graphical and data binding relationship for the independent interval, specifically including:

[0088] First, extract the actual information of the current independent bay: obtain the actual bay name (e.g., 220kV 263 line bay) from the bay identifier in the main wiring diagram, and obtain the specific equipment name of each primary device contained in the bay (e.g., 2633 disconnector, 263 circuit breaker, 263 grounding switch) from the bay equipment list. Next, activate the wildcard replacement function, iterating through all content containing wildcards in the matched dynamic template. Batch replace the {bay name} wildcard in the template with the actual bay name of the current bay, and batch replace the {equipment name} wildcard with the specific equipment name of the corresponding device within the bay. For example, replace {bay name}-{equipment name}-status in the template with 220kV 263 line bay-263 circuit breaker-status. After the replacement is complete, generate a customized graphic for the bay, including equipment graphics labeled with the actual equipment names and lines matching the actual equipment connections. Simultaneously, establish a customized data binding relationship, i.e., the association between the replaced database path and the corresponding device. Verify that the format of the replaced database path conforms to the storage rules of the SCADA monitoring database to ensure the path can be recognized by the database and avoid invalid bindings.

[0089] Step 503: Based on the customized graphic and data binding relationship, batch draw and generate interval diagrams for all independent intervals, and complete the automatic data association between each device in the interval diagram and the SCADA monitoring database, specifically including:

[0090] Based on the customized graphics of each independent bay generated in step 502, the equipment graphics and connecting lines are drawn sequentially in the drawing interface according to the preset equipment layout logic of the template (e.g., the left side of the bay diagram is the wiring diagram and the right side is the measurement point display area). The actual bay name and equipment name are labeled to complete the bay diagram drawing for a single bay. Simultaneously, based on the replaced database path in the customized data binding relationship, the SCADA data association module is called to automatically associate the measurement points of each device in the bay diagram (e.g., circuit breaker status, current telemetry value) with the corresponding data points in the SCADA monitoring database. For example, the opening and closing status measurement point of circuit breaker 263 in the bay diagram is associated with the data field "220kV263 line bay - 263 circuit breaker - status" in the database. After association, a batch linkage test is performed to simulate the update of measurement point data in the database and check whether all bay diagrams can synchronously display data changes, such as current value updates and status indicator light switching, confirming the association is effective. Finally, bay diagrams for all independent bays are generated in batches, and each bay diagram completes automatic data association with the SCADA monitoring database without manual binding.

[0091] In this embodiment, automatic interval type identification replaces manual interval judgment, reducing human classification errors and ensuring the accuracy of interval type matching with subsequent templates. Dynamic templates based on type matching avoid repetitive template design for each interval, reducing template creation workload. Batch replacement of wildcards enables customization, quickly generating graphics and data binding relationships that match actual intervals, shortening customization time. Batch drawing of interval diagrams and automatic data association reduce the workload of traditional manual drawing and data binding (which used to take days) to minutes, while avoiding errors from manual data binding. The entire process achieves full automation of interval diagrams from type identification to data association, significantly improving engineering efficiency, reducing R&D and maintenance costs, and ensuring consistency between interval diagrams and database data.

[0092] like Figure 2 As shown, the automatic power mapping system based on topology recognition includes:

[0093] The acquisition module is used to parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationship between primary equipment, and the measurement point data bound to the primary equipment.

[0094] The analysis module is used to determine the wiring methods and independent bays for different voltage levels based on the connection relationships between primary equipment and the power grid topology analysis.

[0095] The layout module is used to lay out the primary equipment according to the wiring method and independent intervals, and generate the coordinate positions of the equipment.

[0096] The association module is used to automatically generate a main wiring diagram based on the coordinate position of the device and complete the data association between the device and the database.

[0097] The processing module is used to automatically identify the bay type based on the independent bays in the main wiring diagram, and generate bay diagrams in batches using dynamic templates. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names.

[0098] The prediction system according to embodiments of the present invention can correspond to performing the methods described in the embodiments of the present invention, and the above and other operations and / or functions of each module of the prediction system are respectively for implementing Figure 1 The corresponding process of the method in the illustrated embodiment will not be described in detail here for the sake of brevity.

[0099] This application also provides a computing device. This computing device can utilize a server.

[0100] like Figure 3As shown in the figure, this is a schematic diagram of a computing device provided in an embodiment of this application. The computing device 700 includes a bus 701, a processor 702, a communication interface 703, and a memory 704. The processor 702, the memory 704, and the communication interface 703 communicate with each other via the bus 701.

[0101] The 701 bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 3 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0102] The processor 702 can be any one or more of the following processors: central processing unit (CPU), graphics processing unit (GPU), microprocessor (MP), or digital signal processor (DSP).

[0103] Communication interface 703 is used for external communication. Memory 704 may include volatile memory, such as random access memory (RAM). Memory 704 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD). Memory 704 stores executable code, which processor 702 executes to perform the aforementioned industrial equipment remaining life prediction method.

[0104] Specifically, in implementing the industrial equipment remaining life prediction system shown in the above embodiments, and where each module or unit of the industrial equipment remaining life prediction system described in the above embodiments is implemented by software, the software or program code required to execute the functions of each module / unit in the industrial equipment remaining life prediction system described in the above embodiments can be partially or entirely stored in the memory 704. The processor 702 executes the program code corresponding to each unit stored in the memory 704 to execute the aforementioned industrial equipment remaining life prediction method.

[0105] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct a computing device to execute the aforementioned industrial equipment remaining life prediction method.

[0106] This application also provides a computer program product comprising one or more computer instructions. When the computer instructions are loaded and executed on a computing device, all or part of the processes or functions described in this application are generated.

[0107] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, or data center to another website, computer, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0108] When the computer program product is executed by a computer, the computer performs any of the aforementioned methods for predicting the remaining useful life of industrial equipment. The computer program product can be a software installation package; when any of the aforementioned methods for predicting the remaining useful life of industrial equipment is required, the computer program product can be downloaded and executed on the computer.

[0109] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for automatic power mapping based on topology recognition, characterized in that, The method includes: Parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationships between primary equipment, and the measurement point data bound to the primary equipment; Based on the connection relationships between primary equipment, the wiring methods and independent bays for different voltage levels are determined through power grid topology analysis. Based on the wiring method and independent intervals, an automatic layout algorithm is used to lay out the primary equipment and generate the equipment coordinate positions; Based on the device's coordinates, a main wiring diagram is automatically generated, and a primary data association between the device and the database is completed. Based on the independent bays in the main wiring diagram, the bay type is automatically identified, and bay diagrams are generated in batches using dynamic templates. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names.

2. The automatic power mapping method based on topology recognition according to claim 1, characterized in that, Parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationships between primary equipment, and the measurement point data bound to the primary equipment, including: Extract the SSD model from the SCD file. The SSD model includes a primary equipment model, an auxiliary control equipment model, and regional geographic information data. Parse the primary device model in the SSD model to obtain the device type, device identifier, and electrical parameters of all primary devices; Based on the connection node information between primary devices in the SSD model, the connection relationship between primary devices is constructed, which includes electrical connection topology and inter-device links; The measurement point data bound to the primary device in the SSD model is parsed. The measurement point data includes the measured value, status point and device path information.

3. The automatic power mapping method based on topology recognition according to claim 2, characterized in that, Based on the connection relationships between primary equipment, the wiring methods and independent bays for different voltage levels are determined through power grid topology analysis, including: Based on the connection relationships between primary devices, all different voltage levels in the power system are identified through topology traversal. For each voltage level, analyze its bus configuration and primary equipment connection mode to determine the wiring method for the voltage level; Based on the wiring method and the functional relationship between primary equipment, electrical connections at the same voltage level are divided into one or more independent circuit bays.

4. The automatic power mapping method based on topology recognition according to claim 3, characterized in that, The wiring methods include 3 / 2 wiring, single bus wiring, single bus segmented wiring, single bus with bypass bus wiring, single bus segmented wiring with bypass bus wiring, double bus wiring, double bus segmented wiring, double bus with bypass bus wiring, or double bus segmented wiring with bypass bus wiring.

5. The automatic power mapping method based on topology recognition according to claim 4, characterized in that, Based on the wiring method and independent intervals, an automatic layout algorithm is used to lay out the primary equipment and generate the equipment coordinate positions, including: Using independent bays as the basic layout unit, identify the main connection path and the primary equipment contained within each independent bay according to its corresponding wiring method. A trunk-branch layout method is adopted to prioritize the location of devices on the trunk connection path and form a layout benchmark. Based on the layout datum, determine the connection relationship and electrical function of the primary equipment and the main trunk connection path; based on the connection relationship and electrical function of the primary equipment and the main trunk connection path, classify and sort the primary equipment in the branch section to obtain the sorting result; Based on the sorting results and in accordance with the substation graphic design specifications, the coordinate positions of all primary equipment on the main trunk and branches in the drawings are calculated and determined in sequence to complete the local layout in units of independent bays. All independent partitions are arranged according to their voltage levels and electrical connections to generate the final overall equipment coordinates.

6. The automatic power mapping method based on topology recognition according to claim 5, characterized in that, Based on the device's coordinates, a main wiring diagram is automatically generated, and a primary data association between the device and the database is completed, including: Based on the final overall equipment coordinates, place the corresponding primary equipment graphic symbols in the graphic drawing interface according to the coordinates, and draw connecting lines according to the connection relationship between the primary equipment to generate the graphic framework of the main wiring diagram. Bind each primary device graphic symbol in the main wiring diagram's graphical framework to the device path information parsed from the SSD model to establish a correspondence between graphic elements and the device model. Based on the device path information, the primary device and its bound measurement point data are associated with the corresponding data points in the SCADA monitoring database.

7. The automatic power mapping method based on topology recognition according to claim 6, characterized in that, Based on the independent bays in the main wiring diagram, the bay type is automatically identified, and bay diagrams are generated in batches using dynamic templates. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names, including: Based on the independent bays already divided in the main wiring diagram, analyze the composition and connection characteristics of the primary equipment in each bay, and automatically identify its bay type; Based on the interval type, a corresponding dynamic template is matched from the preset interval diagram template library. The dynamic template contains preset device graphics, connection relationships, and database paths containing wildcards. The wildcards in the matching dynamic template will be replaced in batches with the actual interval name and the specific device name of the included device in the current independent interval, generating a customized graphical and data binding relationship for the independent interval. Based on the customized graphic and data binding relationship, batch draw and generate interval diagrams for all independent intervals, and complete the automatic data association between each device in the interval diagram and the SCADA monitoring database.

8. An automatic power mapping system based on topology identification, wherein the system implements the method as described in any one of claims 1 to 7, characterized in that, include: The acquisition module is used to parse the SSD model in the SCD file to obtain the primary power equipment, the connection relationship between primary equipment, and the measurement point data bound to the primary equipment. The analysis module is used to determine the wiring methods and independent bays for different voltage levels based on the connection relationships between primary equipment and the power grid topology analysis. The layout module is used to lay out the primary equipment according to the wiring method and independent intervals, and generate the coordinate positions of the equipment. The association module is used to automatically generate a main wiring diagram based on the coordinate position of the device and complete the data association between the device and the database. The processing module is used to automatically identify the bay type based on the independent bays in the main wiring diagram, and generate bay diagrams in batches using dynamic templates. The dynamic templates complete the data association between the devices in the bay diagram and the database by replacing wildcards with the actual bay names and device names.

9. A computing device, characterized in that, Including memory and processor; The memory stores one or more computer programs, the one or more computer programs including instructions; when the instructions are executed by the processor, the computing device performs the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for performing the method as described in any one of claims 1 to 7.