首页|基于改进Transformer的电力系统不良数据辨识

基于改进Transformer的电力系统不良数据辨识

扫码查看
针对目前电网状态估计时存在的不良数据辨识率低的问题,提出了一种基于改进Transformer的电力系统不良数据辨识方法.首先,改进传统Transformer编码器结构,在自注意力机制的基础上引入高斯核函数,以提高模型对不良数据邻近点数据的检测能力;然后,提出了一种基于JS散度极大极小值训练策略的损失函数,通过两阶段的互相优化,使高斯分布权重和注意力权重达到动态平衡;最后,采用无监督学习方法,以正常量测数据训练模型,对输入数据进行重构,并计算重构误差和重构得分,实现对不良数据的有效辨识.仿真结果表明:该方法在不良数据检测精确率、召回率、F1分数和总体准确率方面具有较好的性能.
Identification of Bad Data in Power Systems Based on Improved Transformer
To improve the identification rate of bad data in power grid state estimation,this paper proposes a novel method based on an improved Transformer model.First,the traditional Transformer encoder structure is enhanced by incorporating a Gaussian kernel function into the self-attention mechanism,enhancing the model's capability to detect neighboring points of bad data.Sec-ond,a loss function is introduced based on a JS divergence maximization-minimization training strategy.This approach achieves a dynamic balance between Gaussian distribution weights and attention weights through mutual optimization in two stages.Utili-zing an unsupervised learning framework,the model is trained with normal measurement data to reconstruct the input,allowing the calculation of reconstruction errors and scores for effective bad data identification.Finally,simulation results demonstrate that the proposed method outperforms existing approaches in terms of precision,recall,F1 score,and overall accuracy,thereby validating its effectiveness in bad data detection for power systems.

identification of bad datatransformer networkunsupervised learninggaussian kernel functionreconstruction score

程慧琳、张晶、胡建一、卢志刚、甄晓晨

展开 >

国网河北省电力有限公司石家庄供电分公司,河北 石家庄 050000

国网河北省电力有限公司晋州市供电分公司,河北 晋州 052200

河北省电力电子节能与传动控制重点实验室(燕山大学),河北 秦皇岛 066004

不良数据辨识 Transformer网络 无监督学习 高斯核函数 重构分数

2024

河北电力技术
河北省电机工程学会,河北省电力研究院

河北电力技术

影响因子:0.306
ISSN:1001-9898
年,卷(期):2024.43(6)