A distribution network state assessment method and system based on graph convolutional network

Through the deep learning method based on graph convolution network, the problems of model reliability and computational efficiency in distribution network status evaluation are solved, real-time status evaluation of distribution network is realized, and the negative impact of pseudo measurements on evaluation accuracy is reduced.

CN113762625BActive Publication Date: 2024-09-06RES INST OF ECONOMICS & TECH STATE GRID SHANDONG ELECTRIC POWER +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111058469.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-09
Publication Date
2024-09-06
Estimated Expiration
2041-09-09

AI Technical Summary

Technical Problem

The existing distribution network status assessment technology has insufficient reliability of the learning network model, long calculation time, sensitivity to initial values ​​and difficulty in meeting the needs of real-time assessment. Moreover, the method based on the combination of neural network and traditional optimization suffers from pseudo-measurement uncertainty. Affects the accuracy of state assessment.

Method used

Using the deep learning method based on graph convolution network, the distribution network is divided into node sets and branch sets by configuring the power management unit, establishing a state estimation data-driven model, designing the graph convolution network structure, and using the distribution network structure to form adjacencies Matrix and hyperparameters, build a simulation model for offline training, and conduct online verification.

Benefits of technology

It improves the interpretability and reliability of the model, reduces the sensitivity of the optimization model to initial values, reduces the calculation time, meets the needs of real-time evaluation, and avoids its negative impact on the accuracy of state evaluation by reducing the use of pseudo-measurements. effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113762625B
    Figure CN113762625B
Patent Text Reader

Abstract

The present invention proposes a distribution network state assessment method and system based on a graph convolutional network. The method includes: establishing a node set and a branch set of a distribution feeder, dividing the distribution network by configuring a power management unit at the node, and establishing a state estimation data-driven model; defining the maximum branch diameter of the partition subsystem and the maximum number of measurements of adjacent nodes according to the data-driven model, and designing a graph convolutional network structure model; forming an adjacency matrix according to the distribution network structure, calculating and setting the graph convolutional structure network model hyperparameters; building a distribution network simulation model, obtaining training samples, and offline training the graph convolutional structure network model; and online verification of the graph convolutional network model. Based on this method, a distribution network state assessment system based on a graph convolutional network is also proposed. The present invention constructs a distribution network state estimation graph convolutional network model and designs an offline training method to meet the needs of real-time assessment and improve the reliability of the assessment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distribution network status assessment, and in particular relates to a distribution network status assessment method and system based on a graph convolutional network. Background Art

[0002] With the increasing penetration rate of renewable energy represented by wind power and photovoltaics, the real-time state estimation of modern distribution networks is also facing new challenges. Research on real-time state estimation methods for new intelligent distribution networks is of great significance to improving the operational reliability of power grids and optimizing operational stability.

[0003] The existing distribution network state assessment technologies are mainly divided into three categories: 1. Methods based on numerical optimization models, such as Gauss-Newton optimization method; 2. Learning methods based on neural networks; 3. Methods combining neural networks with traditional optimization models, such as using neural networks for pseudo-measurement and using optimization models for overall assessment. However, there are some problems in the use of existing distribution network state assessment technologies: 1. The model that directly uses the learning network is not reliable enough and is not interpretable. The traditional optimization model is sensitive to initial values ​​and takes a long time to calculate, which makes it difficult to meet the needs of real-time evaluation. 2. The model that integrates artificial intelligence and traditional optimization algorithms has a calculation time and training accuracy that is difficult to meet the requirements of online evaluation. The learning method based on neural networks mostly uses the "brute force" learning method, that is, forcibly establishes a mapping relationship model between known node measurements and unknown node state quantities, and the training samples cannot meet all the corresponding relationships. 3. The method based on the combination of neural networks and traditional optimization is mostly used in scenarios where pseudo-measurements are added for state assessment. However, due to the uncertainty of pseudo-measurements, the introduction of more pseudo-measurements may have a negative effect on the accuracy of state assessment. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a distribution network state assessment method and system based on graph convolutional network. Based on the deep learning method, the network structure information is used to determine the learning network, thereby enhancing the interpretability of the model.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] A distribution network state assessment method based on graph convolutional network includes the following steps:

[0007] Establishing a node set and a branch set of a distribution feeder, dividing the distribution network by configuring a power management unit at the node, and establishing a state estimation data-driven model; the state estimation data-driven model is a mapping function with quantity measurement as input and state quantity as output;

[0008] According to the data-driven model, the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes to be measured are defined, and a graph convolutional network structure model is designed;

[0009] Form an adjacency matrix based on the distribution network structure, and calculate and set the hyperparameters of the graph convolutional structure network model;

[0010] Building a distribution network simulation model, obtaining training samples, and offline training the graph convolutional structure network model;

[0011] The distribution network state estimation model test sample data is used to perform online verification of the graph convolutional network model completed after offline training.

[0012] Furthermore, the process of establishing a node set and a branch set of a distribution feeder and dividing the distribution network by configuring a power management unit at the node is as follows:

[0013] The graph data G in non-Euclidean space is used to represent the distribution feeder consisting of N nodes and L branches, that is, G = (V, L); V is called the top set, which is used to represent each node; L is the edge set, which is used to represent the connection relationship between each node; V = {V1, V2, ..., V N}; L = {l1,l2,…,l L};

[0014] By configuring power management units at the nodes, the edge set is divided into multiple disjoint subsets; if P = {Vv1, Vv2, ..., Vv m} is the top set containing nodes with multiple power management units installed; by cutting the nodes in P, the edge set L is divided into K disjoint subsets L k , N k Indicates L k The set of nodes connected to the edge in N, any vertex containing the endpoint of the edge (l,m) is in N k middle;

[0015] Furthermore, the process of establishing the state estimation data driven model is:

[0016] Establishing a data-driven model for state estimation NN (z i )=x i ; (1)

[0017] The quantity measurement is all variables directly or indirectly measured in the distribution network, including the node measurement vector obtained by integrating the direct measurement and pseudo measurement based on the power management unit, which is recorded as: Among them, U Ri is the real part of the voltage measurement at node i converted into the rectangular coordinate system; U Iiis the imaginary part of the voltage measurement at node i converted into the rectangular coordinate system; I Rij is the real value of the ij branch current measurement after conversion to the index coordinate system; I Iij is the imaginary part of the ij branch current measurement after conversion to the index coordinate system; is the voltage pseudo-measurement value of node i obtained by predicting the injected active power of the load node in the pseudo-measurement model; is the voltage pseudo-measurement value of node i obtained by predicting the injected reactive power of the load node in the pseudo-measurement model;

[0018] In the case of using a micro-synchronous phasor measurement unit, f NN (z i )=x i Simplified to (2);

[0019] in, is the set of voltage estimates at all nodes that do not have micro-synchrophasor measurement units installed; p represents the set of measurements on the nodes of all micro-synchronous phasor measurement units and their adjacent branches; there will be no edge L k The connected node set is represented as

[0020] For each f r (z p ) can be expressed as:

[0021] z k Contains node set N k and edge set L k All measurements on Indicates that there is no node set with micro-synchronous phasor measurement unit installed All voltage estimates above;

[0022] For graph data G, its features are composed of the features X of each node in V v ={x v1 ,x v2 ,...,x vn} and the edge set feature X of the edge l connecting the two nodes l ={x l1 ,x l2 ,...,x lm}; the output of each hidden layer of the graph data G is represented by the convolutional neural network model h t+1 =f(h t ,A|W t ); (4)

[0023] Among them, ht+1 represents the feature output of the t+1th hidden layer; A represents the adjacency matrix of the node, W t represents the weight parameter of the tth layer;

[0024] The convolutional neural network model propagation process is:

[0025] in, yes The degree matrix of σ is the activation function;

[0026] The learning architecture of the state estimation model is expressed as

[0027] Where N represents the number of nodes; X i Represents the data characteristics of the state variable of node i; Z i represents the data characteristics of the measured variable of node i; ||·|| represents the norm of the model, which is the loss function that measures the fitting error of the network to the mapping function; f GCN Represents the final trained state estimation network model, that is, the data-driven model.

[0028] Furthermore, the method for designing a graph convolutional network structure by defining the maximum branch diameter of a partition subsystem and the maximum number of neighboring nodes measured according to the data-driven model is:

[0029] Define the maximum diameter of the partition subsystem to determine the number of convolutional layers; define the maximum diameter Mdia) to determine the number of convolutional layers; in the subsystem graph G(N k ,L k ), Mdia is determined by the number of edge sets contained in the longest branch, and satisfies 1≤Mdia≤K;

[0030] The number of convolution kernels is determined by using the maximum number of neighboring nodes measured; for the subsystem graph G(N k ,L k )The maximum number of feature representations of any node in any partitioned subsystem is the number of the first convolution kernels.

[0031] Furthermore, the method of forming an adjacency matrix according to the distribution network structure and calculating and setting the hyperparameters of the graph convolution structure network model is:

[0032] The adjacency matrix is ​​a matrix used to represent the adjacent relationship between vertices; the adjacency matrix of G(V,L) is expressed as:

[0033]

[0034] Among them, the adjacency matrix A is an n-order symmetric square matrix, and the main diagonal is 1 to represent the node itself, and the number of non-zero elements in the i-th row (or i-th column) of the adjacency matrix is ​​exactly the degree of the i-th vertex;

[0035] The graph convolutional structure network model adopts a convolutional layer stacking hierarchical architecture. Through the pre-selected network partitioning method, the nodes are partitioned according to the installation position of the micro-synchronous phasor measurement unit, and Mdia is calculated to determine the number of convolutions of the graph convolutional structure network model.

[0036] Furthermore, the graph convolution structure network model adopts a convolution layer stacking hierarchical architecture, and partitions the nodes according to the installation position of the micro-synchronous phasor measurement unit through a pre-selected network partitioning method, and calculates Mdia to determine the number of convolutions of the graph convolution structure network model. The process is as follows:

[0037] Through the phasor measurement form, the number of measurements of the maximum neighboring nodes in the partition subsystem is calculated to determine the number of convolution kernels in each convolution layer; and the remaining network parameters are set;

[0038] Set the network parameters and training parameters of the graph convolutional network model.

[0039] Furthermore, the method of building a distribution network simulation model, obtaining training samples, and offline training the graph convolutional structure network model is:

[0040] Build a simulation model and set the sampling frequency and different operating conditions of the simulation model;

[0041] Record real-time measurements of each node and branch i ; and the data is marked as measurement data Z or status data X according to whether a micro-synchronous phasor measurement unit is installed and whether a branch current measurement element is installed.

[0042] The training samples are divided into training set and validation set. The graph convolutional structure network is used to learn the features of all training samples, and the data samples are cross-validated. The accuracy of the validation set validation model is calculated after each training is completed.

[0043] Furthermore, the training samples are divided into a training set and a validation set, a graph convolutional network is used to perform feature learning on all training samples, data samples are cross-validated, and the accuracy of the validation set validation model after each training is calculated is as follows:

[0044] During training, the evaluation indicators of the model are defined to verify the accuracy of the model and determine whether the model training is complete. The evaluation indicators are:

[0045]

[0046] Where M represents the total number of samples participating in the evaluation; RMSE_U represents the average error between the estimated value and the actual value of the voltage amplitude of each node; RMSE_θ represents the average error between the estimated value and the actual value of the phase angle of each node;

[0047] During training, the network parameters are updated by iterating according to the stochastic gradient descent method of the total loss function until the number of training times is reached or the evaluation accuracy of the validation set reaches the set threshold, then the training is stopped and the model is saved.

[0048] Furthermore, the method of using the distribution network state estimation model test sample data to perform online verification on the graph convolutional network model completed by offline training is: using the real-time measurement of the distribution network, wind power, photovoltaic and load historical data to perform all measurements on the test samples, perform pseudo-measurements on the graph convolutional network, and perform comparative tests with other optimization models to save the distribution network state estimation model.

[0049] The present invention also proposes a distribution network state assessment system based on a graph convolutional network, comprising a first establishment module, a second establishment module, a calculation module, a training module and a verification module;

[0050] The first establishment module is used to establish a node set and a branch set of a distribution feeder, divide the distribution network by configuring a power management unit at the node, and establish a state estimation data driven model; the state estimation data driven model is a mapping function with quantity measurement as input and state quantity as output;

[0051] The second establishment module is used to define the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes measured according to the data-driven model, and establish a graph convolutional network structure model;

[0052] The calculation module is used to form an adjacency matrix according to the distribution network structure, and calculate and set the hyperparameters of the graph convolution structure network model;

[0053] The training module is used to build a distribution network simulation model, obtain training samples, and train the graph convolution structure network model offline;

[0054] The verification module is used to perform online verification on the graph convolutional network model that has been trained offline using distribution network state estimation model test sample data.

[0055] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:

[0056] The present invention proposes a distribution network state assessment method and system based on a graph convolutional network. The method comprises the following steps: establishing a node set and a branch set of a distribution feeder, dividing the distribution network by configuring a power management unit at the node, and establishing a state estimation data-driven model; the state estimation data-driven model is a mapping function with quantity measurement as input and state quantity as output; defining the maximum branch diameter of the partition subsystem and the maximum number of measurements of adjacent nodes according to the data-driven model, and designing a graph convolutional network structure model; forming an adjacency matrix according to the distribution network structure, calculating and setting the graph convolutional structure network model hyperparameters; building a distribution network simulation model, obtaining training samples, and training the graph convolutional structure network model offline; using distribution network state estimation model test sample data to perform online verification on the graph convolutional network model completed by offline training. Based on a distribution network state assessment method based on a graph convolutional network, a distribution network state assessment system based on a graph convolutional network is also proposed. The present invention divides the system into partitions and calculates the maximum diameter of the partitioned subsystems through the configuration of the phase measurement units in the distribution network, thereby constructing a GCN model for distribution network state estimation, wherein the GCN model is a graph convolutional network model, and an offline training method is designed to improve the reliability of the learning network model and make it interpretable, reduce the sensitivity of the optimization model to the initial value, reduce the calculation time, and meet the needs of real-time evaluation.

[0057] Compared with traditional methods based on numerical algorithms, the present invention does not rely on initial values ​​and has a fast evaluation speed, which is more conducive to online application. Compared with other deep learning algorithms, this method fully considers the node adjacency relationship, adds the physical information of the distribution network to the learning model, and has stronger interpretability. Then its calculation time and training accuracy can adapt to the requirements of online evaluation, so that its training samples can meet all corresponding relationships.

[0058] The present invention divides the distribution network into partitions by using a small number of phasor measurement units, and establishes a relationship model between state variables and measurement variables. Then, the number of convolution modules required by the convolutional network is determined according to the maximum diameter after partitioning. Secondly, the adjacency matrix representation method in the traditional GCN is modified, so as to establish a learning framework of the state estimation model in the distribution network partition subsystem by using the graph convolutional network, thereby eliminating the uncertainty due to pseudo-measurements and reducing the negative effects on the state assessment accuracy caused by the introduction of more pseudo-measurements. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] like Figure 1 This is a flow chart of a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0060] like Figure 2This is a structural diagram of an IEEE 33-node system in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0061] like Figure 3 This is a schematic diagram of a cutting partitioning method in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0062] like Figure 4 This is a diagram showing the principle structure of a graph convolutional network in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0063] like Figure 5 This is a schematic diagram of an adjacency matrix in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0064] like Figure 6 This is a curve showing changes in evaluation accuracy and loss function during the training of a distribution network state evaluation method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0065] like Figure 7 This is a curve showing a change in voltage assessment index during the training of a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0066] like Figure 8 This is a schematic diagram of a distribution network state assessment system based on a graph convolutional network according to Example 2 of the present invention. DETAILED DESCRIPTION

[0067] In order to clearly illustrate the technical features of the present solution, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the accompanying drawings are not necessarily drawn to scale. The present invention omits the description of known components and processing techniques and processes to avoid unnecessary limitations on the present invention.

[0068] Example 1

[0069] Embodiment 1 of the present invention proposes a distribution network state assessment method based on a graph convolutional network. First, a small number of phasor measurement units are used to divide the distribution network into partitions, and a relationship model between state variables and measurement variables is established. Then, the number of convolution modules required by the convolutional network is determined according to the maximum diameter after partitioning. Secondly, the adjacency matrix representation method in the traditional GCN is modified, so as to establish a learning framework of the state estimation model in the distribution network partition subsystem using the graph convolutional network, and design an implementation process for distribution network state estimation based on the graph convolutional network.

[0070] like Figure 1 A flow chart of a distribution network state assessment method based on a graph convolutional network is given in Example 1 of the present invention.

[0071] In step S1, a node set and a branch set of a distribution feeder are established, the distribution network is segmented by configuring power management units at the nodes, and a state estimation data-driven model is established; the state estimation data-driven model is a mapping function with quantity measurement as input and state quantity as output.

[0072] like Figure 2 This is a diagram of the IEEE 33-node system structure in a distribution network state assessment method based on a graph convolutional network in Example 1 of the present invention; consider a distribution feeder consisting of N nodes and L branches, whose structure can be represented as a graph data G in a non-Euclidean space, that is, an ordered two-tuple is used to represent G = (V, L). Among them, V is called the top set, which is used to represent each node, and L is called the edge set, which is used to describe the connection relationship between each node. Among them, the top set is the set composed of each node, V = {V1, V2, ..., V N}, the edge set is the set of branches, expressed as L = {l1,l2,…,l L};

[0073] By configuring power management units at the nodes, the edge set is divided into multiple disjoint subsets; if P = {Vv1, Vv2, ..., Vv m} is the top set containing nodes with multiple power management units installed; by cutting the nodes in P, the edge set L is divided into K disjoint subsets L k , N k Indicates L k The set of nodes connected to the edge in N, any vertex containing the endpoint of the edge (l,m) is in N k middle

[0074] like Figure 2As shown in the figure, there are m PMUs (power management units) installed. The network is divided according to the nodes where the PMUs are located, and the system is decoupled into several subsystems. Therefore, there are PMU measurements in each decoupled subsystem. Then, the state estimation of each subsystem can be performed to achieve the state estimation of the whole system.

[0075] According to the definition of data-driven model, the data-driven model of state estimation is a mapping function with quantity measurement as input and state quantity as output, as shown in formula (1), f NN (z i )=x i (1)

[0076] The measurement is all variables directly or indirectly measured in the distribution network, including the node measurement vector obtained by fusion of direct measurement and pseudo measurement based on PMU, denoted as Among them, U Ri is the real part of the voltage measurement at node i converted into the rectangular coordinate system; U Ii is the imaginary part of the voltage measurement at node i converted into the rectangular coordinate system; I Rij is the real value of the ij branch current measurement after conversion to the index coordinate system; I Iij is the imaginary part of the ij branch current measurement after conversion to the index coordinate system; is the voltage pseudo-measurement value of node i obtained by predicting the injected active power of the load node in the pseudo-measurement model; It is the voltage pseudo-measurement value of node i obtained by predicting the injected reactive power of the load node in the pseudo-measurement model.

[0077] By formula (1)f NN (z i )=x i It can be seen that the state estimation in any area can be achieved through the measurement in the area. Assuming that high-precision μPMU measurement is used, that is, the influence of noise is not considered, the state estimation problem of formula (1) can be simplified to estimating the network state (voltage) only on the nodes without μPMU installed, as shown in formula (2), Among them, μPMU is a micro-synchronous phasor measurement unit.

[0078] in, is the set of voltage estimates at all nodes that do not have micro-synchrophasor measurement units installed; p represents the set of measurements on the nodes of all micro-synchronous phasor measurement units and their adjacent branches; there will be no edge L k The connected node set is represented as

[0079] For each f r (zp ) can be expressed as:

[0080] z k Contains node set N k and edge set L k All measurements on Indicates that there is no node set with micro-synchronous phasor measurement unit installed All voltage estimates above;

[0081] When using learning models to estimate network states from measurements, it is important to partition the distribution network. This is because a learning model that estimates node voltages in a subsystem does not need to know all the measurements in the network, effectively achieving dimensionality reduction. Using a neural network-based learning model is about finding a mapping such that the state estimate at a node is only a function of the measurements in the subsystem.

[0082] For graph data G, its features are composed of the features X of each node in V v ={x v1 ,x v2 ,...,x vn} and the edge set feature X of the edge l connecting the two nodes l ={x l1 ,x l2 ,...,x lm}; the output of each hidden layer of the graph data G is represented by the convolutional neural network model h t+1 =f(h t ,A|W t ); (4)

[0083] Among them, h t+1 represents the feature output of the t+1th hidden layer; A represents the adjacency matrix of the node, W t represents the weight parameter of the tth layer;

[0084] For a GCN with multiple hidden layers, i.e. (convolutional neural network model), the propagation process is

[0085] in, yes The degree matrix of σ is the activation function; the present invention adopts the ReLU function. Then, after stacking multiple layers, the weight matrix W is trained by gradient descent layer by layer, and finally the representation vector of each node is obtained. The propagation network of GCN is as follows: Figure 3 as shown; Figure 3 This is a schematic diagram of a cutting partitioning method in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0086] The data-driven model based on the GCN network first divides the voltage measurement of the node into quantity measurement and state quantity according to whether the node is equipped with a PMU device, and then measures the top set features of the node voltage, branch current and load label quantity injected into the node and the edge set features of the branches adjacent to each node. In this invention, the state quantity feature refers to the amplitude and phase angle of the node voltage;

[0087] The learning architecture of the state estimation model is expressed as

[0088] Where N represents the number of nodes; X i Represents the data characteristics of the state variable of node i; Z i represents the data characteristics of the measured variable of node i; ||·|| represents the norm of the model, which is the loss function that measures the fitting error of the network to the mapping function; f GCN Represents the final trained state estimation network model, that is, the data-driven model.

[0089] In step S2, the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes to be measured are defined according to the data-driven model, and a graph convolutional network structure model is designed;

[0090] Specifically, it includes: defining the maximum diameter of the partition subsystem to determine the number of convolutional layers; defining the maximum diameter Mdia) to determine the number of convolutional layers; in the subsystem graph G(N k ,L k ), Mdia is determined by the number of edge sets contained in the longest branch, and satisfies 1≤Mdia≤K;

[0091] The number of convolution kernels is determined by the maximum number of neighboring nodes measured; for the subsystem graph G(N k ,L k )The maximum number of feature representations of any node in any partitioned subsystem is the number of the first convolution kernels.

[0092] According to the data-driven model, the mapping relationship between the quantity measurement and the state quantity is established. The traditional neural network model can only use "brute force learning", while the goal of GCN learning is to achieve feature aggregation of neighboring nodes through the graph structure, thereby achieving feature extraction. For the GCN model, its network structure needs to first determine the number of convolution layers, and then determine the number of convolution kernels;

[0093] Assumptions Figure 2 The distribution feeder formed by the middle node N = 6 and the branch L = 5 is used to illustrate the rule for determining the number of convolution layers. The structure is as follows Figure 4 As shown, Figure 4 (a) indicates that the PMU is set at node 3#. Figure 4 (b) indicates that the PMU is set at node 4#;

[0094] Assume that the input feature is X = [x1, x2, ..., x6], and the output feature after GCN is Y = [y1, y2, ..., y6]. Without considering the PMU partitioning, assume that a network with two convolutional layers is used to output the features of the nodes of the distribution feeder containing 6 nodes. Then, the functions of the 6 nodes represented as input nodes are as shown in formula (7).

[0095]

[0096] Among them, g i Represents the mapping output function of the i-th node. It can be seen that the farthest feature that each node can cover is represented as the distance between two consecutive branches.

[0097] Depend on Figure 2 The order of feature transfer of the graph convolutional network shows that if the network has T hidden layers, then the node y i The output is expressed as a function of neighboring nodes, where the farthest node is x i±T ;

[0098] Therefore, the maximum diameter (Mdia) is defined to determine the number of convolutional layers. k ,L k ), Mdia is determined by the number of edge sets contained in the longest branch, and satisfies 1≤Mdia≤K;

[0099] Consider PMU cutting partitions, such as Figure 4 This is a diagram showing the principle structure of a graph convolutional network in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention; then, Figure 4 For the 6-node distribution feeder shown in (a), the two regions generated by PMU segmentation contain 4 nodes and 3 branches and 3 nodes and 2 branches respectively. The longest continuous line in the two regions is 2. Figure 4 (b) shows a 6-node distribution feeder. The PMU segmentation generates 3 regions, which contain 4 nodes and 3 branches, 2 nodes and 1 branch, and 2 nodes and 1 branch. According to the maximum diameter, in each subsystem formed by the PMU segmentation, if the characteristics of any node are expressed as a function of the measurement in the subsystem, the number of hidden layers of the neural network needs to be set according to the longest branch so that the farthest node characteristics are covered. Figure 4 (a) with Figure 4 (b) Install PMU at node 3 or node 4 to cut the subsystem generated by the partition, Mdia is 2 and 3 respectively, then it means that for Figure 4 (a) The network with two convolutional layers can achieve full coverage of features in each subsystem; Figure 4(b) A network with 3 convolutional layers is required.

[0100] Secondly, considering that the input of GCN is the characteristics of the node and the output is the characteristics of the state variable, the input characteristics are represented in the data vector format, and the number of convolution kernels needs to meet the input feature representation dimension, that is, the maximum number of feature representations for any node in any partitioned subsystem is the number of the first convolution kernel. Since the characteristics of the node are composed of PMU measurements or load pseudo-measurements of adjacent nodes, the number of convolution kernels can be determined by calculating the number of adjacent measurements. The dimension of the final output layer is determined by the number of voltage amplitude and phase angle representations of all nodes. For example, the three-phase complex voltage is composed of 6 quantities, so the dimension of the final output layer is 6*n1 (n1 represents the number of state variable nodes).

[0101] In step S3, an adjacency matrix is ​​formed according to the distribution network structure, and the hyperparameters of the graph convolutional structure network model are calculated and set.

[0102] The proposed GCN-based distribution network state assessment method is verified using the IEEE 33-node system. Figure 5 As shown, there are 33 nodes and 32 branches in total, among which, nodes {3, 6, 9, 12, 15, 19, 27, 30} are equipped with 8 μPMU measurement devices, represented by black circles in the figure; branches {(7, 8), (23, 24), (28, 29), (21, 22), (16, 17)} are equipped with 5 branch current measurement elements, represented by diamonds; photovoltaic, wind turbine and other new energy access nodes {4, 18, 22, 25, 33} are represented by blue, and green nodes represent nodes with loads;

[0103] The adjacency matrix is ​​a matrix that represents the adjacent relationship between vertices. The adjacency matrix of G(V,L) is expressed as follows, as shown in formula (8):

[0104]

[0105] Among them, the adjacency matrix A is an n-order symmetric square matrix, and the main diagonal is 1 to represent the node itself, and the number of non-zero elements in the i-th row (or i-th column) of the adjacency matrix is ​​exactly the degree of the i-th vertex;

[0106] It can be seen from formula (6) that the distribution network state estimation model based on GCN is realized by training the network parameters of each layer. After the PMU is cut into partitions, the GCN needs to be improved so that the network can realize subsystem decoupling estimation;

[0107] Since the connection status of the network is represented by the adjacency matrix in GCN, we only need to modify the adjacency matrix, set the node containing the PMU to 1, and set the other nodes connected to it to 0, indicating that the node is a fully measured node. Therefore, by modifying the connection between different convolutional layers to reflect the graph structure of the underlying distributed feeder, Figure 5 The conversion method of the adjacency matrix of the network shown is as follows Figure 6 as shown; Figure 5 Schematic diagram of an adjacency matrix in a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention; Figure 6 This is a curve showing changes in evaluation accuracy and loss function during the training of a distribution network state evaluation method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0108] The distribution network state estimation model based on GCN adopts a convolutional layer stacking hierarchical architecture. First, according to the network partitioning method of S1, the nodes are partitioned according to the μPMU installation location, and then Mdia=3 is calculated to determine the number of GCN convolutions to be 3, which means that in each subsystem, 3 layers of convolution can represent the mapping between the measured value and the state quantity. At this time, there are 95 measurements, including three-phase complex voltage measurements on 6 nodes with μPMU, three-phase current amplitude measurements on 5 current branches, and 22 complex and pseudo-measurements of loads or new energy power stations without μPMU nodes;

[0109] According to the number of nodes and the longest branch number contained in the partition subsystem, the number of convolution kernels in each convolution module used by GCN in this paper is determined to be 42, 21, 12 and 6 respectively;

[0110] The rest of the network parameter settings mainly include: determining the network input and output layers according to the measurement dimension, setting the number of convolution and pooling layers and the parameters related to the convolution kernel and pooling kernel according to experience;

[0111] The learning rate of the network also needs to be set to change dynamically, that is, a larger learning rate is used in the early feature extraction layer, and a smaller learning rate is used for fine learning in the later evaluation stage; the activation function uses the ReLU function, the optimizer uses the Adam optimizer, and the batch size is set to BatchSize = 64;

[0112] In step S4, a distribution network simulation model is built, training samples are obtained, and a graph convolutional structure network model is trained offline;

[0113] Build a simulation model and set the sampling frequency and different operating conditions of the simulation model.

[0114] In the simulation system, the simulation sampling frequency is set to 2000Hz, the simulation duration is 2s, and different disturbance and processing conditions are set to simulate actual operation. Nodes are randomly selected to apply power disturbances. The output power of the main grid is set to 50%, 100% and 120% respectively. The power generation curve of the new energy power station based on measured data within one day is used as the actual output of the new energy power station in the simulation system. Time domain simulation is performed under the above settings;

[0115] Record real-time measurements of each node and branch i ; and the data is marked as measurement data Z or state data X according to whether a micro-synchronous phasor measurement unit is installed and whether a branch current measurement element is installed. The power generation curves of the photovoltaic power station and the wind power station based on the measured data within one day are used as the actual output of the new energy power station in the simulation system; then, time domain simulation is performed; the voltage, current, and power data in the form of three-phase complex numbers are collected, and finally, a total of 1,000 sets of data samples are obtained;

[0116] The training samples are divided into training set and validation set. The graph convolutional structure network is used to learn the features of all training samples, and the data samples are cross-validated. The accuracy of the validation set validation model is calculated after each training is completed.

[0117] The training samples obtained by simulation are randomly divided into 80% as the training set for model training, and the remaining 20% ​​as the validation set.

[0118] The GCN network is used to learn features for all training samples, cross-validate the data samples, and compare the performance of the models on the validation samples with different training times;

[0119] The computer configuration used for offline training of the distribution network state estimation model is: Intel i7-11700 processor, 128GB memory and two RTX3070s with 16GB memory. In addition, MATLAB is used to build the distribution network model, and time domain simulation is performed to obtain samples for training. On the Anaconda platform, the GCN learning framework is built using the PyTorch language, and the training samples are learned to obtain the distribution network state estimation model.

[0120] This paper uses the mean relative error (MRE) as the loss function to evaluate the accuracy of the training model and test results, as shown in formula (9):

[0121]

[0122] Where M represents the total number of samples participating in the evaluation; N represents the number of nodes; RMSE_U represents the average error between the estimated value and the actual value of the voltage amplitude of each node; RMSE_θ represents the average error between the estimated value and the actual value of the phase angle of each node;

[0123] Use the training set to train the model, calculate the accuracy of the validation set to verify the model, and if the accuracy of the validation set continues to improve with the increase in the number of training times and eventually stabilizes at a higher accuracy, save the trained model;

[0124] During model training, the model is evaluated using the holdout method.

[0125] The data samples are divided into a training set and a validation set. The data samples are the training samples. The training set is then used for training. The network loss is calculated using the training set, and the validation set accuracy is calculated according to formula (9). If the accuracy of the validation set can be continuously improved and finally stabilized at a higher accuracy as the number of training times increases, it means that a better and more stable model is obtained. The evaluation accuracy of the training samples in this paper is the accuracy of the validation set.

[0126] For each training, the network parameters are updated by iterating according to the stochastic gradient descent method of the loss function. The training is stopped and the model is saved until the number of training times is reached or the accuracy of the training set and the validation set reaches the set threshold (in order to set up a control experiment, this article only sets an upper limit on the number of training times);

[0127] like Figure 7 This is a curve showing a change in voltage assessment index during the training of a distribution network state assessment method based on a graph convolutional network according to Embodiment 1 of the present invention;

[0128] Table 1 below gives the evaluation indicators of the method validation set under different training times.

[0129] Number of training sessions Voltage amplitude error % Voltage phase angle error % 10 10.38 15.18 50 2.72 5.47 100 0.60 4.34 200 0.08 2.19

[0130] In step S5, the distribution network state estimation model test sample data is used to perform online verification on the graph convolutional network model that has been trained offline.

[0131] In order to further test the superiority of the method proposed in this paper, two distribution network state assessment models are additionally considered under the configuration of the embodiment to compare with the method of the present invention; the traditional numerical optimization model is shown in formula (10),

[0132]

[0133] Among them, J s (x) represents the state estimation based on the PMU measurement equation; w(x) represents the state estimation of the measurement equation based on pseudo-measurement; W is the weight coefficient matrix of the measurement equation,

[0134] when When , it refers to the covariance matrix of the measurement error, the superscript s / w indicates direct measurement or pseudo measurement by PMU; α1 and α2 represent the weight coefficients of the objective function;

[0135] The steps of optimizing and solving the problem using the Gauss-Newton method are as follows: first, the initial value of each node is given using the average voltage distribution, and then the final state estimation value is given according to the global optimization. Considering that pseudo-measurements are relatively inaccurate, a lower weight value is assigned to the objective function of the optimization model.

[0136] Among them, the data-driven model based on the traditional convolutional neural network does not add a graph structure to the model. The model is established entirely based on the relationship between measurements and state variables. A double convolution layer is used, but the hyperparameter settings such as the convolution kernel and pooling kernel are kept similar to the number of 3-layer networks in the example, and the number of training times is set to 100.

[0137] Given a test sample and input the above two test sets into the saved model according to the input specification, output the evaluation results;

[0138] The process is completed after each sample is output once, and the output is stopped after all samples are tested. Table 2 shows the comparative test of different models.

[0139] Model Voltage amplitude error % Voltage phase angle error % Test time / ms Gauss-Newton Optimization Model 5.23 15.77 984.32 CNN Model 2.26 5.98 6.41

[0140] The present invention divides the system into partitions and calculates the maximum diameter of the partitioned subsystems through the configuration of the phase measurement units in the distribution network, thereby constructing a GCN model for distribution network state estimation, wherein the GCN model is a graph convolutional network model, and an offline training method is designed to improve the reliability of the learning network model and make it interpretable, reduce the sensitivity of the optimization model to the initial value, reduce the calculation time, and meet the needs of real-time evaluation.

[0141] Compared with traditional methods based on numerical algorithms, the present invention does not rely on initial values ​​and has a fast evaluation speed, which is more conducive to online application. Compared with other deep learning algorithms, this method fully considers the node adjacency relationship, adds the physical information of the distribution network to the learning model, and has stronger interpretability. Then its calculation time and training accuracy can adapt to the requirements of online evaluation, so that its training samples can meet all corresponding relationships.

[0142] The present invention divides the distribution network into partitions by using a small number of phasor measurement units, and establishes a relationship model between state variables and measurement variables. Then, the number of convolution modules required by the convolutional network is determined according to the maximum diameter after partitioning. Secondly, the adjacency matrix representation method in the traditional GCN is modified, so as to establish a learning framework of the state estimation model in the distribution network partition subsystem by using the graph convolutional network, thereby eliminating the uncertainty due to pseudo-measurements and reducing the negative effects on the state assessment accuracy caused by the introduction of more pseudo-measurements.

[0143] Example 2

[0144] Based on the distribution network state assessment method based on graph convolutional network proposed in Example 1 of the present invention, Example 2 of the present invention further proposes a distribution network state assessment system based on graph convolutional network. Figure 8 This is a schematic diagram of a distribution network state assessment system based on a graph convolutional network according to Embodiment 2 of the present invention. The system includes a first establishment module, a second establishment module, a calculation module, a training module, and a verification module;

[0145] The first establishment module is used to establish a node set and a branch set of a distribution feeder, divide the distribution network by configuring a power management unit at the node, and establish a state estimation data driven model; the state estimation data driven model is a mapping function with quantity measurement as input and state quantity as output;

[0146] The second establishment module is used to define the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes measured according to the data-driven model, and establish a graph convolutional network structure model;

[0147] The calculation module is used to form an adjacency matrix according to the distribution network structure, and calculate and set the hyperparameters of the graph convolution structure network model;

[0148] The training module is used to build a distribution network simulation model, obtain training samples, and train the graph convolution structure network model offline;

[0149] The verification module is used to perform online verification of the graph convolutional network model that has been trained offline using the distribution network state estimation model test sample data.

[0150] The process executed by the first establishment module is: using the graph data G in non-Euclidean space to represent the distribution feeder consisting of N nodes and L branches, that is, G = (V, L); V is called the top set, which is used to represent each node; L is the edge set, which is used to represent the connection relationship between each node; V = {V1, V2, ..., V N}; L = {l1,l2,…,l L};

[0151] By configuring power management units at the nodes, the edge set is divided into multiple disjoint subsets; if P = {Vv1, Vv2, ..., Vv m} is the top set containing nodes with multiple power management units installed; by cutting the nodes in P, the edge set L is divided into K disjoint subsets L k , N k Indicates L k The set of nodes connected to the edge in N, any vertex containing the endpoint of the edge (l,m) is in N k middle;

[0152] Establishing a data-driven model for state estimation NN (z i )=x i ; (1)

[0153] The quantity measurement is all variables directly or indirectly measured in the distribution network, including the node measurement vector obtained by integrating the direct measurement and pseudo measurement based on the power management unit, which is recorded as: Among them, U Ri is the real part of the voltage measurement at node i converted into the rectangular coordinate system; U Ii is the imaginary part of the voltage measurement at node i converted into the rectangular coordinate system; I Rij is the real value of the ij branch current measurement after conversion to the index coordinate system; I Iij is the imaginary part of the ij branch current measurement after conversion to the index coordinate system; is the voltage pseudo-measurement value of node i obtained by predicting the injected active power of the load node in the pseudo-measurement model; is the voltage pseudo-measurement value of node i obtained by predicting the injected reactive power of the load node in the pseudo-measurement model;

[0154] In the case of using a micro-synchronous phasor measurement unit, f NN (z i )=x i Simplified to (2);

[0155] in, is the set of voltage estimates at all nodes that do not have micro-synchrophasor measurement units installed; p represents the set of measurements on the nodes of all micro-synchronous phasor measurement units and their adjacent branches; there will be no edge L k The connected node set is represented as

[0156] For each f r (z p ) can be expressed as:

[0157] z k Contains node set N k and edge set L k All measurements on Indicates that there is no node set with micro-synchronous phasor measurement unit installed All voltage estimates above;

[0158] For graph data G, its features are composed of the features X of each node in V v ={x v1 ,x v2 ,...,x vn} and the edge set feature X of the edge l connecting the two nodes l ={x l1 ,x l2 ,...,x lm}; the output of each hidden layer of the graph data G is represented by the convolutional neural network model h t+1 =f(h t ,A|W t ); (4)

[0159] Among them, h t+1 represents the feature output of the t+1th hidden layer; A represents the adjacency matrix of the node, W t represents the weight parameter of the tth layer;

[0160] The convolutional neural network model propagation process is:

[0161] in, yes The degree matrix of σ is the activation function;

[0162] The learning architecture of the state estimation model is expressed as

[0163] Where N represents the number of nodes; X i Represents the data characteristics of the state variable of node i; Z i represents the data characteristics of the measured variable of node i; ||·|| represents the norm of the model, which is the loss function that measures the fitting error of the network to the mapping function; f GCN Represents the final trained state estimation network model, that is, the data-driven model.

[0164] The second establishment module performs the following steps: defining the maximum diameter of the partition subsystem to determine the number of convolutional layers; defining the maximum diameter Mdia) to determine the number of convolutional layers; k ,L k), Mdia is determined by the number of edge sets contained in the longest branch, and satisfies 1≤Mdia≤K;

[0165] The number of convolution kernels is determined by using the maximum number of neighboring nodes measured; for the subsystem graph G(N k ,L k )The maximum number of feature representations of any node in any partitioned subsystem is the number of the first convolution kernels.

[0166] The process performed by the calculation module is as follows: The adjacency matrix is ​​used to represent the matrix of the adjacent relationship between vertices; the adjacency matrix of G(V,L) is expressed as:

[0167]

[0168] Among them, the adjacency matrix A is an n-order symmetric square matrix, and the main diagonal is 1 to represent the node itself, and the number of non-zero elements in the i-th row (or i-th column) of the adjacency matrix is ​​exactly the degree of the i-th vertex;

[0169] The graph convolutional structure network model adopts a convolutional layer stacking hierarchical architecture. Through the pre-selected network partitioning method, the nodes are partitioned according to the installation position of the micro-synchronous phasor measurement unit, and Mdia is calculated to determine the number of convolutions of the graph convolutional structure network model.

[0170] Through the phasor measurement form, the number of measurements of the maximum neighboring nodes in the partition subsystem is calculated to determine the number of convolution kernels in each convolution layer; and the remaining network parameters are set;

[0171] Set the network parameters and training parameters of the graph convolutional network model.

[0172] The training module is executed as follows: building a simulation model and setting the sampling frequency and different operating conditions of the simulation model;

[0173] Record real-time measurements of each node and branch i ; and the data is marked as measurement data Z or status data X according to whether a micro-synchronous phasor measurement unit is installed and whether a branch current measurement element is installed.

[0174] The training samples are divided into training set and validation set. The graph convolutional structure network is used to learn the features of all training samples, and the data samples are cross-validated. The accuracy of the validation set validation model is calculated after each training is completed.

[0175] During training, the evaluation indicators of the model are defined to verify the accuracy of the model and determine whether the model training is complete. The evaluation indicators are:

[0176]

[0177] Where M represents the total number of samples participating in the evaluation; RMSE_U represents the average error between the estimated value and the actual value of the voltage amplitude of each node; RMSE_θ represents the average error between the estimated value and the actual value of the phase angle of each node;

[0178] During training, the network parameters are updated by iterating according to the stochastic gradient descent method of the total loss function until the number of training times is reached or the evaluation accuracy of the validation set reaches the set threshold, then the training is stopped and the model is saved.

[0179] The verification module is executed as follows: using real-time measurements of the distribution network, wind power, photovoltaic and load historical data to perform all measurements on the test samples, performing pseudo-measurements on the graph convolutional network, and performing comparative tests with other optimization models, and saving the distribution network state estimation model.

[0180] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment that includes a series of elements are inherent to the elements. In the absence of more restrictions, the elements limited by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or equipment that includes the elements. In addition, the above-mentioned technical solution provided in the embodiment of the present application is consistent with the corresponding technical solution in the prior art in principle, and the part is not described in detail, so as not to repeat too much.

[0181] Although the above describes the specific implementation of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. For those skilled in the art, other different forms of modifications or deformations can be made on the basis of the above description. It is not necessary and impossible to list all the implementation methods here. On the basis of the technical solution of the present invention, various modifications or deformations that can be made by those skilled in the art without creative work are still within the scope of protection of the present invention.

Claims

1. A distribution network state assessment method based on graph convolutional network, characterized in that: The following steps are involved: Establishing a node set and a branch set of a distribution feeder, dividing the distribution network by configuring a power management unit at the node, and establishing a state estimation data-driven model; the state estimation data-driven model is a mapping function with quantity measurement as input and state quantity as output; The process of establishing a node set and a branch set of a distribution feeder and dividing the distribution network by configuring a power management unit at the node is as follows: The graph data G in non-Euclidean space is used to represent the distribution feeder consisting of N nodes and L branches, that is, G = (V, L); V is called the top set, which is used to represent each node; L is the edge set, which is used to represent the connection relationship between each node; V = {V1, V2, ..., V N }; L = {l1,l2,…,l L }; By configuring power management units at the nodes, the edge set is divided into multiple disjoint subsets; if P = {Vv1, Vv2, ..., Vv m } is the top set containing nodes with multiple power management units installed; by cutting the nodes in P, the edge set L is divided into K disjoint subsets L k , N k Indicates L k The set of nodes connected to the edge in N, any vertex containing the endpoint of the edge (l,m) is in N k middle; The process of establishing the state estimation data driven model is as follows: Establishing a data-driven model for state estimation NN (z i )=x i ; (1) The quantity measurement is all variables directly or indirectly measured in the distribution network, including the node measurement vector obtained by integrating the direct measurement and pseudo measurement based on the power management unit, which is recorded as: Among them, U Ri is the real part of the voltage measurement at node i converted into the rectangular coordinate system; U Ii is the imaginary part of the voltage measurement at node i converted into the rectangular coordinate system; I Rij is the real value of the ij branch current measurement after conversion to the index coordinate system; I Iij is the imaginary part of the ij branch current measurement after conversion to the index coordinate system; is the voltage pseudo-measurement value of node i obtained by predicting the injected active power of the load node in the pseudo-measurement model; is the voltage pseudo-measurement value of node i obtained by predicting the injected reactive power of the load node in the pseudo-measurement model; In the case of using a micro-synchronous phasor measurement unit, f NN (z i )=x i Simplified to in, is the set of voltage estimates at all nodes that do not have micro-synchrophasor measurement units installed; p represents the set of measurements on the nodes of all micro-synchronous phasor measurement units and their adjacent branches; there will be no edge L k The connected node set is represented as For each f r (z p ) can be expressed as: z k Contains node set N k and edge set L k All measurements on Indicates that there is no node set with micro-synchrophasor measurement unit installed All voltage estimates above; For graph data G, its features are composed of the features X of each node in V v ={x v1 ,x v2 ,...,x vn } and the edge set feature X of the edge l connecting the two nodes l ={x l1 ,x l2 ,...,x lm }; the output of each hidden layer of the graph data G is represented by the convolutional neural network model h t+1 =f(h t ,A|W t ); (4) Among them, h t+1 represents the feature output of the t+1th hidden layer; A represents the adjacency matrix of the node, W t represents the weight parameter of the tth layer; The convolutional neural network model propagation process is: in, yes The degree matrix of σ is the activation function; The learning architecture of the state estimation model is expressed as Where N represents the number of nodes; X i Represents the data characteristics of the state variable of node i; Z i represents the data characteristics of the measured variable of node i; ||·|| represents the norm of the model, which is the loss function that measures the fitting error of the network to the mapping function; f GCN Represents the state estimation network model obtained by the final training, that is, the data-driven model; According to the data-driven model, the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes to be measured are defined, and a graph convolutional network structure model is designed; Form an adjacency matrix based on the distribution network structure, and calculate and set the hyperparameters of the graph convolutional structure network model; Building a distribution network simulation model, obtaining training samples, and offline training the graph convolutional structure network model; The distribution network state estimation model test sample data is used to perform online verification of the graph convolutional network model completed after offline training.

2. According to a distribution network state assessment method based on graph convolutional network according to claim 1, it is characterized in that: The method for defining the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes measured according to the data-driven model and designing the graph convolutional network structure is: Define the maximum diameter of the partition subsystem to determine the number of convolutional layers; define the maximum diameter Mdia to determine the number of convolutional layers; in the subsystem diagram G(N k ,L k ), Mdia is determined by the number of edge sets contained in the longest branch, and satisfies 1≤Mdia≤K; The number of convolution kernels is determined by using the maximum number of neighboring nodes measured; for the subsystem graph G(N k ,L k )The maximum number of feature representations of any node in any partitioned subsystem is the number of the first convolution kernels.

3. According to claim 2, a distribution network state assessment method based on graph convolutional network is characterized in that: The method for forming an adjacency matrix according to the distribution network structure and calculating and setting the hyperparameters of the graph convolution structure network model is as follows: The adjacency matrix is ​​a matrix used to represent the adjacent relationship between vertices; the adjacency matrix of G(V,L) is expressed as: Among them, the adjacency matrix A is an n-order symmetric square matrix, and the main diagonal is 1 to represent the node itself, and the number of non-zero elements in the i-th row or i-th column of the adjacency matrix is ​​exactly the degree of the i-th vertex; The graph convolutional structure network model adopts a convolutional layer stacking hierarchical architecture. Through the pre-selected network partitioning method, the nodes are partitioned according to the installation position of the micro-synchronous phasor measurement unit, and Mdia is calculated to determine the number of convolutions of the graph convolutional structure network model.

4. According to claim 3, a distribution network state assessment method based on graph convolutional network is characterized in that: The graph convolution structure network model adopts a convolution layer stacking hierarchical architecture, and partitions the nodes according to the installation position of the micro-synchronous phasor measurement unit through a pre-selected network partitioning method, and calculates Mdia to determine the number of convolutions of the graph convolution structure network model. The process is as follows: Through the phasor measurement form, the number of measurements of the maximum neighboring nodes in the partition subsystem is calculated to determine the number of convolution kernels in each convolution layer; and the remaining network parameters are set; Set the network parameters and training parameters of the graph convolutional network model.

5. A distribution network state assessment method based on graph convolutional network according to claim 4, characterized in that: The method of building a distribution network simulation model, obtaining training samples, and offline training the graph convolutional structure network model is: Build a simulation model and set the sampling frequency and different operating conditions of the simulation model; Record real-time measurements of each node and branch i ; and the data is marked as measurement data Z or status data X according to whether a micro-synchronous phasor measurement unit is installed and whether a branch current measurement element is installed; The training samples are divided into training set and validation set. The graph convolutional structure network is used to learn the features of all training samples, and the data samples are cross-validated. The accuracy of the validation set validation model is calculated after each training is completed.

6. A distribution network state assessment method based on graph convolutional network according to claim 5, characterized in that: The training samples are divided into training sets and validation sets, and the graph convolutional network is used to perform feature learning on all training samples, and the data samples are cross-validated. The process of calculating the accuracy of the validation set validation model after each training is completed is as follows: During training, the evaluation indicators of the model are defined to verify the accuracy of the model and determine whether the model training is complete. The evaluation indicators are: Where M represents the total number of samples participating in the evaluation; RMSE_U represents the average error between the estimated value and the actual value of the voltage amplitude of each node; RMSE_θ represents the average error between the estimated value and the actual value of the phase angle of each node; During training, the network parameters are updated by iterating according to the stochastic gradient descent method of the total loss function until the number of training times is reached or the evaluation accuracy of the validation set reaches the set threshold, then the training is stopped and the model is saved.

7. A distribution network state assessment method based on graph convolutional network according to claim 6, characterized in that: The method of using distribution network state estimation model test sample data to perform online verification on the graph convolutional network model completed by offline training is: using real-time measurement of the distribution network, wind power, photovoltaic and load historical data to perform all measurements on the test samples, perform pseudo-measurements on the graph convolutional network, and perform comparative tests with other optimization models to save the distribution network state estimation model.

8. A distribution network state assessment system based on a graph convolutional network, used to execute a distribution network state assessment method based on a graph convolutional network according to any one of claims 1 to 7, characterized in that: It includes a first establishment module, a second establishment module, a calculation module, a training module and a verification module; The first establishment module is used to establish a node set and a branch set of a distribution feeder, divide the distribution network by configuring a power management unit at the node, and establish a state estimation data driven model; the state estimation data driven model is a mapping function with quantity measurement as input and state quantity as output; The second establishment module is used to define the maximum branch diameter of the partition subsystem and the maximum number of neighboring nodes measured according to the data-driven model, and establish a graph convolutional network structure model; The calculation module is used to form an adjacency matrix according to the distribution network structure, and calculate and set the hyperparameters of the graph convolution structure network model; The training module is used to build a distribution network simulation model, obtain training samples, and train the graph convolution structure network model offline; The verification module is used to perform online verification on the graph convolutional network model that has been trained offline using distribution network state estimation model test sample data.