A Multi-Stage Real-Time Fast Search Method for Closed-Loop Paths Based on Grid Hierarchical Partitioning Characteristics
Abstract
:1. Introduction
- Determine whether it results in a closed loop, and if it does, the relevant equipment that forms the closed-loop path should be given to assist manual decision-making;
- The judgement is fast and suitable for large and complex power grids [4].
- In the initialization phase of the closed-loop judgement function, topological path search work is carried out for the whole network according to the current real-time state of the switch to establish the nodal path data model. This process is computationally intensive and time consuming, and after initialization, it enters the idle phase before operation;
- When receiving a closed-loop judgement command, the current nodal path data model is used to obtain the closed-loop path after the operation in the fewest possible steps and the shortest possible time;
- During the idle time after operation, if there is a switch dislocation, a local closed-loop path search is performed, and the nodal path data model is corrected. This process is computationally minimal and takes less time compared to the initialization phase.
- Proposing a node path data model and its automatic generation method based on the characteristics of grid hierarchical partitioning;
- With the goal of minimizing the real-time response time for closed-loop judgement, a phased closed-loop judgement model is proposed;
- A loop path search method for hierarchical partitioning at the stage of receiving the closed-loop judgement command is proposed;
- A nodal path model correction method for the case of switch closing and disconnecting operation in the idle phase after operation is proposed.
2. Nodal Path Data Model and Its Automatic Generation Method
2.1. Closed-Loop Path Grid Model Based on Grid Hierarchical Zoning Characteristics
- Equipment of different voltage levels is under the management of different dispatchers. Each voltage level is called a layer, and the layers are connected to each other by transformer branch circuits;
- To limit the short-circuit currents, each layer of the grid is split to operate in multiple partitions. Each node within the same partition has a connectivity relationship with the rest of the nodes. Some of the partitions have alternate contact lines between them, and when the alternate contact line is in operation, the partitions on both sides of the contact line have the same level of connectivity and merge into a single partition island.
- Root nodes: nodes within the partition that are directly connected to the upper layer of the grid, i.e., nodes on both sides of the transformer branches;
- Same-layer contact nodes: nodes within the partition that are directly connected to other partitions on the same level, i.e., nodes on both sides of the alternate contact line;
- Common nodes: nodes in the partition other than the root node and the same layer of contact nodes.
- The three partitions of the first layer of the grid are , , and ;
- and are common nodes within partitions and ;
- , , and are same-layer contact nodes in partitions , , and , respectively;
- The root nodes of partitions and are and ;
- The upper-level grid nodes connected to the root nodes and are and ;
- The root nodes of the partitions in which and are located are and ;
- There are operational liaison lines between partitions and , and there is a same-level liaison relationship between these two partitions to form a partitioned island.
2.2. Nodal Path Data Model
- In the initialization phase, the paths between each node and other nodes are searched and saved;
- During a real-time closed-loop path search, only the saved node paths in the model are searched and combined, and the shortest closed-loop path between any two nodes can be found quickly, without the need for a topology search.
- Path origin node;
- Path: a directed chain of nodes on a path from the start to the end node;
- Path end node;
- Type of node at the end of the path: used for quick search.
2.2.1. Common Node Path Table
2.2.2. Same-Layer Contact Node Path Table
2.2.3. Root Node Path Table
2.3. Automatic Generation Method for Common Node Path Data Table
- From the starting node, the breadth-first search method is used to expand the search nodes outwards, and the search scope involves only the nodes in the same partition;
- Every time a new node is searched, the path table creates new path data, saving the path from the initial node to that node;
- Repeat step 2 until all nodes in the same partition as the starting node have been searched, ending the search.
2.4. Automatic Generation Method for Same-Layer Contact Node Path Data Table
- Search for nodes connected to and put the unsearched connected nodes into the outermost set of the A side;
- Search for nodes connected to and put the unsearched connected nodes into the outermost set of the B side;
- Take the intersection of the outermost set of nodes on A side and B side, and if it is empty, return step 1, until the same node is found in both sets;
- Find and by backtracking from the same node;
- The path table creates new path data; save the path “-same node-”.
2.5. Automatic Generation Method for Root Node Path Data Table
- Find the upper nodes and of and ;
- If and do not belong to the same partition island, then there is no connected path in the previous layer of and , and the process ends;
- Search for the nodes connected to and put the unsearched connected nodes into the outermost set of nodes on the A side;
- Search for the nodes connected to and put the unsearched connected nodes into the outermost set of nodes on the B side;
- Take the intersection of the set of outermost nodes on side A and the set of outermost nodes on side B. If it is empty, return step 3 until the same node in both sets is found;
- Find and by backtracking from the same node;
- The path table creates new path data; save the path “--same node--”.
3. Closed-Loop Path Search Process and Rules
- If nodes and belong to the same partition, save the path from “ to ”, to the path set, and the process ends;
- Otherwise, if nodes and belong to the same partition island, take the same-layer contact nodes, and , and save the paths from “-, -, and -” to the set of paths, and the process ends;
- Otherwise, if there is a connected path between root nodes and in the same layer, save the paths from “-, -, -” to the path set, and the process ends;
- Otherwise, take the upper-level nodes and connected to the same level root nodes and and the upper-level partition root nodes and ;
- If there is a path from to , save the path from “-, -, -, -, and -” to the set of paths, and the process ends;
- Otherwise, return to step 4 until you search upwards to the highest level.
4. Method for Modifying Path Library Data Model after Switchgear Operation
4.1. Related Nodes Affected by Grid Topology Changes
- The principle for determining the related nodes of a connected branch is that a node is related if any path in its path table contains this connected branch;
- The principle for determining the related nodes of an unconnected branch is that a node is related if any of the paths in its path table contains nodes at both ends of this unconnected branch.
4.2. Nodal Path Correction Method after Switch Disconnection
- Determine whether the nodes on both sides of the switch belong to different partitions. If they belong to different partitions, proceed to step 2; if they belong to the same partition, jump to step 3;
- Modify the node attributes of both nodes to common nodes, update the path tables of both nodes, re-run the partition island analysis for this layer, and update the path tables of all same-layer contact nodes in this layer;
- According to the relationship data between the branch and the related node, find out the related node of the branch between two nodes, and update the path table of the related node; update the data content of this branch in the branch-correlation node table.
4.3. Nodal Path Correction Method after Switch Closure
- Determine whether the nodes on both sides of the switch belong to different partitions. If they belong to different partitions, proceed to step 2; if they belong to the same partition, jump to step 5;
- Modify the node attributes of both nodes to same-layer contacts and update the path tables of both nodes;
- Determine whether the partition where the two nodes are located belongs to the same partition island. If it belongs to a different partition island, proceed to step 4; if it belongs to the same partition island, jump to step 5;
- Redo the partition island analysis for this layer, update the path table for all same-layer contact nodes in this layer, and update the path table for lower-level nodes (all root nodes) connected to all nodes within the two partition islands;
- According to the relationship data between the branch and the related node, find out the related node of the branch between two nodes, and update the path table of the related node; update the data content of this branch in the branch-correlation node table.
5. Case Study Results and Analysis
- Nodes 139 and 210 are not in a partition and are not in a partition island;
- Search the 139 node path table to find the path between 139 and the root node 138 of this partition, i.e., 139-138;
- Search the 210 node path table to find the path between 210 and the root node 212 of this partition, i.e., 210-211-212;
- Search the node path table for 138 (the root node of the partition where 139 is located) and find the path between 138 and 212 (the root node of the partition where 210 is located), i.e., 138-23-10-11-12-18-24-212;
- The three paths add up to the final path, which is 139-138-23-10-11-12-18-24-212-211-210.
6. Conclusions
- Based on the characteristics of power grid hierarchical partitioning, three types of nodes are defined: the corresponding node path data model is constructed, the hierarchical search priority principle is formulated, and the fast search method for the closed-loop path is designed. Compared with the graph search, the characteristics of the power grid are considered, the search directionality is clearer, and the search scope is much reduced;
- The closed-loop judgement process is divided into three phases: initialization, receiving the closed-loop judgement command, and post-operation. In the initialization phase, the whole network nodal path data model is established in real time, which takes the longest time; in the receiving the closed-loop judgement command phase, the nodal path model of the current state is used to obtain the closed-loop path after the operation, which takes the shortest time; and in the post-operation phase, the model is corrected locally, which takes a shorter time. By configuring the tasks in this way, real-time performance is improved.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Li, B.; Zhao, D.; Li, B.; Zhang, H. Key Technologies of Online Error Prevention System in Smart Substation. Smart Power 2020, 48, 73–78+111. [Google Scholar]
- Sha, L.; Li, G.; Xie, M.; Lv, Y.; Shan, L. Optimal Search and Operation Security Correction of the Closed-loop Switches in the Distribution Network. Electr. Autom. 2020, 42, 82–84+88. [Google Scholar]
- Qin, Q.; Zhou, Q.; Zhang, Y.; Guo, Q. Influencial Factors Analysis of Receiving Power Flow Capacity and Countermeasures. Electr. Power Constr. 2017, 38, 120–126. [Google Scholar]
- Yu, J.; Xia, Y.; Dong, Y.; Su, Z.; Liao, H. Online Real-time Loop Closing Analysis System for Main Distribution Network Integration Based on CIM/SVG. Power Capacit. React. Power Compens. 2020, 41, 157–163. [Google Scholar]
- Wu, Y.; Wang, H.; Yang, L. A hybrid aided decision-making algorithm of distribution network loop closing based on priority. Power Syst. Prot. Control. 2020, 48, 57–67. [Google Scholar]
- Zhou, Y.; Yan, Z.; Li, N.; Feng, D.; Dai, S. A New System Restoration Path Search Algorithm and Its Applicability Research. Proc. CSEE 2016, 36, 4152–4161. [Google Scholar]
- Huang, C. Research on Cascading Failure Path Search and Critical Line Identification in AC/DC Hybrid System. Master’s Thesis, South China University of Technology, Beijing, China, June 2022. [Google Scholar]
- Su, Y.; Qiu, T.; Qiu, J. Study on Topology Analysis for Distribution Network. Zhejiang Electr. Power 2001, 5, 10–14. [Google Scholar]
- Guo, S.; Yan, Y.; Jiang, J.; Ma, M.; Bao, W. Network topology identification algorithm based on adjacency matrix. Power Syst. Prot. Control. 2018, 46, 50–56. [Google Scholar]
- Yu, K.; Xie, L.; Jin, R. Recent Development and Application Prospects of IGBT in Flexible HVDC Power System. Autom. Electr. Power Syst. 2016, 40, 65–70+143. [Google Scholar]
- Zhou, H.; Sun, F. Topology Path Search Method of Active Distribution Network Based on Undirected Graph. Autom. Electr. Power Syst. 2014, 38, 64–71. [Google Scholar]
- Zhang, X.; Cheng, X.; Zhao, D.; Su, L. A Path Searching Method Based on Vertex Splitting for Online Power Grid Fault Restoration. Guangdong Electr. Power 2022, 35, 71–77. [Google Scholar]
- Xu, C.; Dong, S.; Sun, Z.; Li, C.; Sun, M. A Path Searching Algorithm for Distribution Network Based on Network Simplification and Depth First Traversal. Autom. Electr. Power Syst. 2017, 41, 170–176. [Google Scholar]
- Cui, J.; Hai, D.; Fang, Q.; Yang, C.; Xu, W.; Huang, C. A Closing-Loop Topology Analysis Based on Hierarchical Forward-Probing and Backward-Tracking Search Algorithm. Mod. Electr. Power 2022, 39, 143–150. [Google Scholar]
- Ji, Y.; Zhao, J. Design and research on the loop closing operation analysis system medium voltage in radial distribution network. Power Syst. Prot. Control. 2009, 37, 58–61+69. [Google Scholar]
Path Origin Node | Path | Path End Node | Type of Node at the End of the Path |
---|---|---|---|
139 | 139-138 | 138 | 1 |
139 | 139-138-137 | 137 | 0 |
139 | 139-138-140 | 140 | 0 |
139 | 139-138-137-136 | 136 | 0 |
139 | 139-138-140-141 | 141 | 0 |
Path Origin Node | Path | Path End Node | Type of Node at the End of the Path |
---|---|---|---|
210 | 210-211 | 211 | 0 |
210 | 210-211-212 | 212 | 1 |
210 | 210-211-212-213 | 213 | 0 |
210 | 210-211-212-215 | 215 | 0 |
210 | 210-211-212-216 | 216 | 0 |
210 | 210-211-212-213-214 | 214 | 0 |
Path Origin Node | Path | Path End Node | Type of Node at the End of the Path |
---|---|---|---|
138 | 138-23-10-4-3-9-8-29 | 29 | 1 |
138 | 138-23-10-4-3-9-8-32 | 32 | 1 |
138 | 138-23-10-4-3-9-8-14-37 | 37 | 1 |
138 | 138-23-10-4-3-9-8-14-40 | 40 | 1 |
138 | 138-23-10-4-3-9-8-14-20-47 | 47 | 1 |
138 | 138-23-10-4-3-9-8-14-20-50 | 50 | 1 |
138 | 138-23-10-4-3-9-16-15-57 | 57 | 1 |
138 | 138-23-10-4-3-9-16-15-60 | 60 | 1 |
138 | 138-23-10-4-3-9-16-15-21-67 | 67 | 1 |
138 | 138-23-10-4-3-9-16-15-21-71 | 71 | 1 |
138 | 138-23-10-4-3-77 | 77 | 1 |
138 | 138-23-10-4-3-78 | 78 | 1 |
138 | 138-23-10-4-3-9-81 | 81 | 1 |
138 | 138-23-10-4-3-9-84 | 84 | 1 |
138 | 138-23-10-4-3-9-85 | 85 | 1 |
138 | 138-23-10-4-3-9-16-92 | 92 | 1 |
138 | 138-23-10-4-3-9-16-96 | 96 | 1 |
138 | 138-23-10-4-3-9-16-22-101 | 101 | 1 |
138 | 138-23-10-4-3-9-16-22-105 | 105 | 1 |
138 | 138-23-10-4-113 | 113 | 1 |
138 | 138-23-10-4-116 | 116 | 1 |
138 | 138-23-10-126 | 126 | 1 |
138 | 138-23-10-127 | 127 | 1 |
138 | 138-23-10-134 | 134 | 1 |
138 | 138-23-11-5-146 | 146 | 1 |
138 | 138-23-11-5-150 | 150 | 1 |
138 | 138-23-11-157 | 157 | 1 |
138 | 138-23-11-161 | 161 | 1 |
138 | 138-23-11-17-166 | 166 | 1 |
138 | 138-23-11-17-170 | 170 | 1 |
138 | 138-23-11-5-6-177 | 177 | 1 |
138 | 138-23-11-5-6-181 | 181 | 1 |
138 | 138-23-11-12-189 | 189 | 1 |
138 | 138-23-11-12-191 | 191 | 1 |
138 | 138-23-11-12-18-198 | 198 | 1 |
138 | 138-23-11-12-18-202 | 202 | 1 |
138 | 138-23-11-12-18-24-208 | 208 | 1 |
138 | 138-23-11-12-18-24-212 | 212 | 1 |
138 | 138-23-11-5-6-7-220 | 220 | 1 |
138 | 138-23-11-5-6-7-221 | 221 | 1 |
138 | 138-23-11-12-13-229 | 229 | 1 |
138 | 138-23-11-12-13-231 | 231 | 1 |
138 | 138-23-11-12-13-19-239 | 239 | 1 |
138 | 138-23-11-12-13-19-243 | 243 | 1 |
Arithmetic | Number of Nodes Involved | Number of Branches Involved | Number of Searches |
---|---|---|---|
The breadth-first method | 42 | 41 | 24 |
This paper’s method | 11 | 10 | 3 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, D.; Yang, K.; Wang, W.; Zhou, Y.; Hua, X.; Liang, T.; Song, K. A Multi-Stage Real-Time Fast Search Method for Closed-Loop Paths Based on Grid Hierarchical Partitioning Characteristics. Energies 2023, 16, 6561. https://doi.org/10.3390/en16186561
Zhang D, Yang K, Wang W, Zhou Y, Hua X, Liang T, Song K. A Multi-Stage Real-Time Fast Search Method for Closed-Loop Paths Based on Grid Hierarchical Partitioning Characteristics. Energies. 2023; 16(18):6561. https://doi.org/10.3390/en16186561
Chicago/Turabian StyleZhang, Dongying, Kai Yang, Wei Wang, Yunbin Zhou, Xiong Hua, Tianjun Liang, and Kunhao Song. 2023. "A Multi-Stage Real-Time Fast Search Method for Closed-Loop Paths Based on Grid Hierarchical Partitioning Characteristics" Energies 16, no. 18: 6561. https://doi.org/10.3390/en16186561
APA StyleZhang, D., Yang, K., Wang, W., Zhou, Y., Hua, X., Liang, T., & Song, K. (2023). A Multi-Stage Real-Time Fast Search Method for Closed-Loop Paths Based on Grid Hierarchical Partitioning Characteristics. Energies, 16(18), 6561. https://doi.org/10.3390/en16186561