CN113341275B - Method for positioning single-phase earth fault of power distribution network - Google Patents
Method for positioning single-phase earth fault of power distribution network Download PDFInfo
- Publication number
- CN113341275B CN113341275B CN202110648837.7A CN202110648837A CN113341275B CN 113341275 B CN113341275 B CN 113341275B CN 202110648837 A CN202110648837 A CN 202110648837A CN 113341275 B CN113341275 B CN 113341275B
- Authority
- CN
- China
- Prior art keywords
- vertex
- node
- distribution network
- fault
- community
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/08—Locating faults in cables, transmission lines, or networks
- G01R31/081—Locating faults in cables, transmission lines, or networks according to type of conductors
- G01R31/086—Locating faults in cables, transmission lines, or networks according to type of conductors in power transmission or distribution networks, i.e. with interconnected conductors
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/08—Locating faults in cables, transmission lines, or networks
- G01R31/088—Aspects of digital computing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E40/00—Technologies for an efficient electrical power generation, transmission or distribution
- Y02E40/70—Smart grids as climate change mitigation technology in the energy generation sector
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/22—Flexible AC transmission systems [FACTS] or power factor or reactive power compensating or correcting units
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Mathematical Physics (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明公开了一种配电网单相接地故障的定位方法,在自配电网模型的首端节点开始间隔配置D‑PMU,计算未配置D‑PMU节点的三相电流序列以及故障发生时一个时间窗内各节点故障相电流的标准差;在图数据库上依照配电网模型拓扑结构建立配电网图模型,每条边取得对应的权重后运行IPLM,最终,在IPLM运行结果的基础上自顶向下查询故障区段的第一个顶点,并根据该顶点与前一个顶点权重之比来确定准确的故障区段。本发明配电网单相接地故障定位方法,利用图计算理论和图数据库平台,只在配电网模型中一半节点配置D‑PMU的情况下实现了单相接地故障的快速准确定位,在部分D‑PMU失去时间同步性时,仍能准确定位故障区段。
The invention discloses a positioning method for a single-phase grounding fault in a distribution network. D-PMUs are configured at intervals at the head node of a self-distribution network model, and the three-phase current sequence of nodes without D-PMUs configured and when a fault occurs are calculated The standard deviation of the fault phase current of each node within a time window; the distribution network graph model is established on the graph database according to the topology of the distribution network model, and each edge obtains the corresponding weight before running IPLM. Finally, based on the IPLM operation results The first vertex of the faulty section is queried from top to bottom, and the exact faulty section is determined according to the ratio of the weight of this vertex to the previous vertex. The single-phase ground fault location method of the distribution network of the present invention uses the graph calculation theory and the graph database platform to realize the fast and accurate positioning of the single-phase ground fault only when half of the nodes in the distribution network model are equipped with D-PMUs. When the D‑PMU loses time synchronization, it can still accurately locate the faulty section.
Description
技术领域technical field
本发明属于电网中故障定位技术领域,具体涉及一种配电网单相接地故障的定位方法。The invention belongs to the technical field of fault location in power grids, and in particular relates to a method for locating single-phase ground faults in distribution networks.
背景技术Background technique
我国配电网的特点是供电半径长、线路分支多、量测系统不完善。准确地定位故障区段是快速排除配电网故障的重要条件。单相接地故障是所有故障中发生频率最高的故障,约占到所有故障的80%。单相接地故障具有故障特征不明显、易受噪声干扰等特点,这导致了单相接地故障发生时难以被准确定位。The distribution network in my country is characterized by long power supply radius, many line branches, and imperfect measurement system. Accurately locating the fault section is an important condition for quickly troubleshooting the distribution network. Single-phase ground fault is the most frequent fault among all faults, accounting for about 80% of all faults. Single-phase-to-ground faults have the characteristics of indistinct fault characteristics and susceptibility to noise interference, which makes it difficult to accurately locate single-phase-to-ground faults when they occur.
目前,配电网故障定位的方法主要有阻抗法、行波法、注入信号法和广域测量信息法。基于阻抗法的配电网故障定位方法对故障的过度电阻和故障相角非常敏感,随着配电网的网络结构越来越复杂且线路参数不准确,阻抗法的准确性受到了极大的影响。基于行波法的配电网故障定位方法不受系统运行方式和故障电阻的影响,但是容易受到配电网线路分支的影响。注入信号法与其他三种方法不同,需要通过向配电网中注入信号来定位故障的位置,这类方法需要辅助设备和额外的操作,增加了潜在的风险和成本。随着广域测量技术的发展,相量测量单元(PMU)的体积逐渐减小,成本降低,这使得配电网络的状态估计更加可靠,越来越多的学者采用广域测量信息来进行配电网的故障定位方法,本发明就是一种基于广域测量信息法的配电网故障电网方法。At present, the fault location methods of distribution network mainly include impedance method, traveling wave method, injection signal method and wide-area measurement information method. The distribution network fault location method based on the impedance method is very sensitive to the excessive resistance of the fault and the fault phase angle. As the network structure of the distribution network becomes more and more complex and the line parameters are inaccurate, the accuracy of the impedance method is greatly affected. Influence. The distribution network fault location method based on the traveling wave method is not affected by the system operation mode and fault resistance, but is easily affected by the distribution network line branch. The signal injection method is different from the other three methods. It needs to inject signals into the distribution network to locate the fault location. This type of method requires auxiliary equipment and additional operations, which increases potential risks and costs. With the development of wide-area measurement technology, the volume of phasor measurement unit (PMU) is gradually reduced, and the cost is reduced, which makes the state estimation of distribution network more reliable. More and more scholars use wide-area measurement information for distribution network. The fault location method of the power grid, the present invention is a faulty power grid method of the distribution network based on the wide-area measurement information method.
现阶段,基于广域信息的配电网故障定位研究大多依赖于在配电网模型中大量布置D-PMU或uPMU等高精度的测量单元。这类研究的结果虽然可以准确定位配电网的故障区段,但仍存在两个重要的缺陷,一是这类研究在配电网模型上大量布置测量单元极大地增加了成本,经济上不具有可行性,二是这类研究主要依赖广域测量信息,没有充分利用配电网的拓扑结构信息。有部分学者进行了只基于配电网模型的首末端配置D-PMU的配电网故障定位研究,这类研究可以定位两相短路故障和两相短路接地故障,无法准确定位单相接地故障。At present, most researches on distribution network fault location based on wide-area information rely on a large number of high-precision measurement units such as D-PMU or uPMU in the distribution network model. Although the results of this type of research can accurately locate the fault section of the distribution network, there are still two important defects. First, the large number of measurement units arranged on the distribution network model in this type of research greatly increases the cost, which is not economical. It is feasible. Second, this type of research mainly relies on wide-area measurement information, and does not make full use of the topological structure information of the distribution network. Some scholars have conducted research on distribution network fault location based only on the distribution network model with D-PMU at the head end. This type of research can locate two-phase short-circuit faults and two-phase short-circuit ground faults, but cannot accurately locate single-phase ground faults.
发明内容Contents of the invention
本发明的目的是提供一种配电网单相接地故障的定位方法,能够在配电网模型中一半的节点上配置D-PMU的情况下,实现单相接地故障的快速准确定位。The purpose of the present invention is to provide a method for locating a single-phase-to-ground fault in a distribution network, which can quickly and accurately locate a single-phase-to-ground fault when D-PMUs are configured on half of the nodes in the distribution network model.
本发明所采用的技术方案是,一种配电网单相接地故障的定位方法,具体按照以下步骤实施:The technical solution adopted in the present invention is a method for locating a single-phase ground fault in a distribution network, which is specifically implemented according to the following steps:
步骤1、依据配电网的拓扑结构建立配电网模型,在配电网模型的节点上间隔配置D-PMU,并测量相应节点的三相电流、三相电压、零序电流、零序电压;
步骤2、计算未配置D-PMU节点的三相电压、三相电流、零序电流、零序电压;
步骤3、基于各节点的三相电流计算各节点在一个时间窗内的故障图权重S′i,k;
步骤4、依据配电网的拓扑结构在图数据库上建立配电网的图模型,计算配电网的图模型中相邻两个节点形成的边权重;
步骤5、在配电网的图模型上运行IPLM,得到多个社区;
步骤6、基于IPLM的运行结果自顶向下进行搜索,确定第一个故障区段的顶点M;
步骤7、分别访问顶点M的前顶点L和后顶点N,计算前顶点L和后顶点N在一个时间窗内故障图权重比值θ,通过θ的大小来判断故障区段的另一个节点,从而定位出故障区段。
本发明的特点还在于:The present invention is also characterized in that:
步骤1在配电网模型上间隔配置D-PMU的节点具体过程为:对配电网模型节点进行编号,末端节点未配置D-PMU,其余节点中任意两个相连的节点中只有一个节点配置D-PMU。
步骤2中计算未配置D-PMU节点的三相电压和三相电流具体过程为:The specific process of calculating the three-phase voltage and three-phase current of the unconfigured D-PMU node in
判断节点i是否为末端节点,如果是,则节点i通过其前向的节点h和有功负荷Pi,无功负荷Qi求出节点i的三相电压:Judging whether node i is an end node, if so, node i obtains the three-phase voltage of node i through its forward node h and active load P i and reactive load Q i :
其中Zhi表示节点h与节点i之间的线路阻抗,J表示虚数;Where Z hi represents the line impedance between node h and node i, and J represents an imaginary number;
如果节点i不是末端节点,节点i通过其后向的节点j求出其三相电压;If node i is not an end node, node i obtains its three-phase voltage through its backward node j;
其中Zhi表示节点h与节点i之间的线路阻抗where Z hi represents the line impedance between node h and node i
节点i通过其前向的节点h求出其三相电流;Node i obtains its three-phase current through its forward node h;
k=a,b,c;k = a, b, c;
则未配置D-PMU节点i的零序电流表示为:Then the zero-sequence current of node i without D-PMU is expressed as:
则未配置D-PMU节点i的零序电压表示为:Then the zero-sequence voltage of the unconfigured D-PMU node i is expressed as:
步骤3中时间窗T设置为0.05s。In
步骤3具体过程为:The specific process of
步骤3.1、提取一个时间窗内各节点三相电流序列;Step 3.1, extracting the three-phase current sequence of each node in a time window;
步骤3.2、计算各节点各相电流序列的标准差Si,k,i为节点编号,k为相的标记;Step 3.2, calculate the standard deviation S i,k of each phase current sequence of each node, i is the node number, and k is the label of the phase;
其中,t0为起始时刻即故障发生的时刻,f为D-PMU的采用频率,It,i,k为节点i在t时刻故障相电流的幅值,为节点i的在一个时间窗T内三相电流幅值的平均值,k=a,b,c;Among them, t 0 is the initial moment, that is, the moment when the fault occurs, f is the frequency used by D-PMU, I t,i,k is the amplitude of the fault phase current of node i at time t, is the average value of the three-phase current amplitude of node i within a time window T, k=a, b, c;
步骤3.3、比较Si,a,Si,b,Si,c三个值的大小,若有一个值远大于另外两个,则该相为故障相,所有节点的k取该相;Step 3.3, compare the three values of S i, a , S i, b , S i, c , if one value is much larger than the other two, then this phase is a faulty phase, and the k of all nodes is selected from this phase;
步骤3.4、计算各节点零序电流与零序电压的相位差△θ,并用取整函数处理△θ;Step 3.4. Calculate the phase difference △θ between the zero-sequence current and zero-sequence voltage of each node, and use the rounding function to process △θ;
步骤3.5、计算各节点的故障图权重S′i,k为:Step 3.5, calculating the fault map weight S' i,k of each node is:
步骤4具体过程为:The specific process of
步骤4.1、将配电网的拓扑结构导入图表中,节点建模为图模型中的顶点,线路建模为图模型中的边,建立配电网的图模型;Step 4.1, import the topological structure of the distribution network into the graph, the nodes are modeled as vertices in the graph model, the lines are modeled as edges in the graph model, and the graph model of the distribution network is established;
步骤4.2、判断是否有D-PMU失去时间同步性,判断公式如下:Step 4.2. Determine whether any D-PMU loses time synchronization. The formula for judging is as follows:
ki=1表示顶点i配置了D-PMU,j为与i相邻的顶点,若顶点i同时满足上述三个条件,则顶点i的D-PMU失去时间同步性;k i =1 means that vertex i is equipped with a D-PMU, and j is a vertex adjacent to i. If vertex i satisfies the above three conditions at the same time, the D-PMU of vertex i loses time synchronization;
步骤4.3、若顶点i的D-PMU失去时间同步性,则用顶点i的故障图权重取其相邻顶点故障图权重的平均值;Step 4.3, if the D-PMU of vertex i loses time synchronization, use the fault graph weight of vertex i to obtain the average value of the fault graph weights of its adjacent vertices;
步骤4.5、定义配电网的图模型中任意两个相邻顶点中,流出电流的顶点为上游顶点,流入电流的顶点为下游顶点,某顶点与上游顶点之间的边为上游边,访问配电网的图模型中所有顶点,将各顶点的标准差Sj,k赋值到上游边的属性wij中,获得边权重;Step 4.5. Among any two adjacent vertices in the graphical model of the definition distribution network, the vertex of the outflow current is the upstream vertex, the vertex of the inflow current is the downstream vertex, and the edge between a vertex and the upstream vertex is the upstream edge. For all vertices in the graph model of the power grid, assign the standard deviation S j,k of each vertex to the attribute w ij of the upstream edge to obtain the edge weight;
步骤5具体过程为:The specific process of
步骤5.1、将配电网的图模型输入IPLM;Step 5.1, input the graphical model of the distribution network into IPLM;
步骤5.2、并行访问配电网的图模型中的所有顶点,并计算所有顶点分别移动到相邻顶点社区带来的模块度增益ΔQ,模块度增益计算公式为:Step 5.2. Parallel access to all vertices in the graph model of the distribution network, and calculate the modularity gain ΔQ brought about by moving all vertices to the adjacent vertex communities respectively. The modularity gain calculation formula is:
其中,∑tot ki是与顶点社区cj相连的所有边权重的总和;ki,in是顶点i与社区cj相连的边的权重, Among them, ∑ tot k i is the sum of all edge weights connected to vertex community c j ; ki,in is the weight of the edge connected to vertex i and community c j ,
步骤5.3、改变各顶点的社区归属,将各顶点移入最大的模块度增益社区,若某顶点所有的模块度增益均为负,则顶点的社区属性保持改变各顶点的社区归属前的原状,否则更新顶点的社区归属;Step 5.3. Change the community affiliation of each vertex, and move each vertex into the community with the largest modularity gain. If all the modularity gains of a certain vertex are negative, the community attribute of the vertex remains the original state before changing the community affiliation of each vertex, otherwise Update the community affiliation of the vertices;
步骤5.4、判断步骤5.3中是否有顶点的社区归属更新,如果有则返回步骤5.2,否则,终止迭代;Step 5.4, judging whether there is a community attribution update of the vertex in step 5.3, if so, return to step 5.2, otherwise, terminate the iteration;
步骤5.5、以社区为单位,并行访问所有的社区,并计算一个社区的所有顶点分别移动到相邻社区的模块度增益ΔQ,社区间连接边的权重计算公式为:Step 5.5, using the community as the unit, visit all the communities in parallel, and calculate the modularity gain ΔQ of all the vertices of one community moving to the adjacent community respectively. The formula for calculating the weight of the connecting edges between communities is:
其中,是由社区ci与社区cj代表的两个社区间边的权重;wij是连接社区ci与社区cj中顶点的边的权重;in, is the weight of the edge between two communities represented by community c i and community c j ; w ij is the weight of the edge connecting the vertices in community c i and community c j ;
步骤5.6、相邻社区满足下式的约束条件进行社区的合并:Step 5.6, adjacent communities meet the constraints of the following formula to merge communities:
ΔQ>0or∑S′i,k=∑|S′i,k|,vi∈Ci ΔQ>0or∑S′ i,k =∑|S′ i,k |,v i ∈ C i
步骤5.7、判断是否有社区合并,如果是,返回步骤5.4,否则,IPLM运行结束。Step 5.7, judge whether there is a community merger, if yes, return to step 5.4, otherwise, the IPLM operation ends.
步骤6具体过程为:The specific process of
步骤6.1、按照流出电流方向,访问配电网模型的首端顶点,读取首端顶点的社区ID,将该社区ID赋值给全局变量x;Step 6.1. According to the direction of the outflow current, access the head-end vertex of the distribution network model, read the community ID of the head-end vertex, and assign the community ID to the global variable x;
步骤6.2、访问社区ID为x的最后一个顶点,最后一个顶点标记为顶点M;Step 6.2, visit the last vertex whose community ID is x, and mark the last vertex as vertex M;
步骤6.3、访问与顶点M相连的下游顶点N;Step 6.3, visit the downstream vertex N connected to the vertex M;
步骤6.4、判断顶点N的故障图权重是否大于0;Step 6.4, judging whether the fault graph weight of vertex N is greater than 0;
步骤6.5、若S′N,k>0,则将下游顶点N所在社区的ID赋值给x,并返回步骤6.3,直到出现S′N,k≤0,输出顶点M的ID,确定顶点M为故障区段的一个顶点。Step 6.5. If S′ N,k > 0, assign the ID of the community where the downstream vertex N is located to x, and return to step 6.3 until S′ N,k ≤ 0, output the ID of vertex M, and determine that vertex M is A vertex of the faulty segment.
步骤7.1、判断顶点M是否配置D-PMU,若配置了,则直接输出故障区段在顶点M与后顶点N对应的节点之间;Step 7.1. Determine whether the vertex M is configured with a D-PMU. If it is configured, then directly output that the faulty section is between the node corresponding to the vertex M and the subsequent vertex N;
步骤7.2、若顶点M未配置D-PMU,访问顶点M的前顶点L和后顶点N,计算前顶点L和顶点M故障图权重比值θ;Step 7.2. If the vertex M is not configured with a D-PMU, visit the front vertex L and the back vertex N of the vertex M, and calculate the fault graph weight ratio θ between the front vertex L and the vertex M;
步骤7.3、若θ≤0.9,则故障区段的另一个顶点为N,否则为顶点L,输出故障区段的两个顶点对应的节点。Step 7.3. If θ≤0.9, the other vertex of the faulty section is N, otherwise it is vertex L, and the nodes corresponding to the two vertices of the faulty section are output.
本发明的有益效果是:The beneficial effects of the present invention are:
(1)本发明一种配电网单相接地故障的定位方法,不受故障发生位置和故障电阻的影响。(1) A method for locating a single-phase ground fault in a distribution network according to the present invention is not affected by the location of the fault and the fault resistance.
(2)本发明结合了配电网的拓扑结构信息和广域测量信息,并用IPLM对图模型进行聚类,减少了检索的次数,提高了计算速度。(2) The present invention combines topological structure information of the distribution network and wide-area measurement information, and uses IPLM to cluster the graph model, which reduces the times of retrieval and improves the calculation speed.
(3)相比于大多数配电网故障定位方法,本发明只在配电网模型中一半节点上配置了D-PMU,降低了成本。(3) Compared with most distribution network fault location methods, the present invention only configures D-PMUs on half of the nodes in the distribution network model, which reduces the cost.
(4)本发明有较强的鲁棒性,可以在网络中部分测量单元失效的情况下,仍能够准确定位故障。(4) The present invention has strong robustness, and can still accurately locate faults when some measurement units in the network fail.
附图说明Description of drawings
图1是本发明实施例中采用的配电网的图模型示意图;Fig. 1 is the graph model schematic diagram of the distribution network that adopts in the embodiment of the present invention;
图2是鲁汶算法初始的社区分布;Figure 2 is the initial community distribution of the Leuven algorithm;
图3是鲁汶算法第一阶段;Figure 3 is the first stage of the Leuven algorithm;
图4是鲁汶算法第二阶段;Figure 4 is the second stage of the Leuven algorithm;
图5是配电网图模型建模的流程;Fig. 5 is the flow chart of distribution network graph model modeling;
图6是修改后的IEEE 33节点模型;Fig. 6 is the modified
图7是PLM和IPLM聚类结果比较;Figure 7 is a comparison of PLM and IPLM clustering results;
图8(a)是首端节点的相电流变化;Figure 8(a) is the phase current change of the head-end node;
图8(b)是末端节点的相电流变化;Figure 8(b) is the phase current change of the terminal node;
图9是正常情况下四种方法迭代次数比较;Figure 9 is a comparison of the number of iterations of the four methods under normal circumstances;
图10是部分D-PMU失去时间同步性时四种方法迭代次数比较。Figure 10 is a comparison of the iteration times of the four methods when some D-PMUs lose time synchronization.
具体实施方式Detailed ways
下面结合附图及具体实施方式对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
本发明中的配电网故障定位方法应用了图计算和改进后luovain算法,基于配电网的拓扑结构建立了配电网的图模型,在只需要在配电网模型中一半的节点上配置D-PMU的情况下实现了单相接地故障的快速准确定位,避免了定位结果陷入局部最优,且具有较强鲁棒性,在部分D-PMU失去时间同步性时仍能准确定位故障区段。The distribution network fault location method in the present invention applies graph calculation and the improved luovain algorithm, and establishes a graph model of the distribution network based on the topological structure of the distribution network, and only needs to be configured on half of the nodes in the distribution network model In the case of D-PMU, the fast and accurate location of single-phase ground fault is realized, which avoids the location result falling into local optimum, and has strong robustness, and can still accurately locate the fault area when some D-PMUs lose time synchronization part.
本发明一种配电网单相接地故障的定位方法,具体按照以下步骤实施:A method for locating a single-phase ground fault in a distribution network of the present invention is specifically implemented according to the following steps:
步骤1、依据配电网的拓扑结构建立配电网模型,在配电网模型的节点上间隔配置D-PMU,并测量相应节点的三相电流、三相电压、零序电流、零序电压;
步骤1在配电网模型上间隔配置D-PMU的节点具体过程为:对配电网模型节点进行编号,末端节点未配置D-PMU,其余节点中任意两个相连的节点中只有一个节点配置D-PMU。
步骤2、计算未配置D-PMU节点的三相电压、三相电流、零序电流、零序电压;
步骤2中计算未配置D-PMU节点的三相电压和三相电流具体过程为:The specific process of calculating the three-phase voltage and three-phase current of the unconfigured D-PMU node in
判断节点i是否为末端节点,如果是,则节点i通过其前向的节点h和有功负荷Pi,无功负荷Qi求出节点i的三相电压:Judging whether node i is an end node, if so, node i obtains the three-phase voltage of node i through its forward node h and active load P i and reactive load Q i :
其中Zhi表示节点h与节点i之间的线路阻抗,J表示虚数;Where Z hi represents the line impedance between node h and node i, and J represents an imaginary number;
如果节点i不是末端节点,节点i通过其后向的节点j求出其三相电压;If node i is not an end node, node i obtains its three-phase voltage through its backward node j;
其中Zhi表示节点h与节点i之间的线路阻抗where Z hi represents the line impedance between node h and node i
节点i通过其前向的节点h求出其三相电流;Node i obtains its three-phase current through its forward node h;
k=a,b,c;k = a, b, c;
则未配置D-PMU节点i的零序电流表示为:Then the zero-sequence current of node i without D-PMU is expressed as:
则未配置D-PMU节点i的零序电压表示为:Then the zero-sequence voltage of the unconfigured D-PMU node i is expressed as:
步骤3、基于各节点的三相电流计算各节点在一个时间窗内的故障图权重S′i,k;时间窗T设置为0.05s。
步骤3具体过程为:The specific process of
步骤3.1、提取一个时间窗内各节点三相电流序列;Step 3.1, extracting the three-phase current sequence of each node in a time window;
步骤3.2、计算各节点各相电流序列的标准差Si,k,i为节点编号,k为相的标记;Step 3.2, calculate the standard deviation S i,k of each phase current sequence of each node, i is the node number, and k is the label of the phase;
其中,t0为起始时刻即故障发生的时刻,f为D-PMU的采用频率,It,i,k为节点i在t时刻故障相电流的幅值,为节点i的在一个时间窗T内三相电流幅值的平均值,k=a,b,c;Among them, t 0 is the initial moment, that is, the moment when the fault occurs, f is the frequency used by D-PMU, I t,i,k is the amplitude of the fault phase current of node i at time t, is the average value of the three-phase current amplitude of node i within a time window T, k=a, b, c;
步骤3.3、比较Si,a,Si,b,Si,c三个值的大小,若有一个值远大于另外两个,则该相为故障相,所有节点的k取该相;Step 3.3, compare the three values of S i, a , S i, b , S i, c , if one value is much larger than the other two, then this phase is a faulty phase, and the k of all nodes is selected from this phase;
步骤3.4、计算各节点零序电流与零序电压的相位差△θ,并用取整函数处理△θ;Step 3.4. Calculate the phase difference △θ between the zero-sequence current and zero-sequence voltage of each node, and use the rounding function to process △θ;
步骤3.5、计算各节点的故障图权重S′i,k为:Step 3.5, calculating the fault map weight S' i,k of each node is:
S′i,k=Si,k·σi(Δθ)。S' i,k = S i,k ·σ i (Δθ).
步骤4、依据配电网的拓扑结构在图数据库上建立配电网的图模型,计算配电网的图模型中相邻两个节点形成的边权重;
步骤4具体过程为:The specific process of
步骤4.1、将配电网的拓扑结构导入图表中,节点建模为图模型中的顶点,线路建模为图模型中的边,建立配电网的图模型;Step 4.1, import the topological structure of the distribution network into the graph, the nodes are modeled as vertices in the graph model, the lines are modeled as edges in the graph model, and the graph model of the distribution network is established;
步骤4.2、判断是否有D-PMU失去时间同步性,判断公式如下:Step 4.2. Determine whether any D-PMU loses time synchronization. The formula for judging is as follows:
ki=1表示顶点i配置了D-PMU,j为与i相邻的顶点,若顶点i同时满足上述三个条件,则顶点i的D-PMU失去时间同步性;k i =1 means that vertex i is equipped with a D-PMU, and j is a vertex adjacent to i. If vertex i satisfies the above three conditions at the same time, the D-PMU of vertex i loses time synchronization;
步骤4.3、若顶点i的D-PMU失去时间同步性,则用顶点i的故障图权重取其相邻顶点故障图权重的平均值;Step 4.3, if the D-PMU of vertex i loses time synchronization, use the fault graph weight of vertex i to obtain the average value of the fault graph weights of its adjacent vertices;
步骤4.5、定义配电网的图模型中任意两个相邻顶点中,流出电流的顶点为上游顶点,流入电流的顶点为下游顶点,某顶点与上游顶点之间的边为上游边,访问配电网的图模型中所有顶点,将各顶点的标准差Sj,k赋值到上游边的属性wij中,获得边权重。Step 4.5. Among any two adjacent vertices in the graphical model of the definition distribution network, the vertex of the outflow current is the upstream vertex, the vertex of the inflow current is the downstream vertex, and the edge between a vertex and the upstream vertex is the upstream edge. For all vertices in the graph model of the power grid, assign the standard deviation S j,k of each vertex to the attribute w ij of the upstream edge to obtain the edge weight.
步骤5、在配电网的图模型上运行IPLM,得到多个社区;
步骤5具体过程为:The specific process of
步骤5.1、将配电网的图模型输入IPLM;Step 5.1, input the graphical model of the distribution network into IPLM;
步骤5.2、并行访问配电网的图模型中的所有顶点,并计算所有顶点分别移动到相邻顶点社区带来的模块度增益ΔQ,模块度增益计算公式为:Step 5.2. Parallel access to all vertices in the graph model of the distribution network, and calculate the modularity gain ΔQ brought about by moving all vertices to the adjacent vertex communities respectively. The modularity gain calculation formula is:
其中,∑tot ki是与顶点社区cj相连的所有边权重的总和;ki,in是顶点i与社区cj相连的边的权重, Among them, ∑ tot k i is the sum of all edge weights connected to vertex community c j ; ki,in is the weight of the edge connected to vertex i and community c j ,
步骤5.3、改变各顶点的社区归属,将各顶点移入最大的模块度增益社区,若某顶点所有的模块度增益均为负,则顶点的社区属性保持改变各顶点的社区归属前的原状,否则更新顶点的社区归属;Step 5.3. Change the community affiliation of each vertex, and move each vertex into the community with the largest modularity gain. If all the modularity gains of a certain vertex are negative, the community attribute of the vertex remains the original state before changing the community affiliation of each vertex, otherwise Update the community affiliation of the vertices;
步骤5.4、判断步骤5.3中是否有顶点的社区归属更新,如果有则返回步骤5.2,否则,终止迭代;Step 5.4, judging whether there is a community attribution update of the vertex in step 5.3, if so, return to step 5.2, otherwise, terminate the iteration;
步骤5.5、以社区为单位,并行访问所有的社区,并计算一个社区的所有顶点分别移动到相邻社区的模块度增益ΔQ,社区间连接边的权重计算公式为:Step 5.5, using the community as the unit, visit all the communities in parallel, and calculate the modularity gain ΔQ of all the vertices of one community moving to the adjacent community respectively. The formula for calculating the weight of the connecting edges between communities is:
其中,是由社区ci与社区cj代表的两个社区间边的权重;wij是连接社区ci与社区cj中顶点的边的权重;in, is the weight of the edge between two communities represented by community c i and community c j ; w ij is the weight of the edge connecting the vertices in community c i and community c j ;
步骤5.6、相邻社区满足下式的约束条件进行社区的合并:Step 5.6, adjacent communities meet the constraints of the following formula to merge communities:
ΔQ>0or∑S′i,k=∑|S′i,k|,vi∈Ci ΔQ>0or∑S′ i,k =∑|S′ i,k |,v i ∈ C i
步骤5.7、判断是否有社区合并,如果是,返回步骤5.4,否则,IPLM运行结束。Step 5.7, judge whether there is a community merger, if yes, return to step 5.4, otherwise, the IPLM operation ends.
步骤6、基于IPLM的运行结果自顶向下进行搜索,确定第一个故障区段的节点M;
步骤6具体过程为:The specific process of
步骤6.1、按照流出电流方向,访问配电网模型的首端顶点,读取首端顶点的社区ID,将该社区ID赋值给全局变量x;Step 6.1. According to the direction of the outflow current, access the head-end vertex of the distribution network model, read the community ID of the head-end vertex, and assign the community ID to the global variable x;
步骤6.2、访问社区ID为x的最后一个顶点,最后一个顶点标记为顶点M;Step 6.2, visit the last vertex whose community ID is x, and mark the last vertex as vertex M;
步骤6.3、访问与顶点M相连的下游顶点N;Step 6.3, visit the downstream vertex N connected to the vertex M;
步骤6.4、判断顶点N的故障图权重是否大于0;Step 6.4, judging whether the fault graph weight of vertex N is greater than 0;
步骤6.5、若S′N,k>0,则将下游顶点N所在社区的ID赋值给x,并返回步骤6.3,直到出现S′N,k≤0,输出顶点M的ID,确定顶点M为故障区段的一个顶点。Step 6.5. If S′ N,k > 0, assign the ID of the community where the downstream vertex N is located to x, and return to step 6.3 until S′ N,k ≤ 0, output the ID of vertex M, and determine that vertex M is A vertex of the faulty segment.
确定顶点M为故障区段的一个顶点的原理为:位于故障分支上故障点前的顶点具有正的故障图权重,其余顶点的故障图权重均小于零。基于此,以社区为单位进行查询(提高查询速度),主要目的是找到故障分支上最后一个故障图权重大于零的顶点,The principle of determining the vertex M as a vertex of the fault section is: the vertices located before the fault point on the fault branch have positive fault graph weights, and the fault graph weights of other vertices are all less than zero. Based on this, the main purpose of querying in units of communities (increasing query speed) is to find the last vertex with a weight greater than zero on the faulty branch,
步骤7、分别访问顶点M的前顶点L和后顶点N,计算前顶点L和后顶点N在一个时间窗内故障图权重比值θ,通过θ的大小来判断故障区段的另一个节点,从而定位出故障区段。
步骤7由于本发明中的配电网模型上,有一半节点未配置D-PMU,这些节点的三相电流是通过前后节点的电流电压信息计算得出,若故障点位于某个未配置D-PMU的节点前,则这一节点的电流受上游节点电压电流值的影响也会呈现故障的特性,这使得我们定位故障的具体区段,因此需要在步骤6的基础上做进一步的判断,具体过程为:
步骤7.1、判断顶点M是否配置D-PMU,若配置了,则直接输出故障区段在顶点M与后顶点N对应的节点之间;Step 7.1. Determine whether the vertex M is configured with a D-PMU. If it is configured, then directly output that the faulty section is between the node corresponding to the vertex M and the subsequent vertex N;
步骤7.2、若顶点M未配置D-PMU,访问顶点M的前顶点L和后顶点N,计算前顶点L和顶点M故障图权重比值θ;Step 7.2. If the vertex M is not configured with a D-PMU, visit the front vertex L and the back vertex N of the vertex M, and calculate the fault graph weight ratio θ between the front vertex L and the vertex M;
步骤7.3、若θ≤0.9,则故障区段的另一个顶点为N,否则为顶点L,输出故障区段的两个顶点对应的节点。Step 7.3. If θ≤0.9, the other vertex of the faulty section is N, otherwise it is vertex L, and the nodes corresponding to the two vertices of the faulty section are output.
本发明一种配电网单相接地故障的定位方法的设计原理为:The design principle of a positioning method for a distribution network single-phase ground fault of the present invention is:
图数据由顶点和边构成,图可以表示为G(v,e),鲁汶算法最早被鲁汶大学的Blondel等人提出,鲁汶算法是一种专门处理图数据的算法。这一算法基于模块度的增益在图模型上进行社区发现的探索,根据边权重的不同将图划分为数个社区,其目标函数是实现整个网络的模块度最大化。模块度是一种衡量节点之间联系强弱的量,通常用字母Q表示,其具体计算公式如下:Graph data is composed of vertices and edges. The graph can be expressed as G(v,e). The Leuven algorithm was first proposed by Blondel et al. at the University of Leuven. The Leuven algorithm is an algorithm that specializes in processing graph data. This algorithm explores community discovery on the graph model based on the gain of modularity, divides the graph into several communities according to the difference of edge weight, and its objective function is to maximize the modularity of the entire network. Modularity is a measure of the strength of the connection between nodes, usually represented by the letter Q, and its specific calculation formula is as follows:
在上式中:Aij是连接顶点i与顶点j的边的权重;m是网络中所有边的权重总和的一半,即ki与kj分别是与顶点i和顶点j相连的所有边权重的总和,即ki=∑iAij,kj=∑jAij;ci与cj分别是顶点i和顶点j所在的社区;δ(ci,cj)是用来判断顶点i和顶点j是否在同一个社区,若在同一个社区ci=cj,则δ(ci,cj)=1,否则δ(ci,cj)=0。In the above formula: A ij is the weight of the edge connecting vertex i and vertex j; m is half of the sum of the weights of all edges in the network, namely k i and k j are the sum of the weights of all edges connected to vertex i and vertex j respectively, that is, k i =∑ i A ij , k j =∑ j A ij ; c i and c j are vertex i and vertex j respectively community; δ(c i ,c j ) is used to judge whether vertex i and vertex j are in the same community, if they are in the same community c i =c j , then δ(ci , c j )=1, Otherwise δ(c i ,c j )=0.
通过上式不难看出,若网络中所有的顶点均为独立的社区,则整个网络的模块度为0。若要使整个网络的模块度最大化,就要使同一社区内的趋于最大,如果边的权重看做两顶点之间联系的紧密程度,那么从空域的角度来看这一过程可以理解为每个顶点都倾向于被分配到和自己联系最紧密的顶点所在的社区。鲁汶算法的核心正是基于这一过程,使具有强联系的顶点处于同一个社区,淡化顶点间的弱联,最终实现对复杂网络的聚类。It is not difficult to see from the above formula that if all vertices in the network are independent communities, the modularity of the entire network is 0. To maximize the modularity of the entire network, it is necessary to make the Tends to the maximum, if the weight of the edge is regarded as the closeness of the connection between the two vertices, then from the perspective of the airspace, this process can be understood as each vertex tends to be assigned to the vertex that is most closely connected with itself. Community. The core of the Leuven algorithm is based on this process, making the vertices with strong connections in the same community, weakening the weak connections between vertices, and finally realizing the clustering of complex networks.
鲁汶算法分为两个阶段,在每个阶段中都要反复计算顶点移动产生的模块度增益,鲁汶算法的第一阶段中计算单个节点移动带来的模块度增益,第二阶段计算的是社区合并带来的模块度增益,其具体计算公式如下:The Leuven algorithm is divided into two stages. In each stage, the modularity gain generated by vertex movement is repeatedly calculated. In the first stage of the Leuven algorithm, the modularity gain caused by the movement of a single node is calculated. In the second stage, the modularity gain is calculated. is the modularity gain brought by the community merger, and its specific calculation formula is as follows:
在式中:ΔQ是由顶点i移动到顶点j所在社区cj产生的模块度增益;∑in是社区cj内所有边权重的总和;∑tot是外部与社区cj相连的所有边权重的总和;ki,in是顶点i与社区cj相连的边的权重。对上式进行化简,可得到化简后的模块度计算公式,其具体计算公式如下:In the formula: ΔQ is the modularity gain generated by moving vertex i to the community c j where vertex j is located; ∑ in is the sum of all edge weights in community c j ; ∑ tot is the sum of all edge weights connected to community c j outside Sum; ki ,in is the weight of the edge connecting vertex i to community cj . Simplifying the above formula, the simplified modularity calculation formula can be obtained, and the specific calculation formula is as follows:
假设有一图模型如图1所示,在这一图模型上执行鲁汶算法第一阶段,具体按照以下步骤实施:Assuming that there is a graph model as shown in Figure 1, the first stage of the Leuven algorithm is executed on this graph model, and the specific implementation is as follows:
步骤I、对图1所示的图模型中每个顶点都分配一个独立的社区ID,分配结果如图2所示,图2中不同的颜色代表不同的社区;
步骤II、经步骤I后,每个顶点都代表一个独立的社区,分别计算ID为1的顶点移动到相邻社区产生的模块度增益ΔQ;Step II. After step I, each vertex represents an independent community, and the modularity gain ΔQ generated by moving the vertex with
步骤III、经步骤II后,判断最大的模块度增益ΔQ>0是否成立,若成立选择顶点1移动到模块度增益最大的社区,若不成立则顶点1保持现状;Step III. After step II, judge whether the maximum modularity gain ΔQ > 0 is established. If it is established,
步骤IV、经步骤III后,再依次按照ID的编号遍历所有节点,对各顶点执行步骤II、步骤III;Step IV, after step III, traverse all nodes in turn according to the number of ID, and execute step II and step III for each vertex;
步骤V、经步骤IV后,网络中的各顶点的社区归属已经经过了一轮改变,各节点相邻的社区信息也发生了变化,基于新的社区分布对网络中各顶点再反复遍历,重复执行上诉操作;Step V. After step IV, the community ownership of each vertex in the network has undergone a round of changes, and the adjacent community information of each node has also changed. Based on the new community distribution, each vertex in the network is traversed repeatedly, repeating perform appeal operations;
步骤VI、经步骤V后,当某一轮迭代后,顶点的社区归属再无变化时,鲁汶算法第一阶段结束。After step VI and step V, when the community affiliation of the vertices does not change after a certain round of iterations, the first stage of the Leuven algorithm ends.
鲁汶算法的目标函数是实现模块度的最大化,因此在每一次将顶点从原本所在社区移动到其他社区时,必须保证模块度增益为正,即ΔQ>0。鲁汶算法第一阶段中对顶点的遍历操作是顺序执行的,每次迭代的时间复杂度为O(N)。若图的连接复杂,顶点规模庞大,不仅每次迭代的时间增加,迭代的次数也会增加,这样会造成算法运行时间过长。本发明中采用的PLM是在原本鲁汶算法的基础上进行了改进,PLM将鲁汶算法第一阶段中的步骤II到步骤IV由顺序执行改为了并行执行。这一改进提高了鲁汶算法在每次迭代中的计算速度,但是在顶点社区归属改变的过程中可能会产生负的模块度增益。这是由于所有顶点都并行计算自己移动到相邻社区的模块度增益,当顶点被移动到相邻社区时,该社区的结构可能已经发生了改变,实际的模块度增益可能会是负数。负的模块度增益可以通过多次迭代来修正,在多次迭代后PLM会得到与鲁汶算法近似的结果。The objective function of the Leuven algorithm is to maximize the modularity. Therefore, every time a vertex is moved from the original community to another community, the modularity gain must be positive, that is, ΔQ>0. In the first stage of the Leuven algorithm, the traversal operation on the vertices is executed sequentially, and the time complexity of each iteration is O(N). If the connection of the graph is complex and the scale of vertices is large, not only the time of each iteration will increase, but also the number of iterations will increase, which will cause the algorithm to run for too long. The PLM adopted in the present invention is improved on the basis of the original Leuven algorithm, and the PLM changes step II to step IV in the first stage of the Leuven algorithm from sequential execution to parallel execution. This improvement improves the computational speed of the Leuven algorithm in each iteration, but may produce negative modularity gains during the change of vertex community affiliation. This is because all vertices calculate the modularity gain of moving to the adjacent community in parallel. When the vertex is moved to the adjacent community, the structure of the community may have changed, and the actual modularity gain may be negative. Negative modularity gain can be corrected by multiple iterations, and after multiple iterations, PLM will get a result similar to the Leuven algorithm.
当一轮迭代后各顶点的社区归属不再变化表明此时各顶点已被移动到了最佳的社区,鲁汶算法第一阶段的任务完成。鲁汶算法第二阶段的计算方法与第一阶段相同,但是计算对象由网络中的顶点变为了社区,具体按照以下步骤实施:When the community affiliation of each vertex does not change after a round of iterations, it means that each vertex has been moved to the best community at this time, and the task of the first stage of the Leuven algorithm is completed. The calculation method of the second stage of the Leuven algorithm is the same as that of the first stage, but the calculation object is changed from the vertices in the network to the community, and it is implemented according to the following steps:
步骤A、如图3所示,基于鲁汶算法第一阶段的结果,将每个社区中的所有节点视为一个“超级节点”;Step A, as shown in Figure 3, based on the results of the first stage of the Leuven algorithm, all nodes in each community are regarded as a "super node";
步骤B、计算各“超级节点”间边的权重Step B. Calculate the weight of the edges between each "super node"
是由社区ci与社区cj代表的两个“超级节点”间边的权重;wij是连接社区ci与社区cj中顶点的边的权重; is the weight of the edge between two "super nodes" represented by community c i and community c j ; w ij is the weight of the edge connecting the vertices in community c i and community c j ;
步骤C、经步骤B后,以“超级节点”为单位再次执行鲁汶算法的第一阶段;Step C, after step B, execute the first stage of the Leuven algorithm again in units of "super nodes";
步骤D、经步骤C后,当某一轮迭代后网络中的社区结构再无变化,鲁汶算法第二阶段完成,如图4所示。Step D, after step C, when there is no change in the community structure in the network after a certain round of iterations, the second stage of the Leuven algorithm is completed, as shown in Figure 4.
从上述两个节点步骤可以看出,鲁汶算法的核心步骤是计算顶点社区归属改变带来的模块度增益。对于复杂网络,鲁汶算法需要进行大量的迭代来优化网络的模块度,过度迭代会导致算法运行时间过长,实时性下降。为了避免算法运行时间过长,需要对迭代次数进行限制,前人研究表明每个阶段经过10次迭代后模块度的增益已不明显,因此PLM中默认各阶段的迭代次数为10。From the above two node steps, it can be seen that the core step of the Leuven algorithm is to calculate the modularity gain brought about by the change of apex community ownership. For complex networks, the Leuven algorithm needs a large number of iterations to optimize the modularity of the network. Excessive iterations will cause the algorithm to run for a long time and reduce real-time performance. In order to prevent the algorithm from running too long, it is necessary to limit the number of iterations. Previous studies have shown that the gain in modularity is not obvious after 10 iterations in each stage, so the default number of iterations in each stage in PLM is 10.
为了提高查询的速度,本发明对PLM进行改进,提出了IPLM。在PLM的第一阶段中,图模型中的已经以顶点为单位进行一轮社区归属的改变,形成了初步的社区分布。PLM的第二阶段以“超级节点”为单位再进行社区归属改变,相比于第一阶段,第二阶段的变量更少,结果更容易收敛。本文将PLM第二阶段中,顶点社区归属改变时的约束条件进行修改,其约束条件由△Q>0变为了如下式:In order to increase the query speed, the present invention improves the PLM and proposes the IPLM. In the first stage of PLM, a round of community affiliation changes have been carried out in units of vertices in the graph model, forming a preliminary community distribution. In the second stage of PLM, the community affiliation is changed in units of "super nodes". Compared with the first stage, the second stage has fewer variables and the result is easier to converge. In this paper, in the second stage of PLM, the constraint conditions when the apex community ownership changes are modified, and the constraint conditions are changed from △Q>0 to the following formula:
ΔQ>0or∑S′i,k=∑|S′i,k|,vi∈Ci ΔQ>0or∑S′ i,k =∑|S′ i,k |,v i ∈ C i
本发明在PLM第二阶段中增加了一个约束条件:社区内所有顶点的故障图权重之和与故障图权重的绝对值之和相等。两个约束条件为“或”的关系,满足两个约束条件中的任意一个都可以将两个相邻的社区融合为一个社区。这一改进明显增大了社区的规模,减少了社区的数量和故障区段查询过程的迭代次数。The present invention adds a constraint condition in the second stage of PLM: the sum of the fault map weights of all vertices in the community is equal to the sum of the absolute value of the fault map weights. Two constraints are "or" relationship, satisfying any one of the two constraints can merge two adjacent communities into one community. This improvement significantly increases the size of the community, reduces the number of communities and the number of iterations of the faulty segment query process.
电网是一种天然的图结构,图5为配电网图模型建模的基本流程,电网中的变电站,母线等设备被建模为节点v,三相电流与三相电压储存在节点的属性中,输电线路被建模为连接节点v的边e,由鲁汶算法改进的PLM也可以实现对电网节点的聚类。如图5中所示的Schema,其中包含了一类顶点和一类边。每个顶点node包含了ID、上游节点、下游节点、故障图权重、D-PMU状态、社区ID六种属性,每条边包含了NAME、故障图权重两种属性。在上述属性中,ID的作用是确保每个顶点的唯一性。上游节点和下游节点的作用是判断顶点在网络拓扑上的位置。D-PMU状态为一个自定义的二维数组[D-PMU配置,D-PMU同步性],其中的两个元素分别用0或1来描述节点是否配置D-PMU以及D-PMU是否同步,[0,0]和[1,1]为两种正常状态,不存在[0,1]状态,因为节点未配置D-PMU不会具有D-PMU的时间同步性,[1,0]为节点D-PMU失去时间同步性的状态。每条边的NAME命名方式为“上游顶点ID-下游顶点ID”。在配电网图模型中,任意一条边eij两端的顶点i与顶点j是确定的,对于电网而言,流过输电线路上的电流可以近似为线路末端节点的电流,因此可以取顶点j的故障图权重作为边eij的权重wij。The power grid is a natural graph structure. Figure 5 shows the basic process of modeling the distribution network graph model. The substations, busbars and other equipment in the power grid are modeled as nodes v, and the three-phase current and three-phase voltage are stored in the attributes of the nodes In , the transmission line is modeled as the edge e connecting the node v, and the PLM improved by the Leuven algorithm can also realize the clustering of the grid nodes. The Schema shown in Figure 5 contains one type of vertex and one type of edge. Each vertex node contains six attributes: ID, upstream node, downstream node, fault graph weight, D-PMU status, and community ID, and each edge contains two attributes: NAME and fault graph weight. Among the above attributes, the role of ID is to ensure the uniqueness of each vertex. The function of the upstream node and the downstream node is to judge the position of the vertex on the network topology. The D-PMU state is a custom two-dimensional array [D-PMU configuration, D-PMU synchronization], the two elements of which are 0 or 1 to describe whether the node is configured with D-PMU and whether D-PMU is synchronized, [0,0] and [1,1] are two normal states, there is no [0,1] state, because the node is not configured with D-PMU and will not have the time synchronization of D-PMU, [1,0] is A state in which the node D-PMU has lost time synchronization. The naming method of each edge is "upstream vertex ID-downstream vertex ID". In the distribution network graph model, the vertex i and vertex j at both ends of any edge e ij are determined. For the power grid, the current flowing through the transmission line can be approximated as the current of the end node of the line, so the vertex j can be taken as The weight of the fault graph is used as the weight w ij of the edge e ij .
实施例Example
本发明在图数据库TigerGraph上建立了如图6所示的IEEE 33节点的配电网图模型,绿色节点为配置D-PMU节点,黑色节点为未配置节点。本发明在IEEE 33节点模型中的6条线路上设置了单相接地故障,每处故障都设置了阻值为100Ω、500Ω、1000Ω的故障电阻。由于故障发生在线路不同位置处,故障时的故障电流会有所不同,因此,本发明在上述6条线路的总长的前10%、50%、后10%处分别设置了单相接地接地故障,以验证本文算法在线路全段的故障定位准确性。The present invention establishes an IEEE 33-node distribution network graph model on the graph database TigerGraph as shown in FIG. 6 , the green nodes are configured D-PMU nodes, and the black nodes are unconfigured nodes. In the present invention, single-phase grounding faults are set on 6 lines in the
本发明提出的故障定位方法是基于IPLM的深度优先遍历(IPLMDF),为了体现本发明的优越性,实施例中分别采用了深度优先遍历法(DF)、基于PLM的深度优先遍历法(PLMDF)以及基于布谷鸟算法的故障定位(CS)。DF、PLMDF、IPLMDF均是在图数据库TigerGraph上实现,是基于网络拓扑直接对故障区段定位的方法。在CS中,假设上述所有故障电流均能被D-PMU检测到,将取整函数修改为下式:The fault location method proposed by the present invention is based on the depth-first traversal (IPLMDF) of IPLM. In order to reflect the superiority of the present invention, the depth-first traversal method (DF) and the depth-first traversal method (PLMDF) based on PLM are adopted respectively in the embodiment. And fault localization (CS) based on the cuckoo algorithm. DF, PLMDF, and IPLMDF are all implemented on the graph database TigerGraph, and are methods for directly locating faulty sections based on network topology. In CS, assuming that all the above fault currents can be detected by D-PMU, modify the rounding function to the following formula:
上式产生的结果作为CS的定位依据。The result generated by the above formula is used as the positioning basis of CS.
表1所有D-PMU正常工作时故障定位结果;Table 1 Fault location results when all D-PMUs work normally;
表1Table 1
从上表的结果中可以看出前三个基于图计算的故障定位可以直接准确地定位出f1、f2、f3、f4和f6处发生的故障。当f5处发生故障时,前三种方法输出的结果为25,0,由于25节点为配电网图模型中线路末端顶点,且模型中不存在ID为0顶点,因此定位结果仍是准确的。From the results in the above table, it can be seen that the first three fault locations based on graph calculation can directly and accurately locate the faults at f1, f2, f3, f4 and f6. When a fault occurs at f5, the output results of the first three methods are 25,0. Since
CS与前三种方法相比,输出结果中只有f5处发生的故障是准确,其余输出结果中既包含了故障区段,也包含了正常区段,定位范围较大。这是由于CS只依赖与测点处的过流信号进行故障定位,输出的最小单位是在两个测点之间的区段。因此,在配置同样数量的D-PMU的情况下,本发明用到DF、PLMDF、IPLMDF的定位效果要优于CS。Compared with the first three methods, only the fault at f5 is accurate in the output results of CS, and the rest of the output results include both the fault section and the normal section, and the positioning range is larger. This is because CS only relies on the overcurrent signal at the measuring point for fault location, and the smallest unit of output is the section between two measuring points. Therefore, in the case of configuring the same number of D-PMUs, the positioning effect of the present invention using DF, PLMDF, and IPLMDF is better than that of CS.
为了验证本发明具有较强的鲁棒性,我们在f1-f6的50%的位置处设置阻值为1000Ω的A相接地故障,并令网络中部分D-PMU失去时间同步性。测试了上述四种方法在部分D-PMU失去时间同步性时的故障定位效果。In order to verify the strong robustness of the present invention, we set a phase A ground fault with a resistance value of 1000Ω at 50% of f 1 -f 6 and make some D-PMUs in the network lose time synchronization. The fault location effects of the above four methods are tested when some D-PMUs lose time synchronization.
表2部分D-PMU失去时间同步性时的定位结果;Table 2 Partial D-PMU positioning results when time synchronization is lost;
表2Table 2
在上述13种情况中,DF和PLMDF可以在前边9种情况下准确定位故障区段。在第10种情况中,DF结果不收敛,PLMDF陷入局部最优,IPLMDF定位结果不准确,CS扩大了定位的范围,图7为第10种情况下PLM和IPLM聚类结果比较。如图8(a)、图8(b)所示,由于节点6为图模型上的分支顶点,其下游顶点为7和26,在顶点7的D-PMU未失去同步性前,顶点7的故障图权重小于0,不会引起误判。顶点7的D-PMU未失去同步性后,估算得到的故障图权重大于0,此时,顶点6下游的两个顶点的故障图权重均大于0,DF的结果不收敛。顶点6和顶点7处于同一个社区,顶点26处于另一个社区,这导致在查询过程中PLMDF陷入了局部最优,输出的故障区段为7,8。IPLMDF中社区的规模更大,顶点6、顶点7和顶点26被合并到同一个社区中,输出结果为全局最优解,即28,29。CS与前三种方法相比,在第5种和第9种情况下的输出结果不收敛,在第3种情况下输出错误的结果。In the above 13 cases, DF and PLMDF can accurately locate the fault section in the first 9 cases. In the tenth case, the DF result does not converge, the PLMDF falls into a local optimum, the IPLMDF positioning result is inaccurate, and the CS expands the positioning range. Figure 7 shows the comparison of the PLM and IPLM clustering results in the tenth case. As shown in Figure 8(a) and Figure 8(b), since
当距离故障点最近的两个D-PMU失去同步性时,上述四种方法均无法定位出准确的故障区段。When the two D-PMUs closest to the fault point lose synchronization, none of the above four methods can locate the accurate fault section.
综上所述,在网络中部分D-PMU失去时间同步性时,IPLMDF定位效果最佳,DF和PLMDF的定位效果次之,CS的最差。To sum up, when some D-PMUs in the network lose time synchronization, IPLMDF has the best positioning effect, followed by DF and PLMDF, and CS is the worst.
为了验证本发明可以快速定位故障区段,实施例中对上述四种方法的计算速度进行了比较。由于上述四种方法的迭代次数主要受故障区段的位置影响,因此实施例选取了故障发生线路中点,故障电阻阻值1000Ω的结果作为代表。图9是正常情况下四种方法迭代次数比较,图10是部分D-PMU失去时间同步性时四种方法迭代次数比较。从图9和图10中可以得出结论:CS由于存在随机过程,性能不稳定,且迭代次数普遍在10次以上;DF对故障区段的拓扑位置最为敏感,当故障区段靠近电源节点时可以快速定位故障区段,若故障区段靠近线路末端时则需要较多次迭代才能定位故障区段;PLMDF与DF相比受故障区段拓扑位置影响较小,但在故障区段靠近线路末端的情况下仍然需要5次甚至以上的迭代才能定位故障;IPLMDF性能最为稳定,通常只需要2-3次迭代即可直接准确定位出故障区段。In order to verify that the present invention can quickly locate faulty sections, the calculation speeds of the above four methods are compared in the embodiment. Since the number of iterations of the above four methods is mainly affected by the location of the fault section, the embodiment selects the middle point of the fault occurrence line and the result of the fault resistance value of 1000Ω as a representative. Figure 9 is a comparison of the iteration times of the four methods under normal conditions, and Figure 10 is a comparison of the iteration times of the four methods when some D-PMUs lose time synchronization. From Figure 9 and Figure 10, it can be concluded that the performance of CS is unstable due to the existence of random processes, and the number of iterations is generally more than 10; DF is most sensitive to the topological position of the fault section, when the fault section is close to the power node The fault section can be quickly located. If the fault section is close to the end of the line, more iterations are required to locate the fault section. Compared with DF, PLMDF is less affected by the topological position of the fault section, but it can It still needs 5 or more iterations to locate the fault; IPLMDF has the most stable performance, and usually only needs 2-3 iterations to directly and accurately locate the fault section.
通过以上三个方面的比较,可以直观地发现,本发明一种配电网单相接地故障的定位方法无论是在鲁棒性上,还是在计算速度上都要优于其他三种方法。Through the comparison of the above three aspects, it can be intuitively found that the method for locating a single-phase-to-ground fault in a distribution network of the present invention is superior to the other three methods in terms of robustness and calculation speed.
通过上述方式,本发明一种配电网单相接地故障的定位方法,考虑了故障发生位置和故障电阻对定位结果的影响,同时在一定程度上减少了配电网模型中D-PMU的配置数量。首先,自配电网模型的首端节点开始间隔配置D-PMU,计算未配置D-PMU节点的三相电流序列以及故障发生时一个时间窗内各节点故障相电流的标准差,然后,在图数据库上依照配电网模型拓扑结构建立配电网图模型,每条边取得对应的权重后运行IPLM,最终,在IPLM运行结果的基础上自顶向下查询故障区段的第一个顶点,并根据该顶点与前一个顶点权重之比来确定准确的故障区段。本发明配电网单相接地故障定位方法,不受故障发生位置和故障电阻的影响,利用了图计算理论和图数据库平台,只在配电网模型中一半节点配置D-PMU的情况下实现了单相接地故障的快速准确定位,在部分D-PMU失去时间同步性时,仍能准确定位故障区段。Through the above method, the present invention provides a method for locating a single-phase ground fault in a distribution network, which takes into account the influence of the location of the fault and the fault resistance on the locating result, and at the same time reduces the configuration of the D-PMU in the distribution network model to a certain extent quantity. First, the head-end node of the self-distribution network model starts to configure D-PMU at intervals, and calculates the three-phase current sequence of nodes without D-PMU and the standard deviation of the fault phase current of each node within a time window when a fault occurs. Then, in The distribution network graph model is established on the graph database according to the topological structure of the distribution network model, and IPLM is run after each edge obtains the corresponding weight. Finally, the first vertex of the fault section is queried from top to bottom on the basis of the IPLM operation results. , and determine the exact fault segment according to the weight ratio of this vertex to the previous vertex. The single-phase grounding fault location method of the distribution network of the present invention is not affected by the location of the fault and the fault resistance, uses the graph calculation theory and the graph database platform, and is only realized when half of the nodes in the distribution network model are equipped with D-PMUs Fast and accurate positioning of single-phase ground faults is ensured, and when some D-PMUs lose time synchronization, the fault section can still be accurately located.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110648837.7A CN113341275B (en) | 2021-06-10 | 2021-06-10 | Method for positioning single-phase earth fault of power distribution network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110648837.7A CN113341275B (en) | 2021-06-10 | 2021-06-10 | Method for positioning single-phase earth fault of power distribution network |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113341275A CN113341275A (en) | 2021-09-03 |
| CN113341275B true CN113341275B (en) | 2023-03-14 |
Family
ID=77476394
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110648837.7A Active CN113341275B (en) | 2021-06-10 | 2021-06-10 | Method for positioning single-phase earth fault of power distribution network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113341275B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114778999B (en) * | 2022-03-15 | 2025-06-27 | 中国矿业大学 | A method for accurately locating faults in complex power grids considering wave velocity attenuation and time error |
| CN114881164B (en) * | 2022-05-24 | 2024-05-31 | 国网江苏省电力有限公司电力科学研究院 | A method and device for automatic verification of distribution network topology based on graph database |
| CN115144695B (en) * | 2022-06-29 | 2023-09-19 | 国网北京市电力公司 | Methods, devices, equipment and media for finding fault lines in small current grounding systems |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105021952A (en) * | 2015-06-09 | 2015-11-04 | 国家电网公司 | A large power grid fault locating method based on wide-area phase angle measurement information |
| CN106771868A (en) * | 2016-12-20 | 2017-05-31 | 北京交通大学 | A kind of flexible direct current distribution system fault locating method based on traveling wave |
| CN108254657A (en) * | 2018-03-28 | 2018-07-06 | 山东大学 | Power distribution network section with low-current ground faults localization method based on Study of Transient Energy |
| CN109254225A (en) * | 2018-08-13 | 2019-01-22 | 中国南方电网有限责任公司超高压输电公司南宁监控中心 | A kind of detection of electric network fault and faulty line recognition methods |
| CN109283431A (en) * | 2018-09-25 | 2019-01-29 | 南方电网科学研究院有限责任公司 | Power distribution network fault section positioning method based on limited PMU |
| CN109507526A (en) * | 2018-10-29 | 2019-03-22 | 山东大学 | Fault Diagnosis Method for Distribution Networks based on synchronous phasor measurement and covariance matrix theory |
| CN109884472A (en) * | 2019-03-25 | 2019-06-14 | 杭州电力设备制造有限公司 | Distribution network fault diagnosis method, device, device and computer-readable storage medium |
| CN110880757A (en) * | 2019-11-20 | 2020-03-13 | 东南大学 | Optimal partition-based distributed interval state estimation method for active power distribution network |
| CN111077409A (en) * | 2019-12-27 | 2020-04-28 | 国网山东省电力公司青岛供电公司 | Power distribution network complex fault positioning method based on D-PMU finite node information |
| CN111581768A (en) * | 2020-03-26 | 2020-08-25 | 东南大学 | A Distributed State Estimation Method of Distribution Network Based on Hybrid Measurement |
| CN112531663A (en) * | 2020-12-30 | 2021-03-19 | 合肥工业大学 | Network partitioning method for active power distribution network based on PMU measurement |
| CN112782528A (en) * | 2020-12-31 | 2021-05-11 | 西安理工大学 | Power distribution network fault section positioning method using PMU |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101626585B (en) * | 2008-07-10 | 2013-04-24 | 日电(中国)有限公司 | Network interference evaluation method, dynamic channel distribution method and equipment in wireless network |
| US10886736B2 (en) * | 2018-12-13 | 2021-01-05 | Mitsubishi Electric Research Laboratories, Inc. | Post-disaster topology detection and energy flow recovery in power distribution network |
-
2021
- 2021-06-10 CN CN202110648837.7A patent/CN113341275B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105021952A (en) * | 2015-06-09 | 2015-11-04 | 国家电网公司 | A large power grid fault locating method based on wide-area phase angle measurement information |
| CN106771868A (en) * | 2016-12-20 | 2017-05-31 | 北京交通大学 | A kind of flexible direct current distribution system fault locating method based on traveling wave |
| CN108254657A (en) * | 2018-03-28 | 2018-07-06 | 山东大学 | Power distribution network section with low-current ground faults localization method based on Study of Transient Energy |
| CN109254225A (en) * | 2018-08-13 | 2019-01-22 | 中国南方电网有限责任公司超高压输电公司南宁监控中心 | A kind of detection of electric network fault and faulty line recognition methods |
| CN109283431A (en) * | 2018-09-25 | 2019-01-29 | 南方电网科学研究院有限责任公司 | Power distribution network fault section positioning method based on limited PMU |
| CN109507526A (en) * | 2018-10-29 | 2019-03-22 | 山东大学 | Fault Diagnosis Method for Distribution Networks based on synchronous phasor measurement and covariance matrix theory |
| CN109884472A (en) * | 2019-03-25 | 2019-06-14 | 杭州电力设备制造有限公司 | Distribution network fault diagnosis method, device, device and computer-readable storage medium |
| CN110880757A (en) * | 2019-11-20 | 2020-03-13 | 东南大学 | Optimal partition-based distributed interval state estimation method for active power distribution network |
| CN111077409A (en) * | 2019-12-27 | 2020-04-28 | 国网山东省电力公司青岛供电公司 | Power distribution network complex fault positioning method based on D-PMU finite node information |
| CN111581768A (en) * | 2020-03-26 | 2020-08-25 | 东南大学 | A Distributed State Estimation Method of Distribution Network Based on Hybrid Measurement |
| CN112531663A (en) * | 2020-12-30 | 2021-03-19 | 合肥工业大学 | Network partitioning method for active power distribution network based on PMU measurement |
| CN112782528A (en) * | 2020-12-31 | 2021-05-11 | 西安理工大学 | Power distribution network fault section positioning method using PMU |
Non-Patent Citations (4)
| Title |
|---|
| Exploration of Graph Computing in Power System State Estimation;Chen Yuan 等;《2018 IEEE Power & Energy Society General Meeting (PESGM)》;20181223;全文 * |
| Low-Resolution Fault Localization Using Phasor Measurement Units with Community Detection;Mahdi Jamei 等;《2018 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm)》;20181227;全文 * |
| 一种基于图论剪枝算法的多分支配电网行波故障定位算法;贾惠彬等;《电测与仪表》;20170110(第01期);全文 * |
| 基于PMU信息的电网故障定位研究;周希伦 等;《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》;20150215;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113341275A (en) | 2021-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113341275B (en) | Method for positioning single-phase earth fault of power distribution network | |
| CN112510707B (en) | Power distribution station power impedance topological graph generation method and system | |
| CN109856503B (en) | A transmission line fault location method based on S transform and synchrophasor measurement | |
| CN110927519B (en) | Active power distribution network fault positioning method based on mu PMU measurement value | |
| CN106383296B (en) | An Improved Impedance-Type Active Distribution Network Fault Location Algorithm Based on Phasor Analysis | |
| CN112485598A (en) | Small current grounding fault positioning method combining waveform correlation and amplitude characteristics | |
| CN111308277B (en) | Power distribution network complex fault positioning method based on D-PMU finite node information | |
| CN111381128B (en) | Distribution network fault location method, device and server | |
| CN103954885B (en) | The single-ended alignment system of double line down and localization method based on distributed constant | |
| Dang et al. | Fast single-phase fault location method based on community graph depth-first traversal for distribution network | |
| CN110133451B (en) | Distribution network fault location method and system based on micro-PMU and dichotomy search | |
| CN111208449B (en) | A method and system for single-phase grounding fault location of mixed line | |
| CN109444665A (en) | The unrelated Fault Locating Method of power distribution network multiple-limb overhead transmission line parameter and system | |
| CN113075498B (en) | Power distribution network traveling wave fault positioning method and system based on residual error clustering | |
| CN115000947A (en) | Power distribution network topological structure and line parameter identification method based on intelligent electric meter measurement | |
| CN102891485B (en) | Three-phase decoupling load flow calculation method for weakly meshed distribution network based on sequence component method | |
| CN112103950B (en) | A Grid Partitioning Method Based on Improved GN Splitting Algorithm | |
| CN119619734B (en) | FSGATv2 and topology similarity-based power distribution network fault positioning method | |
| CN116184124A (en) | A method for identifying fault types in distribution network | |
| Yang et al. | Fault current constrained impedance-based method for high resistance ground fault location in distribution grid | |
| CN107832959B (en) | Voltage stability evaluation method considering load characteristics and power supply constraints | |
| CN118914747A (en) | Power transmission line fault positioning method and system based on Beidou time service and positioning technology | |
| CN109270347B (en) | A power grid observability analysis method for synchrophasor measurement | |
| CN106099915B (en) | Additional PMU Optimal Configuration Methods based on topological model and singular value decomposition | |
| CN114675135A (en) | Method and system for fault location of T-type line in distribution network based on model optimization |
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 | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20230727 Address after: Room B301, Gazing Valley, Entrepreneurship Research and Development Park, No. 69 Jinye Road, High tech Zone, Xi'an City, Shaanxi Province, 710076 Patentee after: Shaanxi Tianhong Bochen Electric Power Construction Co.,Ltd. Address before: 710048 Shaanxi province Xi'an Beilin District Jinhua Road No. 5 Patentee before: XI'AN University OF TECHNOLOGY |
|
| TR01 | Transfer of patent right |