CN113435575A - Gate graph neural network transient stability evaluation method based on unbalanced data - Google Patents
Gate graph neural network transient stability evaluation method based on unbalanced data Download PDFInfo
- Publication number
- CN113435575A CN113435575A CN202110693635.4A CN202110693635A CN113435575A CN 113435575 A CN113435575 A CN 113435575A CN 202110693635 A CN202110693635 A CN 202110693635A CN 113435575 A CN113435575 A CN 113435575A
- Authority
- CN
- China
- Prior art keywords
- model
- data
- transient stability
- unstable
- samples
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000001052 transient effect Effects 0.000 title claims abstract description 114
- 238000011156 evaluation Methods 0.000 title claims abstract description 34
- 238000013528 artificial neural network Methods 0.000 title claims abstract description 27
- 238000013097 stability assessment Methods 0.000 claims abstract description 28
- 238000000034 method Methods 0.000 claims description 63
- 238000012549 training Methods 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 22
- 238000004088 simulation Methods 0.000 claims description 22
- 238000013210 evaluation model Methods 0.000 claims description 21
- 239000011159 matrix material Substances 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000004913 activation Effects 0.000 claims description 7
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 claims description 4
- 238000003491 array Methods 0.000 claims description 3
- 238000010801 machine learning Methods 0.000 abstract description 9
- 238000004458 analytical method Methods 0.000 abstract description 8
- 238000004422 calculation algorithm Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 22
- 238000012360 testing method Methods 0.000 description 18
- 238000013527 convolutional neural network Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000013135 deep learning Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 210000002569 neuron Anatomy 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 241000238097 Callinectes sapidus Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013145 classification model Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000013079 data visualisation Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013136 deep learning model Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012854 evaluation process Methods 0.000 description 1
- 238000007477 logistic regression Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000005381 potential energy Methods 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 238000004579 scanning voltage microscopy Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/047—Probabilistic or stochastic networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Biomedical Technology (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Public Health (AREA)
- Probability & Statistics with Applications (AREA)
- Water Supply & Treatment (AREA)
- Primary Health Care (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
基于不平衡数据的门图神经网络暂态稳定性评估方法,属于电力系统的暂态稳定性分析技术领域。本发明是为了目前的机器学习的方法不具有可解释性的问题。本发明基于条件生成对抗网络(CGAN)来生成不稳定的样本,不但能生成不稳定的样本,还能用来生成事件不平衡的不稳定样本,使样本不仅达到稳定与不稳定平衡,也能达到不稳定样本中的事件的平衡。在解决了样本的数据不平衡问题之后,用GGNN算法来评估电力系统的暂态稳定性,并且判断造成电力系统失稳的原因。主要用于电力系统的暂态稳定性评估。
A gate graph neural network transient stability evaluation method based on unbalanced data belongs to the technical field of transient stability analysis of power systems. The present invention addresses the problem that current machine learning methods do not have interpretability. The present invention generates unstable samples based on Conditional Generative Adversarial Network (CGAN), which can not only generate unstable samples, but also can be used to generate unstable samples with unbalanced events, so that the samples can not only achieve a balance between stability and instability, but also Equilibrium of events in unstable samples is reached. After solving the data imbalance problem of the samples, the GGNN algorithm is used to evaluate the transient stability of the power system, and to determine the cause of the instability of the power system. Mainly used for transient stability assessment of power system.
Description
技术领域technical field
本发明涉及电力系统的网络暂态稳定性评估方法,属于电力系统的暂态稳定性分析技术领域。The invention relates to a network transient stability evaluation method of a power system, and belongs to the technical field of transient stability analysis of a power system.
背景技术Background technique
暂态稳定是指电力系统在某个运行状态下突然受到大的干扰后,能否经过暂态过程达到稳态运行状态或原来的运行状态。电力系统是能源物联网中重要的组成部分,电力系统的暂态稳定评估也很重要。这些大的干扰一般是指短路故障、突然断开线路或发电机等。电力系统如果在受到大的干扰后不能达到稳定的或原来的运行状态时,会造成电力系统的失稳,会使电力系统大面积崩溃,造成严重的社会经济损失。所以设计的TSA在系统受到故障时能够快速判断系统是否失稳且分析失稳的事件是非常必要且有重要意义的。Transient stability refers to whether the power system can reach the steady-state operating state or the original operating state through the transient process after a sudden large disturbance in a certain operating state. The power system is an important part of the energy Internet of Things, and the transient stability assessment of the power system is also very important. These large disturbances generally refer to short-circuit faults, sudden disconnection of lines or generators, etc. If the power system cannot reach a stable or original operating state after being subjected to large disturbances, it will cause the instability of the power system, cause the power system to collapse in a large area, and cause serious social and economic losses. Therefore, the designed TSA can quickly judge whether the system is unstable and analyze the instability events when the system is faulted, which is very necessary and of great significance.
电力系统的暂态稳定性分析的方法有时域仿真法、直接法和机器学习法,其中最成熟的方法是时域仿真法。时域仿真法是对全系统建立模型,即高维非线性的微分代数方程,在求解方程后得到系统中各变量随时间变化的曲线,然后判断系统的暂态稳定性。因为模型是根据系统中各元件的物理特性及网络拓扑关系建立的,所以时域仿真法具有可解释性。时域仿真法可以作为其他方法的检验标准,但是随着电力系统越来越复杂和电子硬件的快速变化,时域仿真法的模型越来越复杂,计算也越来越复杂,所需的计算时间也越来越长,这使得时域仿真法不能够实时的判断电力系统的暂态稳定性。除此之外时域仿真法也不能够获得电力系统的暂态稳定的稳定裕度。The methods of transient stability analysis of power system include time-domain simulation method, direct method and machine learning method, among which the most mature method is time-domain simulation method. The time-domain simulation method is to establish a model for the whole system, that is, a high-dimensional nonlinear differential-algebraic equation. After solving the equation, the curve of each variable in the system with time is obtained, and then the transient stability of the system is judged. Because the model is established according to the physical characteristics of the components in the system and the network topology, the time domain simulation method is interpretable. The time-domain simulation method can be used as a test standard for other methods, but as the power system becomes more and more complex and the electronic hardware changes rapidly, the model of the time-domain simulation method becomes more and more complex, and the calculation becomes more and more complex. The time is getting longer and longer, which makes the time domain simulation method unable to judge the transient stability of the power system in real time. In addition, the time domain simulation method cannot obtain the stability margin of the transient stability of the power system.
直接法一般都是基于能量函数的方法,基于能量函数的方法有三种,分别为势能边界表面法(PEBC),控制不稳定的平衡点法(CUEP)和EEAC。与时域仿真法相比,直接法因无需对整个系统的运动轨迹进行逐步积分,使得有较快计算速度;又因直接法是先建立能量函数,然后通过比较故障切除时刻系统具有的能量和系统处于临界时的能量判断系统的暂态稳定性问题,故能得到系统的稳定性裕度。但是直接法的模型适应性较差,判断结果偏保守且系统处于临界时的能量较难求得。The direct method is generally based on the energy function. There are three methods based on the energy function, namely the potential energy boundary surface method (PEBC), the controlled unstable equilibrium point method (CUEP) and the EEAC. Compared with the time domain simulation method, the direct method does not need to integrate the motion trajectory of the whole system step by step, which makes the calculation speed faster; and because the direct method first establishes the energy function, and then compares the energy of the system and the system at the time of fault removal. The energy at the critical time can judge the transient stability of the system, so the stability margin of the system can be obtained. However, the model adaptability of the direct method is poor, the judgment results are conservative and the energy when the system is in a critical state is difficult to obtain.
随着人工智能的发展,机器学习的各种方法也用于电力系统暂态稳定性分析,有SVM、逻辑回归、深度学习等。在J.Q.Yu,A.Y.S.Lam,D.J.Hill and V.O.K.Li等人的《DelayAware Intelligent Transient Stability Assessment System》中,用LSTM的方法不但解决了电力系统中的暂态稳定性评估,也解决了系统模型的评估精度和响应时间的转换和PMUs的通信延迟问题。基于级联的CNN的方法解决电力系统的暂态稳定性的快速批量评估。随着图学习的发展,图学习也被应用到电力系统的暂态稳定性评估。在《Fast TransientStability Batch Assessment Using Cascaded Convolutional Neural Networks》中,用循环图卷积网络 (RGCN)构建TSA模型。与其他神经网络的方法比较,基于图注意力神经网络的TSA模型考虑了电网的拓扑结构对电力系统的稳定性的影响,且在一定程度上能够达到较好的准确性。与时域仿真法和直接法相比较,机器学习的方法具有计算复杂度低和能够求得稳定裕度的优点,有较短的响应时间,也能够实现实时判断电力系统的暂态稳定。但是目前的机器学习的方法不具有可解释性,同时机器学习的方法受到数据不平衡性的影响非常大,数据的不平衡会使评估模型虽然有较高的准确率,但是会发生错误判断,造成较大的损失,同时也使得训练好的模型的泛化能力有限导致其鲁棒性和适用性有待于提高。With the development of artificial intelligence, various methods of machine learning are also used for transient stability analysis of power systems, such as SVM, logistic regression, and deep learning. In the "DelayAware Intelligent Transient Stability Assessment System" by J.Q.Yu, A.Y.S.Lam, D.J.Hill and V.O.K.Li et al., the LSTM method not only solves the transient stability evaluation in the power system, but also solves the evaluation accuracy of the system model. and response time conversion and communication delay issues with PMUs. A cascaded CNN-based approach addresses the fast batch evaluation of the transient stability of power systems. With the development of graph learning, graph learning has also been applied to transient stability assessment of power systems. In Fast TransientStability Batch Assessment Using Cascaded Convolutional Neural Networks, a TSA model is built with a Recurrent Graph Convolutional Network (RGCN). Compared with other neural network methods, the TSA model based on graph attention neural network considers the influence of the topology of the power grid on the stability of the power system, and can achieve better accuracy to a certain extent. Compared with the time domain simulation method and the direct method, the machine learning method has the advantages of low computational complexity and the ability to obtain the stability margin, has a shorter response time, and can also realize real-time judgment of the transient stability of the power system. However, the current machine learning method is not interpretable, and the machine learning method is greatly affected by the imbalance of the data. The imbalance of the data will make the evaluation model have a high accuracy rate, but wrong judgment will occur. It causes a large loss, and at the same time, the generalization ability of the trained model is limited, so its robustness and applicability need to be improved.
发明内容SUMMARY OF THE INVENTION
本发明是为了目前的机器学习的方法不具有可解释性的问题。The present invention addresses the problem that current machine learning methods do not have interpretability.
基于不平衡数据的门图神经网络暂态稳定性评估方法,包括以下步骤:The transient stability evaluation method of gate graph neural network based on unbalanced data includes the following steps:
S1、收集电力系统的稳定性评估数据,所述的稳定性评估数据包括总线电压U1和电机的运行参量,所述的电机的运行参量包括电机有功功率P、电机无功功率Q、电机电压幅值U、电机电流I;S1, collect the stability evaluation data of the power system, the stability evaluation data includes the bus voltage U1 and the operating parameters of the motor, the operating parameters of the motor include the motor active power P, the motor reactive power Q, the motor voltage Amplitude U, motor current I;
S2、利用暂态稳定性评估模型实现电力系统的稳定性评估,暂态稳定性评估模型实现电力系统的稳定性评估的过程包括以下步骤:S2. Use the transient stability assessment model to realize the stability assessment of the power system. The process of the transient stability assessment model to realize the stability assessment of the power system includes the following steps:
基于稳定性评估数据生成图G(V,E),V表示发电机组且v∈V,选择发电机组作为节点v,evw∈E为节点v和w之间的边;电机有功功率P、电机无功功率Q、电机电压幅值U、电机电流I用于构成节点的注释向量,总线电压U1用于生成节点之间的边;Generate a graph G(V,E) based on the stability evaluation data, where V represents the generator set and v∈V, select the generator set as the node v, and e vw ∈ E is the edge between the nodes v and w; the motor active power P, the motor Reactive power Q, motor voltage amplitude U, motor current I are used to form the annotation vector of nodes, and bus voltage U 1 is used to generate edges between nodes;
基于图G(V,E),先利用第一GGNN模型评估暂态稳定的失稳状态,如果模型的输出为电力系统暂态稳定,进入下个循环;否则,再利用第二GGNN模型评估继续判断造成系统失稳的事件类型;Based on the graph G(V,E), first use the first GGNN model to evaluate the transient stable instability state, if the output of the model is the transient stability of the power system, enter the next cycle; otherwise, use the second GGNN model to evaluate and continue Determine the type of events that cause system instability;
所述的第一GGNN为二分类模型,输出为稳定状态和不稳定状态;所述的第二GGNN模型为多分类模型,输出为不稳定的类型,对应判断造成电力系统失稳的原因;The first GGNN is a two-class model, and the output is a stable state and an unstable state; the second GGNN model is a multi-class model, and the output is an unstable type, corresponding to determine the cause of the instability of the power system;
所述的暂态稳定性评估模型为预先训练好的,其训练过程包括以下步骤:The transient stability evaluation model is pre-trained, and the training process includes the following steps:
收集电力系统的稳定性评估数据作为样本数据,所述的样本数据中的电机的运行参量还包括各发电机相对转子角δ,基于各发电机相对转子角δ样本数据,利用暂态稳定指数将电力系统的稳态划分稳定状态和不稳定状态;The stability evaluation data of the power system is collected as sample data. The operating parameters of the motor in the sample data also include the relative rotor angle δ of each generator. Based on the sample data of the relative rotor angle δ of each generator, the transient stability index is used to The steady state of the power system is divided into stable state and unstable state;
然后针对不稳定状态的数据,利用第一CGAN生成不稳定的样本,再通过第二CGAN生成不同事件的不稳定样本;Then, for the data in the unstable state, the first CGAN is used to generate unstable samples, and the second CGAN is used to generate unstable samples of different events;
利用稳定状态的样本和不稳定状态对应的样本生成图G(V,E),并训练用于评估暂态稳定的第一GGNN模型和用于评估不稳定样本对应事件的第二CGAN模型。A graph G(V, E) is generated using samples from stable states and samples corresponding to unstable states, and trains a first GGNN model for evaluating transient stability and a second CGAN model for evaluating events corresponding to unstable samples.
进一步地,所述的第一GGNN在传播步骤中使用门递归单元GRU。Further, the first GGNN uses a gate recursive unit GRU in the propagation step.
进一步地,所述第二GGNN在传播步骤中使用门递归单元GRU。Further, the second GGNN uses a gate recursive unit GRU in the propagation step.
进一步地,训练第一GGNN模型的过程中的损失函数其中li表示样本i的标签,hi表示样本i的图级表示向量,i表示样本i,G表示样本量。Further, the loss function in the process of training the first GGNN model where l i represents the label of sample i, hi represents the graph-level representation vector of sample i, i represents sample i, and G represents the sample size.
进一步地,所述的第一GGNN模型的传播递归过程如下:Further, the propagation recursive process of the first GGNN model is as follows:
其中,表示为节点v在时间t的隐藏状态,xv为节点v的节点注释向量;T表示向量的转置;in, Represented as the hidden state of node v at time t, x v is the node annotation vector of node v; T represents the transpose of the vector;
节点v从邻居节点收集信息;向量表示节点v在时间t收集的关于邻居节点的信息; Av是图邻接矩阵的子矩阵,表示节点v及其邻居节点的连接状态;V表示节点的数量;表示节点1在时刻t-1的隐藏状态,V表示节点的数量,表示向量的转置,b表示计算的向量;Node v collects information from neighbor nodes; A vector represents the information about neighbor nodes collected by node v at time t; A v is a sub-matrix of the graph adjacency matrix, representing the connection state of node v and its neighbor nodes; V represents the number of nodes; represents the hidden state of
其中表示节点v在时刻t的更新的信息,表示节点v在时刻t的的信息,矩阵Wz和 Wr用来计算z和r的权重矩阵,矩阵Uz和Ur也用来计算z和r的权重矩阵;z和r表示更新门和重置门,σ表示sigmoid函数;in represents the updated information of node v at time t, Represents the information of node v at time t, the matrices W z and W r are used to calculate the weight matrix of z and r, and the matrices U z and U r are also used to calculate the weight matrix of z and r; z and r represent the update gate and Reset the gate, σ represents the sigmoid function;
其中tanh(x)为激活函数,⊙为逐元素乘法运算;where tanh(x) is the activation function, and ⊙ is the element-wise multiplication operation;
图级输出时,将图级的表示向量定义为When graph-level output, the graph-level representation vector is defined as
其中,充当软注意机制,该机制决定哪些节点与当前图级任务相关,i和 j是将和xv级联作为输入并输出实值的神经网络;hg用于判断电力系统的暂态稳定性。in, acts as a soft attention mechanism that decides which nodes are relevant to the current graph-level task, i and j are the and x v are cascaded as input and output real-valued neural network; h g is used to judge the transient stability of the power system.
进一步地,所述的第一GGNN模型的hg>0.5表示稳定。Further, h g >0.5 of the first GGNN model indicates stability.
进一步地,所述训练第二GGNN模型的过程中的损失函数其中l1表示为事件类型的标签,k表示事件类型的个数,aj为激活函数softmax的输出。Further, the loss function in the process of training the second GGNN model Among them, l 1 represents the label of the event type, k represents the number of event types, and a j is the output of the activation function softmax.
进一步地,训练第一GGNN模型和第二CGAN模型之前,用于生成不稳定样本的第一CGAN和第二CGAN是预先训练好的,训练过程包括以下步骤:Further, before training the first GGNN model and the second CGAN model, the first CGAN and the second CGAN for generating unstable samples are pre-trained, and the training process includes the following steps:
根据收集电力系统的稳定性评估数据作为样本数据构建CGAN的数据数据x:The data data x of CGAN is constructed according to the stability evaluation data of the power system collected as the sample data:
x=[x1,x2,…,xn] (2)x=[x 1 ,x 2 ,...,x n ] (2)
ai=[U1 P Q U I δ]1×89 (4)a i = [U 1 PQUI δ] 1×89 (4)
其中,n表示输入的样本的个数,由(2)(3)(4)式可知输入的数据为n个500*89 的数组;Among them, n represents the number of input samples, and it can be known from equation (2)(3)(4) that the input data is n arrays of 500*89;
CGAN的判别器D的输入条件为样本数据的标签向量,是一个n×1的数组;The input condition of the discriminator D of CGAN is the label vector of the sample data, which is an n×1 array;
基于样本数据生成多标签数据,每条数据有2个标签:Generate multi-label data based on sample data, each data has 2 labels:
L={l1,l2} (5)L={l 1 ,l 2 } (5)
其中,l1表示造成数据状态的事件,l2表示系统的稳定状态;Among them, l 1 represents the event that caused the data state, and l 2 represents the stable state of the system;
l1={0,1,2,3,4} (6)l 1 = {0, 1, 2, 3, 4} (6)
l1=0表示的事件为短路事件,l1=1表示的事件为分接头事件,l1=2表示的事件为负荷事件,l1=3表示的事件为开关事件,l1=4表示的事件为同步发电机事件;The event represented by l 1 =0 is a short circuit event, the event represented by l 1 =1 is a tap event, the event represented by l 1 =2 is a load event, the event represented by l 1 =3 is a switching event, and the event represented by l 1 =4 The event is a synchronous generator event;
l2={0,1} (7)l 2 = {0, 1} (7)
当l2为0时,样本失稳,当l2为1时,样本稳定;L为一个1行2列的数组;When l 2 is 0, the sample is unstable; when l 2 is 1, the sample is stable; L is an array with 1 row and 2 columns;
基于样本数据和对应的标签训练生成不稳定的样本对应的CGAN模型和生成不同事件的不稳定样本对应的CGAN模型,分别记为第一CGAN模型和第二CGAN模型。Based on the sample data and corresponding labels, the CGAN model corresponding to the generated unstable samples and the CGAN model corresponding to the unstable samples generated with different events are trained as the first CGAN model and the second CGAN model, respectively.
进一步地,所述根据收集电力系统的稳定性评估数据的过程中,将故障清除时刻记为 0时刻,根据0.01s时间间隔收集总线电压和电机运行参量。Further, in the process of collecting the stability evaluation data of the power system, the fault clearing time is recorded as
进一步地,所述的暂态稳定指数其中δmax为仿真时长内任意两个发电机组最大的相对转子角。Further, the transient stability index where δmax is the maximum relative rotor angle of any two generator sets in the simulation duration.
有益效果:Beneficial effects:
本发明基于条件生成对抗网络(CGAN)来生成不稳定的样本,不但能生成不稳定的样本,还能用来生成事件不平衡的不稳定样本,使样本不仅达到稳定与不稳定平衡,也能达到不稳定样本中的事件的平衡。在解决了样本的数据不平衡问题之后,用GGNN算法来评估电力系统的暂态稳定性,并且判断造成电力系统失稳的原因。更为重要的是,本发明考虑不同的类型数据的影响,因此本发明可以有较高的准确率同时具有较低的错误率。此外本发明CGAN不仅能够解决数据不平衡问题,还兼顾了不稳定时类别信息,并与后续 GGNN的配合,保证了本发明对于电力系统的评估模型具有更好的鲁棒性和适用性。The invention generates unstable samples based on Conditional Generative Adversarial Network (CGAN), which can not only generate unstable samples, but also can be used to generate unstable samples with unbalanced events, so that the samples not only achieve a balance between stability and instability, but also can be used to generate unstable samples. Equilibrium of events in unstable samples is reached. After solving the data imbalance problem of the samples, the GGNN algorithm is used to evaluate the transient stability of the power system, and to determine the reasons for the instability of the power system. More importantly, the present invention considers the influence of different types of data, so the present invention can have a higher accuracy rate and a lower error rate. In addition, the CGAN of the present invention can not only solve the problem of data imbalance, but also take into account the category information when unstable, and cooperate with the subsequent GGNN to ensure that the present invention has better robustness and applicability to the evaluation model of the power system.
通过实验,我们可以看出,用CGAN是能够有效且能够提升暂态稳定性评估性能的解决电力系统暂态稳定性评估的数据不平衡问题的。GGNN也能够快速准确的评估电力系统的暂态稳定性,并且能够判断电力系统失稳的原因,还可以达到不错的性能。Through experiments, we can see that using CGAN can effectively and improve the performance of transient stability assessment to solve the data imbalance problem of power system transient stability assessment. GGNN can also quickly and accurately evaluate the transient stability of the power system, and can judge the reasons for the instability of the power system, and can also achieve good performance.
附图说明Description of drawings
图1为条件生成网络CGAN的结构;Figure 1 shows the structure of the conditional generation network CGAN;
图2为英格兰IEEE-39总线电力系统在遭受短路事件之后稳定样例的各电机相对转子角的曲线;Fig. 2 is the curve of the relative rotor angle of each motor of the stable example of the IEEE-39 bus power system in England after suffering from a short-circuit event;
图3为英格兰IEEE-39总线电力系统在遭受短路事件之后不稳定样例的各电机相对转子角的曲线;Fig. 3 is the curve of the relative rotor angle of each motor of the unstable sample of the IEEE-39 bus power system in England after suffering a short circuit event;
图4为CGAN生成不稳定样本的流程图;Figure 4 is a flow chart of CGAN generating unstable samples;
图5为TSA模型的框架;Figure 5 is the framework of the TSA model;
图6为IEEE-39总线系统的结构对应的图结构;Fig. 6 is the graph structure corresponding to the structure of IEEE-39 bus system;
图7为GRU的结构;Fig. 7 is the structure of GRU;
图8为模型判断暂态稳定性和预测造成系统不稳定事件的流程图;Figure 8 is a flow chart of the model judging transient stability and predicting events that cause system instability;
图9为新英格兰39总线系统的结构Figure 9 shows the structure of the
图10为生成模型G的迭代损失图;Figure 10 is an iterative loss diagram of the generative model G;
图11为判别模型D的损失迭代图;Fig. 11 is the loss iteration diagram of discriminant model D;
图12为CGAN生成样本的二维数据空间分布;Figure 12 shows the two-dimensional data space distribution of CGAN generated samples;
图13为不同失稳样本比例下的所提出模型的准确性;Figure 13 shows the accuracy of the proposed model under different proportions of destabilized samples;
图14为GGNN模型预测的不稳定样本的原因的结果。Figure 14 is the result of the cause of unstable samples predicted by the GGNN model.
具体实施方式Detailed ways
具体实施方式一:Specific implementation one:
本实施方式所述的基于不平衡数据的门图神经网络暂态稳定性评估方法,包括以下步骤:The method for evaluating the transient stability of a gate graph neural network based on unbalanced data described in this embodiment includes the following steps:
步骤一、首先利用第一CGAN模型生成不稳定的样本,再利用第二CGAN模型生成不同事件的不稳定样本:
1、构建条件生成对抗网络,即CGAN:1. Build a conditional generative adversarial network, namely CGAN:
深度学习模型能表示人工智能应用中各种数据的概率分布,深度学习中加入判别模型能够使模型表示的各种数据的概率分布更准确。生成对抗网络是深度学习中加入了判别模型,生成对抗网络中既有生成模型(G),也有判别模型(D),通过生成模型G和判别模型D之间的不断对抗,达到纳什平衡,使模型生成的数据分布符合真实的数据分布。Deep learning models can represent the probability distribution of various data in artificial intelligence applications. Adding discriminative models to deep learning can make the probability distribution of various data represented by the model more accurate. The generative adversarial network is a discriminative model added to deep learning. The generative adversarial network has both a generative model (G) and a discriminative model (D). The data distribution generated by the model conforms to the real data distribution.
条件生成对抗网络(Conditional Generative Adversarial Nets)是对原始GAN的一个扩展,生成模型G和判别模型D都增加了额外的信息y(条件)。在本发明中,条件为样本数据的类别,即标签信息。Conditional Generative Adversarial Nets (Conditional Generative Adversarial Nets) is an extension of the original GAN. Both the generative model G and the discriminative model D add additional information y (condition). In the present invention, the condition is the category of the sample data, that is, label information.
图1为条件生成网络CGAN的结构。如图1所示,样本的标签y作为判别模型D和生成模型G输入层的一部分。在生成模型G中,先验输入噪声z和样本标签y联合组成了联合隐层表征。在判别模型D中,输入层则由真实数据x,标签信息y和生成模型生成的数据G(z|y)组成。条件生成网络(CGAN)中加入条件y使能够生成想要的数据,由于电力系统具有鲁棒性,所以失稳的样本数据较少,为了解决数据不平衡问题,首先通过CGAN 获得失稳的样本数据。Figure 1 shows the structure of the conditional generation network CGAN. As shown in Figure 1, the label y of the sample is used as part of the input layer of the discriminative model D and the generative model G. In the generative model G, the prior input noise z and sample labels y jointly form the joint hidden layer representation. In the discriminative model D, the input layer consists of real data x, label information y and data G(z|y) generated by the generative model. The condition y is added to the conditional generation network (CGAN) to generate the desired data. Due to the robustness of the power system, the unstable sample data is less. In order to solve the problem of data imbalance, the unstable sample is first obtained through CGAN. data.
生成模型G用于获取样本数据的真实分布,用服从某一随机分布的噪声z和条件y生成类似的真实训练数据,追求的效果是越接近真实数据越好。The generative model G is used to obtain the real distribution of sample data, and generates similar real training data with noise z and condition y that obey a random distribution. The pursuit effect is that the closer the real data is, the better.
判别模型D是一个二分类器,判断一个数据来自真实训练数据的概率,如果数据来自真实的训练数据,D输出大的概率,否则,输出小的概率。模型G和D同时训练:固定判别模型D,调整G的参数使得log(1-D(G(z|y)))的期望最小化;固定生成模型G调整D 的参数使得logD(x|y)+log(1-D(G(z|y)))的期望最大化。这个优化过程可以表示为:The discriminant model D is a binary classifier that judges the probability that a data comes from the real training data. If the data comes from the real training data, D outputs a large probability, otherwise, it outputs a small probability. Model G and D are trained at the same time: fix the discriminative model D, adjust the parameters of G to minimize the expectation of log(1-D(G(z|y))); fix the generative model G and adjust the parameters of D so that logD(x|y) )+log(1-D(G(z|y))) expectation maximization. This optimization process can be expressed as:
其中,表示logD(x|y)的数学期望,表示log(1-D(G(z|y)))的数学期望,V(D,G)为价值函数。in, represents the mathematical expectation of logD(x|y), Represents the mathematical expectation of log(1-D(G(z|y))), where V(D,G) is the value function.
2、获取数据描述:2. Get data description:
利用相位测量单元(PMUs)实时的观测和传输数据。线上评估电力系统的暂态稳定性时,输入的数据为故障清除后5秒的PMUs测量的数据,然后根据输入的数据预测电力系统的暂态稳定性。在本发明中,用时域仿真生成数据,图2为英格兰IEEE-39总线电力系统在遭受短路事件之后稳定样例的各电机相对转子角的曲线。图3为英格兰IEEE-39总线电力系统在遭受短路事件之后不稳定样例的各电机相对转子角的曲线。Use phase measurement units (PMUs) to observe and transmit data in real time. When evaluating the transient stability of the power system online, the input data is the data measured by the
根据暂态稳定性指标(TSI),电力系统的暂态稳定性的稳定判据为相对转子角或发电机转子角的大小。。因为需要大量的数据训练模型,使模型能够准确的判断电力系统的暂态稳定性,所以,本发明选用总线电压U1,电机有功功率P,电机无功功率Q,电机电压幅值U,电机电流I和各发电机相对转子角δ为输入数据的特征。本发明选取了的系统为英格兰IEEE-39总线,所以P,Q,U,I,δ为电机的运行参量,IEEE-39总线系统有10个电机,所以P=(p1,p2,…,p10),Q=(q1,q2,…,q10),U=(u1,u2,…,u10), I=(i1,i2,…,i10),δ=(δ1,δ2,…,δ10)。According to the Transient Stability Index (TSI), the stability criterion of the transient stability of the power system is the relative rotor angle or the generator rotor angle. . Because a large amount of data is needed to train the model so that the model can accurately judge the transient stability of the power system, the present invention selects the bus voltage U 1 , the motor active power P, the motor reactive power Q, the motor voltage amplitude U, the motor The current I and the relative rotor angle δ of each generator are characteristic of the input data. The system selected by the present invention is the English IEEE-39 bus, so P, Q, U, I, δ are the operating parameters of the motor. There are 10 motors in the IEEE-39 bus system, so P=(p 1 ,p 2 ,...,p 10 ), Q=(q 1 ,q 2 , …,q 10 ), U=(u 1 ,u 2 ,…,u 10 ), I=(i 1 ,i 2 ,…,i 10 ), δ=(δ 1 ,δ 2 ,…,δ 10 ) .
系统遭受到故障的时间为-0.01s,0时刻为故障清除时刻,时间间隔为0.01s。CGAN的输入数据如下所示The time when the system suffers a fault is -0.01s, the
x=[x1,x2,…,xn] (2)x=[x 1 ,x 2 ,...,x n ] (2)
ai=[U1 P Q U I δ]1×89 (4)a i = [U 1 PQUI δ] 1×89 (4)
其中,n表示输入的样本的个数,由(2)(3)(4)式可知输入的数据为n个500*89的数组。判别器D的输入条件为样本数据的标签向量,是一个n×1的数组。Among them, n represents the number of input samples, and it can be known from equations (2) (3) (4) that the input data is n arrays of 500*89. The input condition of the discriminator D is the label vector of the sample data, which is an n×1 array.
3、多标签数据的生成:3. Generation of multi-label data:
本发明结果对PMUs数据的研究发现,稳定运行的电力系统在受到大扰动的状态下,可能会失去稳定,而大扰动是造成系统失稳的突发事件。因此本发明中设置每条数据有2 个标签:According to the results of the present invention, the research on the data of PMUs finds that the stable operation of the power system may lose its stability under the state of large disturbance, and the large disturbance is an emergency event that causes the system to become unstable. Therefore, in the present invention, each piece of data is set to have 2 tags:
L={l1,l2} (5)L={l 1 ,l 2 } (5)
其中,l1表示造成数据状态的事件,l2表示系统的稳定状态。Among them, l 1 represents the event that caused the data state, and l 2 represents the steady state of the system.
l1={0,1,2,3,4} (6)l 1 = {0, 1, 2, 3, 4} (6)
l1=0表示的事件为短路事件,l1=1表示的事件为分接头事件,l1=2表示的事件为负荷事件,l1=3表示的事件为开关事件,l1=4表示的事件为同步发电机事件。The event represented by l 1 =0 is a short circuit event, the event represented by l 1 =1 is a tap event, the event represented by l 1 =2 is a load event, the event represented by l 1 =3 is a switching event, and the event represented by l 1 =4 The event is a synchronous generator event.
l2={0,1} (7)l 2 = {0, 1} (7)
当l2为0时,样本失稳,当l2为1时,样本稳定。由上述公式(5)(6)(7)可知,L 为一个1行2列的数组。When l2 is 0, the sample is unstable, and when l2 is 1, the sample is stable. It can be known from the above formulas (5) (6) (7) that L is an array with 1 row and 2 columns.
4、训练生成不稳定的样本对应的CGAN模型和生成不同事件的不稳定样本对应的CGAN模型,分别记为第一CGAN模型和第二CGAN模型;4. Train the CGAN model corresponding to the unstable samples and the CGAN model corresponding to the unstable samples that generate different events, which are respectively recorded as the first CGAN model and the second CGAN model;
经过对数据的研究发现电力系统暂态稳定性评估模型的精确性与数据中失稳样本和稳定样本是否平衡有关,也发现稳定性评估模型判断电力系统的失稳原因的准确性与失稳样本中每个事件的平衡有关,所以本发明用CGAN生成失稳样本时,不仅考虑到样本的稳定状态,也考虑到样本的事件类型。After studying the data, it is found that the accuracy of the power system transient stability assessment model is related to whether the instability samples and stable samples in the data are balanced. The balance of each event in CGAN is related to the balance of each event, so when the invention uses CGAN to generate unstable samples, not only the stable state of the sample, but also the event type of the sample is considered.
因此,在平衡样本时,本发明先基于l2训练用于生成不稳定样本的CGAN,记为第一CGAN模型;再基于l1训练用于生成不同类型的不稳定样本的CGAN,记为第二CGAN模型。如图4所示为CGAN生成不稳定样本的流程图。Therefore, when balancing the samples, the present invention firstly trains the CGAN for generating unstable samples based on l2 , which is denoted as the first CGAN model; and then trains the CGAN for generating different types of unstable samples based on l1 , which is denoted as the first CGAN model. Two CGAN models. Figure 4 shows the flow chart of CGAN generating unstable samples.
生成不稳定的样本时,条件y=l2,价值函数的优化过程为When generating unstable samples, the condition y=l 2 , the optimization process of the value function is
其中l2∈(0,1);where l 2 ∈(0,1);
考虑到失稳样本中各个事件的平衡时,条件为y=l1,价值函数的优化过程为Considering the balance of each event in the unstable sample, the condition is y=l 1 , and the optimization process of the value function is
其中l1∈(0,1,2,3,4)。where l 1 ∈ (0,1,2,3,4).
在实际生成不稳定样本的过程中,首先通过第一CGAN生成不稳定的样本,然后再通过第二CGAN生成不同事件的不稳定样本。In the process of actually generating unstable samples, firstly, unstable samples are generated through the first CGAN, and then unstable samples of different events are generated through the second CGAN.
步骤二、利用暂态稳定性评估模型进行失稳评估,在失稳评估的过程中,首先基于总线电压和电机的运行参量生成图神经网络,然后利用第一GGNN模型评估暂态稳定的失稳状态,当为失稳时再利用第二GGNN模型评估失稳状态的类型:Step 2: Use the transient stability evaluation model to evaluate the instability. In the process of the instability evaluation, a graph neural network is first generated based on the bus voltage and the operating parameters of the motor, and then the first GGNN model is used to evaluate the instability of the transient stability. state, and when it is unstable, the second GGNN model is used to evaluate the type of unstable state:
1、构造暂态稳定性评估模型:1. Construct a transient stability assessment model:
暂态稳定性评估模型为基于两个GGNN模型搭建的TSA模型;电力系统的暂态稳定性评估是在切除故障之后的0-10秒内判断系统能不能回到稳定运行的状态。在此之前,已经有许多基于机器学习和数据挖掘的方法用于实现电力系统的暂态稳定性评估。研究能够运用到现实的电力系统中的关键是能够在尽量短的时间内,准确的判断电力系统的暂态稳定性。在本发明中,评估系统的暂态稳定性时,选择使用故障清除后5秒的数据。TSA模型的框架采用离线训练模型,在线应用模型的方式。在线TSA有两种模式,分别为定期更新和实时更新。定期更新:在训练好之后,当实时数据到达时,能够快速部署训练后的TSA 模型,并且随着新收集的样本的数量而定期更新模型。实时更新:由大量的样本数据进行离线训练,但可以在线更新自身,因为模型在线为电力系统进行暂态稳定性评估。后者能够快速的更新模型,但是不具备通用性。The transient stability evaluation model is a TSA model based on two GGNN models; the transient stability evaluation of the power system is to determine whether the system can return to a stable operating state within 0-10 seconds after the fault is removed. Prior to this, there have been many methods based on machine learning and data mining to achieve transient stability assessment of power systems. The key that the research can be applied to the real power system is to accurately judge the transient stability of the power system in the shortest time possible. In the present invention, when evaluating the transient stability of the system, the data of 5 seconds after the fault is cleared is selected to be used. The framework of the TSA model adopts the way of training the model offline and applying the model online. Online TSA has two modes, regular updates and real-time updates. Regular Updates: After training, the trained TSA model can be rapidly deployed when live data arrives, and the model is updated periodically with the number of newly collected samples. Real-time update: Offline training from a large amount of sample data, but can update itself online because the model performs transient stability assessment for the power system online. The latter can update the model quickly, but it is not general.
在本发明中,在线应用模型时,选用定期更新模型的方法。如图5所示的所提出的TSA 模型的框架,离线训练CGAN模型和GGNN模型,在线应用时,直接使用训练好的GGNN 暂态稳定性评估模型,新评估的PMU的数据用来定期更新训练好的TSA模型。In the present invention, when the model is applied online, the method of regularly updating the model is selected. The framework of the proposed TSA model is shown in Figure 5. The CGAN model and the GGNN model are trained offline. When applied online, the trained GGNN transient stability evaluation model is directly used, and the newly evaluated PMU data is used to regularly update the training. Good TSA model.
(1)构建图神经网络:(1) Build a graph neural network:
图神经网络是基于神经网络提出来的,用于处理和分析图结构的数据。本发明选用 IEEE-39总线系统来测试所提的TSA模型是否有效,IEEE-39总线系统也是测试电力系统暂态稳定性评估算法经常选用的系统。IEEE-39总线系统的结构和图结构如图6所示,该系统具有39总线,10组机组,19个负荷和34条传输线。Graph neural network is proposed based on neural network, which is used to process and analyze graph-structured data. The present invention selects the IEEE-39 bus system to test whether the proposed TSA model is valid, and the IEEE-39 bus system is also a system often selected for testing the power system transient stability evaluation algorithm. The structure and diagram structure of the IEEE-39 bus system are shown in Figure 6. The system has 39 buses, 10 groups of units, 19 loads and 34 transmission lines.
以IEEE-39总线系统构造图G(V,E):V表示发电机组且v∈V,则v为1到10的一个值。选择发电机组作为节点v,每个节点v由其特征和相关的节点定义。evw∈E为节点v和 w之间的边,边表示节点之间的关系。发电机组之间由总线和传输线相连,节点间的关系可由总线和传输线的数量表示。若总线数量和传输线的长度很大,则节点间的相关性小,基于总线电压U1生成节点之间的边。因为机组与机组,机组与负荷之间是由传输线相互连接的,所以图G(V,E)是无向图。图神经网络(GNN)的目标是学到隐藏状态其中包含每个节点v邻节点的信息。hv是节点v,s维的向量,能够用来生产输出 ov,本发明中,ov为节点的节点分数。图G(V,E)有一个图级别的标签,即样本图数据的标签lG,lG=l2={0,1},标签为0即代表该电力系统失稳,标签为1即代表电力系统稳定。选择如下节点特征来描述节点,称为节点注释xv,并使用向量x来表示这些注释。节点v的注释向量为Take the IEEE-39 bus system structure diagram G(V, E): V represents the generator set and v∈V, then v is a value from 1 to 10. Gensets are selected as nodes v, each node v is defined by its characteristics and associated nodes. e vw ∈ E is the edge between nodes v and w, and the edge represents the relationship between nodes. The generator sets are connected by buses and transmission lines, and the relationship between nodes can be represented by the number of buses and transmission lines. If the number of buses and the length of the transmission line are large, the correlation between nodes is small, and edges between nodes are generated based on the bus voltage U1. Because the units and units, units and loads are connected to each other by transmission lines, so the graph G(V, E) is an undirected graph. The goal of a graph neural network (GNN) is to learn hidden states in Contains information about the neighbors of each node v. h v is a node v, s-dimensional vector, which can be used to produce the output ov . In the present invention, ov is the node score of the node. Graph G(V,E) has a graph-level label, that is, the label of the sample graph data l G , l G =l 2 ={0,1}, the label is 0, which means the power system is unstable, and the label is 1, which means that the power system is unstable. Represents the stability of the power system. The following node features are chosen to describe the nodes, called node annotations x v , and a vector x is used to represent these annotations. The annotation vector for node v is
xv=[pv,qv,uv,iv]T (10)x v =[p v ,q v ,u v ,i v ] T (10)
其中p,q,u,i分别表示为节点v的有功功率,无功功率,电压,电流。Among them, p, q, u, and i represent the active power, reactive power, voltage, and current of node v, respectively.
(2)搭建第一GGNN模型:(2) Build the first GGNN model:
在电力系统的暂态稳定性评估中,节点是固定的,静态的图结构,特征是时间序列数据,动态的输入信息,且本发明的稳定性评估是一个分类问题。本发明中,使用GGNN来判断电力系统的暂态稳定性评估。In the transient stability assessment of the power system, the nodes are fixed, static graph structures, characterized by time series data, and dynamic input information, and the stability assessment of the present invention is a classification problem. In the present invention, GGNN is used to judge the transient stability evaluation of the power system.
GGNN(Gated Graph Neural Network),在传播步骤中使用门递归单元GRU,展开步数T的递归,并使用反向传播来计算梯度。图7为GRU的结构。GGNN (Gated Graph Neural Network), uses a gate recursive unit GRU in the propagation step, expands the recursion for the number of steps T, and uses backpropagation to calculate the gradient. Figure 7 shows the structure of the GRU.
在电力系统的暂态稳定性评估模型中传播模型的基本递归为式(11)-(16):The basic recursion of the propagation model in the transient stability evaluation model of the power system is equations (11)-(16):
其中,表示为节点v在时间t的隐藏状态,xv为节点v的节点注释向量,T表示向量的转置。in, is denoted as the hidden state of node v at time t, x v is the node annotation vector of node v, and T is the transpose of the vector.
节点v从邻居节点收集信息。向量表示节点v在时间t收集的关于邻居节点的信息。 Av是图邻接矩阵的子矩阵,表示节点v及其邻居节点的连接状态。V表示节点的数量,表示节点1在时刻t-1的隐藏状态,V表示节点的数量,表示向量的转置,b表示计算的向量。Node v gathers information from neighbor nodes. A vector representing the information node v has collected about its neighbors at time t. A v is a sub-matrix of the graph adjacency matrix, representing the connection state of node v and its neighbors. V represents the number of nodes, represents the hidden state of
其中表示节点v在时刻t的更新的信息,表示节点v在时刻t的的信息,矩阵Wz和Wr用来计算z和r的权重矩阵,矩阵Uz和Ur也用来计算z和r的权重矩阵。z和r表示更新门和重置门,σ表示sigmoid函数,可表示为σ=1/(1+exp(-x))。in represents the updated information of node v at time t, Represents the information of node v at time t, the matrices W z and W r are used to calculate the weight matrix of z and r, and the matrices U z and U r are also used to calculate the weight matrix of z and r. z and r represent the update gate and reset gate, and σ represents the sigmoid function, which can be expressed as σ=1/(1+exp(-x)).
其中tanh(x)为激活函数,⊙为逐元素乘法运算。GGNN神经网络的传播步骤类似GRU,有更新功能,并且能够合并来自其他节点和上一时间步的信息,以更新每一节点的隐藏状态。图级输出时,将图级的表示向量定义为where tanh(x) is the activation function and ⊙ is the element-wise multiplication. The propagation step of GGNN neural network is similar to GRU, which has an update function and is able to incorporate information from other nodes and the previous time step to update the hidden state of each node. When graph-level output, the graph-level representation vector is defined as
其中,充当软注意机制,该机制决定哪些节点与当前图级任务相关,i和 j是将和xv级联作为输入并输出实值的神经网络。hg能够判断电力系统的暂态稳定性。in, acts as a soft attention mechanism that decides which nodes are relevant to the current graph-level task, i and j are the A neural network that is cascaded with x v as input and outputs real values. h g can judge the transient stability of the power system.
所以训练模型时,减小损失函数时,更新模型的参数。损失函数为So when training the model, when reducing the loss function, update the parameters of the model. The loss function is
其中li表示样本i的标签,hi表示样本i的图级表示向量,i表示样本i,G表示样本量。where l i represents the label of sample i, hi represents the graph-level representation vector of sample i, i represents sample i, and G represents the sample size.
(3)搭建第二GGNN模型,利用第一GGNN模型评估暂态稳定的失稳状态,当为失稳时再利用第二GGNN模型评估失稳状态的类型:(3) Build a second GGNN model, use the first GGNN model to evaluate the transient stable instability state, and use the second GGNN model to evaluate the type of unstable state when it is unstable:
基于其他机器学习方法的电力系统的暂态稳定性评估模型只能判断系统的暂态稳定性,而本发明中所提出的基于GGNN的暂态稳定性评估模型不仅能够判断暂态稳定性,而且还能够具有解释性。在训练过程中,训练一个评估暂态稳定的失稳状态GGNN,记为第一GGNN模型;训练一个评估失稳状态的类型的GGNN,记为第二GGNN模型;第二GGNN 模型输出为不稳定的类型,对应判断造成电力系统失稳的原因;The transient stability assessment models of power systems based on other machine learning methods can only judge the transient stability of the system, while the transient stability assessment model based on GGNN proposed in the present invention can not only judge the transient stability, but also It can also be explanatory. In the training process, train an unstable GGNN that evaluates transient stability, denoted as the first GGNN model; train a GGNN that evaluates the unstable state, denoted as the second GGNN model; the output of the second GGNN model is unstable type, corresponding to the cause of the instability of the power system;
判断事件类型的第二GGNN模型的传播和第一GGNN是一样的,不同的是判断事件类型的第二GGNN模型是多分类模型。所以输出层的激活函数和损失函数与第一GGNN 模型也是不同的。事件分类的激活函数为softmax,损失函数为分类交叉熵。softmax函数表示为The propagation of the second GGNN model for judging the event type is the same as that of the first GGNN, the difference is that the second GGNN model for judging the event type is a multi-classification model. So the activation function and loss function of the output layer are also different from the first GGNN model. The activation function for event classification is softmax, and the loss function is categorical cross-entropy. The softmax function is expressed as
其中j表示第j个神经元,n为输出层前一层的神经元的个数。where j represents the jth neuron, and n is the number of neurons in the previous layer of the output layer.
其中l1表示为事件类型的标签,k表示事件类型的个数,公式(20)为损失函数。where l 1 represents the label of the event type, k represents the number of event types, and formula (20) is the loss function.
在实际评估的过程中,先利用第一GGNN模型评估暂态稳定的失稳状态,如果模型的输出为电力系统暂态稳定(即hg>0.5),进入下个循环;否则,再利用第二GGNN模型评估继续判断造成系统失稳的事件类型。由此输出可以知道,造成系统暂态失稳的事件最大可能的类型。图8表示模型判断暂态稳定性和预测造成系统不稳定事件的流程图。In the actual evaluation process, first use the first GGNN model to evaluate the unstable state of transient stability, if the output of the model is the transient stability of the power system (ie h g > 0.5), enter the next cycle; otherwise, use the first The second GGNN model evaluation continues to determine the type of events that cause the system to destabilize. From this output, we can know the maximum possible type of events that cause transient instability of the system. Figure 8 shows the flow chart of the model for judging transient stability and predicting events that cause system instability.
实施例Example
A.IEEE-39总线系统:A. IEEE-39 bus system:
用新英格兰39总线系统验证TSA模型的有效性。该仿真是在具有Intel Core i3CPU和8.00GB RAM的PC上执行的。新英格兰39总线系统的结构如图9所示。如图9所示,该系统种有10个发电机,39条总线,19个负载,12个变压器和34条传输线。Verification of the validity of the TSA model with the
B.数据产生B. Data Generation
实验使用的数据集是通过使用powerfactory对IEEE-39总线系统进行时域仿真构建的。通过对电力系统提前设置好故障类型和预定义系统的稳定状态,在启动时域仿真时能够得到该电力系统在这两种预设好的前提下,各个节点的各属性的数值大小。该软件的稳定性分析的负荷具有电压依赖性,所以初始运行条件电压幅值的设置为1kpu-2kpu,频率为60 赫兹,标准电压为345kV。开始仿真之前,要进行潮流计算,潮流计算结果收敛时,才能开始进行时域仿真计算。The dataset used for the experiments was constructed by performing time-domain simulation of the IEEE-39 bus system using powerfactory. By setting the fault type and the pre-defined stable state of the power system in advance, the numerical value of each attribute of each node of the power system under these two preset preconditions can be obtained when the time-domain simulation is started. The load of the stability analysis of this software is voltage-dependent, so the initial operating condition voltage amplitude is set to 1kpu-2kpu, the frequency is 60 Hz, and the standard voltage is 345kV. Before starting the simulation, the power flow calculation must be carried out, and the time domain simulation calculation can only be started when the power flow calculation results are converged.
本发明考虑的事件有短路事件,同步发电机事件,负荷事件,开关事件和分接头事件。短路事件为三相接地短路事件,故障发生的位置为所有总线和连接线的随机位置,故障持续时间为0.1s,时域仿真的持续时间为5s。最后得到1000个样本,其中稳定样本为580例,不稳定的样本个数为420例。同步发电机事件,开关事件和分接头事件的故障持续时间都是0.1s,时域仿真的持续时间也都是5s。最后得到的样本个数分别为1000,1000,102。其中同步发电机事件的稳定样本为640例,不稳定的样本为360例,开关事件中稳定的样本数为570例,不稳当的样本个数为430,开关事件的稳定样本个数为60,不稳定的样本个数为42例。负荷事件的负荷变化范围为75%到125%,以每次5%的大小变化,故障的持续时间为0.1s,持续时间为5s,最后的到1000个样本,其中稳定样本为650,不稳定样本为350条。所以,一共通过时域仿真获得4102条样本,其中稳定性样本为2500条,不稳定的样本为1502条。获得的样本维度为10+10+10+10+10+39=89。因为现实生活中的电力系统非常稳定,只有少数情况下,电力系统会失稳,所以实际的数据中,失稳的样本会非常的少。所以,为了模拟真实的电力系统的情况,随机丢弃一些不稳定的样本,让不稳定的样本占总样本的9%。Events considered by the present invention are short circuit events, synchronous generator events, load events, switching events and tap events. The short-circuit event is a three-phase ground short-circuit event, the location of the fault is a random location of all buses and connecting lines, the fault duration is 0.1s, and the duration of the time domain simulation is 5s. Finally, 1000 samples were obtained, including 580 stable samples and 420 unstable samples. The fault duration of the synchronous generator event, the switching event and the tap event are all 0.1s, and the duration of the time domain simulation is also 5s. The final sample numbers are 1000, 1000, and 102, respectively. Among them, there are 640 stable samples for synchronous generator events, 360 unstable samples, 570 stable samples for switching events, 430 unstable samples, and 60 stable samples for switching events. The number of unstable samples was 42. Load events have load changes ranging from 75% to 125% in 5% increments, failures have a duration of 0.1s and a duration of 5s, and last to 1000 samples, of which 650 are stable and 650 are unstable The sample is 350 pieces. Therefore, a total of 4102 samples were obtained through time domain simulation, of which 2500 were stable samples and 1502 were unstable samples. The obtained sample dimension is 10+10+10+10+10+39=89. Because the power system in real life is very stable, only in a few cases, the power system will be unstable, so in the actual data, there will be very few samples of instability. So, in order to simulate the situation of the real power system, some unstable samples are randomly discarded, so that the unstable samples account for 9% of the total samples.
电力系统的暂态稳定性的另外一种定义为处于稳态运行的电力系统受到大扰动(各种短路故障、大容量发电机的切除、负荷的大幅度增加等)后,各发电机组能够保持同步运行的能力。用转子角δ作为判断电力系统稳定性的判据,所以,利用扰动后的相对转子角的暂态稳定指数(transient stability index,TSI)对样本进行稳定性判定,其表达式为:Another definition of the transient stability of the power system is that after the power system in steady-state operation is subjected to large disturbances (various short-circuit faults, removal of large-capacity generators, substantial increase in load, etc.) The ability to run synchronously. The rotor angle δ is used as the criterion for judging the stability of the power system. Therefore, the transient stability index (TSI) of the relative rotor angle after disturbance is used to judge the stability of the sample, and its expression is:
式中,δmax为仿真时长内任意两个发电机组最大的相对转子角。若TSI>0系统保持稳定运行状态;否则,系统失稳。In the formula, δmax is the maximum relative rotor angle of any two generator sets in the simulation duration. If TSI>0, the system maintains a stable operating state; otherwise, the system is unstable.
为了有效的评估模型的性能,选用4种测试训练集来测试训练模型。将数据集随机分为训练集和测试集的比例为4:1,3:1,7:3和3:2。各个比例的训练集和测试集的实验结果将会在下面部分展示。In order to effectively evaluate the performance of the model, four test training sets are selected to test the training model. The dataset was randomly divided into training set and test set with ratios of 4:1, 3:1, 7:3 and 3:2. The experimental results on the training and test sets of various ratios are presented in the following sections.
C.合成数据可视化分析C. Synthetic Data Visualization Analysis
实验表明本发明所提出的方法能够有效解决电力系统暂态稳定性评估问题中的数据不平衡问题带来的错判率高的问题,并且能够达到较高的准确性。Experiments show that the method proposed in the present invention can effectively solve the problem of high misjudgment rate caused by the data imbalance problem in the transient stability evaluation of the power system, and can achieve high accuracy.
为了实现样本平衡,生成标签样本,将样本的标签(l1和l2)设置为条件y,则判别器D的输入条件y为标。将样本的整体标签改为样本的事件标签,则就能够得到事件平衡的不稳定数据。那么,就既能解决样本的稳定性不平衡问题,也能解决不稳定样本中各个事件的不平衡问题。图10和图11分别表示为生成模型G和判别模型D的损失迭代图,由图可知,不论是生成模型G还是判别模型D都能够达到收敛,且收敛的速度都很快。In order to achieve sample balance, label samples are generated, and the labels (l 1 and l 2 ) of the samples are set as the condition y, and the input condition y of the discriminator D is the label. By changing the overall label of the sample to the event label of the sample, the unstable data of the event balance can be obtained. Then, it can not only solve the problem of stability imbalance of samples, but also solve the imbalance problem of events in unstable samples. Figures 10 and 11 respectively represent the loss iteration graphs of the generative model G and the discriminant model D. It can be seen from the figures that both the generative model G and the discriminant model D can achieve convergence, and the convergence speed is very fast.
图12表示所提出方法的数据平衡的结果,将平衡数据变为二维空间分布。图12中,绿色的点代表原来样本中的失稳样本,红色的点代表原有样本中稳定的样本,蓝色的点代表由CGAN生成的不稳定的样本数据。由图可以看出,原本的不稳定样本的数量较少,加上生成的不稳定样本,与稳定性样本能够达到平衡的状态,且生成的不稳定性样本与原本的样本没有重合,模型能够比较明确的判断样本的类型,不会对样本的准确性有影响。Figure 12 presents the results of the data balancing of the proposed method, transforming the balanced data into a two-dimensional spatial distribution. In Figure 12, green points represent unstable samples in the original sample, red points represent stable samples in the original sample, and blue points represent unstable sample data generated by CGAN. It can be seen from the figure that the original number of unstable samples is small, and the generated unstable samples can reach a state of equilibrium with the stable samples, and the generated unstable samples do not overlap with the original samples, so the model can A relatively clear judgment of the type of the sample will not affect the accuracy of the sample.
这些结果只能够表明CGAN能够生成符合原数据分布的数据,能够解决数据不平衡的问题。证明生成的新的平衡的数据集确实能够提高暂态稳定性评估模型的性能是有必要的。图13为各个样本比例下,电力系统的暂态稳定性评估模型的准确性。如图13所示,在数据稳定与不稳定样本的比例较大时,模型的准确性较低,随着样本比例的减少,模型的准确率逐渐增大,当样本平衡时,模型的准确率达到最高。These results can only show that CGAN can generate data that conforms to the original data distribution and can solve the problem of data imbalance. It is necessary to demonstrate that the generated new balanced dataset can indeed improve the performance of the transient stability evaluation model. Figure 13 shows the accuracy of the transient stability evaluation model of the power system under various sample ratios. As shown in Figure 13, when the proportion of data stable and unstable samples is large, the accuracy of the model is low. As the proportion of samples decreases, the accuracy of the model increases gradually. When the samples are balanced, the accuracy of the model increases. reach the highest.
在本发明中,选用卷积神经网络(CNN)作为对比实验,与本发明提出的GGNN的暂态稳定性评估模型的结果相比,还是本发明所提出的方法的准确性和精确性更高。为了证明这两种方法的TSA模型的性能,选用了4种指标,分别为准确性、精确性、召回率和F1 分数。表1和表2表示的为样本不同比例下两种方法的暂态稳定性评估模型性能的结果。由表1可知,最小的模型准确性为30%,其比例为本发明预设的实际情况中的样本不平衡的比例,最大的模型准确性为92.09%,为平衡后的样本数据,训练的模型的准确性。表2 表示的为对比实验CNN在不同的样本比例训练模型时,暂态稳定性评估的结果。本发明提出的由CGAN生成不稳定的样本数据可以解决数据的不平衡问题,并且不会损失模型的性能,不论是本发明中提出的模型,还是其他的模型。由表1和表2比较可知,本发明所提出的GGNN暂态稳定性评估模型比CNN暂态稳定性评估模型的准确性高。In the present invention, a convolutional neural network (CNN) is selected as a comparative experiment. Compared with the results of the transient stability evaluation model of GGNN proposed by the present invention, the accuracy and precision of the method proposed by the present invention are higher. . To demonstrate the performance of the TSA models of these two methods, four metrics are selected, namely accuracy, precision, recall and F1 score. Table 1 and Table 2 show the results of the transient stability evaluation model performance of the two methods under different sample proportions. It can be seen from Table 1 that the minimum model accuracy is 30%, and its proportion is the proportion of unbalanced samples in the actual situation preset by the present invention, and the maximum model accuracy is 92.09%, which is the balanced sample data. accuracy of the model. Table 2 shows the results of the transient stability evaluation of the comparative experimental CNN training the model with different sample ratios. The unstable sample data generated by the CGAN proposed in the present invention can solve the problem of data imbalance without losing the performance of the model, whether it is the model proposed in the present invention or other models. It can be seen from the comparison between Table 1 and Table 2 that the GGNN transient stability evaluation model proposed by the present invention has higher accuracy than the CNN transient stability evaluation model.
表1.样本不同比例的GGNN暂态稳定性评估结果Table 1. GGNN transient stability evaluation results with different proportions of samples
表2.样本不同比例的CNN暂态稳定性评估结果Table 2. CNN transient stability evaluation results with different proportions of samples
为了防止模型的过拟合和有效的提升模型的性能,本发明选用了4种不同的训练测试集的比例。如表4所示,表示A,B,C,D四种不同的训练测试集的所提出的暂态稳定评估模型的结果。表3表示四种不同的训练测试集比例。表4中,同一训练测试集下,在平衡数据下,GGNN暂态稳定性评估模型的结果,各个模型的性能指标都比不平衡数据的性能指标要大。由此可知,CGAN能够解决数据不平衡问题。In order to prevent overfitting of the model and effectively improve the performance of the model, the present invention selects four different ratios of training and testing sets. As shown in Table 4, the results of the proposed transient stability evaluation model for four different training and testing sets of A, B, C, D are presented. Table 3 represents four different train-test set ratios. In Table 4, under the same training and test set, under balanced data, the results of the GGNN transient stability evaluation model, the performance indicators of each model are larger than the performance indicators of unbalanced data. It can be seen that CGAN can solve the problem of data imbalance.
表3.不同训练测试集的比例Table 3. Proportions of different train-test sets
表4.不同测试训练集的GGNN暂态稳定性评估结果Table 4. GGNN transient stability evaluation results for different test training sets
由上述的图和表可知,本发明所提出的用CGAN算法生成不稳定的样本来解决电力系统的暂态稳定性评估中的数据不平衡问题是可行的,并且不会损失数据的通用性和模型的性能。数据不平衡问题的解决对于提高电力系统的暂态稳定性评估模型是有效的,对比不平衡的样本,在样本平衡时模型的性能指标比较高。As can be seen from the above figures and tables, it is feasible to use the CGAN algorithm to generate unstable samples to solve the problem of data imbalance in the transient stability assessment of the power system proposed by the present invention, and it will not lose the versatility and versatility of the data. performance of the model. The solution of the data imbalance problem is effective for improving the transient stability evaluation model of the power system. Compared with the imbalanced samples, the performance index of the model is relatively high when the samples are balanced.
D.GGNN模型分类性能分析D. GGNN model classification performance analysis
为了表明使用的GGNN模型的有效性,使用深度卷积神经网络CNN作为对比算法。所有的结果都是一样的训练集和测试集来训练得出得。如下表5所示为不同的训练测试集比例和不同的模型在电力系统的暂态稳定性评估时的结果。从表5中可知,同一种训练测试集比例下,GGNN电力系统暂态稳定性评估模型的性能总是比CNN模型的性能要更好.To show the effectiveness of the GGNN model used, a deep convolutional neural network CNN is used as a comparison algorithm. All results are obtained by training on the same training and test sets. The following table 5 shows the results of different training and test set proportions and different models in the transient stability evaluation of the power system. It can be seen from Table 5 that under the same training and test set ratio, the performance of the GGNN power system transient stability evaluation model is always better than that of the CNN model.
表5.不同的训练测试集比例和模型的暂态稳定性评估结果。Table 5. Transient stability evaluation results for different train-test set proportions and models.
E.判断原因性能分析E. Judging cause performance analysis
图神经网络具有解释性,GGNN是图学习的一种,也具有解释性。本发明中,先构造原因集合,在GGNN暂态稳定性评估模型中,使用软注意机制输出最大的节点分数。节点分数最大,表明该节点与电力系统失稳有最大的关系。再用该节点的各个特征与事件集合比较,得出每个事件的概率,再输出概率最大的事件。图14所示为测试的样本中判断结果为不稳定的样本预测为上述各事件的结果。图14中,每个蓝色柱表示不稳定样本分为上述事件中一种的数量,红色柱表示不稳定样本实际属于事件类型的真实数量。纵轴为样本的个数,横轴为事件的类型。由图14可知,整体的判断原因的准确率为94.82%,标签为短路事件的不稳定样本的准确性最高,为100%。标签为分接头事件的不稳定样本的准确性最低,为95.91%。Graph neural networks are explanatory, and GGNN is a type of graph learning, which is also explanatory. In the present invention, the reason set is constructed first, and in the GGNN transient stability evaluation model, the soft attention mechanism is used to output the maximum node score. The node score is the largest, indicating that the node has the greatest relationship with the instability of the power system. Then use each feature of the node to compare with the event set to get the probability of each event, and then output the event with the highest probability. FIG. 14 shows that among the tested samples, the samples that are judged to be unstable are predicted to be the results of the above events. In Figure 14, each blue bar represents the number of unstable samples classified into one of the above events, and the red bar represents the actual number of unstable samples that actually belong to the event type. The vertical axis is the number of samples, and the horizontal axis is the event type. It can be seen from Fig. 14 that the overall accuracy of judging the cause is 94.82%, and the accuracy of the unstable samples labeled as short-circuit events is the highest, which is 100%. The unstable samples labeled as tap events had the lowest accuracy at 95.91%.
当实时的数据为判断为不稳定时,最终输出的是概率最大的那个事件。如果各个原因有两个或多个原因的概率相同时,则没有输出。如图14所示,预测的总个数少于真实的测试集中的不稳定样本的个数,这意味着每个分类都有漏判的问题。如表6所示,为GGNN 暂态稳定性评估模型判断失稳样本原因的结果。由上述图和表可知,GGNN暂态稳定性评估模型能够在评估出电力系统失稳后再判断造成电力系统失稳的原因,且整体准确率为94.82%。When the real-time data is judged to be unstable, the event with the highest probability is finally output. If each cause has the same probability of two or more causes, there is no output. As shown in Figure 14, the total number of predictions is less than the number of unstable samples in the real test set, which means that each classification has the problem of missed judgment. As shown in Table 6, it is the result of judging the cause of unstable samples for the GGNN transient stability evaluation model. It can be seen from the above figures and tables that the GGNN transient stability evaluation model can determine the cause of the instability of the power system after evaluating the instability of the power system, and the overall accuracy rate is 94.82%.
表5.GGNN模型判断原因的结果Table 5. The results of the GGNN model to judge the cause
在本发明中用条件生成对抗网络(CGAN)来生成不稳定的样本,用来解决数据不平衡问题。CGAN不但能生成不稳定的样本,还能用来生成事件不平衡的不稳定样本,使样本不仅达到稳定与不稳定平衡,也能达到不稳定样本中的事件的平衡。在解决了样本的数据不平衡问题之后,用GGNN算法来评估电力系统的暂态稳定性,并且判断造成电力系统失稳的原因。通过实验,可以看出,用CGAN是能够有效且能够提升暂态稳定性评估性能的解决电力系统暂态稳定性评估的数据不平衡问题的。GGNN也能够快速准确的评估电力系统的暂态稳定性,并且能够判断电力系统失稳的原因,还可以达到不错的性能。In the present invention, conditional generative adversarial network (CGAN) is used to generate unstable samples to solve the problem of data imbalance. CGAN can not only generate unstable samples, but also can be used to generate unstable samples with unbalanced events, so that the samples can not only achieve a balance between stable and unstable, but also achieve a balance of events in unstable samples. After solving the data imbalance problem of the samples, the GGNN algorithm is used to evaluate the transient stability of the power system, and to determine the reasons for the instability of the power system. Through experiments, it can be seen that using CGAN can effectively and improve the performance of transient stability assessment to solve the data imbalance problem of power system transient stability assessment. GGNN can also quickly and accurately evaluate the transient stability of the power system, and can judge the reasons for the instability of the power system, and can also achieve good performance.
本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,本领域技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。The present invention can also have other various embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding changes and deformations are all It should belong to the protection scope of the appended claims of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110693635.4A CN113435575B (en) | 2021-06-22 | 2021-06-22 | Transient stability evaluation method of gate graph neural network based on unbalanced data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110693635.4A CN113435575B (en) | 2021-06-22 | 2021-06-22 | Transient stability evaluation method of gate graph neural network based on unbalanced data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113435575A true CN113435575A (en) | 2021-09-24 |
CN113435575B CN113435575B (en) | 2022-07-29 |
Family
ID=77757057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110693635.4A Active CN113435575B (en) | 2021-06-22 | 2021-06-22 | Transient stability evaluation method of gate graph neural network based on unbalanced data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113435575B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114006370A (en) * | 2021-10-29 | 2022-02-01 | 中国电力科学研究院有限公司 | A kind of power system transient stability analysis and evaluation method and system |
CN117689098A (en) * | 2023-11-02 | 2024-03-12 | 重庆大学 | An intelligent evaluation method for operational reliability considering sample imbalance |
CN118981684A (en) * | 2024-08-15 | 2024-11-19 | 北京建筑大学 | A method and system for out-of-distribution fault detection based on energy propagation and graph learning |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532596A (en) * | 2019-07-16 | 2019-12-03 | 中国电力科学研究院有限公司 | A kind of method and system generating grid simulation sample based on LSTM algorithm |
CN111914486A (en) * | 2020-08-07 | 2020-11-10 | 中国南方电网有限责任公司 | Power system transient stability evaluation method based on graph attention network |
-
2021
- 2021-06-22 CN CN202110693635.4A patent/CN113435575B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110532596A (en) * | 2019-07-16 | 2019-12-03 | 中国电力科学研究院有限公司 | A kind of method and system generating grid simulation sample based on LSTM algorithm |
CN111914486A (en) * | 2020-08-07 | 2020-11-10 | 中国南方电网有限责任公司 | Power system transient stability evaluation method based on graph attention network |
Non-Patent Citations (2)
Title |
---|
卢锦玲 等: "基于改进深度残差收缩网络的电力系统", 《电子技术学报》 * |
李嘉敏 等: "样本不平衡情况下的电力系统暂态稳定集成评估方法", 《电力系统自动化》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114006370A (en) * | 2021-10-29 | 2022-02-01 | 中国电力科学研究院有限公司 | A kind of power system transient stability analysis and evaluation method and system |
CN117689098A (en) * | 2023-11-02 | 2024-03-12 | 重庆大学 | An intelligent evaluation method for operational reliability considering sample imbalance |
CN118981684A (en) * | 2024-08-15 | 2024-11-19 | 北京建筑大学 | A method and system for out-of-distribution fault detection based on energy propagation and graph learning |
Also Published As
Publication number | Publication date |
---|---|
CN113435575B (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113435575B (en) | Transient stability evaluation method of gate graph neural network based on unbalanced data | |
Tong et al. | Detection and classification of transmission line transient faults based on graph convolutional neural network | |
CN110417011B (en) | Online dynamic security assessment method based on mutual information and iterative random forest | |
CN108334059A (en) | Based on particle cluster algorithm Optimized BP Neural Network Symbolic fault diagnosis method | |
CN109145516B (en) | A fault identification method for analog circuits based on an improved extreme learning machine | |
Zhou et al. | Transient stability assessment based on gated graph neural network with imbalanced data in internet of energy | |
CN111725802B (en) | Transient stability judgment method of AC-DC hybrid power grid based on deep neural network | |
MansourLakouraj et al. | A multi-rate sampling PMU-based event classification in active distribution grids with spectral graph neural network | |
CN108879732A (en) | Transient stability evaluation in power system method and device | |
Huang et al. | Research on transformer fault diagnosis method based on GWO optimized hybrid kernel extreme learning machine | |
CN112017070A (en) | Method and system for evaluating transient stability of power system based on data enhancement | |
LU500551B1 (en) | Virtual load dominant parameter identification method based on incremental learning | |
CN114970329A (en) | Transient voltage stability calculation method for power system based on graph neural network | |
Xu et al. | An improved ELM-WOA–based fault diagnosis for electric power | |
CN116109178A (en) | A power system stability assessment method for high proportion of new energy access | |
CN111062569A (en) | Low-current fault discrimination method based on BP neural network | |
CN111628531B (en) | Data driving method for static voltage stability evaluation of power system | |
Lin et al. | Post-disturbance dynamic frequency features prediction based on convolutional neural network | |
CN110309873A (en) | Integrated Transient Stability Evaluation Method and System Based on Bayesian Classification of Power Flow Vector | |
CN117131407A (en) | Relay protection strategy generation method, device, electronic equipment and storage medium | |
Zhang et al. | Learning Power System Dynamics with Noisy Data Using Neural Ordinary Differential Equations | |
CN117669656A (en) | TCN-Semi PN-based direct-current micro-grid stability real-time monitoring method and device | |
CN116258265A (en) | Novel power system short-circuit current online prediction method based on GA-BP neural network | |
CN114157552B (en) | Distribution network fault detection method based on twin time sequence diagram network | |
CN112651628A (en) | Power system transient stability evaluation method based on capsule neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |