Professional Documents
Culture Documents
基于状态量测的电网拓扑结构反向识别方法研究 刘道伟
基于状态量测的电网拓扑结构反向识别方法研究 刘道伟
20, 2019
2019 年 12 月 20 日 Proceedings of the CSEE ©2019 Chin.Soc.for Elec.Eng. 7107
DOI:10.13334/j.0258-8013.pcsee.182454 文章编号:0258-8013 (2019) 24-7107-11 中图分类号:TM 711
基于状态量测的电网拓扑结构反向识别方法研究
刘道伟 1,章锐 2,李柏青 1,贠 志皓 3,杨红英 1,李宗翰 1
(1.中国电力科学研究院有限公司,北京市 海淀区 100192;
2.信息网络安全国网重点实验室(全球能源互联网研究院有限公司),江苏省 南京市 210003;
3.电网智能化调度与控制教育部重点实验室(山东大学),山东省 济南市 250061)
ABSTRACT: The inversion of power system topological system verify the effectiveness of the proposed method.
structure is important to achieve data-driven power grid
KEY WORDS: power system; topology structure; reverse
running situational awareness and intelligent control in power
recognition; genetic algorithm; data-driven
system spatiotemporal trajectory. According to the power flow
information of the node branch of grid directly, this paper 摘要:针对大电网状态变化轨迹,反向识别电网拓扑结构,
proposed a reverse identification method of power system 对实现数据驱动的大电网运行态势感知与智能控制具有重要
topological structure based on state measurement. Firstly, the 意义。该文直接根据电网节点支路潮流信息,提出一种基于
reverse of grid topology was attributed to the optimal 状态量测的电网拓扑结构反向识别方法。首先从状态量到节
combination of incoming and outgoing lines, from the new 点关联的全新角度,将电网拓扑结构反向识别归结为节点进
angle of state to node correlation. Secondly, the mathematical 线与出线间全局最优组合问题。然后根据全网支路功率、电
model of topology structure inversion was established 流流通特性,建立电网拓扑结构反向识别数学模型;根据电
according to the power and current flow characteristics of the 网潮流特性,生成接近电网真实拓扑的初始解,为加快求解
whole network. According to the power flow characteristics of 速度对解空间进行了优化。其次基于电网量测单时间断面数
the power grid, the initial solution close to the real topology of 据,采用遗传智能算法对该模型进行求解,引入支路电流、
the power grid was generated, and the solution space was
电压差值率克服电网拓扑结构反向识别不唯一问题。理论上,
optimized for accelerating the solving speed. Thirdly, based on
当全网有功损耗等于量测损耗、有功电流差值等于量测差值,
the measurement of the single time section data of the power
且电压差值率为零时,即得到电网唯一拓扑。最后利用 IEEE
grid, the genetic intelligent algorithm was used to solve the
39、IEEE 118 节点系统进行测试,验证了所提方法的有效性。
model, and the branch current and voltage difference rate were
introduced to overcome the problem that the reverse 关键词:电力系统;拓扑结构;反向识别;遗传算法;数据
identification solution of the topology structure of the power 驱动
grid was not unique. In theory, when the active power loss
0 引言
equals the measurement loss, the active current difference
equals the measurement difference, and the voltage difference 随着新能源占比和电网互联规模不断扩大,电
rate is zero, the unique topology of the power grid is obtained. 网运行环境的不确定性和复杂性递增[1-2]。近年来,
Finally, the test and results of IEEE 39-bus and IEEE 118-bus 国内外发生的多起大停电事故造成了巨大经济损
基金项目:国家重点研发计划(2018YFB0904500)。
失和不良社会影响[3],现有以建模仿真和预想故障
Project Supported by National Key R&D Program of China 为核心的电网在线安全防御系统受到严峻挑战[4]。
(2018YFB0904500). 随着广域量测技术的发展[5-7],以测量信息为基础的
7108 中 国 电 机 工 程 学 报 第 39 卷
大电网数据驱动在线安全分析与控制成为一种全 示,即节点关联矩阵,若两个节点间有连接关系,
[8-9]
新的主动安全防控模式 。 则关联矩阵中对应位置元素取 1,否则取 0。如果
基于量测信息及时把握电网拓扑结构和参数 说由电网拓扑结构(节点关联矩阵)通过潮流计算或
变化规律,是实现数据驱动的电网态势评估与控制 量测得到电网各节点状态量信息属于因果关系,则
[10-12]
的基础 。目前,关于电网拓扑结构分析方法主 根据各节点状态量间内在的关联、规律反推电网拓
[13-15] [16-18]
要有基于关联矩阵 或邻接矩阵 的方法、基 扑结构(节点关联矩阵)属于关联关系,如图 1 所示。
[19-22]
于网络拓扑追踪的方法 、基于面向对象技术的 区别于传统依靠开关信息辨识电网拓扑结构的方
[23-24] [25-26]
方法 ,以及基于图论的方法 、基于面向间 法,仅基于广域量测的电网信息,如何快速识别电
[27]
隔的拓扑分析法 、和基于免疫算法的拓扑结构识 网拓扑结构即为本文讨论的电网拓扑结构反向识
[28-30]
别 。上述方法在拓扑结构辨识过程中均需电网 别问题。
电网节点关联矩阵 电网状态量信息
元件连接关系和开关状态信息,而电网实际运行过
0 1 0 0 0 0 0 0 0 0
程中,状态频繁变化的开关占少数,且开关存在拒 0
0 0 1 0 0 0 0 0 0 节点支路进线有功 PIi
因果关系
0 0 1 0 0 0 0 0 0 0 节点支路出线有功 POi
动、误动的情况。此外,开关信息在检测过程中不
0 0 0 0 0 0 1 0 0
0 节点支路进线无功 QIi
0 0 0 0 0 1 0 0 0 0
可避免地会出现错误,为校验开关量还需补充加入 节点支路出线无功 QOi
0 0 0 0 1 0 0 0 0 0
量测的状态量进行校验,由于开关量和状态量量测 关联关系 节点支路进线电流 I Ii
1 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0 0 0 ? 节点支路出线电流 I Oi
的时间不同步,拓扑识别所需时间比较长。现有识
节点电压 Ui
0 0 0 0 0 0 0 0 01 N M
别方法的另一局限在于,如果系统网架新增线路,
需要人工维护节点和支路拓扑参数信息,对于我国 图1 某电网拓扑结构反向识别问题
电网建设发展较快的情况,不仅维护工作量大,且 Fig. 1 Inversion problem of
a power system topological structures
容易因人为错误造成系统拓扑识别和后续分析的
1.2 电网拓扑反向识别问题的组合优化思想
失误。如果能完全基于状态量测进行反演拓扑,不
反向识别电网拓扑结构问题即为寻找电网节
仅能从根本上解决传统拓扑识别的限制因素,还能
点或支路间关联关系问题。对于含有 m 个节点,n
为数据驱动全新分析模式奠定理论和工程基础。因
条支路的电网,通过量测可以获取各节点的进、出
此,完全基于电网运行状态信息及其蕴含的网络约
线路流动有功功率 PIi、POi,无功功率 QIi、QOi,有
束规律[31-32],从新的角度来探索电网拓扑结构反向
功电流 IIi、IOi,电压实部 U IiS 、U Oi
S
,电压虚部 U IiX 、
识别具有较高的理论价值和学术意义。
X
本文在前人工作基础上,针对电网支路潮流、 U Oi 等潮流信息。对其进行处理得到全网节点的进
AIn PIn QIn I In U ISn U I1X 第n条进线潮流信息
果,避免了遥测遥信量的不同步配合,并为摆脱因 n6
AO1 PO1 S X
第1条出线潮流信息
1 电网拓扑结构反向识别数学模型
QO1 I O1 U O1 U O1
第2条出线潮流信息
AO2 PO2
S X
QO2 I O2 U O2 U O2
X
ZO AO3 PO3 QO3 S
I O3 U O3 U O3 第3条出线潮流信息
1.1 电网拓扑反向识别问题数学描述
…
本文所提方法解决的是母线节点间的连接关 AOn POn
QOn I On U OSn U OXn
n6
第n条出线潮流信息
内部拓扑连接。电网中母线节点和节点间连接支路 图3 电网出线矩阵信息
的拓扑结构可以用母线节点间的连接关系矩阵表 Fig. 3 Output matrix information of power grid
第 24 期 刘道伟等:基于状态量测的电网拓扑结构反向识别方法研究 7109
设为,在关联矩阵求解过程中跳过该元素,降低 约束条件:
解空间,如下所示: eij , AIi AOj (11)
dij , d ij 0 (8) eij , eij 0 (12)
③一般情况下,支路上损耗值具有一定范围。 I Ii I Oj
eij , % (13)
根据此条件,将损耗矩阵中损耗大于进线有功% I Ii
的元素剔除,将其值设为,如下所示: 其意义也分别与式(7)、(8)、(9)类似。
PIi POj ①针对情况 1)dfhegrdfregh,再次比较支路
dij , % (9)
PIi 总损耗最小时(dfhefhdgregr)与(dfrefrdghegh)的大
网支路损耗矩阵也是基于单时间断面数据生成的。 (dfhefh)与(dfrefr)的大小,若前者小于后者,则关联
支路损耗达到最小且和全网损耗相等时,形成的支 ③若对目标函数改进后,得到的解仍然不唯
路关联矩阵有较小概率可能会出现不唯一。假设 f、 一,即(dfhefhdgregr)(dfrefrdghegh)或(dfhefh)
图4 电网拓扑结构多解情况 压和出线量测电压计算出线电压差值率。
Fig. 4 Multiple solutions of power network topology UOSh UCSh UOXh UCXh
出线电压差值率 Uh ( )100%
S
UOXh
1)dfhegrdfregh,即支路关联矩阵存在 cfh 2 U Oh
C r ,, C N P } , N P 为种群初始规模。
计算种群中各支路关联矩
变异操作
2.3 适应度计算 阵对应的全网损耗F(C)
生成初始支路关联矩阵种群后,计算种群中每
计算种群中各支路关联
交叉操作
个支路关联矩阵 Cr 的适应度 fCr,以此评价该关联 矩阵对应的目标函数F'(C)
矩阵与真实电网拓扑结构之间的适应程度,选取种
计算种群中各支路
群 R 中适应度最高的关联矩阵作为当前时刻最优 选择操作
关联矩阵的适应度fCr
解。为了便于比较,对种群中关联矩阵适应度进行
归一化处理,如下所示: 达到最大迭代次数?
是
F (C ) Fmin
r
( R)
fC r 1 (18) 否
( R) Fmin
Fmax ( R)
否
式中: F (C r ) 为支路关联矩阵 C r 的目标函数值;
FC=FS?
是
( R) 为 种 群 中 支 路 关 联 矩 阵 最 小 适 应 度 ;
Fmin
( R) 为种群中支路关联矩阵最大适应度。
Fmax 计算电压差值率U
2.4 遗传操作 否
U =0 ?
遗传操作是电网支路关联矩阵遗传和进化的
必备过程,是能否找到正确支路关联矩阵的关键。 是
输出最优支路关联矩阵
遗传操作分为选择、交叉、变异三个过程。
1)选择。本文采用“轮盘赌”选择法,从第 t 结束
代种群 R(t)中选择一些优良的支路关联矩阵个体遗
图7 遗传算法流程图
传到下一代种群 R(t1)中。
“轮盘赌”选择法利用各 Fig. 7 Flowchart of genetic algorithm
支路关联矩阵适应度所占比例来决定被保留的可 具体实现步骤如下:
能性,若某个支路关联矩阵 Cr 适应度为 fCr,种群 1)根据 2.2 节思路,按支路损耗最小原则生成
规模为 N P ,则该支路关联矩阵被选取的概率为 PCr, 规模为 N P 的初始支路关联矩阵种群 R;
如下所示: 2)按照式(10)计算种群 R 中各支路关联矩阵
r
NP
C 对应的全网损耗 F(C),改进后目标函数 F(C),
PC r f C r /( f C r ), r 1, 2,, N P (19)
r 1 适应度 fCr;
第 24 期 刘道伟等:基于状态量测的电网拓扑结构反向识别方法研究 7113
拓扑图纵坐标
7 3
6)按照式(17)计算出电压差值率U,如果U0 250
5 4 18 27
28
6 33
则表示得到了正确的电网拓扑解,否则转入步骤 5) 31
17
14 19
11
直至解唯一; 150 12
13
15
16
节点编号 20
7)输出该关联矩阵,并结束。 10 24 21
50 23 22 34
32
3 算例分析 36 35
0 200 400 600
31 32 34 33 35 7 3
5 4 28
250 18 27
8 6 33
17
31 14
图8 IEEE 39 节点系统拓扑结构 11 12
15 19
150 13 16
Fig. 8 Topology structure of IEEE 39 node power system 节点编号 20
10 24 21
利用 Matlab 仿真得到某时刻电网各节点对应 50 23 34
32 22
进线、出线上流通有功功率、流通有功电流、对应 36 35
0 200 400 600
节点电压单时间断面数据。为了便于计算,出线上
拓扑图横坐标
有功功率、电流前取正号,进线上有功功率、电流
图 10 IEEE 39 节点系统多解情况
取负号。 Fig. 10 Multi solution situation of
基于遗传算法,节点 m39,支路数 n46,种 IEEE 39 node power system
群进化代数 T100,种群规模 N P =200 ,交叉概率 2)目标函数为 F(C)时的电网识别结果
为 Px0.5,变异概率 Pb0.05,电网量测损耗 FS 为了解决该多解问题,根据 1.3.3 节思路,在
4.362,有功损耗率%10%,有功电流差值率% 目标函数中引入支路有功电流差值 eij,并相应设置
10%。用 Matlab 对电网反向识别问题进行求解。 约束条件,如式(10)—(13)所示。
根据遗传算法对 IEEE 39 节点系统拓扑结构进 通过查询可以得到节点 3、4、26、28 的进出
行反向识别,得到 39 节点系统支路关联矩阵。根 线有功功率、有功电流,如表 1 所示。根据表中数
7114 中 国 电 机 工 程 学 报 第 39 卷
拓扑图纵坐标
7 3
5 28
4
3 0.048 0.051 (20) 250 18 27
D 6
17 33
28 0.039 0.042 31 14
15
11 12 19
150 13 16
4 26 节点编号 20
10 24 21
3 0.299 1.525 (21)
E 50 23 34
32 22
36 35
28 2.344 0.56
0 200 400 600
表1 IEEE 39 节点系统仿真数据 拓扑图横坐标
Tab. 1 Simulation data of IEEE 39 node power system 图 11 改进后的 IEE39 节点系统拓扑识别结果
节点 有功功率 有功电流 Fig. 11 Topology recognition results of
3 9.572 7.565 improved IEEE 39 node power system
4 -9.524 7.266 表2 各节点量测数据
26 -9.521 9.09 Tab. 2 Measurement data of each node
28 9.563 9.61
节点 h f r g
由于 e3,26<0,于是根据式(12)所示的约束条件, 功率 15.164j13.36 15j11.25 15.129+j15.206 14.8j13
对其进行处理,e3,26,如下: 电流 0.147j0.11 0.146j0.109 0.146j0.128 0.144j0.126
电压 110.515j8.722 102.85 111.9+j7.528 103
4 26
3 0.299 (22) UCh、UCr。计算结果分别如图 12、图 13 所示。
E UOh110.515j8.722 Zhf4.93j63.5
28 2.344 0.56 h f
UCh110.515j8.722
对节点支路损耗进行计算分析,由于 d 3 , 4
d28,26d3,26d28,40.09,所以会出现多解情况。引入
支路有功电流差值 eij 后,再次计算两种情况下支路
有功损耗与有功电流差值之和,并进行比较。如下 UOr111.9j7.528 Zrg9j60.3
r g
所示:
UCr111.9j7.528
d3,4 d 28,26 e3,4 e28,26 0.859 图 12 拓扑解 1 计算结果
(23)
d3,26 d 28,4 e3,26 e28,4 Fig. 12 Calculation results of
power network topology solution 1
进而可知,(d3,4d28,26e3,4e28,26)<(d3,26d28,4 h UOh110.515j8.722 f
e3,26e28,4) , 因 此 根 据 1.3.3 节 思 路 , 取 {c3,41,
UCh105.69j0.158
c26,281},而排除{c3,261, c4,281}{c3,261, c4,281}情
况。最终得到唯一的支路关联矩阵,进而形成图 11 Zrf3.881j119.032
所示的电网拓扑结构。
Zhg9.952j9.84
3)根据量测量间关联性,引入电压差值率,
寻找唯一拓扑结构。 UOr111.9j7.528
以图 4 为例,根据电压差值率确定电网拓扑唯 r g
UCr116.436j16.936
一解。假设测得 h、f、r、g 各点的流通功率、线路
图 13 拓扑解 2 结算结果
电流以及节点电压值如表 2 所示。根据计算可知 Fig. 13 Calculation results of
(dfhefhdgregr)与(dfrefrdghegh)值相等均为 0.496, power network topology solution 2
仅利用目标函数 F(C),无法从图 4(a)、(b)中判别 由图 12 可知,拓扑解 1 中 h、r 点计算电压与
出正确解。 出线量测电压相等,即 UChUOh、UCrUOr。进而根
为解决上述问题,本文根据式(14)分别计算得 据式(17)计算出拓扑解 1 中电压差值率U10。
到两种解的线路阻抗 Zhf、Zrg 与 Zhg、Zrf。进而根据 由图 13 可知,拓扑解 2 中 h、r 点计算电压与
式(15)分别计算得到两种解中 h、r 点的计算电压 出线量测电压不相等,且差别较大,即 UChUOh、
第 24 期 刘道伟等:基于状态量测的电网拓扑结构反向识别方法研究 7115
network topology analysis[J] . Automation of Electric [32] Chen L,Lu J A,Tse C K.Synchronization:an obstacle
Power Systems,2006,30(13):59-63(in Chinese). to identification of network topology[J] . IEEE
[28] 李樊,刘天琪,江东林.采用改进免疫算法的多目标配 Transactions on Circuits and Systems-II : EXPRESS
电网重构[J].电网技术,2011,35(7):134-138. BRIEFSI,2009,56(4):310-314.
Li Fan,Liu Tianqi,Jiang Donglin.Distribution network
reconfiguration with multi-objective based on improved 收稿日期:2018-12-06。
immune algorithm[J].Power System Technology,2011, 作者简介:
35(7):134-138(in Chinese). 刘道伟(1977),男,博士,高级工程师,
[29] 蒙文川,邱家驹.基于免疫算法的配电网重构[J].中国 主要研究方向为响应式大电网稳定态势量
电机工程学报,2006,26(17):25-29. 化 评 估 与 自 适 应 控 制 , liudaowei@epri.
Meng Wenchuan , Qiu Jiaju . An artificial immune sgcc.com.cn;
algorithm to distribution network reconfiguration[J] . 刘道伟 章锐(1991),男,博士研究生,研究方
Proceedings of the CSEE , 2002 , 26(17) : 25-29(in 向为响应式大电网稳定态势评估方法研
Chinese). 究,anhuizhangrui2015@126.com;
[30] 杨秀霞,张晓锋,张毅蒙.免疫遗传算法在舰船电力系 李柏青(1963),男,教授级高级工程师,
统供电恢复中的应用研究[J].中国电机工程学报,2004, 主要从事电力系统分析与控制研究工作;
24(09):80-85. 贠志皓(1973),男,博士,副教授,主
Yang Xiuxia,Zhang Xiaofeng,Zhang Yimeng.Study on 要研究方向为电力系统运行与控制,
immune genetic algorithm for shipboard power system zhihaoyun@sdu.edu.cn;
service restoration[J].Proceedings of the CSEE,2004, 杨红英(1980),女,博士,高级工程师,
24(9):80-85(in Chinese). 主要研究方向为数据驱动的电网安全稳定
[31] 陆君安,吕金虎,刘慧,等.复杂动力网络结构识别的 评估;
某些新进展[J].复杂系统与复杂性科学,2010,7(2): 李宗翰(1993),男,博士研究生,研究
63-69. 方向为数据驱动的电网安全稳定评估。
Lu Junan,Lü Jinhu,Liu Hui,et al.New progress on
(责任编辑 乔宝榆)
structure identification of complex dynamical networks
[J].Complex Systems and Complexity Science,2010,
7(2):63-69(in Chinese).
Extended Summary DOI:10.13334/j.0258-8013.pcsee.182454
KEY WORDS: power system; topology structure; reverse recognition; genetic algorithm; data-driven
The existing on-line security defense system based the unique topology of the power grid is obtained, as
on modeling, simulation and anticipated faults is facing shown in Fig. 1.
severe challenges. With the development of wide area An example is given to illustrate how to determine
measurement system, it is the basis of realizing the unique solution of the power grid according to the
data-driven power grid situation assessment and control voltage difference rate. The power flow of each node is
to grasp the changing rules of power grid topology and shown in Tab. 1. According to the calculation, (dfhefh
parameters in time based on measurement information. dgregr)(dfrefrdghegh), and the unique solution can not
In this paper, the inverse identification of power be identified, as shown in Fig. 2.
topology structure is reduced to the global optimal Voltage difference constraint
ki find ( D(i,:) min( D(i,:)))
UCh105.69j0.158
UOh110.515j8.722
D(:, k )
Zhf4.93j63.5
h f Zrf3.881j119.032
UCh110.515j8.722
i
Zhg9.952j9.84
U 0
UOr111.9j7.528 UOr111.9j7.528
Zrg9j60.3
r g
Based on the single time section data of power grid UCr111.9j7.528
r
UCr116.436j16.936
g
measurement, the model is solved by genetic intelligence (a) Topological solution 1 (b) Topological solution 2
Fig. 2 Calculation results of power topology solution
algorithm. The branch current and voltage difference
This method can identify the topology of power grid
ratio is introduced to overcome the non-unique problem
on-line. It provides a new perspective for the accurate
of reverse identification of power topology structure. In
grasp of large power grid dynamic characteristics and
theory, when the active power loss and active current wide-area coordinated optimal control based on wide-area
loss of the whole network are equal to the measured and space-time information, and has great academic
calculated loss, and the voltage difference rate is zero, significance and engineering application value.
S2