A substation bay power connection diagram automatic mapping method, system and device

By acquiring information on substation bay equipment and connections, determining the main line length and redundancy points, and generating the substation bay wiring diagram topology, the problem of substation main wiring diagrams not being able to be automatically generated in a standardized manner is solved, achieving a clear and standardized automatic drawing effect.

CN117610210BActive Publication Date: 2026-08-04CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
Filing Date
2023-11-30
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing technologies cannot achieve standardized and automated generation of substation main wiring diagrams. Manual drawing is time-consuming, labor-intensive, and has a high error rate. The image layout of existing automated drawing methods is messy and difficult to use directly in engineering practice.

Method used

By obtaining the equipment and connection information table of the substation bay, the length of the main line of the node and the number of redundant points are determined. Based on the equipment as the connection medium, the wiring diagram topology of the bay is generated, and the branch lines are extended through the redundant points, and the extension rules of the nodes and equipment are specified.

Benefits of technology

It enables standardized and automated mapping of substation bay sections, saving manpower and time resources, avoiding human error, and producing clear, node-free, and clutter-free images that meet automation and practicality requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117610210B_ABST
    Figure CN117610210B_ABST
Patent Text Reader

Abstract

The application discloses a kind of substation interval electric power wiring diagram automatic mapping method, system and equipment, the node includes main line and side branch, the length of node main line and the number of redundant points are determined according to the number of node appearance;From any one starting node main line, the connection order between node main line and the length of node main line are generated interval wiring diagram topology, wherein the side branch line expansion is carried out based on the redundant point on node main line.The application establishes the concept of redundant point in node main line, and specifies the specific rules of node and device expansion in mapping process, ensures the standardization of mapping, realizes the standardization of interval part automatic mapping.The application meets the needs of automation and practicality at the same time, and can save the resources required by traditional mapping method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power automation technology, specifically to a method, system, and equipment for automatically generating power wiring diagrams for substation bays. Background Technology

[0002] A substation main wiring diagram is a drawing that graphically represents the electrical connections between various electrical devices (such as transformers, circuit breakers, and surge arresters) within a substation. It reflects the main electrical structure of the substation and is a crucial tool for substation design and operation management, as well as an important component of the power system network structure. Currently, substation main wiring diagrams are primarily generated manually, consuming significant manpower and time, and are prone to errors. Existing automated drawing methods can only reconstruct the topological relationships of the substation wiring structure, but the resulting main wiring diagrams are often cluttered, difficult to identify, non-standardized, and aesthetically unappealing, making them unsuitable for direct use in engineering projects. They must be manually adjusted or redrawn by staff, failing to achieve standardized and regulated main wiring diagram drawing. A bay is a group of closely connected components in a power system that share a common function. As a crucial component of a substation, the automated drawing of bays is essential for achieving standardized and regulated substation main wiring diagram drawing. Summary of the Invention

[0003] Therefore, embodiments of the present invention provide a method, system, and equipment for automatically generating substation bay power wiring diagrams, in order to solve the technical problem that existing technologies cannot achieve standardized and regulated automatic generation of substation main wiring diagrams.

[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0005] According to a first aspect of the present invention, an embodiment of the present invention provides a method for automatically generating power wiring diagrams for substation bays, the method comprising:

[0006] Obtain the equipment and connection information table of the substation bay. The equipment and connection information table includes equipment number, equipment name, equipment port and associated node information. The node represents the conductor structure with the same potential and directly connected in the wiring diagram.

[0007] The node includes a main line and side branches. The associated node information of all devices in the information table is traversed. The length of the node main line and the number of redundant points are determined according to the number of times the node appears. The node main line includes a start point, an end point, and redundant points evenly distributed between the start point and the end point. The node that represents the interval and is connected to the bus is taken as the start node.

[0008] Based on the device and connection information table, the device is used as the connection medium between nodes to determine the connection order between nodes. Starting from any starting node, a wiring diagram topology structure with intervals is generated according to the connection order between nodes and the length of the node main line. The branch lines are extended based on the redundant points on the node main line.

[0009] Furthermore, the length of the node mainline and the number of redundant points are determined based on the frequency of node occurrences, specifically including:

[0010] For the starting node, the number of redundant points in the starting node mainline is 0, and the length of the starting node mainline is set as needed.

[0011] For ordinary nodes, the length of the ordinary node mainline is (m-1)*UL, where m is the number of times the node appears, m is a natural number greater than 1, UL is the length of a unit line segment, and the number of redundant points in each ordinary node mainline is m-2.

[0012] Furthermore, starting from any initial node mainline, a wiring diagram topology with intervals is generated based on the connection order and length of the node mainlines, specifically including:

[0013] Determine the starting coordinates of the selected first starting node mainline. Connect the starting point of the first starting node mainline to the bus line. Draw the first starting node mainline according to its length to obtain the ending coordinates of the first starting node mainline.

[0014] Obtain the dual-port device connected to the first starting node, set the coordinates of the first port of the dual-port device as the end coordinates of the main line of the first starting node, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device;

[0015] Obtain the first node connected to the dual-port device, set the starting coordinates of the first node main line to the coordinates of the second port of the dual-port device, draw the first node main line according to its length, and obtain the redundant point coordinates and the ending coordinates of the first node main line.

[0016] Furthermore, starting from any initial node mainline, a wiring diagram topology with intervals is generated based on the connection order and length of the node mainlines, specifically including:

[0017] If the first node is connected to only one non-grounded node through a device, the non-grounded node is referred to as the second node.

[0018] First, obtain the dual-port device connected to the first node, set the coordinates of the first port of the dual-port device to the end coordinates of the main line of the first node, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device;

[0019] Obtain the second node connected to the dual-port device, set the starting coordinates of the second node main line to the coordinates of the second port of the dual-port device, draw the second node main line according to its length, and obtain the redundant point coordinates and the ending coordinates of the second node main line.

[0020] Furthermore, starting from any initial node mainline, a wiring diagram topology with intervals is generated based on the connection order and length of the node mainlines, specifically including:

[0021] If the first node is connected to multiple ungrounded nodes through the device at the same time, the multiple ungrounded nodes connected to the first node through the device are first allocated according to different line extension directions. The allocation principle is to ensure that the total number of nodes on the main line is the largest, and the total number of nodes on each branch line decreases in sequence.

[0022] Non-grounded nodes assigned to the main line direction are designated as main nodes, and non-grounded nodes assigned to the side line direction are designated as side nodes.

[0023] Obtain the mainline dual-port device connected between the first node and the master node, set the coordinates of the first port of the mainline dual-port device as the end coordinates of the mainline of the first node, draw the mainline dual-port device, and obtain the coordinates of the second port of the mainline dual-port device;

[0024] Set the starting coordinates of the main node mainline to the coordinates of the second port of the mainline dual-port device, draw the main node mainline according to the length of the main node mainline, and obtain the redundant point coordinates and the ending coordinates of the main node mainline.

[0025] The coordinates of each redundant point on the main line of the first node are used as the starting coordinates of each side branch. Based on the preset side branch drawing rules, each side branch is drawn to obtain the ending coordinates of each side branch.

[0026] Obtain the coordinates of the first port of each side branch dual-port device connected between the first node and each side branch node, set the coordinates of the first port of each side branch dual-port device as the coordinates of the end point of the corresponding side branch, draw each side branch dual-port device, and obtain the coordinates of the second port of each side branch dual-port device.

[0027] Set the starting coordinates of each side node main line to the coordinates of the second port of the corresponding side dual-port device, draw each side node main line according to the preset length of each side node main line, and obtain the redundant point coordinates and the ending coordinates of each side node main line.

[0028] Based on the corresponding line expansion rules, the remaining devices and nodes are drawn sequentially according to the connection order of the nodes to generate the interval topology.

[0029] Furthermore, starting from any initial node mainline, a wiring diagram topology with intervals is generated based on the connection order and length of the node mainlines, specifically including:

[0030] If a non-grounded node is designated as the third node, and another starting node is connected through the device, it is designated as the second starting node;

[0031] Using the coordinates of the first redundant point of the third node mainline as the starting coordinates of the side branch, and based on the side branch drawing rules that extend the equipment and the second starting node toward the busbar direction, the side branch is drawn to obtain the ending coordinates of the side branch.

[0032] Obtain the dual-port device connected between the third node and the second starting node, set the coordinates of the first port of the dual-port device as the end coordinates of the side branch, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device;

[0033] Set the starting coordinates of the second starting node main line to the coordinates of the second port of the dual-port device, draw the second starting node main line according to its length, and connect the ending point of the second starting node to the bus line.

[0034] Furthermore, starting from any initial node mainline, a wiring diagram topology with intervals is generated based on the connection order and length of the node mainlines, specifically including:

[0035] Obtain a grounding device, wherein the grounding device has a first port connected to a non-grounded node and a second port connected to a grounded node;

[0036] Obtain the coordinates of the first redundant point of the non-grounded node and use them as the starting coordinates of the side branch. Based on the preset side branch drawing rules, derive and draw the side branch to obtain the ending coordinates of the side branch.

[0037] Set the coordinates of the first port of the grounding device to the end coordinates of the side branch, draw the grounding device, and obtain the coordinates of the second port of the grounding device;

[0038] Set the starting coordinates of the grounding node main line to the coordinates of the second port of the grounding device, draw the grounding node main line according to the preset length of the grounding node main line, obtain the ending coordinates of the grounding node main line, and draw the grounding symbol at the ending coordinates of the grounding node main line.

[0039] Furthermore, starting from any initial node mainline, a wiring diagram topology with intervals is generated based on the connection order and length of the node mainlines, specifically including:

[0040] Obtain an extension device, wherein the extension device has a first port connected to a non-grounded node and a second port connected to a device outside the interval;

[0041] The first port coordinates of the extended device are set to the endpoint coordinates of the non-grounded node. The extended device is then drawn, and the second port coordinates of the extended device are obtained.

[0042] Set the starting coordinates of the extension node mainline to the coordinates of the second port of the extension device, draw the extension node mainline according to the preset length of the extension node mainline, obtain the ending coordinates of the extension node mainline, and draw the external port symbol at the ending coordinates of the extension node mainline.

[0043] According to a second aspect of the present invention, an automatic substation bay wiring diagram generation system is provided, the system comprising:

[0044] The connection information acquisition module is used to acquire the equipment and connection information table of the substation bay. The equipment and connection information table includes equipment number, equipment name, equipment port and associated node information. The node represents the conductor structure with the same potential and directly connected in the wiring diagram.

[0045] The node mainline acquisition module is used to traverse the associated node information of all devices in the information table, including the mainline and the sideline of the node, and determine the length of the node mainline and the number of redundant points according to the number of times the node appears. The node mainline includes the starting point, the ending point and the redundant points evenly distributed between the starting point and the ending point, wherein the node that represents the interval and is connected to the bus is taken as the starting node.

[0046] The interval topology generation module is used to determine the connection order between nodes based on the device and connection information table, with the device as the connection medium between nodes, and to generate the interval wiring diagram topology structure starting from any starting node, according to the connection order between nodes and the length of the node main line, wherein the side line is extended based on the redundant points on the node main line.

[0047] According to a third aspect of the present invention, an electronic device is provided, the device comprising: a processor and a memory;

[0048] The memory is used to store one or more program instructions;

[0049] The processor is configured to run one or more program instructions to perform the steps of an automatic substation bay electrical wiring diagram generation method as described in any of the preceding claims.

[0050] According to a fourth aspect of the present invention, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of an automatic drawing method for substation bay power wiring diagrams as described in any of the preceding claims.

[0051] Compared with existing technologies, this invention provides an automatic method, system, and device for generating substation bay power wiring diagrams. It obtains a table of equipment and connection information for the substation bay, including equipment number, equipment name, equipment port, and associated node information. Each node represents a conductor structure with the same potential and directly connected in the wiring diagram. Each node includes a main line and branches. The method iterates through the associated node information of all equipment in the table, determining the length of the node's main line and the number of redundant points based on the frequency of node occurrences. Each node's main line includes a start point, an end point, and redundant points evenly distributed between the start and end points. Nodes representing bay connections to the busbar are designated as starting nodes. Based on the equipment and connection information table, using equipment as the connection medium between nodes, the connection order between nodes is determined. Starting from any starting node, the wiring diagram topology of the bay is generated according to the connection order and the length of the node's main line. Branch lines are expanded based on the redundant points on the node's main line. This invention establishes redundant points in the main node line, enabling the expansion of branch lines through these redundant points. It also specifies concrete rules for node and equipment expansion during the mapping process, ensuring standardized mapping and achieving standardized automatic mapping of interval sections. Compared to traditional manual drawing methods, this invention saves significant manpower and time resources and avoids human error. Compared to existing automatic mapping technologies, the images generated by this invention have clear structures and do not suffer from chaotic node layouts, avoiding the manual corrections necessary after mapping using traditional methods. In summary, this invention simultaneously satisfies the requirements of automation and practicality, saving the resources required by traditional mapping methods. Attached Figure Description

[0052] The accompanying drawings, which form part of this specification, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0053] Figure 1 A flowchart of an automatic generation method for substation bay power wiring diagrams provided in an embodiment of the present invention;

[0054] Figure 2 This is an array used in an automatic substation bay power wiring diagram generation method provided by an embodiment of the present invention to record bay equipment and connection information;

[0055] Figure 3 This invention provides a method for automatically generating substation bay power wiring diagrams, including a typical substation bay power wiring diagram.

[0056] Figure 4 This invention provides a method for automatically generating substation bay power wiring diagrams, including a node occurrence count.

[0057] Figure 5 This is a schematic diagram of the main node in an automatic substation bay power wiring diagram generation method provided by an embodiment of the present invention;

[0058] Figure 6 This invention provides an embodiment of an automatic substation bay power wiring diagram generation method with different expansion directions for equipment and nodes.

[0059] Figure 7 This is a schematic diagram illustrating the connection between a common node and multiple common nodes in an automatic substation bay power wiring diagram generation method provided by an embodiment of the present invention.

[0060] Figure 8 This is a schematic diagram of other starting nodes in an automatic drawing method for substation bay power wiring diagrams provided in an embodiment of the present invention;

[0061] Figure 9 This is a schematic diagram of the branch lines extending in all directions based on node n1 in an automatic drawing method for substation bay power wiring diagrams provided in an embodiment of the present invention.

[0062] Figure 10 This is a schematic diagram of grounding equipment in an automatic diagram generation method for substation bay power wiring diagrams provided in an embodiment of the present invention;

[0063] Figure 11 These are different styles of branch drawing methods in an automatic drawing method for substation bay power wiring diagrams provided in this embodiment of the invention;

[0064] Figure 12 This invention provides a method for automatically generating substation bay power wiring diagrams, which compares the generated diagrams of grounding devices and extension devices.

[0065] Figure 13 This is a schematic diagram of the substation bay topology provided in an embodiment of the present invention for an automatic generation method of substation bay power wiring diagram;

[0066] Figure 14 This invention provides an automatic method for generating substation bay power wiring diagrams, which includes a substation power wiring diagram.

[0067] Figure 15 This is a schematic diagram of the structure of an automatic substation bay power wiring diagram generation system provided in an embodiment of the present invention. Detailed Implementation

[0068] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0069] The following detailed description is exemplary and intended to provide further detailed explanation of the invention. Unless otherwise specified, all technical terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this invention is for describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention.

[0070] The first embodiment of the present invention provides a method for automatically generating power wiring diagrams for substation bays. The following is in conjunction with... Figure 1 The first embodiment of the present invention provides a method for automatically generating substation bay power wiring diagrams.

[0071] like Figure 1 As shown, in step S100, the equipment and connection information table of the substation bay is obtained. The equipment and connection information table includes equipment number, equipment name, equipment port and associated node information. The node represents the conductor structure with the same potential and directly connected in the wiring diagram.

[0072] In this embodiment, the equipment and connection information of the substation bay is read from the unified substation model configuration file.

[0073] The substation unified model configuration file is a substation configuration file recorded in XML language, which contains all the primary and secondary side equipment and corresponding connection information of the substation.

[0074] The substation unified model configuration file records the substation's equipment and connection information in a hierarchical manner, organized as "voltage level-bay-equipment". First, for each bay, its internal equipment and connection information is read and recorded in an array, such as... Figure 2 As shown.

[0075] like Figure 2 As shown, the array records all devices and connection information within the interval. In the diagram, a and b represent the externally accessible ports of the devices. The associated node column displays the connection relationships between nodes in the interval and device ports; for example, port a of device 1 is connected to node n1 of the interval, and port 2 is connected to node n2 of the device.

[0076] like Figure 1 As shown, in step S200, the node includes a main line and a side line. The associated node information of all devices in the information table is traversed. The length of the node main line and the number of redundant points are determined according to the number of times the node appears. The node main line includes a starting point, an ending point, and redundant points evenly distributed between the starting point and the ending point. The node that represents the interval and is connected to the bus is taken as the starting node.

[0077] The above steps specifically include: For the starting node, the number of redundant points in the starting node mainline is 0, and the length of the starting node mainline is set as needed, such as the length of a unit line segment; for ordinary nodes, the length of the ordinary node mainline is (m-1)*UL, where m is the number of times the node appears (m is a natural number greater than 1), UL is the length of a unit line segment, and the number of redundant points in each ordinary node mainline is m-2. For example, a line segment with a length of 3 units will have two redundant point coordinates.

[0078] A typical substation bay is as follows: Figure 3 As shown in the diagram. Within a bay, most nodes connect devices within the bay to each other; that is, a node connects to at least two different devices, and these are called ordinary nodes. However, a small number of nodes connect only one device within the bay; these nodes represent the connection between the bay and the busbar, and are called starting nodes, denoted as n01, n02, ... All grounding nodes are uniformly denoted as ng.

[0079] In this embodiment, a node is not a single point, but rather refers to a wire structure with the same potential and directly connected in the main wiring diagram. That is, a node here can be understood as a combination of several connected line segments, each of which can be described by a starting coordinate (starting point) and an ending coordinate (ending point).

[0080] Iterate through the associated node information of all devices and record the information of all nodes in the process. Figure 2 The number of times it appears in, such as Figure 4 As shown. Figure 5 In this context, m, n, o, etc., represent the number of occurrences of nodes n1, n2, n3, etc., all of which are natural numbers greater than 1. The unit length of the node's main line is then determined based on this. The unit length is defined as UL (Unit Length), and the main line length of each node is equal to (number of occurrences - 1) * UL. For example, the length of node n1 is equal to (m - 1) * UL.

[0081] like Figure 1 As shown, in step S300, based on the device and connection information table, the device is used as the connection medium between nodes to determine the connection order between nodes. Starting from any starting node, a wiring diagram topology with intervals is generated according to the connection order between nodes and the length of the node main line. The branch lines are extended based on the redundant points on the node main line.

[0082] This embodiment specifies the detailed rules for node and device expansion during the interval mapping process to ensure standardized mapping. The specific line expansion rules are as follows:

[0083] 1. Line extension rules for the starting node

[0084] Specifically, the following steps are included:

[0085] S311. Determine the starting coordinates of the selected first starting node mainline. The starting point of the first starting node mainline is connected to the bus line. Draw the first starting node mainline according to its length to obtain the ending coordinates of the first starting node mainline.

[0086] S312. Obtain the dual-port device connected to the first starting node, set the coordinates of the first port of the dual-port device to the end coordinates of the main line of the first starting node, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device.

[0087] S313. Obtain the first node connected to the dual-port device, set the starting coordinate of the first node main line to the coordinate of the second port of the dual-port device, draw the first node main line according to the length of the first node main line, and obtain the redundant point coordinates and the ending coordinates of the first node main line.

[0088] Specific examples:

[0089] ① Establish a private coordinate system for the interval, select the line segment with the starting node n0, and set the starting coordinate of the line segment to (0,0)*NL and the ending coordinate to (0,1)*NL.

[0090] ② Retrieve the device connected to the starting node n0 (assuming it is device 1, and that device port a is connected to node n0, and device port b is connected to node n1), and set the coordinates of port a to (0,1)*NL. Based on the desired rendering style, position port b at the same horizontal or vertical coordinate position as port a, and determine the actual coordinates of port b. Assume the coordinates of port b are (x1,y1)*NL at this point. Then the starting coordinates of the line segment at node n1 are (x1,y1)*NL. Assume node n1 is in... Figure 4 If the number of occurrences in the statistics is m, then the termination coordinates of the line segment at node n1 are (x1, y1+m-1)*NL.

[0091] Redundant point coordinates: For a node with a length of m units, m-1 coordinate points will be evenly distributed across the node. These coordinate points are called the redundant point coordinates of that node. The redundant point coordinates are sorted in the direction from the starting coordinate to the ending coordinate. Node n1 has a line segment length of m-1 and will have m-2 redundant point coordinates, namely (x1, y1+1)…(x1, y1+m-2), as follows: Figure 5 As shown.

[0092] 2. Line expansion rules for ordinary nodes

[0093] Based on the main thread of the first node, there are two scenarios:

[0094] (1) A normal node is connected to only one other normal node.

[0095] S321. If the first node is connected to only one non-grounded node through a device, the non-grounded node shall be referred to as the second node.

[0096] S322: First, obtain the dual-port device connected to the first node, set the coordinates of the first port of the dual-port device to the end coordinates of the main line of the first node, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device.

[0097] S323. Obtain the second node connected to the dual-port device, set the starting coordinate of the second node main line to the coordinate of the second port of the dual-port device, draw the second node main line according to the length of the second node main line, and obtain the redundant point coordinates and the ending coordinates of the second node main line.

[0098] For examples, please refer to the specific examples in the line extension rules of the starting node above, based on ① and ② above:

[0099] ③ Retrieve the devices connected to node n1 and at least one other non-grounded node, repeat step ②, obtain the start and end coordinates of all non-grounded nodes in sequence, and draw the corresponding devices between different node mainlines to determine the basic topology of the interval.

[0100] The above method describes the scenario where a regular node is connected to only one other regular node. In this case, the device and node will extend towards the 12 o'clock direction (main line direction) of that node (the direction from the starting coordinate to the ending coordinate). The extension direction is as follows: Figure 6 As shown.

[0101] (2) A regular node is connected to multiple regular nodes.

[0102] S331. If the first node is connected to multiple ungrounded nodes through the equipment at the same time, the multiple ungrounded nodes connected to the first node through the equipment shall be allocated according to different line extension directions. The allocation principle is to ensure that the total number of nodes on the main line is the largest, and the total number of nodes on each branch line decreases in sequence.

[0103] S332. The non-grounded nodes assigned to the main line direction are designated as main nodes, and the non-grounded nodes assigned to the side line direction are designated as side nodes.

[0104] S333. Obtain the mainline dual-port device connected between the first node and the master node, set the coordinates of the first port of the mainline dual-port device as the end coordinates of the mainline of the first node, draw the mainline dual-port device, and obtain the coordinates of the second port of the mainline dual-port device.

[0105] S334. Set the starting coordinates of the main node mainline to the coordinates of the second port of the mainline dual-port device, draw the main node mainline according to the length of the main node mainline, and obtain the redundant point coordinates and the ending coordinates of the main node mainline.

[0106] S335. Take the coordinates of each redundant point of the first node main line as the starting coordinates of each side branch, and draw each side branch based on the preset side branch drawing rules to obtain the ending coordinates of each side branch.

[0107] S336. Obtain the coordinates of the first port of each side branch dual-port device connected between the first node and each side branch node, set the coordinates of the first port of each side branch dual-port device as the coordinates of the end point of the corresponding side branch, draw each side branch dual-port device, and obtain the coordinates of the second port of each side branch dual-port device.

[0108] S337. Set the starting coordinates of each branch node main line to the coordinates of the second port of the corresponding branch dual-port device, draw each branch node main line according to the preset length of each branch node main line, and obtain the redundant point coordinates and the end point coordinates of each branch node main line.

[0109] A specific example is as follows: Count the number of ordinary nodes in different expansion directions and sort them. If an ordinary node is connected to 3 other ordinary nodes, then this node has three different expansion directions. Count the number of ordinary nodes in each expansion direction and arrange them in descending order of number as nodes n1-1, n1-2, n1-3 (this is a temporary naming for convenience and is not equivalent to the actual node names). Reference Figure 7 The number of ordinary nodes in the n1-1 direction is 5, the number of ordinary nodes in the n1-2 direction is 3, and the number of ordinary nodes in the n1-3 direction is 1. (Note that...) Figure 7 For ease of understanding, squares are used to represent ordinary nodes, and line segments are used to represent the connections between nodes. In this invention, the main lines of the nodes are actually drawn as one or more intersecting line segments.

[0110] Node n1-1 will expand from the 12 o'clock direction (main line) of the previous node, without occupying the redundant point coordinates of node n1; n1-2 will expand from the 3 o'clock direction (side branch), occupying the last redundant point coordinates; n1-2 will expand from the 9 o'clock direction (side branch), occupying the second to last redundant point coordinates. The expanded nodes are then processed in the same way, thus meeting the requirements of standardized drawing.

[0111] Based on the above line expansion rules, draw the remaining devices and nodes in sequence according to the connection order of the nodes to generate the interval topology.

[0112] 3. Route extension rules for multiple starting nodes

[0113] Most bays have multiple starting nodes n01-n0n, but this method only uses one starting node as the starting point to expand the power wiring diagram of the bay. Therefore, the following situation may occur: a node will be connected to a starting node (let's say n02) through a device. In this case, the following rule is unconditionally applied: the starting node and associated device unconditionally occupy the first redundant point coordinate of that node; and the starting node and device are expanded towards the busbar until they are at the same horizontal coordinate as other starting nodes. Figure 8 As shown.

[0114] Taking a specific node as an example:

[0115] S341. If a non-grounded node is designated as the third node, and another starting node is connected through the device, it is designated as the second starting node.

[0116] S342. Take the coordinates of the first redundant point of the third node main line as the starting coordinates of the side branch. Based on the side branch drawing rules that extend the equipment and the second starting node toward the bus line, derive and draw the side branch to obtain the ending coordinates of the side branch.

[0117] S343. Obtain the dual-port device connected between the third node and the second starting node, set the coordinates of the first port of the dual-port device as the end coordinates of the side branch, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device.

[0118] S344. Set the starting coordinates of the second starting node main line to the coordinates of the second port of the dual-port device, draw the second starting node main line according to the length of the second starting node main line, and connect the end point of the second starting node to the bus line.

[0119] Based on the above method, the expansion method in which a node n1 is simultaneously connected to three ordinary nodes n1-1, n1-2, n1-3 and a starting node n02 is as follows: Figure 9 As shown in the figure, the line segments within the dashed box together constitute node n1 (which can be understood as having the same potential).

[0120] 4. Rules for extending the lines of grounding equipment

[0121] S351. Obtain a grounding device, wherein the grounding device has a first port connected to a non-grounded node and a second port connected to a grounded node;

[0122] S352. Obtain the coordinates of the first redundant point of the non-grounded node and use it as the starting coordinates of the side branch. Based on the preset side branch drawing rules, derive and draw the side branch to obtain the ending coordinates of the side branch.

[0123] S353. Set the coordinates of the first port of the grounding device to the end coordinates of the side branch, draw the grounding device, and obtain the coordinates of the second port of the grounding device;

[0124] S354. Set the starting coordinates of the grounding node main line to the coordinates of the second port of the grounding device, draw the grounding node main line according to the preset length of the grounding node main line, obtain the ending coordinates of the grounding node main line, and draw the grounding symbol at the ending coordinates of the grounding node main line.

[0125] Specific examples:

[0126] ④ Retrieve the following device types and refer to them as grounding devices: one port is connected to a non-grounded node, another port is connected to a grounded node, and extensions are made at the non-grounded node location to supplement the interval side branch. For any non-grounded node, each grounding device will occupy a redundant point location of that node. The grounding device on node n1 is illustrated as follows: Figure 10 As shown.

[0127] ⑤ In step ②, the starting coordinates of node n1 are (x1, y1)*NL, and the ending coordinates are (x1, y1+m-1)*NL. The first grounding device connected to node n1 will occupy the first redundant point coordinate of node n1, i.e., (x1, y1+1)*NL, and a branch of the node will be derived from this coordinate, with the branch ending at (x1+1, y1+1)*NL. A grounding device is connected at the branch ending coordinate, ensuring that the ordinates of the two ports of the grounding device are the same. Assuming the grounding port coordinate of the grounding device is (x2, y2)*NL at this time, this coordinate is used as the starting coordinate of the grounding node, and (x2+0.5, y2)*NL is used as the ending coordinate of the grounding node to draw the corresponding grounding node and grounding symbol.

[0128] Note: The specific numbers used to calculate the distance to the side branches in this section can be freely replaced according to the actual drawing requirements. For example, replacing x2+0.5 with x2+1 will not affect the drawing effect.

[0129] In summary: Each node's side branch (without other ordinary nodes) occupies one redundant point coordinate of that node, and extends in the 3-point direction.

[0130] Here, the calculation method for the branch coordinates can be modified according to different drawing styles. The branch can be drawn using a straight line, or as shown in the figure. Figure 11 As shown, Figure 11 Side branches can be drawn using polylines. The core of this method lies in achieving standardized drawing by connecting the coordinates of different redundant points of the nodes.

[0131] 4. Extension rules for equipment wiring

[0132] S361. Obtain an extended device, wherein the extended device has a first port connected to a non-grounded node and a second port connected to a device outside the interval;

[0133] S362. The first port coordinates of the extended device are set to the endpoint coordinates of the non-grounded node. The extended device is drawn, and the second port coordinates of the extended device are obtained.

[0134] S363. Set the starting coordinates of the extension node main line to the coordinates of the second port of the extension device, draw the extension node main line according to the preset length of the extension node main line, obtain the ending coordinates of the extension node main line, and draw the external port symbol at the ending coordinates of the extension node main line.

[0135] Specific examples are as follows:

[0136] ⑥ Retrieve the following device types and refer to them as extended devices: one port is connected to a non-grounded node, and the other port will be connected to a device outside the bay. The drawing method for this type of device is exactly the same as that for grounded devices, the only difference being that the grounding symbol is replaced with the graphic symbol for extended devices. For example... Figure 12 As shown.

[0137] 5. Spacing Topology Generation

[0138] Based on the specific rules for node and equipment expansion during the mapping process specified above, by analogy, the interval portion of a standardized and complete power wiring diagram can be drawn based on the information extracted from the configuration file, generating the interval topology and ensuring the standardization of the mapping.

[0139] As shown in the figure, the above method can achieve automatic map generation based on configuration information at intervals. Figure 13 (a) and Figure 13 (b) The drawing effects are shown under two different drawing styles (defining the side coordinate calculation scheme). Black rectangles are used to represent equipment in the figure, but in actual drawing, graphic elements representing actual equipment should be introduced.

[0140] Finally, according to the bay connection information set in the substation configuration file, different bays are connected sequentially to the busbars of the corresponding voltage levels, thus achieving automatic drawing of the substation main wiring diagram, such as... Figure 14 As shown.

[0141] This invention provides an automatic method for generating substation bay power wiring diagrams. The method involves obtaining a table of equipment and connection information for the substation bay. This table includes equipment number, equipment name, equipment port, and associated node information. Each node represents a conductor structure with the same potential and directly connected in the wiring diagram. Each node includes a main line and branches. The method iterates through the associated node information of all equipment in the table, determining the length of the node's main line and the number of redundant points based on the frequency of node occurrences. Each node's main line includes a start point, an end point, and redundant points evenly distributed between the start and end points. The node representing the bay's connection to the busbar is used as the starting node. Based on the equipment and connection information table, using equipment as the connection medium between nodes, the connection order between nodes is determined. Starting from any starting node, the wiring diagram topology of the bay is generated according to the connection order between nodes and the length of the node's main line. Branch lines are expanded based on the redundant points on the node's main line. This invention establishes redundant points in the node's main line, enabling branch line expansion. It also specifies specific rules for node and equipment expansion during the drawing process, ensuring standardized drawing and achieving standardized automatic drawing of the bay portion. Compared to traditional manual drawing methods, this invention saves significant manpower and time resources and avoids human error. Compared to existing automated drawing technologies, the images generated by this invention have clear structures and do not suffer from chaotic node layouts, thus avoiding the manual corrections required after drawing using traditional methods. In summary, this invention simultaneously meets the requirements of automation and practicality, saving the resources required by traditional drawing methods.

[0142] Corresponding to the automatic generation method for substation bay power wiring diagrams disclosed in the above embodiments, this invention also discloses an automatic generation method system for substation bay power wiring diagrams, such as... Figure 15 As shown, it specifically includes:

[0143] The connection information acquisition module is used to acquire the equipment and connection information table of the substation bay. The equipment and connection information table includes equipment number, equipment name, equipment port and associated node information. The node represents the conductor structure with the same potential and directly connected in the wiring diagram.

[0144] The node mainline acquisition module is used to traverse the associated node information of all devices in the information table, including the mainline and the sideline of the node, and determine the length of the node mainline and the number of redundant points according to the number of times the node appears. The node mainline includes the starting point, the ending point and the redundant points evenly distributed between the starting point and the ending point, wherein the node that represents the interval and is connected to the bus is taken as the starting node.

[0145] The interval topology generation module is used to determine the connection order between nodes based on the device and connection information table, with the device as the connection medium between nodes, and to generate the interval wiring diagram topology structure starting from any starting node, according to the connection order between nodes and the length of the node main line, wherein the side line is extended based on the redundant points on the node main line.

[0146] It should be noted that for a detailed description of the automatic substation bay power wiring diagram generation system provided in the embodiments of the present invention, please refer to the relevant description of the automatic substation bay power wiring diagram generation method provided in the embodiments of the present invention, which will not be repeated here.

[0147] In addition, embodiments of the present invention also provide an electronic device, the device comprising: a processor and a memory; the memory being used to store one or more program instructions; the processor being used to execute one or more program instructions to perform the steps of an automatic substation bay power wiring diagram generation method as described in any of the preceding embodiments.

[0148] It should be noted that for a detailed description of the electronic device provided in the embodiments of the present invention, please refer to the relevant description of the automatic generation method of substation bay power wiring diagram provided in the embodiments of this application, which will not be repeated here.

[0149] In addition, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the automatic generation method for substation bay power wiring diagrams as described in any of the preceding claims.

[0150] It should be noted that for a detailed description of the computer-readable storage medium provided in the embodiments of the present invention, please refer to the relevant description of the automatic generation method of substation bay power wiring diagram provided in the embodiments of this application, which will not be repeated here.

[0151] As is known from common technical knowledge, this invention can be implemented through other embodiments that do not depart from its spirit or essential characteristics. Therefore, the disclosed embodiments described above are merely illustrative in all respects and are not the only ones. All modifications within the scope of this invention or its equivalents are included in this invention.

[0152] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0153] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0154] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0155] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for automatically generating substation bay power wiring diagrams, characterized in that, The method includes: Obtain the equipment and connection information table of the substation bay. The equipment and connection information table includes equipment number, equipment name, equipment port and associated node information. The node represents the conductor structure with the same potential and directly connected in the wiring diagram. The node includes a main line and side branches. The associated node information of all devices in the information table is traversed. The length of the node main line and the number of redundant points are determined according to the number of times the node appears. The node main line includes a start point, an end point, and redundant points evenly distributed between the start point and the end point. The node that represents the interval and is connected to the bus is taken as the start node. Specifically, the length of the node mainline and the number of redundant points are determined based on the number of times the node appears. This includes: for the starting node, the number of redundant points in the starting node mainline is 0, and the length of the starting node mainline is set as needed; for ordinary nodes, the length of the ordinary node mainline is (m-1)*UL, where m is the number of times the node appears, m is a natural number greater than 1, UL is the length of a unit line segment, and the number of redundant points in each ordinary node mainline is m-2. Based on the device and connection information table, the device is used as the connection medium between nodes to determine the connection order between nodes. Starting from any starting node, a wiring diagram topology structure with intervals is generated according to the connection order between nodes and the length of the node main line. The branch lines are extended based on the redundant points on the node main line.

2. The method for automatically generating substation bay power wiring diagrams according to claim 1, characterized in that, Starting from any initial node mainline, generate a wiring diagram topology structure with intervals based on the connection order and length of the node mainlines, specifically including: The route extension rules for the starting node are as follows: Determine the starting coordinates of the selected first starting node mainline. Connect the starting point of the first starting node mainline to the bus line. Draw the first starting node mainline according to its length to obtain the ending coordinates of the first starting node mainline. Obtain the dual-port device connected to the first starting node, set the coordinates of the first port of the dual-port device as the end coordinates of the main line of the first starting node, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device; Obtain the first node connected to the dual-port device, set the starting coordinates of the first node main line to the coordinates of the second port of the dual-port device, draw the first node main line according to its length, and obtain the redundant point coordinates and the ending coordinates of the first node main line.

3. The method for automatically generating substation bay power wiring diagrams according to claim 2, characterized in that, Starting from any initial node mainline, generate a wiring diagram topology structure with intervals based on the connection order and length of the node mainlines, specifically including: The line expansion rules for ordinary nodes include: When a regular node is connected to only one other regular node: If the first node is connected to only one non-grounded node through a device, the non-grounded node is referred to as the second node. First, obtain the dual-port device connected to the first node, set the coordinates of the first port of the dual-port device to the end coordinates of the main line of the first node, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device; Obtain the second node connected to the dual-port device, set the starting coordinates of the second node main line to the coordinates of the second port of the dual-port device, draw the second node main line according to its length, and obtain the redundant point coordinates and the ending coordinates of the second node main line.

4. The method for automatically generating substation bay power wiring diagrams according to claim 2, characterized in that, Starting from any initial node mainline, generate a wiring diagram topology structure with intervals based on the connection order and length of the node mainlines, specifically including: The line expansion rules for ordinary nodes include: When a regular node is connected to multiple regular nodes: If the first node is connected to multiple ungrounded nodes through the device at the same time, the multiple ungrounded nodes connected to the first node through the device are first allocated according to different line extension directions. The allocation principle is to ensure that the total number of nodes on the main line is the largest, and the total number of nodes on each branch line decreases in sequence. Non-grounded nodes assigned to the main line direction are designated as main nodes, and non-grounded nodes assigned to the side line direction are designated as side nodes. Obtain the mainline dual-port device connected between the first node and the master node, set the coordinates of the first port of the mainline dual-port device as the end coordinates of the mainline of the first node, draw the mainline dual-port device, and obtain the coordinates of the second port of the mainline dual-port device; Set the starting coordinates of the main node mainline to the coordinates of the second port of the mainline dual-port device, draw the main node mainline according to the length of the main node mainline, and obtain the redundant point coordinates and the ending coordinates of the main node mainline. The coordinates of each redundant point on the main line of the first node are used as the starting coordinates of each side branch. Based on the preset side branch drawing rules, each side branch is drawn to obtain the ending coordinates of each side branch. Obtain the coordinates of the first port of each side branch dual-port device connected between the first node and each side branch node, set the coordinates of the first port of each side branch dual-port device as the coordinates of the end point of the corresponding side branch, draw each side branch dual-port device, and obtain the coordinates of the second port of each side branch dual-port device. Set the starting coordinates of each side node main line to the coordinates of the second port of the corresponding side dual-port device, draw each side node main line according to the preset length of each side node main line, and obtain the redundant point coordinates and the ending coordinates of each side node main line. Based on the corresponding line expansion rules, the remaining devices and nodes are drawn sequentially according to the connection order of the nodes to generate the interval topology.

5. The method for automatically generating substation bay power wiring diagrams according to claim 2, characterized in that, Starting from any initial node mainline, generate a wiring diagram topology structure with intervals based on the connection order and length of the node mainlines, specifically including: The rules for extending a route with multiple starting nodes are as follows: If a non-grounded node is designated as the third node, and another starting node is connected through the device, it is designated as the second starting node; Using the coordinates of the first redundant point of the third node mainline as the starting coordinates of the side branch, and based on the side branch drawing rules that extend the equipment and the second starting node toward the busbar direction, the side branch is drawn to obtain the ending coordinates of the side branch. Obtain the dual-port device connected between the third node and the second starting node, set the coordinates of the first port of the dual-port device as the end coordinates of the side branch, draw the dual-port device, and obtain the coordinates of the second port of the dual-port device; Set the starting coordinates of the second starting node main line to the coordinates of the second port of the dual-port device, draw the second starting node main line according to its length, and connect the ending point of the second starting node to the bus line.

6. The method for automatically generating substation bay power wiring diagrams according to claim 2, characterized in that, Starting from any initial node mainline, generate a wiring diagram topology structure with intervals based on the connection order and length of the node mainlines, specifically including: The rules for extending the lines of grounding equipment are as follows: Obtain a grounding device, wherein the grounding device has a first port connected to a non-grounded node and a second port connected to a grounded node; Obtain the coordinates of the first redundant point of the non-grounded node and use them as the starting coordinates of the side branch. Based on the preset side branch drawing rules, derive and draw the side branch to obtain the ending coordinates of the side branch. Set the coordinates of the first port of the grounding device to the end coordinates of the side branch, draw the grounding device, and obtain the coordinates of the second port of the grounding device; Set the starting coordinates of the grounding node main line to the coordinates of the second port of the grounding device, draw the grounding node main line according to the preset length of the grounding node main line, obtain the ending coordinates of the grounding node main line, and draw the grounding symbol at the ending coordinates of the grounding node main line.

7. The method for automatically generating substation bay power wiring diagrams according to claim 2, characterized in that, Starting from any initial node mainline, generate a wiring diagram topology structure with intervals based on the connection order and length of the node mainlines, specifically including: The rules for expanding the wiring of the expansion equipment are as follows: Obtain an extension device, wherein the extension device has a first port connected to a non-grounded node and a second port connected to a device outside the interval; The first port coordinates of the extended device are set to the endpoint coordinates of the non-grounded node. The extended device is then drawn, and the second port coordinates of the extended device are obtained. Set the starting coordinates of the extension node mainline to the coordinates of the second port of the extension device, draw the extension node mainline according to the preset length of the extension node mainline, obtain the ending coordinates of the extension node mainline, and draw the external port symbol at the ending coordinates of the extension node mainline.

8. An automatic drawing system for substation bay electrical wiring diagrams, characterized in that, The system includes: The connection information acquisition module is used to acquire the equipment and connection information table of the substation bay. The equipment and connection information table includes equipment number, equipment name, equipment port and associated node information. The node represents the conductor structure with the same potential and directly connected in the wiring diagram. The node mainline acquisition module is used to traverse the associated node information of all devices in the information table, including the mainline and the sideline of the node, and determine the length of the node mainline and the number of redundant points according to the number of times the node appears. The node mainline includes the starting point, the ending point and the redundant points evenly distributed between the starting point and the ending point, wherein the node that represents the interval and is connected to the bus is taken as the starting node. Specifically, the length of the node mainline and the number of redundant points are determined based on the number of times the node appears. This includes: for the starting node, the number of redundant points in the starting node mainline is 0, and the length of the starting node mainline is set as needed; for ordinary nodes, the length of the ordinary node mainline is (m-1)*UL, where m is the number of times the node appears, m is a natural number greater than 1, UL is the length of a unit line segment, and the number of redundant points in each ordinary node mainline is m-2. The interval topology generation module is used to determine the connection order between nodes based on the device and connection information table, with the device as the connection medium between nodes, and to generate the interval wiring diagram topology structure starting from any starting node, according to the connection order between nodes and the length of the node main line, wherein the side line is extended based on the redundant points on the node main line.

9. An electronic device, characterized in that, The device includes: a processor and a memory; The memory is used to store one or more program instructions; The processor is configured to run one or more program instructions to perform the steps of the automatic generation method for substation bay power wiring diagrams as described in any one of claims 1 to 7.