Automatic mapping method and system for main wiring of SCD file topology connection

By analyzing the SCD file to generate topological connection codes, the main wiring diagram of the substation is automatically drawn, which solves the problems of time-consuming and complex wiring difficulties in the existing technology, and realizes efficient and accurate automatic generation of the main wiring diagram.

CN120408910APending Publication Date: 2025-08-01INTEGRATED ELECTRONICS SYST LAB
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202510367018.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The prior art has the problem of manual drawing taking time and error prone to drawing the main wiring diagram of the substation monitoring system, and the existing automatic drawing method cannot handle complex wiring types such as 3/2 wiring or spacing belt branch wiring.

Method used

By analyzing the SCD file, building a data model, generating topological connection codes, automatically drawing interval primitives based on the encoding, and automatically matching the main wiring diagram layout according to the voltage level, bus type and wiring method, avoiding the overlap of connection lines, and automatic generation of main variable and main variable interval connection lines are realized.

Benefits of technology

The automatic diagram of the main wiring diagram of the substation monitoring system is realized, which improves the drawing efficiency and accuracy, especially the ability to deal with complex wiring types, reduces labor costs, and improves the automation and accuracy of graphics drawing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120408910A_ABST
    Figure CN120408910A_ABST
Patent Text Reader

Abstract

The invention provides a main wiring automatic mapping method and system for SCD file topological connection, and the method comprises the steps: forming a topological connection code of equipment in a gap by taking the gap as an object through automatic analysis and recognition of primary equipment described by transformer substation configuration in a transformer substation SCD file and a topological connection relation of the primary equipment; building and layout of device primitives in the interval and generation of connecting lines are completed based on topology connection coding, and therefore automatic generation of interval primitives is completed; the layout mode of the main wiring diagram is automatically deduced by analyzing various characteristics such as the voltage class, the bus type and the wiring mode of the transformer substation, and automatic matching of the layout of the main wiring diagram is achieved; by analyzing the position relation between the main transformer and the voltage grade, analyzing the direction of the connecting line and setting a proper connecting line inflection point, the intersection and overlapping of the connecting line are avoided, and the automatic generation of the main transformer and the main transformer interval connecting line is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of visualization of substation configuration files, and particularly relates to a method and system for automatically generating a main wiring diagram of topological connections in an SCD file. Background Technique

[0002] The statements in this part only provide background technical information related to the present invention and do not necessarily constitute prior art.

[0003] The System Configuration Description (SCD) file of an intelligent substation mainly describes the substation configuration, communication configuration, and IED configuration during the implementation of a substation project. The substation configuration therein mainly refers to the primary equipment of the substation, the topological connection relationship based on the electrical wiring diagram, and the association relationship between primary and secondary equipment. According to the substation configuration in the SCD file, the automatic generation of the main wiring diagram of the substation can be realized, thereby reducing most of the workload during the substation construction process and improving the accuracy and efficiency of the substation graphic drawing work.

[0004] Currently, there are mainly two ways to generate the main wiring diagram of an intelligent substation monitoring system: manual drawing or automatic generation. When generating the main wiring diagram by manual drawing, the workload is large, it takes a long time, and errors are likely to occur. While using the automatic method to generate the main wiring diagram can reduce labor costs and improve the accuracy of graphic drawing. There are mainly two existing automatic mapping methods. One is the automatic mapping method based on feature templates, which relies on the pre-constructed interval template library or main wiring diagram template library, and there may be problems such as template library matching failure or error. The other method is the automatic mapping method based on SSD. However, the existing methods are mainly for specific main wiring methods and cannot handle some complex wiring types such as 3 / 2 wiring or interval with branch wiring methods, etc. Summary of the Invention

[0005] In order to solve the above problems, the present invention proposes a method and system for automatically generating a main wiring diagram of topological connections in an SCD file. The present invention automatically parses and identifies the primary equipment and its topological connection relationship described in the substation configuration in the substation SCD file, forms a topological connection code for the equipment within the interval with the interval as the object; based on the topological connection code, completes the construction, layout of the equipment graphic elements within the interval, and the generation of connection lines, thereby completing the automatic generation of the interval graphic elements; automatically infers the layout method of the main wiring diagram by analyzing various characteristics such as the substation voltage level, bus type, and wiring method, and realizes the automatic matching of the main wiring diagram layout; by analyzing the positional relationship between the main transformer and the voltage level, etc., analyzes the direction of its connection line, sets appropriate connection line inflection points, and avoids the intersection and overlap of connection lines, and completes the automatic generation of the connection line between the main transformer and the main transformer interval.

[0006] According to some embodiments, the present invention adopts the following technical solutions:

[0007] A method for automatically generating a main wiring diagram of the topological connection of an SCD file, comprising the following steps:

[0008] Parse the SCD file, determine the substation configuration, construct a data model, and classify the intervals;

[0009] Based on the data model, search and traverse the connection relationships according to the interval types, and mark the search order and connection relationships in sequence according to the device types and device identifiers to generate topological connection codes;

[0010] According to the topological connection codes, draw interval graphic elements centered on the interval objects to generate a main wiring diagram;

[0011] According to the substation voltage level, bus type, and wiring method, adjust the layout of the generated main wiring diagram, and mark the measurement information and device information on the adjusted main wiring diagram.

[0012] As an alternative implementation, the process of parsing the SCD file, determining the substation configuration, and constructing a data model includes parsing the SCD file, determining the substation configuration according to the parsing content, and establishing a hierarchical structure including voltage levels, intervals, primary equipment, and endpoints according to the substation configuration to form a data model.

[0013] As an alternative implementation, the process of classifying the intervals includes:

[0014] Dividing the intervals into edge-class intervals, 3 / 2 wiring intervals, main transformer intervals, and bus coupler / section intervals, where the edge-class intervals are intervals containing edge-class devices;

[0015] The 3 / 2 wiring intervals are intervals with a voltage level of 220 kV or above, with 3 device switches and 2 busbars in the interval;

[0016] The main transformer intervals are intervals whose devices include main transformers;

[0017] The bus coupler / section intervals are intervals connecting two busbars.

[0018] As an alternative implementation, the process of searching and traversing the connection relationships according to the interval types includes traversing using a depth-first search algorithm, and when traversing, the traversal path needs to meet the following requirements: for edge-class intervals, the starting point is the edge-class device and the ending point is the busbar device;

[0019] For 3 / 2 wiring intervals, the starting point is the busbar, and the ending point is the other busbar, the connected line, or the main transformer;

[0020] For main transformer intervals, the starting point is the transformer winding and the ending point is the busbar;

[0021] The bus-coupler / sectionalizing interval starts from a busbar and ends at another busbar of the same voltage level.

[0022] As an alternative implementation, the topological connection code includes a symmetric topological connection code and an asymmetric topological connection code. Among them, the device primitives of the interval in the symmetric topological connection code are symmetrically arranged centered on the device in the middle position; the device primitives of the asymmetric topological connection code are arranged in an asymmetric manner.

[0023] As an alternative implementation, according to the topological connection code, when drawing interval primitives centered on the interval object, the process of generating the main wiring diagram includes:

[0024] For a symmetric interval, search the topological connection code of the interval from both ends to the middle. During the search process, perform operations such as creating device primitives, setting primitive coordinates, and connecting lines between primitives, determine whether the relevant devices are at the same level, and draw the devices at the corresponding levels;

[0025] For an asymmetric interval, search the topological connection code of the interval from left to right. During the search process, perform operations such as creating primitives, setting primitive coordinates, and creating connection lines between primitives.

[0026] As a further defined implementation, for a symmetric interval, if the number of devices in the interval is n, then the search level is n / 2. If the device types of the opposite-side devices with the same search serial number as the current device are the same, then these two devices are considered to be at the same level, their vertical coordinates are equal, and their horizontal coordinates differ by a fixed distance; if the device types of the opposite-side devices with the same search serial number as the current device are different, then it is considered that there is only one device at the current device's level.

[0027] When the search serial number is equal to n / 2, if it is a switching device, rotate the device primitive to the horizontal position, and place the primitive coordinates between two symmetric primitives in the upper level; if it is other devices, then the primitive coordinates are directly below the device in the upper level.

[0028] As a further defined implementation, for an asymmetric interval, if it is the topological connection code of an interval with a branched line, define the search order within the topological connection code as horizontal, and the search order of the same serial number between different topological codes as vertical; perform horizontal search for each topological connection code one by one. During the search process, check whether there are different devices vertically, and calculate the corresponding horizontal coordinates and vertical coordinates according to whether there are branches at the current level.

[0029] As a further defined embodiment, if there are multiple devices vertically at this level and only one device at the previous level, it is considered that a branch appears at this level; when calculating the graphic element coordinates of the device, taking the set graphic element coordinates as the center coordinates of the graphic element, calculate the distance between the graphic elements of this layer and the previous layer in the vertical direction as half of the sum of the heights of the graphic elements of this layer and the previous layer, plus the length of the connection line;

[0030] If there is no branch in the device of this layer, the horizontal coordinate of the graphic element of this device is the same as the graphic element coordinates of the device of the previous layer, and the vertical coordinate is equal to the vertical coordinate of the device of the previous layer minus the distance in the vertical direction; if there is a branch in the device of this layer, the calculation method of the vertical coordinate of the graphic element of this device is the same as that of the device without branch, and the horizontal coordinates are respectively subtracted by or added with a fixed distance to ensure that the branches do not overlap or cross.

[0031] As an alternative embodiment, if it is the topological connection coding of the 3 / span wiring interval, place the topological connection coding connected to the two busbars under the 3 / span wiring interval at the first position in the search list, first search for it and draw it in the vertical direction to complete the drawing of the axial line of this interval, and then search for the remaining topological connection coding, query whether the graphic element of the currently searched device already exists. If it exists, participate in the calculation of the graphic element coordinates and the size of the circumscribed rectangle of this device, but do not actually create a graphic element. If the graphic element of the current device does not exist and there are multiple devices vertically in the topological coding, the horizontal coordinate of the graphic element of the current device is defaulted to the left side of the axial line.

[0032] As an alternative embodiment, the process of layout adjustment of the generated main wiring diagram according to the substation voltage level, bus type and wiring method includes:

[0033] Determine the layout method of each voltage level in the main wiring diagram according to the number of voltage levels covered by the substation, specify the voltage level position in a pre-configured manner, divide the main wiring diagram into m rows and n columns, where m and n are integers, n≥m, and m*n is greater than or equal to the number of voltage levels. The voltage levels are configured at different positions of the grid as needed to achieve the configurable layout method of the voltage levels;

[0034] Analyze the busbars under the same voltage level. If the number of intervals connecting the two busbars is greater than one, the two busbars are vertically arranged; if there is only one interval connected between the two busbars, the two busbars are horizontally arranged; adjust the busbars under each voltage level;

[0035] Horizontally arrange the graphic elements of the main transformer evenly in the middle position of the main wiring diagram, draw connection lines from the transformer windings to connect the corresponding main transformer intervals, and draw the connection lines led out from the main transformer side in the form of broken lines.

[0036] As a further implementation, the process of adjusting the busbars at each voltage level includes arranging all the busbars at the voltage level in ascending order of the busbar numbers and starting from the busbar with the smallest number for drawing;

[0037] Draw the vertical busbars, and calculate the length of the busbars by cumulatively adding the widths of all the intervals connected to the busbars in the drawn vertical busbar list;

[0038] After the vertical busbars are drawn, adjust the positions of the intervals connected to the busbars so that they are all arranged on both sides of the busbars;

[0039] Draw the horizontal busbars, and the length of the busbars is the sum of the widths of all the intervals connected to the drawn busbars;

[0040] After all the busbars at the current voltage level are drawn, create the connection lines between the busbars and the intervals.

[0041] As a further implementation, the process of drawing the connection lines led out from the main transformer side in the form of broken lines has different selection rules for the connection lines according to the number of endpoints of the connection lines. Specifically:

[0042] If the voltage level is below the main transformer, the connection line between the main transformer interval on this side and the main transformer equipment has three endpoints. The starting endpoint and the ending endpoint are respectively on the main transformer equipment and the main transformer interval. The horizontal coordinate of the middle broken-line endpoint takes the horizontal coordinate of the main transformer interval, and the vertical coordinate takes the vertical coordinate of the main transformer;

[0043] If the main transformer interval is located between two busbars, the connection line adopts a four-endpoint connection line. The starting endpoint and the ending endpoint are respectively on the main transformer equipment and the main transformer interval. The four-endpoint connection line is divided into two categories. If the voltage level is in the upper left of the main transformer, the connection line passes from the right side of the busbar; if the voltage level is in the upper right of the main transformer, the connection line passes from the left side of the busbar; if the voltage level is above the main transformer, the connection line passes from the right side of the busbar;

[0044] For other intervals except the intervals with three endpoints and four endpoints, a five-endpoint connection line is used to connect the main transformer equipment. The connection method of four of the endpoints is the same as that of the four-endpoint connection line, and the horizontal coordinate of the other endpoint is the same as the horizontal coordinate of the main transformer interval, and the vertical coordinate takes the vertical coordinate of the main transformer interval minus a fixed distance.

[0045] As an alternative implementation, the process of annotating the measurement information and equipment information in the adjusted main wiring diagram includes: using the method of matching the English names and keywords to identify and filter out the required measurements in the associated logical nodes. First, search the DO nodes under the logical devices associated with the primary equipment, and find the required measurements according to the English names of the nodes. If not found, then perform a second-round search by matching keywords according to the descriptions and names of the nodes;

[0046] The device information includes a device number, and the position of the device number depends on the display direction of the device graphic element. If the device graphic element is placed vertically, the device number is default at one end in the horizontal direction of the graphic element. If the device graphic element is placed horizontally, the device number is default on one side in the vertical direction of the graphic element; if there are branches within the interval, the device numbers of the branches are placed on the other side of the graphic element to avoid overlap.

[0047] A main wiring automatic mapping system for topological connection of SCD files, comprising:

[0048] A preprocessing module, configured to parse the SCD file, determine the substation configuration, construct a data model, and classify the intervals;

[0049] A topological connection coding generation module, configured to search and traverse the connection relationships according to the interval types based on the data model, mark the search order and connection relationships in sequence according to the device type and device identifier, and generate topological connection codes;

[0050] A main wiring diagram production module, configured to draw interval graphic elements centered on interval objects according to the topological connection codes to generate a main wiring diagram;

[0051] A main wiring diagram optimization module, configured to perform layout adjustment on the generated main wiring diagram according to the substation voltage level, bus type, and wiring method, and label the measurement information and device information on the adjusted main wiring diagram.

[0052] A computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps in the above method.

[0053] An electronic device, comprising a memory, a processor, and computer instructions stored on the memory and running on the processor, which, when run by the processor, complete the steps in the above method.

[0054] Compared with the prior art, the beneficial effects of the present invention are:

[0055] The present invention proposes a method for automatically generating a main wiring diagram for topological connection of substation SCD files. First, an interval topological connection code is constructed based on the topological connection relationships in the substation SCD to represent the devices and their connection relationships within the interval, and based on the topological connection codes, the proposed interval drawing algorithm is used to realize the automatic drawing of interval graphic elements; secondly, by analyzing the voltage level, bus, and wiring characteristics of the intervals in the SCD file, the layout of the voltage level, bus, and intervals is automatically matched; finally, a suitable connection method is automatically selected according to the layout methods of the voltage level, bus, and intervals to create connection lines, which can better prevent the phenomenon of connection line crossing and overlapping, thereby realizing the full automation of the main wiring diagram generation of the substation monitoring system.

[0056] The present invention automatically infers the layout method of the main wiring diagram by analyzing various characteristics such as the substation voltage level, bus type, and wiring method, realizing the automatic matching of the main wiring diagram layout; by analyzing the positional relationship between the main transformer and the voltage level, etc., analyzing the direction of its connecting line, setting appropriate inflection points of the connecting line, avoiding the cross - overlap of the connecting lines, and completing the automatic generation of the connecting lines between the main transformer and the main transformer interval, taking into account the correctness, rationality, and aesthetics of the main wiring diagram layout.

[0057] The present invention can efficiently graphically display the topological relationship and connection relationship of the devices in the SCD file, helping engineering personnel to more intuitively and quickly understand the substation configuration information, and contributing to improving the work efficiency of on - site engineering configuration and verification.

[0058] Compared with the existing automatic drawing methods, the method proposed by the present invention does not need to rely on the graphic file template library, especially for better processing of complex wiring types such as 3 / 2 wiring or interval with branch wiring, with higher automation degree, higher accuracy, and easier promotion of the application scope.

[0059] To make the above - mentioned objects, features, and advantages of the present invention more obvious and understandable, the following specifically gives preferred embodiments and, in conjunction with the accompanying drawings, makes a detailed description as follows. Brief Description of the Drawings

[0060] The specification drawings forming a part of the present invention are used to provide a further understanding of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention.

[0061] Figure 1 It is a flowchart of the automatic generation of the main wiring diagram of a substation in an embodiment;

[0062] Figure 2 It is a flowchart of the automatic generation algorithm of the graphic elements of the bus - tie / sectionalizing interval in an embodiment;

[0063] Figure 3 It is a flowchart of the automatic generation algorithm of the graphic elements of the intervals other than the bus - tie / sectionalizing interval in an embodiment;

[0064] Figure 4 It is a layout diagram of the substation voltage level in an embodiment;

[0065] Figure 5 It is a structure diagram of the substation data model in an embodiment;

[0066] Figure 6 It is a schematic diagram of the topological analysis of the edge - type interval in an embodiment;

[0067] Figure 7 It is a schematic diagram of the topological analysis of the 3 / 2 - wiring type interval in an embodiment;

[0068] Figure 8 It is a flowchart for analyzing the voltage level layout of an embodiment;

[0069] Figure 9 It is a schematic diagram of the connection lines of the main transformer interval of an embodiment. Specific embodiments

[0070] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0071] It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs.

[0072] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0073] In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0074] Embodiment 1

[0075] A method for automatically generating a main wiring diagram for the topological connection of an SCD file is described by taking its application to an intelligent substation system as an example. As Figure 1 shown, it specifically includes the following steps:

[0076] Step S1: Parse the SCD file, determine the substation configuration, construct a data model, and classify the intervals;

[0077] In this embodiment, the process of parsing the SCD file, determining the substation configuration, and constructing a data model includes parsing the SCD file, determining the substation configuration according to the parsed content, and establishing a hierarchical structure including voltage levels, intervals, primary equipment, and endpoints according to the substation configuration, as Figure 5 shown, to form a data model;

[0078] Classify the intervals. In this embodiment, they are classified into edge type intervals, 3 / 2 wiring intervals, main transformer intervals, bus coupler / sectionalizing intervals, etc.

[0079] Among them, the edge type interval is: an interval containing edge type equipment (line, capacitor, reactor, PT, station service transformer) within the interval; as Figure 6As shown in the figure, the interval starts from Line 1, searches for the connection relationships of the devices within the interval, branches at Disconnector 1 and Disconnector 2, and is respectively connected to Bus 1 and Bus 2. Therefore, it can be concluded that there are 2 topological connection codes for this interval, representing the two device connection paths of this interval. The first path is from Line 1 to Bus 1, and the second path is from Line 1 to Bus 2.

[0080] The 3 / 2 wiring interval is: an interval with a voltage level of 220 kV and above, where the number of device switches within the interval is 3 and the number of buses is 2; such as Figure 7 As shown in the figure, this interval starts from Bus 2 for searching, and 3 topological connection codes are obtained, which are respectively from Bus 2 to Line 2, from Bus 2 to Line 1, and from Bus 2 to Bus 1.

[0081] The main transformer interval is: an interval whose devices within the interval include a main transformer;

[0082] The bus coupler / sectionalizer interval is: an interval connecting two buses.

[0083] Step S2: Based on the constructed hierarchical data model, search and traverse the connection relationships according to the interval type, and mark the search order and connection relationships in sequence according to the device type and device identifier to generate topological connection codes;

[0084] Among them, the topological connection code of an interval refers to a code string formed by splicing the device identifiers within the interval according to the connection relationship. Among them, the topological connection code of the edge type interval starts from edge devices such as lines, ends with buses, searches for the connection paths of the devices, and thus obtains one or more code strings.

[0085] In this embodiment, the depth - first search algorithm is used to traverse the connection relationships, and the device type and device identifier are used to mark the search order and connection relationships in sequence to generate topological connection codes.

[0086] The traversal path rules need to meet the following:

[0087] The 3 / 2 wiring interval starts from the bus it is connected to, ends with another bus, the connected line or the main transformer, searches for the device connection path and splices the device identifiers to form; the bus coupler / sectionalizer interval searches for the device connection path and splices it with the two buses connected by the interval as the start and end points; the main transformer interval analyzes with the corresponding side transformer winding as the starting point and the bus as the ending point.

[0088] The topological connection codes generated according to the characteristics of each interval type are divided into two types:

[0089] Symmetric topological connection codes: For example, the bus coupler / sectionalizer interval "[Bus 1 - Disconnector 1 - Earthing Switch 1 - Switch - Earthing Switch 2 - Disconnector 2 - Bus 2]", the device graphic elements of this type of interval are symmetrically arranged with the device in the middle position as the center.

[0090] Asymmetric topological connection coding: For example, the edge class interval "[capacitor - disconnector - trolley 1 - switch - trolley 2 - busbar]", the 3 / 2 wiring interval "[busbar 1 - disconnector 1 - earthing switch 1 - switch 1 -... - busbar 2], [busbar 1 - disconnector 1 - earthing switch 1 - switch 1 -... - line 1], [busbar 1 - disconnector 1 - earthing switch 1 - switch 1 -... - line 2]", the main transformer interval "[medium - voltage side winding - earthing switch 1 - disconnector 1 - earthing switch 2 - switch 1 - earthing switch 3 - disconnector 1 - busbar 1], [medium - voltage side winding - earthing switch 1 - disconnector 1 - earthing switch 2 - switch 1 - earthing switch 3 - disconnector 2 - busbar 2]". The device graphic elements of such intervals are arranged in an asymmetric manner.

[0091] Step S3: According to the topological connection coding, draw interval graphic elements centered on the interval object to generate a main wiring diagram;

[0092] In this embodiment, it mainly includes the following steps:

[0093] (1) Draw symmetric intervals

[0094] Search for the topological connection coding of the interval from both ends to the middle. During the search process, operations such as creating device graphic elements, setting graphic element coordinates, and connecting lines between graphic elements are performed. If the number of devices in the interval is n, the search level required is n / 2. If the device types of the opposite - side devices with the same search serial number as the current device are also the same, it is considered that these two devices are at the same level, and their vertical coordinates are equal, and the horizontal coordinates differ by a fixed distance; if the device types of the opposite - side devices with the same search serial number as the current device are different, it is considered that there is only one device at the current level.

[0095] When the search serial number is equal to n / 2, different processing is performed according to the device type: If it is a switching device, rotate the device graphic element to the horizontal position, and place the graphic element coordinates between two symmetric graphic elements in the previous level. If it is other devices, the graphic element coordinates are directly below the device in the upper level.

[0096] (2) Draw asymmetric intervals

[0097] Search for the topological connection coding of the interval from left to right. During the search process, operations such as creating graphic elements, setting graphic element coordinates, and creating connecting lines between graphic elements are performed. For simple wiring intervals such as capacitor intervals and outgoing line intervals, the topological connection coding starts from the edge - type device and ends at the busbar, and there is only one such coding. Therefore, the automatic generation process of the graphic elements of such intervals is relatively simple, and existing algorithms can be selected and will not be elaborated here.

[0098] For intervals with branched lines or 3 / 2 wiring intervals, etc., the topological connection coding has multiple and relatively complex ones. The automatic generation process of the graphic elements of complex wiring intervals in this embodiment is as follows:

[0099] By analyzing the topological connection codes of the intervals with branched lines, it is found that the characteristics of this type of interval are that it has multiple topological connection codes, and the starting points of the codes are all the same edge devices, and the end points are different buses under the same voltage level. The search order within the topological connection code is defined as horizontal, and the search order of the same sequence number between different topological codes is vertical. First, conduct a horizontal search for each topological connection code one by one. During the search process, check whether there are different devices vertically. If there are multiple devices vertically at this level and only one device at the previous level, it is considered that a branch appears at this level.

[0100] When calculating the graphic element coordinates of the device, if the set graphic element coordinates are the center coordinates of the graphic element, then the distance D in the vertical direction between the graphic elements of this layer and the previous layer = height of the graphic element of this layer / 2 + height of the graphic element of the upper layer / 2 + connection line length. If there is no branch in the device of this layer, the horizontal coordinate of the graphic element of this device is the same as the graphic element coordinate of the device of the previous layer, and the vertical coordinate is equal to the vertical coordinate of the device of the previous layer minus the distance D in the vertical direction; if there is a branch in the device of this layer, the calculation method of the vertical coordinate of the graphic element of this device is the same as that of the device without a branch, while the horizontal coordinate needs to subtract or add a fixed distance respectively to ensure that the branches do not overlap or cross.

[0101] By analyzing the intervals of the 3 / 2 wiring, it is found that the starting points of the multiple topological connection codes of this type of interval are buses of the same voltage level, and the end points may be other edge devices such as another bus, line, and high-voltage side of the main transformer of the same voltage level.

[0102] Place the topological connection code connected to two buses under the 3 / 2 wiring interval at the first position in the search list, first search it and draw along the vertical direction to complete the drawing of the axial line of this interval. After that, search the remaining topological connection codes, and the generation steps are as follows: Query whether the graphic element of the currently searched device already exists. If it exists, participate in the calculation with the graphic element coordinates and the size of the circumscribed rectangle of this device, but do not actually create a graphic element. If the graphic element of the current device does not exist and there are multiple devices vertically in the topological code, the horizontal coordinate of the graphic element of the current device is defaulted to the left side of the axial line.

[0103] The method for automatically generating interval graphic elements based on the interval topological connection code is completed according to the model and topological relationship described in the SCD. It processes simple wiring intervals and complex wiring intervals respectively. Therefore, the interval graphic elements generated by this method are more comprehensive and complete, and the devices and connection lines within the interval do not overlap or cross. After completing the automatic generation of the graphic elements of all intervals in the substation, then place the interval graphic elements in sequence according to the positions of the connected buses, and the distance between intervals is fixed and can be set.

[0104] In other embodiments, such as Figure 2 、 Figure 3As shown in the figure, the process of automatically generating interval primitives includes:

[0105] Analyze the primary equipment within the interval and its connection relationship according to the topological connection coding of the interval;

[0106] Analyze the topological connection coding of the bus coupler / sectionalizing interval, with the search order from both ends to the middle, and process and draw the equipment symmetrically from both sides to the middle;

[0107] Analyze the topological connection coding of non-bus coupler / sectionalizing intervals, with the search order from left to right, and sequentially complete the equipment analysis and primitive drawing;

[0108] If there are multiple topological connection codings for an interval, the coding of the longest path is placed at the head of the queue and analyzed and drawn first;

[0109] During the traversal process, if it is found that the equipment primitive already exists, it means that the primitive of this equipment has been generated during the processing of other topological connection codings. Therefore, only the primitive coordinate calculation is performed here, and the primitive is not actually created;

[0110] After each equipment is drawn, it is necessary to connect the previous-level equipment and the current equipment according to the topological relationship to complete the drawing of the connection relationship;

[0111] After all the topological connection codings of the interval are analyzed and processed, the automatic drawing of the current interval primitives can be completed.

[0112] Step S4: According to the scale of the substation, the wiring layout method, as well as the automatically generated interval primitives and relevant interface specifications, implement the display of the main wiring diagram under the canvas through a dynamic expansion method, and achieve the adaptive canvas display according to the monitor resolution;

[0113] In this step, mainly draw the busbars and set the interval coordinates. First, determine the drawing area of the current voltage level in the wiring diagram, and then analyze the arrangement method of the busbars within the voltage level according to the number of busbars of the current voltage level and the characteristics of the connected intervals. After the busbars are drawn, it is necessary to adjust the positions of the intervals connected to the busbars according to the positions of the busbars so that they are evenly arranged on both sides of the busbars.

[0114] Create the connection lines between the main transformers and the main transformer intervals. To prevent the connection lines from crossing or overlapping, it is necessary to analyze the positions of the main transformers and the main transformer intervals, determine whether the connection lines need to bypass the passing busbars, and analyze and select the inflection points of the connection lines.

[0115] The following is a more specific introduction:

[0116] (1) Voltage level drawing

[0117] Such as Figure 4As shown in the figure, the layout of each voltage level in the main wiring diagram is determined according to the number of voltage levels covered by the substation. If the number of voltage levels is 2, the high-voltage side voltage level and the low-voltage side voltage level are arranged vertically, and the main transformer is placed between the high- and low-voltage sides. If the number of voltage levels is 3, the high-voltage side and the medium-voltage side are horizontally arranged on the upper side of the wiring diagram, and the low-voltage side is placed on the lower side. If there are more medium-voltage sides or the number of busbars is greater than 2, the positions of the low-voltage side and the medium-voltage side are swapped.

[0118] For other cases of the number of voltage levels covered by the substation, the voltage level positions can be specified in a pre-configured manner. The main wiring diagram is divided into m rows and n columns, and the voltage levels are configured at different positions in the grid as needed to achieve the configurable layout of the voltage levels.

[0119] (2) Busbar drawing

[0120] Analyze the busbars at the same voltage level. If the number of intervals connecting two busbars is greater than 1, the two busbars are vertically arranged. If there is only one interval connecting the two busbars, the two busbars are horizontally arranged. Each busbar maintains two lists, a vertical busbar list and a horizontal busbar list, to record the busbars that are perpendicular and horizontal to the current busbar.

[0121] The busbar arrangement within the voltage level is as follows:

[0122] As Figure 8 shown in the figure, first arrange all the busbars at the voltage level in ascending order of the busbar numbers, and start drawing from the busbar with the smallest number.

[0123] Traverse the sorted busbar list, take out the vertical busbar list of the current busbar to complete the drawing of the vertical busbars. When drawing the vertical busbars, the sum of the widths of all the intervals connected to the busbars in the drawn vertical busbar list can be calculated to obtain the busbar length.

[0124] Starting from the left coordinate of the vertical busbar, offset a fixed distance to the right and start setting the coordinate positions of the intervals connected to the busbar. The distance between the intervals is fixed and configurable.

[0125] After the vertical busbars are drawn, the positions of the intervals connected to the busbars need to be adjusted according to the busbars so that they are evenly arranged on both sides of the busbars.

[0126] Take out the horizontal busbar list of the current busbar to complete the drawing of the horizontal busbars. When drawing the horizontal busbars, the busbar length is the sum of the widths of all the intervals connected to the drawn busbar.

[0127] After all the busbars at the current voltage level are drawn, create the connection lines between the busbars and the intervals.

[0128] (3) Interval drawing.

[0129] Bus-tie / subsection interval: If there is only one interval connecting two horizontally arranged buses at the current voltage level, this interval is placed below the two buses; if there are multiple intervals connecting two horizontally arranged buses at the current voltage level and this interval is connected to Bus I, this interval is placed above the two buses, otherwise this interval is placed below the two buses.

[0130] 3 / 2 wiring interval: By default, this type of interval is placed between two buses.

[0131] Main transformer interval and PT interval: By default, this type of interval is placed above the bus.

[0132] Other intervals: By default, they are placed below the bus.

[0133] (4) Connection line drawing. Here mainly describes the processing of the connection lines of the main transformer and the main transformer interval. The specific steps include:

[0134] Horizontally arrange the main transformer graphic elements evenly in the middle of the main wiring diagram;

[0135] Draw connection lines from the transformer windings to connect the corresponding main transformer intervals;

[0136] The connection lines drawn from the main transformer side need to avoid overlapping with the equipment graphic elements. Therefore, this type of connection lines is drawn in the form of broken lines, which can be divided into connection lines with three endpoints, connection lines with four endpoints, and connection lines with five endpoints.

[0137] The selection rules for connection lines with different numbers of endpoints are as follows:

[0138] As Figure 9 shown, for the three-endpoint connection line: If the voltage level is below the main transformer, the connection line between the main transformer interval on this side and the main transformer equipment has three endpoints. The starting point and the ending point are respectively on the main transformer equipment and the main transformer interval. The horizontal coordinate of the middle broken-line endpoint takes the horizontal coordinate of the main transformer interval, and the vertical coordinate takes the vertical coordinate of the main transformer.

[0139] For the four-endpoint connection line: If the position of the main transformer interval is between two buses, the connection line adopts a four-endpoint connection line, such as the 3 / 2 wiring interval. The starting point and the ending point are the same as those of the three-endpoint connection line. The four-endpoint connection line is divided into two categories. If the voltage level is in the upper left of the main transformer, the connection line passes from the right side of the bus; if the voltage level is in the upper right of the main transformer, the connection line passes from the left side of the bus; if the voltage level is above the main transformer, the connection line passes from the right side of the bus.

[0140] For the five-endpoint connection line: For other intervals except those described by the three-endpoint and four-endpoint connection lines, the main transformer equipment is connected by a five-endpoint connection line. The first, second, third, and fifth endpoints are the same as those of the four-endpoint connection line. The horizontal coordinate of the fourth endpoint is the same as the horizontal coordinate of the main transformer interval, and the vertical coordinate takes the vertical coordinate of the main transformer interval minus a fixed distance.

[0141] Step S5: Mark the measurement information and device information on the adjusted main wiring diagram.

[0142] Automatic generation of measurement information

[0143] The primary equipment for which the main wiring diagram needs to display measurements includes: the two / three sides of the main transformer, busbars, lines, etc. Among them, the measurement types that need to be displayed for the two / three sides of the main transformer and lines are Ia, Ib, Ic, P, Q, and the measurement types that need to be displayed for the busbars are Uab, Ubc, Uca, Ua, Ub, Uc. The displayed measurement information comes from the primary-secondary mapping relationship in the SCD file.

[0144] By analyzing the SCD file, it is found that the LNode node under the primary equipment node is used to represent the measurement information of the secondary equipment associated with the primary equipment. Among them, the iedName attribute of the LNode node represents the name of the associated secondary equipment, and the combination of ldInst + prefix + lnClass + lnInst represents the specific logical node under the associated secondary equipment.

[0145] An instantiated logical node may contain multiple measurement information, while the main wiring diagram only needs to display part of the measurements. Therefore, it is also necessary to identify the measurement types required for display in the main wiring diagram under the associated logical node. The DO under the logical node represents the associated measurement information, and the d attribute under the DO represents the English name of the measurement, which can be used to represent the measurement type. In this embodiment, the method of matching the English name + keywords is adopted to identify and filter out the measurements required in the associated logical node: first, search for the DO node under the logical device associated with the primary equipment, and find the measurements to be displayed according to the English name of the node. If not found, it is necessary to perform a second-round search by matching keywords according to the description and name of the node.

[0146] The English names and keywords of the measurements to be matched are shown in Table 1.

[0147] Table 1 Measurement type keyword table

[0148] Measurement type English name Keywords Uab PPV.phsAB Uab Ubc PPV.phsBC Ubc Uca PPV.phsCA Uca Ua PhV.phsA Ua Ub PhV.phsB Ub Uc PhV.phsC Uc Ia A.phsA Ia Ib A.phsB Ib Ic A.phsC Ic P TotW P Q TotVAr Q

[0149] Automatic generation of device information

[0150] The main wiring diagram needs to display the device numbers of the primary equipment. The position of the device number depends on the display direction of the device graphic element. If the device graphic element is placed vertically, the device number is default on the right side of the graphic element. If the device graphic element is placed horizontally, the device number is default on the upper side of the graphic element. If there are branches within the interval, the device numbers of the left branches are placed on the left side of the graphic element, and the device numbers of the right branches are placed on the right side of the graphic element.

[0151] In summary, this embodiment mainly solves the problem of automatically generating the main wiring diagram of a substation according to the content of the substation SCD file. By automatically parsing and identifying the primary equipment and its topological connection relationships described in the substation configuration of the substation SCD file, topological connection codes for the equipment within the interval are formed with the interval as the object. Based on the topological connection codes, the construction, layout, and generation of connection lines for the equipment graphics within the interval are completed, thereby completing the automatic generation of the interval graphics. By analyzing various characteristics such as the substation voltage level, bus type, and wiring method, the layout method of the main wiring diagram is automatically deduced to achieve the automatic matching of the main wiring diagram layout. By analyzing the positional relationship between the main transformer and the voltage level, etc., and analyzing the direction of its connection lines, appropriate inflection points of the connection lines are set to avoid the crossing and overlapping of the connection lines, and the automatic generation of the connection lines between the main transformer and the main transformer interval is completed.

[0152] Embodiment 2

[0153] A main wiring automatic mapping system for SCD file topological connection includes:

[0154] A preprocessing module, configured to parse the SCD file, determine the substation configuration, construct a data model, and classify the intervals;

[0155] A topological connection code generation module, configured to search and traverse the connection relationships based on the data model according to the interval type, and sequentially mark the search order and connection relationships according to the equipment type and equipment identifier to generate topological connection codes;

[0156] A main wiring diagram production module, configured to draw interval graphics with the interval object as the center according to the topological connection codes to generate a main wiring diagram;

[0157] A main wiring diagram optimization module, configured to adjust the layout of the generated main wiring diagram according to the substation voltage level, bus type, and wiring method, and label the measurement information and equipment information on the adjusted main wiring diagram.

[0158] Embodiment 3

[0159] A computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by a processor, the steps in the method provided in Embodiment 1 are completed.

[0160] Embodiment 4

[0161] An electronic device includes a memory, a processor, and computer instructions stored on the memory and running on the processor. When the computer instructions are run by the processor, the steps in the method provided in Embodiment 1 are completed.

[0162] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0163] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, so that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0164] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0166] The above is only the preferred embodiment of the present invention and is not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made by those skilled in the art without creative efforts within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for automatically generating a main wiring diagram of an SCD file topology connection, characterized in that, It includes the following steps: Parse the SCD file, determine the substation configuration, construct a data model, and classify the bays. The process of constructing the data model includes parsing the SCD file, determining the substation configuration according to the parsed content, and establishing a hierarchical structure including voltage levels, bays, primary equipment, and endpoints based on the substation configuration to form a data model. Based on the data model, search and traverse the connection relationships according to the bay type, and sequentially mark the search order and connection relationships according to the equipment type and equipment identifier to generate a topological connection code. According to the topological connection code, draw bay primitives with the bay object as the center to generate a main wiring diagram. According to the substation voltage level, bus type, and wiring method, adjust the layout of the generated main wiring diagram, and label the measurement information and equipment information on the adjusted main wiring diagram.

2. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 1, characterized in that, The process of classifying the bays includes: Dividing the bays into edge-class bays, 3 / 2 wiring bays, main transformer bays, and bus coupler / section bays. Among them, the edge-class bay is a bay containing edge-class equipment; The 3 / 2 wiring bay is a bay with a voltage level of 220 kV or above, with 3 equipment switches and 2 busbars in the bay; The main transformer bay is a bay whose equipment includes a main transformer; The bus coupler / section bay is a bay connecting two busbars.

3. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 1, characterized in that, The process of searching and traversing the connection relationships according to the bay type includes using the depth-first search algorithm for traversal. During traversal, the traversal path needs to meet the following requirements: For edge-class bays, the starting point is the edge-class equipment, and the ending point is the busbar equipment; For 3 / 2 wiring bays, the starting point is the busbar, and the ending point is the other busbar, the connected line, or the main transformer; For main transformer bays, the starting point is the transformer winding, and the ending point is the busbar; For bus coupler / section bays, the starting point is the busbar, and the ending point is another busbar of the same voltage level.

4. The automatic mapping method for the main wiring of the SCD file topology connection according to claim 1, characterized in that The topological connection code includes a symmetric topological connection code and an asymmetric topological connection code. Among them, the equipment primitives of the bay with the symmetric topological connection code are symmetrically arranged with the equipment in the middle position as the center; the equipment primitives of the asymmetric topological connection code are arranged in an asymmetric manner. The process of drawing bay primitives with the bay object as the center according to the topological connection code to generate a main wiring diagram includes: For symmetric bays, search the topological connection code of the bay from both ends to the middle, and perform operations such as equipment primitive creation, primitive coordinate setting, and connection line drawing between primitives during the search process, determine whether the relevant equipment is at the same level, and draw the equipment at the corresponding level; For asymmetric bays, search the topological connection code of the bay from left to right, and perform operations such as primitive creation, primitive coordinate setting, and connection line creation between primitives during the search process.

5. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 4, characterized in that, For symmetric bays, if the number of equipment in the bay is n, the search level required is n / 2. If the equipment types of the opposite-side equipment with the same search serial number as the current equipment are the same, it is considered that these two pieces of equipment are at the same level, and their vertical coordinates are equal, and the horizontal coordinates differ by a fixed distance; if the equipment types of the opposite-side equipment with the same search serial number as the current equipment are different, it is considered that there is only one piece of equipment at the current equipment's level. When the search sequence number is equal to n / 2, if it is a switchgear, rotate the device primitive to the horizontal position, and place the primitive coordinates between two symmetric primitives in the previous layer; if it is other equipment, the primitive coordinates are directly below the equipment in the previous layer.

6. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 4, characterized in that, For an asymmetric bay, if it is the topological connection code of a bay with a branched line, define the search order within the topological connection code as horizontal, and the search order of the same sequence number between different topological codes as vertical; conduct a horizontal search for each topological connection code one by one, and check whether there are different devices vertically during the search process. According to whether there are branches at this level, calculate the corresponding horizontal and vertical coordinates. If there are multiple devices vertically at this level and only one device in the previous layer, it is considered that there are branches at this level; when calculating the primitive coordinates of the device, use the set primitive coordinates as the center coordinates of the primitive, and calculate the vertical distance between the primitive coordinates of this layer and the previous layer as half of the sum of the primitive heights of this layer and the previous layer, plus the length of the connection line. If there are no branches in the devices at this layer, the horizontal coordinates of the device primitive are the same as those of the device primitive in the previous layer, and the vertical coordinates are equal to the vertical coordinates of the previous layer minus the vertical distance; if there are branches in the devices at this layer, the calculation method of the vertical coordinates of the device primitive is the same as that of the device without branches, and the horizontal coordinates are subtracted or added by a fixed distance respectively to ensure that the branches do not overlap or cross.

7. The automatic wiring diagram generation method for the topology connection of SCD files according to claim 1, characterized in that, If it is the topological connection code of a 3 / 2 wiring bay, place the topological connection codes connected to the two busbars under the 3 / 2 wiring bay at the first position in the search list, search it first and draw it vertically to complete the drawing of the axis line of this bay. Then search the remaining topological connection codes, check whether the device primitive found currently already exists. If it exists, participate in the calculation with the primitive coordinates and the size of the circumscribed rectangle of this device, but do not actually create a primitive. If the current device primitive does not exist and there are multiple devices vertically in the topological code, the horizontal coordinates of the current device primitive are defaulted to the left side of the axis line.

8. The automatic wiring diagram generation method for the topology connection of SCD files according to claim 1, characterized in that, The process of layout adjustment for the generated main wiring diagram according to the substation voltage level, bus type, and wiring method includes: Determine the layout method of each voltage level in the main wiring diagram according to the number of voltage levels covered by the substation, specify the voltage level positions in a pre-configured manner, divide the main wiring diagram into m rows and n columns, where m and n are integers, n≥m, and m*n is greater than or equal to the number of voltage levels. The voltage levels are configured at different positions in the grid as needed to achieve the configurable layout method of voltage levels. Analyze the busbars under the same voltage level. If the number of bays connecting two busbars is greater than one, the two busbars are vertically arranged; if there is only one bay connected between the two busbars, the two busbars are horizontally arranged; adjust the busbars under each voltage level. Horizontally and evenly arrange the primitives of the main transformers in the middle position of the main wiring diagram, draw connection lines from the transformer windings to connect the corresponding main transformer bays, and draw the connection lines led out from the main transformer side in the form of broken lines.

9. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 1, characterized in that The process of adjusting the busbars at each voltage level includes arranging all the busbars at the voltage level in ascending order of busbar numbers and starting the drawing from the busbar with the smallest number; Draw the vertical busbar, and calculate the busbar length by accumulating the widths of all the intervals connected to the busbars in the list of vertical busbars drawn; After the vertical busbars are drawn, adjust the positions of the intervals connected to the busbars so that they are all arranged on both sides of the busbars; Draw the horizontal busbar, and the busbar length is the sum of the widths of all the intervals connected to the drawn busbar; After all the busbars at the current voltage level are drawn, create the connection lines between the busbars and the intervals.

10. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 9, characterized in that, The process of drawing the connection lines led out from the main transformer side in the form of broken lines has different selection rules for the connection lines according to the number of endpoints of the connection lines. Specifically: If the voltage level is below the main transformer, the connection line between the main transformer interval on this side and the main transformer equipment has three endpoints. The starting endpoint and the ending endpoint are respectively on the main transformer equipment and the main transformer interval. The horizontal coordinate of the middle broken line endpoint is the horizontal coordinate of the main transformer interval, and the vertical coordinate is the vertical coordinate of the main transformer; If the main transformer interval is located between two busbars, the connection line adopts a four-endpoint connection line. The starting endpoint and the ending endpoint are respectively on the main transformer equipment and the main transformer interval. The four-endpoint connection line is divided into two categories. If the voltage level is in the upper left of the main transformer, the connection line passes from the right side of the busbar; if the voltage level is in the upper right of the main transformer, the connection line passes from the left side of the busbar; if the voltage level is above the main transformer, the connection line passes from the right side of the busbar; For other intervals except the intervals described by the three-endpoint and four-endpoint, a five-endpoint connection line is used to connect the main transformer equipment. The connection method of four of the endpoints is the same as that of the four-endpoint connection line, and the horizontal coordinate of the other endpoint is the same as the horizontal coordinate of the main transformer interval, and the vertical coordinate is the vertical coordinate of the main transformer interval minus a fixed distance.

11. The automatic wiring diagram generation method for the topological connection of SCD files according to claim 1, characterized in that, The process of annotating the measurement information and equipment information in the adjusted main wiring diagram includes: using the method of matching the English name and keywords to identify and filter out the measurements required in the associated logical nodes. First, search for the DO nodes under the logical devices associated with the primary equipment, and find the measurements to be displayed according to the English name of the nodes. If not found, then perform a second-round search by matching keywords according to the description and name of the nodes; The equipment information includes the equipment number, and the position of the equipment number depends on the display direction of the equipment graphic element. If the equipment graphic element is placed vertically, the equipment number is default at one end in the horizontal direction of the graphic element. If the equipment graphic element is placed horizontally, the equipment number is default on one side in the vertical direction of the graphic element. If there are branches in the interval, the branch equipment numbers are placed on the other side of the graphic element to avoid overlap.

12. An automatic wiring diagram generation system for SCD file topology connection, characterized in that Including: A preprocessing module, configured to parse the SCD file, determine the substation configuration, construct a data model, and classify the intervals; A topological connection coding generation module, configured to search and traverse the connection relationships based on the data model according to the interval types, and mark the search order and connection relationships in sequence according to the equipment types and equipment identifiers to generate topological connection codes; A main wiring diagram production module, configured to draw interval graphic elements centered on the interval objects according to the topological connection codes to generate a main wiring diagram; The main wiring diagram optimization module is configured to adjust the layout of the generated main wiring diagram according to the substation voltage level, bus type, and wiring method, and label the measurement information and equipment information on the adjusted main wiring diagram.

13. An electronic device, comprising a memory, a processor, and computer instructions stored on the memory and running on the processor. When the computer instructions are run by the processor, the steps in the method according to any one of claims 1-11 are completed.

Citation Information

Cited By

  • Main wiring intelligent modeling method based on SSD graph-model integration and computer equipment

    CN121435425A

  • Power supply protection layout method based on voltage layering

    CN121881565A

  • A power supply guaranteeing layout method based on voltage stratification

    CN121881565B