Active power distribution network short-circuit current calculation method based on graph convolutional neural network

Using graph convolutional neural networks to perform graph data representation and convolution operations on active distribution networks solves the contradiction between accuracy and efficiency in the calculation of short-circuit current in active distribution networks, and realizes adaptive calculations for changes in network structure. Suitable for actual engineering needs.

CN118690132APending Publication Date: 2024-09-24ZHEJIANG UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410710590.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

When the existing technology calculates the short-circuit current of an active distribution network, there is a problem of irreconcilable calculation accuracy and efficiency. Especially when the network scale increases or the structure changes, iterative calculations take more time and are difficult to adapt to network structure changes.

Method used

The graph convolutional neural network (GCN) method is used to represent the graph data of the active distribution network, using the topological structure and electrical characteristics to perform graph convolution operations, learning the mapping relationship between electrical information and short-circuit current, and achieving fast and accurate short-circuit current calculation. , adapt to different network sizes and structural changes.

Benefits of technology

It improves the adaptability to the calculation of short-circuit current in active distribution networks after network structure changes, ensures the speed and accuracy of calculations, solves the problem of calculation contradictions in traditional methods, and is suitable for actual engineering needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690132A
    Figure CN118690132A
Patent Text Reader

Abstract

The invention discloses an active power distribution network short-circuit current calculation method based on a graph convolutional neural network. According to the invention, the graph data representation exploration of the network structure topology and electrical characteristics of the active power distribution network is realized by analyzing the short-circuit current characteristic conditions under various network structures and the feasibility of representing the electrical quantity of the power distribution network in a graph data form. On the basis, a graph convolutional neural network (GCN) single model active power distribution network short-circuit current calculation method is provided, the network construction condition of the GCN model is explored, and the problem that a data-driven short-circuit current calculation method is difficult to adapt to network structure changes is solved. On the premise of ensuring the accuracy and rapidity of short-circuit current calculation, the whole-network short-circuit current under different network structures, different IIDG permeability and different fault conditions is effectively calculated, and the method can be adapted to an active power distribution network with a changed network structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power systems. Specifically, it adopts a data science research model, based on graph theory and deep learning technology, to study the possibility of graph data representation of active distribution networks, and establishes a short-circuit current calculation method for active distribution networks based on graph convolutional neural networks. Background Art

[0002] More and more renewable energy sources are connected to the grid through inverters. This type of power generation is called inverter-type distributed generation (IIDG), and the distribution network containing IIDG is called active distribution network. The fault output of IIDG has strong nonlinearity due to the low voltage ride-through (LVRT) regulations, which makes the active distribution network have strong nonlinearity that traditional power grids do not have, making it difficult to apply traditional short-circuit current calculation methods to active distribution networks.

[0003] The short-circuit current of the active distribution network is closely related to the IIDG output, and the two are coupled and affect each other, so the calculation process requires repeated iterations to solve. The more refined the IIDG fault output model is, the higher the degree of nonlinearity is, which makes the short-circuit current calculation more accurate, but the calculation efficiency also decreases. Moreover, when the accuracy of the IIDG model remains unchanged, as the network scale increases or the penetration rate increases, the iterative calculation time will also increase significantly, and even become difficult to converge. Therefore, the calculation of short-circuit current in the active distribution network has an irreconcilable contradiction between calculation accuracy and calculation efficiency.

[0004] In the prior art, there is a method for calculating short-circuit current of active distribution network based on machine learning method, which can effectively solve the contradiction in short-circuit current calculation. However, the existing calculation method based on machine learning mostly uses structured data to store active distribution network. This kind of method has a relatively general adaptability to the problem of short-circuit current calculation of active distribution network after the network structure changes. After the network structure of active distribution network changes, the calculation model needs to be retrained. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the defects of the above-mentioned prior art and propose a method for calculating the short-circuit current of an active distribution network based on a graph convolutional neural network (GCN).

[0006] The present invention uses graph data in graph theory to represent the active distribution network, thereby realizing unstructured storage of active distribution network data and topology. The representation of graph data can effectively retain the topological structure of the active distribution network and use it as one of the features. Based on the topological characteristics of the active distribution network, graph convolution operations are performed on the characteristics of each node, which can fully explore the potential characteristics under different operating modes and fault characteristics, and realize that the short-circuit current value calculated and output implicitly complies with Kirchhoff's current law. Under the premise of ensuring the rapidity and accuracy of short-circuit current calculation, this method can solve the problem of short-circuit current calculation adaptation for different fault types, fault locations and transition resistances of active distribution networks under different network scales and structures.

[0007] The specific technical scheme of the present invention is:

[0008] Step 1), establish an active distribution network short-circuit current sample set, the sample set includes a training set and a test set.

[0009] Step 2), the active distribution network is characterized by graph data. Based on the topological structure, the electrical characteristics of the active distribution network are stored as graph data using graph theory. The electrical characteristics include branch current characteristics, IIDG information characteristics and fault information characteristics of the normal operation of the active distribution network; the topological structure is stored as edge information of the graph data.

[0010] Step 3), use the graph convolutional neural network method to learn the mapping relationship between the electrical characteristics of the active distribution network under normal operating conditions and the fault current distribution of the active distribution network after the fault, covering fault conditions of different fault types, fault branches and locations, and transition resistances; and finally achieve the goal of calculating the short-circuit current of the entire active distribution network based on the graph convolutional neural network model.

[0011] The beneficial effects of the present invention are:

[0012] The present invention uses graph data to save the active distribution network topology and electrical information. Through the GCN method, based on the network topology structure, the mapping relationship between electrical information and short-circuit current is learned, thereby improving the adaptability to the short-circuit current calculation problem of the active distribution network after the network structure changes.

[0013] The present invention can improve the calculation speed while ensuring the calculation accuracy, realizes the adaptability of the active distribution network to the changes in network structure, can meet the actual engineering needs, and can be widely used in the short-circuit current calculation of the active distribution network. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the process of the present invention.

[0015] Figure 2 This is the wiring diagram of the IEEE 123-node distribution network system connected to 16 distributed power sources.

[0016] Figure 3 This is a graph showing the performance of the GCN computing model when the network structure changes. DETAILED DESCRIPTION

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

[0018] according to Figure 1 As shown, the embodiment of the present application provides a method for calculating short-circuit current of an active distribution network based on a graph convolutional neural network, and the specific implementation steps are as follows:

[0019] S1: Establish an active distribution network short-circuit current sample set, which includes a training set and a test set.

[0020] By building a simulation model of the active distribution network, the normal operating branch current characteristics, IIDG information characteristics and fault information collection of the active distribution network are obtained in the simulation, and the corresponding short-circuit current distribution collection is packaged together to synthesize the short-circuit current sample set. It is divided into training set and test set in the ratio of 8:2 to ensure that each fault type and each network structure is evenly divided into the training set and the test set.

[0021] S2: Perform graph data characterization processing on the active distribution network. Based on the topological structure of the active distribution network, the electrical characteristics of the active distribution network are stored as graph data using graph theory. The electrical characteristics include the normal operating branch current characteristics of the active distribution network, IIDG information characteristics and fault information characteristics. The topological structure is stored as the edge information of the graph data.

[0022] The graph data representation form of the active distribution network is but not limited to the line graph representation form, that is, the branch information of the active distribution network is represented in the form of nodes of the graph data, and the connection relationship between the branches of the active distribution network is represented in the form of edges of the graph data. The electrical characteristic data of the active distribution network is stored as node characteristics of the graph data, and the characteristic data of any node is stored in the order of: branch current characteristics, IIDG information characteristics and fault information characteristics.

[0023] A graph is an unstructured data form, which is represented by a node set V and an edge set E, i.e., a graph set G = (V, E). The graph features of the active distribution network need to include but not be limited to the operation mode and fault information under normal conditions.

[0024] In the node characteristics of the graph data, the branch current characteristics use the branch current steady-state value, including but not limited to the single-phase current steady-state value, the two-phase current steady-state value, and the three-phase current steady-state value. The branch current characteristics include the system power supply, and its three-phase current value is used as the representation of the system power supply characteristics. The normal operation mode is reflected by the branch current of the distribution network. The branch current of the distribution network can be measured by the current transformer equipped at the head end of each branch. The branch current information is the effective value of the three-phase current during normal operation. Where i represents the i-th branch. It implies the operation mode of the distribution network. For two-phase or single-phase lines, the missing phase current is filled with 0.

[0025] In addition to the branch current characteristics, the IIDG capacity value It is also part of the operation mode. The IIDG information characteristics of the active distribution network are characterized by the IIDG capacity. The IIDG in the active distribution network covers different control strategies and control targets. Its control strategy is the grid-following control strategy and the grid-forming control strategy; the control target is to suppress negative sequence current, suppress reactive power multiple frequency fluctuations and suppress active power multiple frequency fluctuations; the IIDG fault output obeys the current limiting characteristic, and the multiple range of the current limiting characteristic is [1.2,1.5].

[0026] Furthermore, in the graph features, the fault location and the IIDG access location are represented by the graph data node feature values. The IIDG information in the IIDG access node is the IIDG capacity information, and the node IIDG information features of the non-access IIDG node are filled with 0; the fault node is filled with fault information, and the node information features of the non-fault node are filled with 0.

[0027] Fault information includes fault type F type 、Fault location F loc , Fault transition resistance R on For a distribution network with K branches, each branch has the same number of graph node features, and the graph node v i It has the following characteristics:

[0028]

[0029] in, It is unique to the IIDG branch, and other branches are filled with 0; F loc Indicates the percentage of the fault location from the line head end, that is, When F loc = 0, it is considered that the fault occurs at the first node; R on It is the transition resistance. In case of ground fault, it is the resistance between phase and ground. In case of phase-to-phase fault, it is the resistance between phases. type Integers from 1 to 11 are used to represent different fault types.type 、F loc , R on All are filled with 0. Using formula (1), we can get the specific graph node V of the active distribution network: ADN .

[0030] Because the graph node features are selected from the electrical features of the active distribution network branches, the edge set E is selected from the connection relationship of the branches accordingly. The adjacency matrix A of the distribution network can be constructed from the edge relationship E of the distribution network branches. ADN .

[0031] Furthermore, the numerical values ​​of node features in the graph data of the active distribution network in S2 vary greatly, and their physical meanings are different. In order to enable GCN to accurately learn the mapping relationship, the data needs to be preprocessed. loc etc. need to be normalized to reduce the size of data differences. type , normalization will lose its actual meaning, so Onehot encoding is used for data of the identification type. Usually, the processing of graph data requires mapping the data to [0,1] to smooth the overall data and improve the computational efficiency of GCN.

[0032] Different graph data uniquely corresponds to a set of short-circuit current distribution data for the entire network. By learning each active distribution network electrical characteristic graph, a unique mapping of the short-circuit current distribution value can be obtained. This is the Graph-wise idea in the graph data processing target. For a distribution network with K branches, the corresponding label value of the short-circuit current value of the entire network is:

[0033]

[0034] in is the short-circuit current of the three phases A, B, and C corresponding to branch i. For non-three-phase lines, the label value only has the current flowing through the phase, and the missing phase is not included in the label value.

[0035] S3: Use the GCN method to learn the mapping relationship between the electrical characteristics of the active distribution network under normal operating conditions and the fault current distribution of the active distribution network after the fault, covering fault conditions of different fault types, fault branches and locations, and transition resistances; and finally achieve the goal of calculating the short-circuit current of the entire active distribution network based on the GCN model.

[0036] The core of the graph convolution operation of GCN is the adjacency matrix A of the graph data. According to A, the degree matrix D of the graph can be obtained. D is a focus matrix, and the diagonal element D ii is the degree of the node, which is the specific representation of the number of edges connecting the node, denoted as d(v i ),have:

[0037] Dii =d(v i ) (3)

[0038] Using the adjacency matrix A and the degree matrix D, we can obtain the graph convolution Laplacian matrix L corresponding to the current A matrix:

[0039] L=DA (4)

[0040] Using L, we can get its eigenvalue λ=[λ1,λ2,K,l w ] and the eigenvector ψ=[y1,y2,K,y w ] Use the vector ψ after unit orthogonalization of ψ + The projection transformation of the node features of the graph data can be completed. Based on the GCN method of graph data, the corresponding ψ is obtained according to A and D corresponding to the network topology structure. + , different ψ + It can realize the projection of graph data of different network structures on different bases, effectively distinguish the input features of different network structures, and reduce the degradation of computing output performance caused by similar input features. In the graph data of the distribution network, the orthogonal basis transformation is a reconstruction of the current operating state, which still implicitly satisfies Kirchhoff's current law and satisfies it for different network structures.

[0041] After the graph convolution Laplacian matrix is ​​processed, the calculation process of GCN needs to adopt but is not limited to the message passing (MP) framework, whose goal is to aggregate all the features in the graph into the features of a node.

[0042] The MP framework first performs graph convolution on the input graph to pass the feature information of special nodes to all nodes, expand the number of features of each node, and then readout the graph features after message passing to achieve node feature aggregation, filter out redundant nodes, reduce the number of nodes in the graph, and reduce the scale of the graph. Finally, all node features of the graph are mapped to one node. The number of features of the final node must be less than the total number of features of the input node and greater than the number of target output label values.

[0043] A complete graph convolution operation and readout operation is called a complete message passing operation. The purpose of the message passing operation is to aggregate all features on the final node, and finally perform multi-layer perceptron (MLP) processing on the final node to map the final node features to the required short-circuit current value. Based on this, the message passing framework for short-circuit current calculation can be:

[0044]

[0045] Where X represents the input node feature of each message passing operation, and f Convrepresents the convolution operation with message passing, f readout Indicates the readout pooling operation, and the activation function f is used after each layer operation softplus Each layer of message passing will change the node features and node connection relationships of the input graph. and Represents the new node features and adjacency matrix after message passing. The final node obtained after message passing is mapped to the target value using MLP:

[0046]

[0047] The essence of the MLP training process is to learn the matrix of weight matrix W and bias vector b. According to the multi-layer GCN message passing network, the feature information that best matches the input graph and the target output can be obtained. Using MLP, the mapping relationship between the input graph and the target value can be quickly and accurately obtained. Because the input data is normalized, data less than 1 may appear during the message passing process. In order to prevent the target value from not converging at [0,1] and better regressing the target value below 1, Softplus is selected as the activation function, and Y is finally used. out Output multiple target values.

[0048] After each round of deep learning training, a loss function needs to be used to feedback the accuracy of the training to the network. Because the range of label values ​​is large, in order to balance the loss convergence of the target values ​​[0,1] and [1,+¥], avoid non-convergence due to excessive loss, and need to indicate the direction of convergence, it is more appropriate to use MSE (Mean Square Error) as the loss function. For M outputs y, the following calculation formula is used:

[0049]

[0050] In the formula, is the lth prediction value of GCN, y l is the lth label value. After the training is completed, when the test set is used to test the training results, using MAPE (Mean Absolute Percentage Error) as an evaluation indicator can accurately measure the accuracy of model regression prediction in target values ​​with large differences. For M outputs y, the calculation formula for the MAPE value δ is as follows:

[0051]

[0052] MAPE can reflect the deviation between the model output prediction value and the sample label value. It can be used to evaluate the accuracy of model regression and measure whether the model under the current hyperparameters has completed the accurate learning of the input-output mapping relationship. There are many test sets, and it is difficult to display them one by one. The average value of δ is used. mean Represents the average error of the model on the test set, using the maximum value δ max represents the error volatility on the test set.

[0053] Through steps S1-S3, the short-circuit current of the active distribution network under any fault condition can be quickly calculated.

[0054] Application examples:

[0055] In order to verify the effectiveness of the method of the present invention, Figure 2 The active distribution network of the example is verified by example. In the example, the active distribution network IIDG is connected to the following location: Figure 2 As shown in Figure 1, the penetration rate of IIDG capacity in the power distribution network is randomly selected to fluctuate between 30% and 80%. When a fault occurs, F is randomly selected. line , according to F line Randomly set fault type F type 、F loc and R on , where F loc The setting range is 20% of the line length as a group, and 5 fault line ranges are selected. on The range is [1,1000], and 5 transition resistance conditions are randomly selected. The setting range of the transition resistance should be consistent with the fault type.

[0056] A. Performance verification of the short-circuit current calculation model for active distribution networks based on GCN

[0057] Selection of performance verification data set for short-circuit current calculation model of active distribution network based on GCN Figure 2 The IEEE123 node network shown in the figure. Figure 2 The situation where the tie switch at the middle line 57-60 is disconnected, that is, the situation where the network structure is determined. Because the network structure has been determined, the data used is 99,000 sets of data, 79,200 sets of training set data, and 19,800 sets of test set data. In order to fully compare the performance of the calculation method, the model chooses to use the Newton-Raphson iterative calculation method (referred to as the Newton-Raphson method) as the benchmark for calculation accuracy. The comparison results are shown in Table 1. The test time refers to the time it takes to run 19,800 sets of test sets, and the Newton-Raphson method refers to the total time it takes to calculate 19,800 sets of test samples.

[0058] Table 1 Performance verification of short-circuit current calculation method

[0059]

[0060] As can be seen from Table 1, in a certain network structure, the short-circuit current multi-output regression of GCN is already close to the true value, but it is slightly different from the multi-objective decomposition method. GCN greatly improves the calculation speed while ensuring accuracy, solving the contradiction between accuracy and speed in the short-circuit current calculation of the new distribution network. At the same time, the GCN model is small in size, and when applied online, it can greatly reduce the storage space occupied and has better usability. Compared with the Newton-Laurent iteration method, the GCN method has a lower overall average error, and it can be considered that the GCN method has an accuracy similar to that of the traditional Newton iteration method. The GCN method can greatly improve the speed of short-circuit current calculation.

[0061] B. Impact of network structure changes on output

[0062] The short-circuit current distribution of different network structures has different characteristics. Since the GCN model inputs the adjacency matrix that reflects the network structure, it is theoretically possible to learn the corresponding short-circuit current output mapping in different network structures in one model. Figure 2 In the figure, the fault situation when a three-phase short circuit occurs in branch 57-60 is shown, the short-circuit current of branch 54-57 is observed, and the output performance of different algorithms under different network structures of the active distribution network is compared horizontally.

[0063] The performance comparison is shown in Table 2. The training data uses the current distribution data under 5 network structures for training. In Table 2, the network structure column is Figure 2 The network structures represented by different tie-switch disconnections are shown in bold with the options having better performance.

[0064] Table 2 Performance comparison of short-circuit current calculation models with network structure changes

[0065]

[0066] As can be seen from the table, when the network structure changes, the short-circuit current distribution in the active distribution network has a long tail effect. Among the 123 nodes, 4 / 5 of the network structure data samples are too large, and only 1 / 5 of the data samples are too small. For the short-circuit current calculation method after the network changes, GCN has a more comprehensive accuracy advantage. Regardless of the sample target value, GCN can perform accurate regression calculation based on its network structure.

[0067] The performance of the GCN algorithm in calculating the short-circuit current of the entire network under different active distribution network structures is compared horizontally. Figure 3 As shown. Figure 3 As the number of network structures in the training set increases from 1 to 5, the performance of the three different methods changes.

[0068] Depend on Figure 3 It can be seen that the performance of the GCN method has better accuracy under the five different network structures. Under different network structures, the error fluctuation of GCN is small, and the short-circuit current error below 1% is within the acceptable range, indicating that the GCN-based distribution network short-circuit current calculation method is more adaptable to distribution networks with more changes in network structure. As the network structure changes more complicated, the calculation accuracy of the GCN method decreases slightly, but it is still within 1%, and it has good adaptability to changes in network structure.

[0069] In summary, the present invention uses graph convolutional neural network (GCN) to establish a short-circuit current calculation model for active distribution network. Considering different operating modes of active distribution network, different fault types, different fault branches and locations, and fault conditions of different transition resistances, combined with the network structure of active distribution network, by using GCN to learn a large number of data samples, the goal of quickly and accurately calculating the short-circuit current of the entire active distribution network is achieved.

[0070] The graph data of graph theory is used to characterize the topological structure and electrical characteristics of the active distribution network. Combined with the Laplace matrix of the graph convolutional neural network, the unique projection processing of the electrical characteristics of the active distribution network is realized, and the data preprocessing of the active distribution network with the current network structure is completed. On this basis, the message passing mechanism of the graph convolutional neural network is used to realize the training of the short-circuit current calculation model. The feature transmission of the electrical characteristics of the active distribution network in the calculation model is improved through the message passing mechanism, so as to improve the generalization ability of the model calculation after the network structure changes.

[0071] The short-circuit current calculation model of active distribution network based on graph convolutional neural network has the ability to solve the existing contradiction between the speed and accuracy of short-circuit current calculation, and at the same time has the performance of adapting to changes in network structure, and has certain engineering application value.

Claims

1. A method for calculating short-circuit current in active distribution network based on graph convolutional neural network, characterized in that The method comprises the following steps: Step 1), establish an active distribution network short-circuit current sample set, the sample set includes a training set and a test set; Step 2), the active distribution network is characterized by graph data. Based on the topological structure, the electrical characteristics of the active distribution network are stored as graph data using graph spectrum theory. The electrical characteristics include the normal operation branch current characteristics of the active distribution network, IIDG information characteristics and fault information characteristics; the topological structure is stored as the edge information of the graph data; Step 3) Use the graph convolutional neural network method to learn the mapping relationship between the electrical characteristics of the active distribution network under normal operating conditions and the fault current distribution of the active distribution network after the fault, covering fault conditions of different fault types, fault branches and locations, and transition resistances; and finally achieve the goal of calculating the short-circuit current of the entire active distribution network based on the graph convolutional neural network model.

2. The method for calculating short-circuit current of an active distribution network based on a graph convolutional neural network according to claim 1, characterized in that: In step 2), the topological structure storage of the active distribution network is to represent the branch information of the active distribution network in the form of nodes of graph data, and the connection relationship between the branches of the active distribution network is represented in the form of edges of graph data; the electrical characteristic data of the active distribution network is stored as node characteristics of graph data, and the characteristic data storage of any node is in the following order: branch and current characteristics, IIDG information characteristics and fault information characteristics.

3. The method for calculating short-circuit current of an active distribution network based on a graph convolutional neural network according to claim 2, characterized in that: In the graph data representation of the active distribution network, the fault location and the IIDG access location are represented by the graph data node feature values. The IIDG information in the IIDG access node is the IIDG capacity information, and the node IIDG information features of the non-IIDG access node are filled with 0; The faulty nodes are filled with fault information, and the node information features of non-faulty nodes are filled with 0.

4. The method for calculating short-circuit current of an active distribution network based on a graph convolutional neural network according to claim 2, characterized in that: The branch current characteristics select the branch current steady-state value, including but not limited to the single-phase current steady-state value, the two-phase current steady-state value, and the three-phase current steady-state value; the branch current characteristics include the system power supply, and its three-phase current value is used as the representation of the system power supply characteristics.

5. The method for calculating short-circuit current of active distribution network based on graph convolutional neural network according to claim 1 or 2, characterized in that: The fault information feature consists of a fault location, a fault type and a transition resistance.

6. The method for calculating short-circuit current of active distribution network based on graph convolutional neural network according to claim 2, characterized in that: The IIDG information characteristics of the active distribution network are characterized by the IIDG capacity.

7. The method for calculating short-circuit current of an active power distribution network based on a graph convolutional neural network according to claim 6, characterized in that: The IIDG in the active distribution network covers different control strategies and control objectives. Its control strategies include grid-following control strategy and grid-forming control strategy. The control objectives are to suppress negative sequence current, suppress reactive power multiple frequency fluctuation and suppress active power multiple frequency fluctuation. The IIDG fault output obeys the current limiting characteristic, and the multiple range of the current limiting characteristic is [1.2,1.5].

Citation Information

Patent Citations

  • Machine learning-based IIDG-containing power distribution network short-circuit current prediction method

    CN111262238A

  • Active power distribution network fault positioning method based on model migration graph auto-encoder network

    CN114839473A

  • Distribution network line fault positioning method and storage medium

    CN115542070A

  • Grid fault detection method and device based on graph neural network

    CN115733730A

  • Power distribution network fault identification method based on wavelet optimization and graph convolutional neural network

    CN116298699A