Power grid setting calculation partition method, device, equipment and storage medium
Through the power grid setting calculation partition method, the power grid model is simplified and the partition objective function is set, which solves the problems of slow power grid setting calculation speed and low efficiency, improves calculation efficiency and reduces the risk of missetting.
Patent Information
- Application Number
- CN202311519882.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2043-11-14
Smart Images

Figure CN117767265B_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of setting calculation technology, and in particular to a power grid setting calculation partitioning method, device, equipment and storage medium. [Background technology]
[0002] At present, new energy characterized by low carbon, clean and renewable has been rapidly developed. The current development of the power system shows two major trends. First, the proportion of new energy is increasing. Second, the degree of power electronics in the power system is getting higher and higher. The power grid's current and operating conditions are becoming more and more complex. The power grid is gradually transforming into a new power system with a high proportion of new energy and a high proportion of power electronic equipment.
[0003] Relay protection equipment is the guardian of power grid safety. The correctness and rationality of relay protection setting calculation results are the prerequisites for ensuring the safe and reliable operation of relay protection equipment. Its importance is self-evident. With the continuous expansion of the scale of the power grid, the traditional setting calculation partition pattern has become difficult to clearly depict. The upper and lower levels often affect each other. With the large-scale centralized access of new energy to the medium and low voltage distribution system, the conventional concept of unidirectional flow of short-circuit current has been broken. If the traditional method of regularly publishing boundary equivalents or comprehensive impedances is still used, relay protection missetting accidents are very likely to occur.
[0004] In this context, the whole network joint setting calculation based on the integrated application mode came into being, realizing the integration of setting calculation work through unified modeling and unified calculation. However, due to the large scale of the power grid and the large number of nodes, the integrated setting calculation has a huge mathematical model order, slow calculation speed and low efficiency. Since it involves a large number of fault calculations, the key to its practical application lies in improving the calculation speed, and dividing the whole network model through the power grid partitioning algorithm is one of the important ways to improve efficiency. [Summary of the invention]
[0005] The embodiments of the present application provide a method, device, equipment and storage medium for grid setting calculation partitioning, aiming to solve technical problems such as slow speed and low efficiency of integrated grid setting calculation in related technologies.
[0006] In a first aspect, an embodiment of the present application provides a power grid setting calculation partitioning method, comprising:
[0007] Obtain the target power grid line map;
[0008] According to preset simplification and abstraction rules, the target power grid circuit diagram is simplified and abstracted to obtain a simplified circuit diagram;
[0009] For the fault current calculation task, a first weight calculation function is used to determine a first weight value corresponding to each line in the simplified line diagram, so as to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram;
[0010] For the fixed value setting calculation task, a second weight calculation function is used to determine the second weight value corresponding to each line in the simplified line diagram to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram;
[0011] Calculate the first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fault calculation adjacency matrix and the graph community detection modularity calculation formula;
[0012] Calculate the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula;
[0013] The first grid node partition result corresponding to the fault current calculation task is determined according to the first modularity evaluation quality value, and the second grid node partition result corresponding to the constant value setting calculation task is determined according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and constant value setting calculation result according to the first grid node partition result and the second grid node partition result.
[0014] In one embodiment, optionally, the preset simplified abstraction rule includes:
[0015] The power grids of the same voltage level are taken as partition objects;
[0016] The circuit elements that need to be set and calculated are used as the connecting lines of each node in the circuit diagram;
[0017] The busbars connected to each circuit element are regarded as nodes in the circuit diagram.
[0018] In one embodiment, optionally, the using a first weight calculation function to determine a first weight value corresponding to each line in the simplified line diagram includes:
[0019] Traversing all setting principles of all setting circuits in the simplified circuit diagram, as well as all operation modes and maintenance conditions of each setting circuit that require fault current calculation;
[0020] The calculation call times of each line are statistically generated. In any operation mode and maintenance situation, when any setting principle of the current line uses the fault electrical quantity of any matching line for setting once, the calculation call times corresponding to the matching line are increased by one.
[0021] The first weight value corresponding to each line is determined according to the calculation call times of each line and the average calculation call times of all lines.
[0022] In one embodiment, optionally, using a second weight calculation function to determine a second weight value corresponding to each line in the simplified line diagram includes:
[0023] According to the coordination relationship between each line and other lines in the simplified line diagram, the number of coordination relationships corresponding to each line is determined, wherein when the current line has a coordination branch that is a setting principle for any other line, the number of coordination relationships thereof is increased by one;
[0024] The second weight value corresponding to each route is determined according to the number of matching relationships of each route and the average number of matching relationships of all routes.
[0025] In one embodiment, optionally, the graph group detection modularity calculation formula includes:
[0026]
[0027] Among them, M represents the modularity evaluation quality value, L represents the sum of the weight values of all lines, and A ij represents the element value of the i-th row and j-th column in the adjacency matrix, K i , K j Represents the degree of a node, that is, the sum of the weights of all routes passing through the node, δ(C i ,C j ) represents the Kronecker function.
[0028] In one embodiment, optionally, the method further comprises:
[0029] When it is detected that the total number of nodes in the simplified circuit diagram is greater than a preset number, the number of plant bus nodes with upper power supply points in the simplified circuit diagram, the initial partition level, and the average number of nodes in the target partition are obtained;
[0030] Taking the number of the plant bus nodes as reference nodes, and taking the nodes connected near the plant bus nodes as initial partition areas according to the initial partition level;
[0031] Around the initial partition area, searching one by one for the first target node with the largest modularity evaluation quality difference before and after the node is added to the initial partition area, and adding the first target node to the initial partition area to determine a new partition area;
[0032] In the periphery of the new partitioned area, continue to search and add the second target nodes with the largest modularity evaluation quality difference before and after adding the new partitioned area one by one until there are no unpartitioned nodes, thereby obtaining the current partitioned area;
[0033] Determine whether the total number of the current partition area meets the target total number;
[0034] When it is determined that the target total number is not met, according to the target total number, the target partition area with the largest number of partition nodes is searched from all current partition areas, and the node farthest from the reference node in each target partition area is determined as a new reference node;
[0035] According to the initial partition level, around the new reference node, search and add the third target node with the largest modularity evaluation quality difference before and after the region corresponding to the new reference node is added, until the average number of nodes in the current partition in all partition regions is less than or equal to the average number of nodes in the target partition;
[0036] The corresponding power grid node partitioning results are determined according to the modularity evaluation quality values of each current partition area.
[0037] In one embodiment, optionally, the method further comprises:
[0038] When it is determined that the total number of current partitioned areas meets the target total number, the average number of nodes in the current partitions in each current partitioned area is determined;
[0039] When the average number of nodes in the first partition of the first current partition area is greater than the average number of nodes in the target partition, searching for a third target node in the first current partition area whose distance to the reference node is greater than a preset distance;
[0040] From the third target node, find the fourth target node with the largest difference in modularity evaluation quality before and after joining the second partition area adjacent to the first current partition area, and add the fourth target node to the second partition area until the average number of nodes in the current partitions in all partition areas is less than or equal to the average number of nodes in the target partition.
[0041] In a second aspect, an embodiment of the present application provides a power grid setting calculation partitioning device, including:
[0042] An acquisition module, used to acquire a target power grid line diagram;
[0043] A simplification module, used to simplify and abstract the target power grid circuit diagram according to preset simplification and abstraction rules to obtain a simplified circuit diagram;
[0044] A first determination module is used to determine, for a fault current calculation task, a first weight calculation function corresponding to each line in the simplified line diagram, so as to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram;
[0045] A second determination module is used to determine, for a fixed value setting calculation task, a second weight calculation function to determine a second weight value corresponding to each line in the simplified line diagram, so as to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram;
[0046] A first calculation module, used for calculating the first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fault calculation adjacency matrix and the graph group detection modularity calculation formula;
[0047] A second calculation module is used to calculate the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula;
[0048] The third calculation module is used to determine the first grid node partition result corresponding to the fault current calculation task according to the first modularity evaluation quality value, and determine the second grid node partition result corresponding to the constant value setting calculation task according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and constant value setting calculation result according to the first grid node partition result and the second grid node partition result.
[0049] In a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned power grid setting calculation partitioning method when executing the computer program.
[0050] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned power grid setting calculation partitioning method are implemented.
[0051] In the scheme implemented by the above power grid setting calculation partitioning method, device, system, equipment and storage medium, a target power grid line diagram is obtained; according to a preset simplification and abstraction rule, the target power grid line diagram is simplified and abstracted to obtain a simplified line diagram; for a fault current calculation task, a first weight calculation function is used to determine a first weight value corresponding to each line in the simplified line diagram to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram; for a fixed value setting calculation task, a second weight calculation function is used to determine a second weight value corresponding to each line in the simplified line diagram to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram; according to the fault calculation adjacency matrix and the graph cluster The first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions is calculated according to the body detection modularity calculation formula; the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions is calculated according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula; the first power grid node partition result corresponding to the fault current calculation task is determined according to the first modularity evaluation quality value, and the second power grid node partition result corresponding to the fixed value setting calculation task is determined according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and the fixed value setting calculation result according to the first power grid node partition result and the second power grid node partition result. In the present invention, by improving the graph group detection algorithm, different partition objective functions are set for the two calculation tasks of fault calculation and fixed value setting calculation, so as to realize the partitioning of the power grid model for different calculation tasks in the setting calculation process, and reduce the calculation dimension by making the power grid outside the partition equal, while improving the calculation efficiency.
Brief Description of the Drawings
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A schematic flow chart of a grid setting calculation partitioning method according to an embodiment of the present application is shown.
[0054] Figure 2 A schematic diagram of a target power grid line diagram according to an embodiment of the present application is shown.
[0055] Figure 3 A simplified circuit diagram according to an embodiment of the present application is shown.
[0056] Figure 4 A schematic diagram of a target power grid line diagram according to yet another embodiment of the present application is shown.
[0057] Figure 5 A block diagram of a power grid setting calculation partitioning device according to an embodiment of the present application is shown.
[0058] Figure 6 A schematic structural diagram of a computer device according to an embodiment of the present application is shown.
[0059] Figure 7 Another structural schematic diagram of a computer device according to an embodiment of the present application is shown. [Specific implementation method]
[0060] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0061] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0062] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0063] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0064] See also Figure 1 , Figure 1 A schematic flow chart of a grid setting calculation partitioning method according to an embodiment of the present application is shown. The grid setting calculation partitioning method is used to solve technical problems such as slow speed and low efficiency of integrated grid setting calculation in related technologies.
[0065] like Figure 1 As shown, according to an embodiment of the present application, a grid setting calculation partitioning method includes:
[0066] Step S101, obtaining a target power grid line diagram;
[0067] When calculating large-scale power grid setting, usually only the backup protection setting of lines and transformers requires large-scale fault calculation and setting setting calculation. Therefore, when the power grid is partitioned, the main partition objects are lines and transformers. Among them, the target power grid line diagram can be as follows Figure 2 shown.
[0068] Step S102, performing simplification and abstraction processing on the target power grid circuit diagram according to preset simplification and abstraction rules to obtain a simplified circuit diagram;
[0069] The first step in grid partitioning is to abstract the complex power network in reality into a mathematical graph model. Since the main objects of setting calculation are lines and transformers, the grid can be simplified and abstracted into an undirected weighted network with only nodes and connections. The specific abstract principles are as follows:
[0070] (1) The power grids with the same voltage level in the system are taken as partition objects;
[0071] (2) Treat each circuit element in the system that needs to be set and calculated as the connection between each node in the network;
[0072] (3) The buses connected to each line in the system are regarded as nodes in the network;
[0073] (4) Different computational tasks use different objective functions to assign weights to the line elements in the network;
[0074] (5) When multiple loops are abstracted, they are merged and their weights are added;
[0075] (6) The transformer is connected to buses of different voltage levels, so it is not abstracted as a connection line. However, the coordination relationship between the line and the transformer is also considered when using the objective function for weighted calculation.
[0076] like Figure 3 As shown, it is Figure 2 Simplified wiring diagram.
[0077] Step S103, for the fault current calculation task, a first weight calculation function is used to determine a first weight value corresponding to each line in the simplified line diagram, so as to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram;
[0078] Among them, the fault current calculation task means that for a line, it is necessary not only to calculate the electrical quantity when a fault occurs under the selected power grid operation mode, but also to calculate the electrical quantity when a fault occurs when a branch is under maintenance in each operation mode under the NK maintenance condition. The number of fault calculation tasks is often m+1 times the number of maintenance conditions m.
[0079] After simplifying the power grid into an undirected network graph, it is necessary to assign weights to all the connections in the network. For fault calculation tasks and fixed value setting calculation tasks, the functions of line calculation weights are also different.
[0080] When any line in the power grid is set, a large number of fault calculations need to be performed according to its setting principle. For example, for the three-stage grounding distance protection, the setting principle of the grounding distance protection stage I is to avoid the fault at the end of the line, the setting principle of the grounding distance protection stage II is to cooperate with the grounding distance protection stage I of the adjacent line to avoid the fault on the other side of the adjacent transformer, and the setting principle of the grounding distance protection stage III is to cooperate with the grounding distance protection stage II of the adjacent line to ensure the sensitivity of the adjacent transformer fault. At this time, fault calculations need to be performed on the current line, the adjacent transformers of the current line, and the adjacent lines to obtain the measured impedance at the protection installation point when the fault occurs. On this basis, it is also necessary to traverse all operating modes and maintenance conditions according to the operating mode and Nk maintenance conditions that need to be considered, and perform fault calculations separately.
[0081] Therefore, for the fault calculation task, the partitioning goal is to make the branches that need to calculate and coordinate the fault electrical quantities in the partition more dense, and the number of times the fault electrical quantities calculated on the connection lines between partitions are coordinated as little as possible. With this goal in mind, a line connection weight calculation function is established, and its calculation process is as follows:
[0082] (1) Traverse all setting principles of all setting lines in the current power grid, and cycle through all operating modes and maintenance conditions of each setting line that require fault current calculation;
[0083] Among them, the setting principle is the basis for calculating the value space of the protection setting. A line can be equipped with multiple principles. According to the number of adjacent branches or superior branches, each principle will have multiple coordinated branches. When calculating a single principle, the maximum or minimum value of the desired adjacent branch coordination amount is selected according to the protection type and principle type.
[0084] (2) Define that in an operation mode or maintenance situation, a setting principle of the current line uses the fault electrical quantity of any matching line for setting as the unit to calculate the number of calls, and the calculation call of the matching line is increased by one;
[0085] (3) Loop through and generate the number of calculation calls for each line;
[0086] (4) Assigning the abstracted line connection weight as: line calculation call times / average of all line calculation call times;
[0087] Step S104, for the fixed value setting calculation task, using a second weight calculation function to determine the second weight value corresponding to each line in the simplified line diagram, so as to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram;
[0088] During the setting calculation, the task of setting the fixed value is to set the fixed value of each section of each branch according to the electrical quantities calculated by the fault calculation and the principle coordination relationship between the branches. The calculation content mainly includes ring network de-ringing, fixed value value space calculation, giving fixed value according to the value taking principle, etc.
[0089] The calculation of setting value is different from the fault calculation. The main calculation process can be simply summarized as follows: based on all the calculated fault electrical quantities, the maximum or minimum value of the electrical quantity is first obtained to set the current protection I-stage setting value. Then the II-stage setting value is set based on the I-stage setting value and the I-stage or II-stage setting values of other coordinated branches and the fault electrical quantities. The subsequent III-stage and IV-stage setting values are roughly the same as the II-stage setting value process. The difference lies in the number of coordinated setting value segments.
[0090] Therefore, the purpose of the partitioning of the fixed value setting calculation is to divide the branches with close coordination between the fixed values into the same partition, and the connection lines between the partitions should have as few coordination relationships with other lines in the partition as possible. With this goal in mind, a line connection weight calculation function is established, and its calculation process is as follows:
[0091] (1) The number of times the current line exists as a coordinated branch of a certain principle of any line is defined as the unit coordination relationship;
[0092] (2) Loop through and generate the number of matching relationships for each line;
[0093] (3) Assign the weight of the abstracted line connection as: the number of line coordination relationships / the average value of all line coordination relationships;
[0094] Through the above-mentioned constant value setting calculation weight calculation function, the abstracted power grid constant value setting calculation adjacency matrix can be generated. Figure 3 The simplified line graph shown in Figure 1 generates an adjacency matrix as shown in Table 1.
[0095] Table 1
[0096]
[0097] Step S105, calculating the first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fault calculation adjacency matrix and the graph community detection modularity calculation formula;
[0098] After the fault calculation adjacency matrix is obtained, the graph group detection modularity calculation formula may be used to calculate the first modularity evaluation quality value of each node in the simplified circuit diagram under different partitioning conditions.
[0099] The graph group detection modularity calculation formula includes:
[0100]
[0101] Among them, M represents the modularity evaluation quality value, L represents the sum of the weight values of all lines, and A ij represents the element value of the i-th row and j-th column in the adjacency matrix, K i , K j Represents the degree of a node, that is, the sum of the weights of all routes passing through the node, δ(C i ,C j ) represents the Kronecker function, C i , C j Refers to each node in the current network. When two nodes belong to the same partition, the function returns 1, otherwise it returns 0.
[0102] Step S106, calculating the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula;
[0103] After obtaining the constant value setting calculation adjacency matrix, the graph group detection modularity calculation formula can be used to calculate the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions.
[0104] The graph group detection modularity calculation formula includes:
[0105]
[0106] Among them, M represents the modularity evaluation quality value, L represents the sum of the weight values of all lines, and A ij represents the element value of the i-th row and j-th column in the adjacency matrix, K i , K j Represents the degree of a node, that is, the sum of the weights of all routes passing through the node, δ(C i ,C j ) represents the Kronecker function, C i , C j Refers to each node in the current network. When two nodes belong to the same partition, the function returns 1, otherwise it returns 0.
[0107] Step S107, determining the first grid node partition result corresponding to the fault current calculation task according to the first modularity evaluation quality value, and determining the second grid node partition result corresponding to the constant value setting calculation task according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and constant value setting calculation result according to the first grid node partition result and the second grid node partition result.
[0108] In the above embodiment, by improving the graph group detection algorithm, different partition objective functions are set for the two calculation tasks of fault calculation and constant value setting calculation, so as to realize the partitioning of the power grid model for different calculation tasks in the setting calculation process, and reduce the calculation dimension by making the power grid outside the partition equal, while improving the calculation efficiency.
[0109] for Figure 3 For the power grid shown in the figure, assume that the randomly classified nodes A, C, G, K are one group, the nodes B, D, E, F, J are another group, and the remaining H, J nodes are one group. To calculate and analyze the modularity M under this classification, we first need to calculate each element in the adjacency matrix according to the modularity calculation formula to generate the modularity matrix as shown in Table 2.
[0110] Table 2
[0111] A B C D E F G H I J K A 0 0 0.631 0 0 0 -0.091 0 0 0 0.688 B 0 0 0 -0.073 -0.073 0.691 0 0 -0.280 0 0 C 0.631 0 0 0 0 0 -0.053 0 0 0 0.657 D 0 -0.073 0 0 -0.033 0.704 0 0 -0.127 0 0 E 0 -0.073 0 -0.033 0 0.704 0 0 -0.127 0 0 F 0 0.691 0 0.704 0.704 0 0 0 0.616 0 0 G -0.091 0 -0.053 0 0 0 0 0 0 0 0.606 H 0 0 0 0 0 0 0 0 0 0.606 0 I 0 -0.280 0 -0.127 -0.127 0.616 0 0 0 0 0 J 0 0 0 0 0 0 0 0.606 0 0 0 K 0.688 0 0.657 0 0 0 0.606 0 0 0 0
[0112] Summing up all the numbers in the modularity matrix and dividing by 2L, we get the modularity M = 0.4589.
[0113] Based on common sense, if nodes A, C, G, and K are grouped as one group, and nodes B, D, E, F, H, I, J, and K are grouped as another group, their modularity M is calculated to be 0.4846.
[0114] Also based on common sense, if it is divided into three groups, each group includes nodes A, C, G, K, nodes B, D, E, F, and nodes H, J, I, then its modularity M is calculated to be 0.5012.
[0115] The modularity value is normalized by dividing the sum of all numbers in the modularity matrix by 2L. The upper limit of the calculated modularity M is 1. Modularity close to or less than 0 indicates that the current partition of the network is useless. The higher the modularity, the better the degree to which the network is partitioned into different groups. By finding the partition with the highest modularity, the best partition of the network can be found.
[0116] However, for large-scale power grids, the abstracted network often has dozens or hundreds of nodes. It is difficult to traverse all node partitions by brute force, so algorithms are also needed to improve the efficiency of finding the optimal partition. Based on the actual power grid characteristics and conventional partitioning experience, the algorithm process for finding the optimal partition of the power grid network is formulated as follows:
[0117] 1) When it is detected that the total number of nodes in the simplified circuit diagram is greater than a preset number, the number of plant bus nodes with upper power supply points in the simplified circuit diagram, the initial partition level, and the average number of nodes in the target partition are obtained;
[0118] Set parameters, including the default initial partition level of 1 or 2, and the average number of nodes in the target partition of 10 to 15; obtain the number of plant bus nodes with upper power points in the network, and use them as the benchmark nodes for finding the optimal partition, and use the connected nodes near these plant bus nodes as their initial partition members according to the initial partition level.
[0119] 2) Taking the number of the plant bus nodes as reference nodes, and taking the nodes connected near the plant bus nodes as initial partition areas according to the initial partition level;
[0120] 3) In the vicinity of the initial partition area, searching one by one for the first target node with the largest modularity evaluation quality difference before and after the node is added to the initial partition area, and adding the first target node to the initial partition area to determine a new partition area;
[0121] Specifically, calculate the modularity of the initial partition in step 2; try to integrate a node near the initial partition area into this partition, and calculate the change in modularity △M after this change; select the partition with the largest improvement in △M and record it as the new partition;
[0122] 4) Around the new partitioned area, continue to search and add the second target node with the largest modularity evaluation quality difference before and after adding the new partitioned area one by one until there is no unpartitioned node, and obtain the current partitioned area; repeat the process of step 3), that is, add a node to each partition each time, and find the partition with the largest ΔM improvement, until there is no unpartitioned node;
[0123] 5) Determine whether the total number of the current partition area meets the target total number; for example, the target total number is 3, but the total number of the current partition area is only 2, then it does not meet the target total number. If it does not meet the target total number, there must be a partition with more nodes than the average number of nodes in the target partition.
[0124] 6) When it is determined that the target total number is not met, according to the target total number, a target partition area with the largest number of partition nodes is searched from all current partition areas, and a node farthest from the reference node in each target partition area is determined as a new reference node;
[0125] The node farthest from the reference node in one or more partitions with the largest number of partition nodes is selected as the new partition reference node, and the nodes around the new reference node are added to its partition according to the initial partition level.
[0126] 7) According to the initial partition level, around the new reference node, search and add the third target node with the largest modularity evaluation quality difference before and after the region corresponding to the new reference node is added one by one, until the average number of nodes in the current partition in all partition regions is less than or equal to the average number of nodes in the target partition;
[0127] Keep trying to assign nodes in adjacent partitions to the new partition and find the one that maximizes △M until the average number of nodes in the current partition is within the range of the average number of nodes in the target partition.
[0128] 8) Determine the corresponding grid node partitioning result according to the modularity evaluation quality value of each current partition area.
[0129] Calculate the modularity M of the current partition and store it, and select the partition with the largest M value to clean up as the final partition.
[0130] In one embodiment, optionally, the method further comprises:
[0131] When it is determined that the total number of current partitioned areas meets the target total number, the average number of nodes in the current partitions in each current partitioned area is determined;
[0132] When the average number of nodes in the first partition of the first current partition area is greater than the average number of nodes in the target partition, searching for a third target node in the first current partition area whose distance to the reference node is greater than a preset distance;
[0133] From the third target node, find the fourth target node with the largest difference in modularity evaluation quality before and after joining the second partition area adjacent to the first current partition area, and add the fourth target node to the second partition area until the average number of nodes in the current partitions in all partition areas is less than or equal to the average number of nodes in the target partition.
[0134] In this embodiment, when the total number of current partitioned areas meets the target total number, the average number of nodes in the current partitions in each current partitioned area is further determined. If the average number of nodes in a partitioned area is greater than the target average number of nodes, the node partitions with a higher number of nodes than the average number are attempted to have their outermost nodes be assigned to node partitions with a smaller number of adjacent nodes. The resulting modularity change △M is calculated, and the case with the largest △M is recorded. This step is repeated continuously, and all modularity M values in the process are recorded until the number of nodes in all partitions is within the target average number of nodes.
[0135] The method proposed in the present invention is verified by using an example power grid. There is a 220kV high-voltage ring network between 500kV stations B and C. Figure 4 shown.
[0136] To simplify the analysis and verify the effectiveness of the algorithm in this paper, the following is explained before the analysis:
[0137] (1) The setting principle of the ground distance protection stage I is to avoid the fault at the end of the line, the setting principle of the ground distance protection stage II is to maintain sensitivity and coordinate with the ground distance protection stage I of the adjacent line, and the setting principle of the ground distance protection stage III is to maintain sensitivity and coordinate with the ground distance protection stage II of the adjacent line. To simplify the analysis, this paper does not consider avoiding faults on the other side of the main transformer;
[0138] (2) To simplify the analysis, it is assumed that the parameters of the double-circuit lines are consistent, and therefore the constants are also consistent;
[0139] (3) The boost (branch) coefficient is calculated according to general rules, taking into account the maximum and minimum operating modes and the N-1 maintenance situation;
[0140] Traverse all setting lines to generate fault calculation adjacency matrix and fixed value setting calculation adjacency matrix. Based on the two adjacency matrices, use the above-mentioned network optimal partitioning algorithm, set the initial partition level to 1, and the average number of nodes in the target partition to 5-6.
[0141] The fault calculation task and the partition calculation process of the fixed value setting calculation are shown in Table 3:
[0142] Table 3
[0143]
[0144] The example power grid is partitioned and eventually two sub-areas are obtained. The plant A, C, K, and G form sub-area 1, and the plant B, F, J, I, D, E, and H form sub-area 2.
[0145] The comparison of fault calculation and constant value setting calculation results before and after partitioning is shown in Table 4. It can be seen that compared with the prior art, the algorithm proposed in the present invention can greatly improve the calculation efficiency and reduce the calculation time while ensuring the correctness of the calculation.
[0146] Table 4
[0147]
[0148] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0149] Figure 5 A block diagram of a power grid setting calculation partitioning device according to an embodiment of the present application is shown.
[0150] like Figure 5As shown, in a second aspect, an embodiment of the present application provides a power grid setting calculation partitioning device 50, comprising:
[0151] An acquisition module 51 is used to acquire a target power grid line diagram;
[0152] A simplification module 52 is used to simplify and abstract the target power grid circuit diagram according to a preset simplification and abstraction rule to obtain a simplified circuit diagram;
[0153] A first determination module 53 is used to determine, for a fault current calculation task, a first weight calculation function corresponding to each line in the simplified line diagram, so as to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram;
[0154] A second determination module 54 is used to determine, for a fixed value setting calculation task, a second weight calculation function corresponding to each line in the simplified line diagram, so as to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram;
[0155] A first calculation module 55, used to calculate the first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fault calculation adjacency matrix and the graph group detection modularity calculation formula;
[0156] A second calculation module 56, used for calculating the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula;
[0157] The third calculation module 57 is used to determine the first grid node partition result corresponding to the fault current calculation task according to the first modularity evaluation quality value, and determine the second grid node partition result corresponding to the constant value setting calculation task according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and constant value setting calculation result according to the first grid node partition result and the second grid node partition result.
[0158] In one embodiment, optionally, the preset simplified abstraction rule includes:
[0159] The power grids of the same voltage level are taken as partition objects;
[0160] The circuit elements that need to be set and calculated are used as the connecting lines of each node in the circuit diagram;
[0161] The busbars connected to each circuit element are regarded as nodes in the circuit diagram.
[0162] In one embodiment, optionally, the first determining module includes:
[0163] A traversal unit, used for traversing all setting principles of all setting circuits in the simplified circuit diagram, as well as all operation modes and maintenance conditions of each setting circuit that need to perform fault current calculation;
[0164] A statistical unit is used to generate the calculation call times of each line. In any operation mode and maintenance situation, when any setting principle of the current line uses the fault electrical quantity of any matching line for setting once, the calculation call times corresponding to the matching line are increased by one.
[0165] The first determining unit is used to determine a first weight value corresponding to each line according to the calculation call times of each line and the average calculation call times of all lines.
[0166] In one embodiment, optionally, the second determining module includes:
[0167] A second determining unit is used to determine the number of coordination relationships corresponding to each line according to the coordination relationship between each line and other lines in the simplified line diagram, wherein when the current line has a coordination branch that is a setting principle for any other line, the number of coordination relationships thereof is increased by one;
[0168] The third determining unit is used to determine the second weight value corresponding to each route according to the number of matching relationships of each route and the average number of matching relationships of all routes.
[0169] In one embodiment, optionally, the graph group detection modularity calculation formula includes:
[0170]
[0171] Among them, M represents the modularity evaluation quality value, L represents the sum of the weight values of all lines, and A ij represents the element value of the i-th row and j-th column in the adjacency matrix, K i , K j Represents the degree of a node, that is, the sum of the weights of all routes passing through the node, δ(C i ,C j ) represents the Kronecker function, C i , C j Refers to each node in the current network. When two nodes belong to the same partition, the function returns 1, otherwise it returns 0.
[0172] In one embodiment, optionally, the third calculation module includes:
[0173] A quantity acquisition unit, configured to acquire the number of plant bus nodes with upper power supply points in the simplified circuit diagram, the initial partition level, and the average number of nodes in the target partition when it is detected that the total number of nodes in the simplified circuit diagram is greater than a preset number;
[0174] A first partitioning unit is used to use the number of the plant bus nodes as reference nodes and to use nodes connected near the plant bus nodes as initial partitioning areas according to the initial partitioning level;
[0175] A second partitioning unit is used to search one by one around the initial partitioning area for a first target node with the largest modularity evaluation quality difference before and after the node is added to the initial partitioning area, and add the first target node to the initial partitioning area to determine a new partitioning area;
[0176] The third partitioning unit is used to continue searching and adding the second target nodes with the largest modularity evaluation quality difference before and after adding the new partitioning area one by one around the new partitioning area until there are no unpartitioned nodes, thereby obtaining the current partitioning area;
[0177] A quantity determination unit, used to determine whether the total quantity of the current partition area meets the target total quantity;
[0178] A fourth determining unit is configured to, when it is determined that the target total number is not met, search for a target partition area with the largest number of partition nodes from all current partition areas according to the target total number, and determine the node farthest from the reference node in each target partition area as a new reference node;
[0179] A search unit is used to search and add, one by one, the third target node with the largest modularity evaluation quality difference before and after the region corresponding to the new reference node is added around the new reference node according to the initial partition level, until the average number of nodes in the current partition in all partition regions is less than or equal to the average number of nodes in the target partition;
[0180] The fifth determining unit is used to determine the corresponding power grid node partitioning result according to the modularity evaluation quality value of each current partition area.
[0181] In one embodiment, optionally, the device further comprises:
[0182] A fourth determination module is used to determine the current partition average node number in each current partition area when it is determined that the total number of the current partition area meets the target total number;
[0183] A first search module, configured to search, when the average number of nodes in the first partition of the first current partition area is greater than the average number of nodes in the target partition, for a third target node whose distance from the first current partition area to its reference node is greater than a preset distance;
[0184] The second search module is used to search for the fourth target node with the largest modularity evaluation quality difference before and after joining the second partition area adjacent to the first current partition area from the third target node, and add the fourth target node to the second partition area until the average number of nodes in the current partitions in all partition areas is less than or equal to the average number of nodes in the target partition.
[0185] The specific definition of the power grid setting calculation partition device can refer to the definition of the power grid setting calculation partition method above, which will not be repeated here. Each module in the above power grid setting calculation partition device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0186] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, it implements the functions or steps of a service-side method for power grid setting calculation partitioning.
[0187] In one embodiment, a computer device is provided. The computer device may be a client, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, the functions or steps on the client side of a power grid setting calculation partitioning method are implemented.
[0188] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0189] The computer device of the embodiment of the present application exists in various forms, including but not limited to:
[0190] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
[0191] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.
[0192] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.
[0193] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.
[0194] (5) Other electronic devices with data interaction functions.
[0195] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method described in the first aspect of the embodiment is implemented when the processor executes the computer program.
[0196] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or electronic device can refer to the relevant description in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0197] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0198] It should be understood that, although the terms first, second, etc. may be used to describe the setting unit in the embodiments of the present application, these setting units should not be limited to these terms. These terms are only used to distinguish the setting units from each other. For example, without departing from the scope of the embodiments of the present application, the first setting unit may also be referred to as the second setting unit, and similarly, the second setting unit may also be referred to as the first setting unit.
[0199] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0200] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0201] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0202] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0203] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A power grid setting calculation partitioning method, characterized in that: include: Obtain the target power grid line map; According to preset simplification and abstraction rules, the target power grid circuit diagram is simplified and abstracted to obtain a simplified circuit diagram; For the fault current calculation task, a first weight calculation function is used to determine a first weight value corresponding to each line in the simplified line diagram, so as to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram; The step of using a first weight calculation function to determine a first weight value corresponding to each line in the simplified line diagram includes: Traversing all setting principles of all setting circuits in the simplified circuit diagram, as well as all operation modes and maintenance conditions of each setting circuit that require fault current calculation; The calculation call times of each line are statistically generated. In any operation mode and maintenance situation, when any setting principle of the current line uses the fault electrical quantity of any matching line for setting once, the calculation call times corresponding to the matching line are increased by one. Determine a first weight value corresponding to each line according to the number of calculation calls of each line and the average number of calculation calls of all lines; For the fixed value setting calculation task, a second weight calculation function is used to determine the second weight value corresponding to each line in the simplified line diagram, so as to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram; Determining the second weight value corresponding to each line in the simplified line diagram using a second weight calculation function includes: According to the coordination relationship between each line and other lines in the simplified line diagram, the number of coordination relationships corresponding to each line is determined, wherein when the current line has a coordination branch as any setting principle of any other line, the number of its coordination relationships is increased by one; Determine a second weight value corresponding to each route according to the number of coordination relationships of each route and the average number of coordination relationships of all routes; Calculate the first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fault calculation adjacency matrix and the graph community detection modularity calculation formula; Calculate the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula; The graph group detection modularity calculation formula includes: Among them, M represents the modularity evaluation quality value, L represents the sum of the weight values of all lines, and A ij represents the element value of the i-th row and j-th column in the adjacency matrix, K i , K j Represents the degree of a node, that is, the sum of the weights of all routes passing through the node, δ(C i ,C j ) represents the Kronecker function, N represents the number of rows and columns in the adjacency matrix; The first grid node partition result corresponding to the fault current calculation task is determined according to the first modularity evaluation quality value, and the second grid node partition result corresponding to the constant value setting calculation task is determined according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and constant value setting calculation result according to the first grid node partition result and the second grid node partition result.
2. The method according to claim 1, characterized in that The preset simplified abstract rules include: The power grids of the same voltage level are taken as partition objects; The circuit elements that need to be set and calculated are used as the connecting lines of each node in the circuit diagram; The busbars connected to each circuit element are regarded as nodes in the circuit diagram.
3. The method according to claim 1, characterized in that Determining a first grid node partition result corresponding to the fault current calculation task according to the first modularity evaluation quality value, and determining a second grid node partition result corresponding to the fixed value setting calculation task according to the second modularity evaluation quality value, including: Obtain the number of plant bus nodes with upper power supply points in the simplified line diagram, the number of initial partition levels, and the average number of nodes in the target partition; Taking the number of the plant bus nodes as reference nodes, and taking the nodes connected near the plant bus nodes as initial partition areas according to the initial partition level; Around the initial partition area, searching one by one for the first target node with the largest modularity evaluation quality difference before and after the node is added to the initial partition area, and adding the first target node to the initial partition area to determine a new partition area; Around the new partitioned area, continue to search and add the second target nodes with the largest modularity evaluation quality difference before and after adding the new partitioned area one by one until there are no unpartitioned nodes, thereby obtaining the current partitioned area; Determine whether the total number of the current partition area meets the target total number; When it is determined that the target total number is not met, according to the target total number, the target partition area with the largest number of partition nodes is searched from all current partition areas, and the node farthest from the reference node in each target partition area is determined as a new reference node; According to the initial partition level, around the new reference node, search and add the third target node with the largest modularity evaluation quality difference before and after the region corresponding to the new reference node is added, until the average number of nodes in the current partition in all partition regions is less than or equal to the average number of nodes in the target partition; The corresponding power grid node partitioning results are determined according to the modularity evaluation quality values of each current partition area.
4. The method according to claim 3, characterized in that The method further comprises: When it is determined that the total number of current partitioned areas meets the target total number, the average number of nodes in the current partitions in each current partitioned area is determined; When the average number of nodes in the first partition of the first current partition area is greater than the average number of nodes in the target partition, searching for a third target node in the first current partition area whose distance to the reference node is greater than a preset distance; From the third target node, find the fourth target node with the largest difference in modularity evaluation quality before and after joining the second partition area adjacent to the first current partition area, and add the fourth target node to the second partition area until the average number of nodes in the current partitions in all partition areas is less than or equal to the average number of nodes in the target partition.
5. A power grid setting calculation partition system, characterized in that: include: An acquisition module, used to acquire a target power grid line diagram; A simplification module, used to simplify and abstract the target power grid circuit diagram according to preset simplification and abstraction rules to obtain a simplified circuit diagram; A first determination module is used to determine, for a fault current calculation task, a first weight calculation function corresponding to each line in the simplified line diagram, so as to obtain a fault calculation adjacency matrix corresponding to the simplified line diagram; A second determination module is used to determine, for a fixed value setting calculation task, a second weight calculation function to determine a second weight value corresponding to each line in the simplified line diagram, so as to obtain a fixed value setting calculation adjacency matrix corresponding to the simplified line diagram; A first calculation module, used for calculating the first modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fault calculation adjacency matrix and the graph group detection modularity calculation formula; A second calculation module is used to calculate the second modularity evaluation quality value of each node in the simplified circuit diagram under different partition conditions according to the fixed value setting calculation adjacency matrix and the graph group detection modularity calculation formula; a third calculation module, configured to determine a first grid node partition result corresponding to the fault current calculation task according to the first modularity evaluation quality value, and determine a second grid node partition result corresponding to the fixed value setting calculation task according to the second modularity evaluation quality value, so as to calculate the corresponding fault current calculation result and fixed value setting calculation result according to the first grid node partition result and the second grid node partition result; The first determining module comprises: A traversal unit, used for traversing all setting principles of all setting circuits in the simplified circuit diagram, as well as all operation modes and maintenance conditions of each setting circuit that need to perform fault current calculation; A statistical unit is used to generate the calculation call times of each line. In any operation mode and maintenance situation, when any setting principle of the current line uses the fault electrical quantity of any matching line for setting once, the calculation call times corresponding to the matching line are increased by one. A first determining unit, configured to determine a first weight value corresponding to each line according to the number of calculation calls of each line and the average number of calculation calls of all lines; The second determining module comprises: A second determining unit is used to determine the number of coordination relationships corresponding to each line according to the coordination relationship between each line and other lines in the simplified line diagram, wherein when the current line has a coordination branch that is a setting principle for any other line, the number of coordination relationships thereof is increased by one; A third determining unit, configured to determine a second weight value corresponding to each route according to the number of coordination relationships of each route and an average number of coordination relationships of all routes; The graph group detection modularity calculation formula includes: Among them, M represents the modularity evaluation quality value, L represents the sum of the weight values of all lines, and A ij represents the element value of the i-th row and j-th column in the adjacency matrix, K i , K j Represents the degree of a node, that is, the sum of the weights of all routes passing through the node, δ(C i ,C j ) represents the Kronecker function, C i , C j Refers to each node in the current network. When two nodes belong to the same partition, the function returns 1, otherwise it returns 0, where N represents the number of rows and columns in the adjacency matrix.
6. A computer device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, wherein the instructions are configured to execute the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Power grid partition searching method and system based on line weight
CN113629769A
Power distribution network control method and device based on distributed power supply, and storage medium
CN115811047A
Method, device and equipment for setting distance protection multiple constant value areas and storage medium
CN116073339A
Protection fixed value setting optimization method based on graph group detection and improved heredity
CN116304198A
Fault power supply recovery method considering multiple targets for feeder group FC of medium-voltage distribution power supply area (S-SCDN) with substation as center
CN116826725A
