STATE ESTIMATION METHOD FOR MULTI-STAGE VOLTAGE SAG

20230305050 · 2023-09-28

Assignee

Inventors

Cpc classification

International classification

Abstract

A state estimation method for a multi-stage voltage sag comprises analyzing characteristics of multi-stage voltage sags due to different causes. A method for determining the cause of sudden change time of an amplitude of the multi-stage voltage sag is based on a jump characteristic of the sag amplitude. Calculation methods of a relay protection action matrix and a faulty line set are utilized to preliminarily obtain a faulty line set based on the fault clearing time of a relay protection device and other characteristics to effectively reduce a calculation amount of sag state estimation. Based on a substantive characteristic that different events cause a change of system impedance, a method for inferring a cause of an event in each stage of the multi-stage voltage sag is used to improve the accuracy of the state estimation. The state estimation method reduces the difficulty in applying to the multi-stage voltage sag.

Claims

1. A state estimation method for a multi-stage voltage sag, comprising the following steps: step 1: analyzing causes of a multi-stage voltage sag, determining characteristics of multi-stage voltage sags due to different causes, and identifying causes of voltage sags at different sudden change points accordingly; step 2: building an action matrix of a relay protection device based on a specified fault clearing time at different positions of a power grid; step 3: obtaining one or more possible faulty lines through solving to form a faulty line set to reduce a calculation amount of state estimation of the multi-stage voltage sag; step 4: calculating system impedance matrices before and after a fault, an impedance matrix in the case of a relay protection action on one side of the faulty line, and an impedance matrix when a distributed generation (DG) device is disconnected from the power grid; step 5: using an optimization model to infer a specific faulty line from the faulty line set obtained in step 3, and inferring a specific event of each stage of the multi-stage voltage sag based on a voltage sag type; and step 6: estimating duration of each sag stage based on the voltage sag type and a time length between adjacent sudden voltage sag change points, and estimating a sag amplitude based on an event inference result in step 5.

2. The state estimation method for a multi-stage voltage sag according to claim 1, wherein the causes and corresponding characteristics of the multi-stage voltage sag are as follows: cause I: during a short circuit fault, one or more DG devices in a power system trip, resulting in a loss of a power supply of the power grid; and a corresponding characteristic is that a voltage amplitude on a right side of a corresponding sudden voltage sag change point when the voltage sag occurs is smaller than that on a left side; and cause II: during the short circuit fault, relay protection devices on two sides of the faulty line trip at different time, resulting in a change of a topology of the power grid; and a corresponding characteristic is that the voltage amplitude on the right side of the corresponding sudden voltage sag change point when the voltage sag occurs is greater than that on the left side.

3. The state estimation method for a multi-stage voltage sag according to claim 2, wherein the identifying causes of voltage sags at different sudden change points specifically comprises: assuming that for a waveform segment containing the voltage sag, a total of s + 1 sudden voltage sag change points are detected by using a waveform point detection method, which are respectively expressed as .sup.MP.sub.0,.sup.MP.sub.1,...,.sup.MP.sub.x,...,.sup.MP.sub.s and correspond to s + 1 sudden change time points t.sub.0,t.sub.1,...,t.sub.x,...,t.sub.s, wherein these sudden voltage sag change points divide a waveform of the voltage sag into .sup.s segments; and voltages of the different waveform segments are respectively expressed as u.sub.1,u.sub.2,...,u.sub.x,...,u.sub.s, and an .sup.m th voltage .sup.u.sub.m is calculated as follows: u m = .Math. j = f f * t m 1 + 1 / f j = f f * t m x j / t m t m 1 + 1 / f * f f ; j 1 , k wherein ƒƒ represents a sampling rate in units of piece/second; ƒ represents a power-frequency current frequency in units of Hz; .sup.x.sub.j represents a j .sup.th value in an effective value sequence; m ∈ [1,s] ; and k represents a total quantity of sampling points; and forming a binary vector W according to the above formula: W = w 1 , w 2 , L , w x , L , w s , x 1 , s w x = 0 , if u x < u x 1 or x = 1 1 , if u x < u x 1 wherein a value of the element .sup.w.sub.x in the vector W is 0 or 1; when the value of the .sup.w.sub.x is 0, it indicates that a voltage on a right side of .sup.MP.sub.x-1 corresponding to a time point .sup.t.sub.x-1 is less than that on a left side, which means that the multi-stage voltage sag is formed due to the cause I at this time point, wherein x > 1; on the contrary, when the value of the .sup.w.sub.x is 1, it means that the multi-stage voltage sag is formed due to the cause II at the time point .sup.t.sub.x-1, wherein x > 1.

4. The state estimation method for a multi-stage voltage sag according to claim 3, wherein the building an action matrix of a relay protection device in step 2 specifically comprises: step 2.1: building a basic action matrix, in other words, a universal matrix describing a fault removal behavior of the relay protection device: Γ = 0 γ 12 γ 13 L γ 1 n γ 21 0 γ 23 L γ 2 n γ 31 γ 32 0 O M M M O 0 γ n 1 n γ n 1 γ n 2 L γ n n 1 0 wherein n represents a quantity of buses in the system, .sup.γ.sub.ij and .sup.γ.sub.ji respectively represent fault clearing time of protection devices close to i -side and j -side buses on a line .sup.l.sub.ij, i, j ∈ [1, n];i ≠ j, and .sup.γ.sub.ij,.sup.γ.sub.ji = 0 represents that there is no physical connection between the i -side bus and the j -side bus; step 2.2: improving the universal matrix and decoupling an improved universal matrix into two matrices: Γ Ν ˜ = 0 0 0 0 0 γ 21 0 0 0 0 γ 31 γ 32 0 0 0 M M O 0 0 γ n 1 γ n 2 L γ n n 1 0 Γ Δ = 0 γ 12 γ 13 L γ 1 n 0 0 γ 23 L γ 2 n 0 0 0 O M 0 0 0 0 γ n 1 n 0 0 0 0 0 wherein the upper and lower triangular matrices respectively represent fault clearing time of protective devices of a same type on two terminal buses of the line; a lower triangular element in the lower triangular matrix represents the fault clearing time of the protection device of the i -side bus of the line .sup.l.sub.ij, and .sup.γ.sub.ij.sup.=.sup.0 and .sup.i.sup.>.sup.j represent that there is no physical connection between the i -side bus and the .sup.j -side bus; and an upper triangular element in the upper triangular matrix represents a parameter on the other side of the line; and to represent two-stage protection, two other similar matrices are constructed to represent parameters of backup protection: Λ Ν ˜ = 0 0 0 0 0 λ 21 0 0 0 0 λ 31 λ 32 0 0 0 M M O 0 0 λ n 1 λ n 2 L λ n n 1 0 Λ Δ = 0 λ 12 λ 13 L λ 1 n 0 0 λ 23 L λ 2 n 0 0 0 O M 0 0 0 0 λ n 1 n 0 0 0 0 0 step 2.3: determining a cooperation relationship of the protection devices, wherein for the two-stage protection, there are four cooperation relationships between main protection and the backup protection in the line, and the improved protection action matrix is expressed as the following cooperation relationships: Γ Ν ˜ + Γ Δ = Θ I Γ Ν ˜ + Λ Δ = Θ II Λ Ν ˜ + Λ Δ = Θ III Λ Ν ˜ + Γ Δ = Θ IV wherein Θ.sub.I represents that the main protection on the two sides of the faulty line cooperates with each other to remove the fault; Θ.sub.II represents that the backup protection on the two sides of the faulty line cooperates with each other to remove the fault; Θ.sub.III and Θ.sub.IV represent that the main protection on one side of the faulty line cooperates with the backup protection on the other side of the faulty line to remove the fault; and step 2.4: correcting fault clearing time in the action matrix, wherein the fault clearing time is corrected as follows: γ i j = γ i j , s e t + δ 1 , i j λ i j = λ i j , s e t + δ 2 , i j ; i , j 1 , n ; i j wherein .sup.γij,set and .sup.ηij,set respectively represent specified values of the main protection and the backup protection; .sup.δ.sub.1,ij and .sup.δ.sub.2,.sub.ij respectively represent deviations between actual fault clearing time and the specified values; and the deviations are random numbers within [0, .sup.δ], wherein δ represents a maximum error value during testing or historical operation of relay protection devices of a same model.

5. The state estimation method for a multi-stage voltage sag according to claim 4, wherein step 3 specifically comprises: step 3.1: defining the following four voltage sag types based on the sag cause identification in step 1: type I: single-stage rectangular sag; type II: multi-stage voltage sag due to the cause I; type III: multi-stage voltage sag due to the cause II; and type IV: multi-stage voltage sag due to the cause I and the cause II; and step 3.2: obtaining the faulty line set for different types of sags, wherein for the type I and the type II: assuming that time points at which first and last sudden voltage sag change points of the waveform of the voltage sag are detected in step 1 are .sup.t.sub.0 and .sup.t.sub.s respectively, a time length from occurrence of the fault to removal of the fault in the system is .sup.t.sub.s-.sup.t.sub.0 ; and if two elements of symmetric positions of a main diagonal line of a matrix in the four matrices in step 2.3 are equal to t.sub.s-t.sub.0 within an error threshold, lines corresponding to these two elements are possible faulty lines, and therefore, a solution model of the faulty line set LF is as follows: L F = L, l i j , L s .t . L F .Math. L N θ i j t s t 0 + θ j i t s t 0 max δ 1 , i j , δ 1 , j i + max δ 2 , i j , δ 2 , j i 2 δ i , j 1 , n ; i j wherein .sup.θ.sub.ij represents an element in an i .sup.th row and a j .sup.th column in the matrices Θ I to Θ IV , and LN represents a set of lines in an intersection of sag domains of a bus of a monitoring device; and for the type III and the type IV: assuming that the time point at which the first sudden voltage sag change point of the waveform of the voltage sag detected in step 1 is t.sub.0, and time points of sudden voltage sag change points of two corresponding relay protection actions are t.sub.x-1 and t.sub.s respectively, a time length from the occurrence of the fault to the protection actions of the relay protection devices on the two sides of the faulty line are t.sub.x-1-t.sub.0 and t.sub.s-t.sub.0 respectively; and in this case, the solution model of the faulty line set is as follows: L F = L, l i j , L s .t . L F .Math. L N θ i j t s t 0 + θ j i t s t 0 max δ 1 , i j , δ 1 , j i + max δ 2 , i j , δ 2 , j i 2 δ i , j 1 , n ; i j ; s 2 ; w x = 1 . .

6. The state estimation method for a multi-stage voltage sag according to claim 5, wherein step 4 specifically comprises: step 4.1: calculating the system impedance matrix before the fault, wherein a system admittance matrix Y.sup.SE is expressed as a sum of a line admittance matrix Y L S E and a generator admittance matrix, Y G S E as shown below: Y S E = Y G S E + Y L S E assuming there are .sup.n buses in the power system, the line admittance matrix Y L S E is calculated as follows based on a line topology relationship and an impedance parameter: Y L S E = α 11 s e α 12 s e L α 1 n s e α 21 s e α 22 s e L α 2 n s e M M O M α n 1 s e α n 2 s e L α n m s e wherein se = 1,2,0 represents a positive sequence, a negative sequence, and a zero sequence, .sup.α.sub.ij represents mutual admittance of nodes i and j, α.sub.ii represents self-admittance of the node .sup.i, and i ≠ j; i, j ∈ [1,n]; the matrix Y G S E is a diagonal matrix, and an element value on a diagonal line is equal to self-admittance of a corresponding generator, as shown below: Y G S E = β 11 s e 0 L 0 0 β 22 s e L 0 M M O M 0 0 L β n m s e wherein .sup.β.sub.ii = 0 represents that there is no generator for the bus; and the system impedance matrix is calculated as follows: Z N S E = Y L S E 1 = Z 11 s e Z 12 s e L Z 1 n s e Z 21 s e Z 22 s e L Z 2 n s e M M O M Z n 1 s e Z n 2 s e L Z n m s e step 4.2: calculating the system impedance matrix after the short circuit fault, wherein mutual impedance Z m f s e between a fault position ƒ .sub.l and a to-be-solved node .sup.m after the circuit short fault, and self-impedance Z f f s e of the fault position ƒ .sub.l are respectively obtained through solving according to the following two formulas: Z m f s e = 1 p Z m i s e + p Z m j s e = g m f 1 i , j , p Z f f s e = 1 p 2 Z i i s e + p 2 Z j j s e + 2 p 1 p Z i j s e + p 1 p z i j s e = g j j 1 i , j , p wherein Z m i s e , Z m j s e , Z i j s e , Z i i s e , and Z j j s e are elements in the matrix Z N S E ; and z i j s e represents impedance of the line .sup.l.sub.ij, wherein the impedance is further expressed as functions g.sub.mf1(i,j,p) and g.sub.ff1(i,j,p), and the two functions respectively represent mutual impedance between the fault position and the target node .sup.m and self-impedance of the fault position when the short circuit fault occurs at the position ƒ.sub.l having a distance P away from the i -side of the line l.sub.ij; step 4.3: calculating the impedance matrix in the case of the relay protection action on one side of the faulty line, wherein assuming that after the short circuit fault occurs on the line .sup.l.sub.ij, a j -side protection device acts to cut off the line on the corresponding side, and the system impedance is calculated as follows: first, a branch with impedance of .sup.-z.sub.ij is added between the i -side bus and the j -side bus in the original system, and in this case, the system impedance matrix Z A T S E is corrected according to the following formula: Z A T S E = Z N S E Δ Z Δ Z T z i j s e + Z i i s e + Z j j s e 2 Z i j s e = Z 11 , AT s e Z 12 , AT s e L Z 1 n , AT s e Z 21 , AT s e Z 22 , AT s e L Z 2 n , AT s e M M O M Z n 1 , AT s e Z n 2 , AT s e L Z n n , AT s e wherein ΔZ represents a process quantity, which is calculated according to the following formula: Δ Z = Z 1 j s e Z 1 i s e Z 2 j s e Z 2 i s e L Z n j s e Z n i s e T then a branch with impedance of .sup.pz.sub.ij is added to the i -side bus, and in this case, the system impedance matrix is further corrected as Z A R P S E according to the following formula: Z A R P S E = Z 11 , A T s e Z 12 , A T s e L Z 1 n , A T s e Z 1 i , A T s e Z 21 , A T s e Z 22 , A T s e L Z 2 n , A T s e Z 2 i , A T s e M M O M M Z n 1 , A T s e Z n 2 , A T s e L Z n n , A T s e Z n i , A T s e Z i 1 , A T s e Z i 2 , A T s e L Z i n , A T s e Z i i , A T s e + p z i j compared with the Z A T S E , the Z A R P S E adds one line and one column to represent the mutual impedance Z m f s e between the fault position ƒ .sub.l and each target bus .sup.m or the self-impedance Z f f s e of the fault position; and the impedance is further expressed as functions g .sub.mf 2 (i,j,p,d) and g .sub.ff 2 (i, j, p, d), wherein the two functions respectively represent mutual impedance between the fault position and the target node .sup.m and self-impedance of the fault position when a d -side protection device on the line acts to cut off a part of the line after the short circuit fault occurs at the position ƒ.sub.l far from the terminal P of the node i on the line .sup.l.sub.ij, as shown in the following formulas: Z m f s e = Z i m , AT s e = g m f 2 i , j , p , d ; d = i or j Z f f s e = Z i i , AT s e + p z i j = g f f 2 i , j , p , d ; d = i or j step 4.4: calculating the impedance matrix when the DG device is disconnected from the power grid, wherein assuming that DG devices of all buses in a bus set h are disconnected from the power grid, the diagonal matrix first needs to be corrected as follows: Y G S E = β 11 s e 0 L 0 0 β 22 s e L 0 M M O M 0 0 L β n n s e ; β i i s e = 0 ; i h the system impedance matrix before the fault is calculated according to the above formula, and finally system impedance when the DG device is disconnected from the power grid in the case of the short circuit fault is calculated; and the impedance is further expressed as functions g.sub.mf3 (i, j, p, h) and g.sub.ff3 (i, j, p, h), wherein the two functions respectively represent mutual impedance between the fault position and the target node .sup.m and self-impedance of the fault position after the short circuit fault occurs at the position ƒ.sub.l far from the terminal P of the node i on the line l.sub.ij and the DG devices of all the buses in the bus set h are disconnected from the power grid, as shown in the following two formulas: Z m f s e = g m f 3 i , j , p , h Z f f s e = g f f 3 i , j , p , h . .

7. The state estimation method for a multi-stage voltage sag according to claim 6, wherein in step 5, the following four optimization models are available based on the sag types: (1) for the type I, the following optimization model is used to infer the faulty line and its short circuit condition, in other words, i, j, and P ; max - f g m f 1 i , j , p , g f f 1 i , j , p u 1 s .t . i , j 1 , n ; i j , wherein ƒ (.Math.) represents a short-circuit calculation function; (2) for the type II, the following optimization model is used to infer the faulty line and its short circuit condition, a time point and a sequence of disconnecting the DG device from the power grid, in other words, i, j, p, and .sup.h.sub.q ; max - f g m f 1 i , j , p , g f f 1 i , j , p u 1 + .Math. x = 2 s .Math. q = 1 s 1 f g m f 3 i , j , p , h q , g f f 3 i , j , p , h q u x s .t . i , j 1 , n ; i j ; h 1 .Math. h 2 .Math. .Math. .Math. h s -1 wherein .sup.s represents a quantity of stages of the multi-stage voltage sag; and .sup.h.sub.q represents a set of DG devices disconnected from the power grid during a q-stage voltage sag; (3) for the type III, the following optimization model is used to infer the faulty line and its short circuit condition, and a tripping time point and sequence of the relay protection device, in other words, i, j, P, and d ; max - f g m f 1 i , j , p , g f f 1 i , j , p u 1 + f g m f 2 i , j , p , d , g f f 2 i , j , p , d u 2 s .t . i , j 1 , n ; i j (4) for the type IV, the following optimization model is used to infer the faulty line and its short circuit condition, the tripping time point and sequence of the relay protection device, and the time point and the sequence of disconnecting the DG device from the power grid, in other words, i, j, p, d, and .sup.h.sub.q; max - f g m f 1 i , j , p , g f f 1 i , j , p u 1 + .Math. x = 2 o .Math. q = 1 o 1 f g m f 3 i , j , p , h q , g f f 3 i , j , p , h q u x + f g m f 2 i , j , p , d , g f f 2 i , j , p , d u o + 1 + .Math. x = o + 2 s .Math. q = o s 2 f g m f 3 i , j , p , h q , g f f 3 i , j , p , h q u x s .t . i , j 1 , n ; i j ; h 1 .Math. h 2 .Math. L .Math. h s -2 wherein .sup.o represents a time point at which a relay protection device on a side of the faulty line first acts to trip; and .sup.u.sub.o+1 represents an amplitude of an o+1-stage voltage sag.

8. The state estimation method for a multi-stage voltage sag according to claim 7, wherein in step 6, the following four voltage sag state estimation methods are available based on the sag types: 1) for the type I, a sag amplitude of any unmonitored bus .sup.m is estimated according to the following formula: f g m f 1 i , j , p , g f f 1 i , j , p 2) for the type II, a sag amplitude of any unmonitored bus .sup.m is estimated according to the following formula: u 1 = f g m f 1 i , j , p , g f f 1 i , j , p u x = f g m f 3 i , j , p , h x 1 , g f f 3 i , j , p , h x 1 3) for the type III, a sag amplitude of any unmonitored bus .sup.m is estimated according to the following formula: u 1 = f g m f 1 i , j , p , g f f 1 i , j , p u 2 = f g m f 2 i , j , p , d , g f f 2 i , j , p , d 4) for the type IV, a sag amplitude of any unmonitored bus .sup.m is estimated according to the following formula: u 1 = f g m f 1 i , j , p , g f f 1 i , j , p u x = f g m f 3 i , j , p , h x 1 , g f f 3 i , j , p , h x 1 u y = f g m f 2 i , j , p , d , g f f 2 i , j , p , d u z = f g m f 3 i , j , p , h z 1 , g f f 3 i , j , p , h z 1 x 2 , y 1 ; z y + 1 , s 2 wherein .sup.y and z respectively represent y.sup.th and z.sup.th stages of the multi-stage voltage sag.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0094] FIG. 1 shows a short-circuit calculation model of a power system;

[0095] FIG. 2 shows a short-circuit calculation model of a power system after a faulty line is cut off on one side according to the present disclosure; and

[0096] FIG. 3 is a process of building a state estimation model of a multi-stage voltage sag according to the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0097] The present disclosure will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0098] The technical solution of the present disclosure is mainly divided into six steps: identifying causes of a multi-stage voltage sag, building an action matrix of a relay protection device, obtaining a faulty line set by solving equations, obtaining an impedance matrix by solving equations, and inferring a specific event at each stage of the multi-stage voltage sag and a state estimation method for the multi-stage voltage sag. Details of each step and its substeps are as follows:

[0099] 1. The causes of the multi-stage voltage sag are identified.

There Are Two Causes of the Multi-Stage Voltage Sag

[0100] Cause 1: During a short circuit fault, one or more DG device are in a power system trip, resulting in a loss of a power supply from a power grid.

[0101] Cause 2: During the short circuit fault, relay protection devices on two sides of a faulty line trip at different times, resulting in a change of the topology of the power grid.

Characteristics of Multi-Stage Voltage Sags Due to Different Causes

[0102] Cause 1 means that after the fault, the system further loses the power supply, so a monitored voltage sag amplitude is further reduced. The corresponding characteristic is that a voltage amplitude on a right side of the corresponding sudden voltage sag change point when cause 1 occurs is smaller than that on a left side.

[0103] On the contrary, cause 2 means that after the fault occurs, a protection device on one side of the line partially isolates the fault from the system, so the monitored voltage sag amplitude increases. The corresponding characteristic is that a voltage amplitude on the right side of the corresponding sudden voltage sag change point when the cause 2 occurs is greater than that on the left side.

Cause Identification of Voltage Sags at Different Sudden Change Points

[0104] It is assumed that for a waveform segment containing the voltage sag, a total of s+1 sudden voltage sag change points are detected by using a waveform point detection method, which are respectively expressed as MP.sub.0,MP.sub.1,...,MP.sub.x,...,MP.sub.s and correspond to s +1 sudden change time points t.sub.0, t.sub.1,..., t.sub.x,..., t.sub.s . These sudden voltage sag change points divide a waveform of the voltage sag into .sup.S segments. Voltages of different waveform segments are respectively expressed as .sup.u.sub.1, .sup.u.sub.2, .. .,.sup.u.sub.x,.. ., u.sub.s, and an m (m ∈ [1, s]) .sup.th voltage u.sub.m can be calculated as follows:

[00059]um=.Math.j=ff*tm1+1/fj=ff*tmxj/tmtm1+1/f*ff;j1,k­­­(7)

[0105] In the above formula, ff represents a sampling rate in units of piece/second, f represents a power-frequency current frequency in units of Hz, and .sup.x.sub.j represents a j .sup.th value in an effective value sequence. Binary vector W shown in formula (8) can be formed according to the formula (7):

[00060]W=w1,w2,L,wx,L,ws,x1,swx=0,if ux<ux1or x=11,if ux>ux1­­­(8)

[0106] The value of the element w.sub.x in the vector W is 0 or 1. When the value is 0, it indicates that a voltage on a right side of MP.sub.x-1 corresponding to time point t.sub.x.sub.-1 (x > 1) is less than that on a left side, which means that the multi-stage voltage sag is formed due to cause 1 at this time point. On the contrary, when the value is 1, it means that the multi-stage voltage sag is formed due to cause 2 at the time point t.sub.x-1 (x > 1).

[0107] 2. Action matrix of the relay protection device.

[0108] Actual tripping time of the relay protection device in a sag event can be roughly obtained based on multi-stage voltage sag causes at time points corresponding to different sudden voltage sag change points. In order to use the information, a method for building the action matrix of the relay protection device based on specified fault clearing time at different positions of the power grid is proposed in step 2.

Basic Action Matrix

[0109] There are different types of relay protection, including low-voltage protection, over-current protection, and distance protection. Each type of protection has its own trigger rule and fault clearing time to clear the fault. The present disclosure provides a universal matrix for describing a fault removal behavior of the relay protection device, as shown in the following formula:

[00061]Γ=0γ12γ13Lγ1nγ210γ23Lγ2nγ31γ320OMMMO0γn1nγn1γn2Lγnn10­­­(9)

[0110] Where n represents a quantity of buses in the system, .sup.γ.sub.ij and .sup.γ.sub.ji (i, j ∈ [1, n]; i ≠ j) respectively represent fault clearing time of protection devices close to i -side and j -side buses on line l.sub.ij in units of ms, and .sup.γ.sub.ij, .sup.γ.sub.ji= 0 represents that there is no physical connection between the i -side bus and the j -side bus. The fault clearing time is a specified value of the relay protection device recorded in the software of a power distribution automation system and other power enterprises.

The Action Matrix is Improved

[0111] In practical application, staged protection is widely used in a power distribution system, such as two-stage protection. The two-stage protection means that two types of protection are provided on one line, namely, main protection and backup protection. The two types of protection have different fault clearing time, and the main protection has shorter fault clearing time. When the short circuit fault occurs, the main protection is triggered first, and the backup protection works when the main protection cannot be triggered. In general, the fault can be removed by the main protection independently, and sometimes may be removed by the backup protection independently or by both the main protection and the backup protection. Considering that it is difficult for the basic action matrix defined in the formula (9) to present a cooperation relationship of the staged protection, the present disclosure improves the basic action matrix and decouples an improved basic action matrix into two matrices, as shown in equations (10) and (11):

[00062]ΓN˜ = 00000γ210000γ31γ32000MMO00γn1γn2Lγnn10­­­(10)

[00063]ΓΔ=0γ12γ13Lγ1n00γ23Lγ2n000OM0000γn1n00000­­­(11)

[0112] In the above formulas, the upper and lower triangular matrices respectively represent fault clearing time of protection devices of the same type on two terminal buses of the line. The lower triangular element in the lower triangular matrix represents the fault clearing time of the protection device of the i -side bus of the line l.sub.ij, and .sup.γ.sub.ij = 0(i > j) represents that there is no physical connection between the i -side bus and the j -side bus. The upper triangular element in the upper triangular matrix represents a parameter on the other side of the line, which has a similar meaning. The formulas (10) and (11) represent parameters of the main protection. To represent the two-stage protection, two other similar matrices are constructed to represent parameters of the backup protection, as shown in formulas (12) and (13):

[00064]ΛN˜=00000λ210000λ31λ32000MMO00λn1λn2Lλnn10­­­(12)

[00065]ΛΔ=0λ12λ13Lλ1n00λ23Lλ2n000OM0000λn1n00000­­­(13)

Cooperation Relationship of the Protection Devices

[0113] For the widely used two-stage protection, there are four cooperation relationships between the main protection and the backup protection in the line. The improved protection action matrix can conveniently express these cooperation relationships as follows:

[00066]ΓN˜ + ΓΔ=ΘI­­­(14)

[00067]ΓN˜ + ΛΔ=ΘII­­­(15)

[00068]ΛN˜ + ΛΔ=ΘIII­­­(16)

[00069]ΛN˜ + ΓΔ=ΘIV­­­(17)

[0114] Relationship 1: As shown in the formula (14), Θ.sub.I represents that the main protection on two sides of the faulty line cooperates with each other to remove the fault.

[0115] Relationship 2: As shown in the formula (15), Θ.sub.II represents that the backup protection on the two sides of the faulty line cooperates with each other to remove the fault.

[0116] Relationship ¾: As shown in the formulas (16) and (17), Θ.sub.III and Θ.sub.IV represent that the main protection on one side of the faulty line cooperates with the backup protection on the other side of the faulty line to remove the fault.

Fault Clearing Time in the Action Matrix is Corrected

[0117] The fault clearing time used in the formulas (9) to (17) is a specified value obtained from a power company. Theoretically, the fault clearing time of the main protection or the backup protection on the two sides of the line should be the same and equal to the specified value. However, in actual operation, due to error, the elements in these matrices may deviate from specified values, so necessary corrections need to be made, as shown in formula (18):

[00070]γij=γij,set+δ1,ijλij=λij,set+δ2,ij;i,j1,n;ij­­­(18)

[0118] In the above formula, .sup.γ.sub.ij,.sub.set and .sup.λ.sub.ij,.sub.set respectively represent specified values of the main protection and the backup protection. .sup.δ.sub.1,ij and .sup.δ.sub.2,.sub.ij respectively represent deviations between actual fault clearing time and the specified values. The deviations are random numbers within [0, δ ], where δ represents a maximum error value during the testing or historical operation of relay protection devices of the same model.

[0119] 3. The faulty line set is obtained by solving equations.

[0120] One or more possible faulty lines can be obtained by solving based on the sag cause identification in step 1 and the content of the protection action matrix in step 2 to reduce the calculation amount of the state estimation of the multi-stage voltage sag.

Sag Type

[0121] The following four voltage sag types are defined based on the sag cause identification in step 1: [0122] Type 1: single-stage rectangular sag, [0123] Type 2: multi-stage voltage sag due to the cause 1, [0124] Type 3: multi-stage voltage sag due to the cause 2, and [0125] Type 4: multi-stage voltage sag due to the cause 1 and the cause 2.

The Faulty Line Set is Obtained for Different Types of Sags by Solving Equations

[0126] Type 1 and 2: In these two types of voltage sag events, the relay protection devices on the two sides of the faulty line act simultaneously at a time point of the last sudden voltage sag change to remove the fault. Assuming that time points at which first and last sudden voltage sag change points of the waveform of the voltage sag are detected in step 1 are t.sub.0 and t.sub.s respectively, the time length from the occurrence of the fault to removal of the fault in the system is t.sub.s-t.sub.0 . If two elements of symmetric positions of the main diagonal line of a matrix in formulas (14) to (17) are equal to t.sub.s-t.sub.0 within an error threshold, lines corresponding to these two elements are possible faulty lines. Therefore, a solution model of the faulty line set LF is as follows:

[00071]LF=L,lij,Ls.t.LF.Math.LNθijtst0+θjitst0maxδ1,ij,δ1,ji+maxδ2,ij,δ2,ji2δi,j1,n;ij­­­(19)

[0127] Where .sup.θ.sub.ij represents an element in an i .sup.th row and a j .sup.th column in the matrices Θ.sub.I to Θ.sub.IV and LN represents a set of lines in the intersection of sag domains of a bus of a monitoring device.

[0128] Type 3 and 4: In these two types of voltage sag events, the relay protection devices on the two sides of the faulty line cannot act simultaneously to remove the fault. It is assumed that the time point at which the first sudden voltage sag change point of the waveform of the voltage sag is detected in step 1 and time points of sudden voltage sag change points of two corresponding relay protection actions are t.sub.0, t.sub.x-1, and t.sub.s respectively. The time length from the occurrence of the fault to the protection actions of the relay protection devices on the two sides of the faulty line are t.sub.x-1-t.sub.0 and t.sub.s -t.sub.0, respectively. In this case, the solution model of the faulty line set is as follows:

[00072]LF=L,lij,Ls.t.LF.Math.LNθijtst0+θjitst0maxδ1,ij,δ1,ji+maxδ2,ij,δ2,ji2δi,j1,n;ij­­­(20)

[0129] 4. The impedance matrix is obtained by solving equations.

[0130] Whether caused by cause 1 or cause 2, the multi-stage voltage sag is essentially a change of a system impedance matrix due to an event during the fault.

System Impedance Matrix Before the Fault

[0131] System admittance matrix Y.sup.SE may be expressed as the sum of line admittance matrix

[00073]YLSE

and generator admittance matrix

[00074]YGSE

, as shown below:

[00075]YSE=YGSE+YLSE­­­(21)

[0132] Assuming there are .sup.n buses in the power system, the line admittance matrix

[00076]YLSE

can be calculated as follows based on a line topology relationship and an impedance parameter:

[00077]YLSE=α11seα12seLα1nseα21seα22seLα2nseMMOMαn1seαn2seLαnnse­­­(22)

[0133] In the above formula, se=1,2,0 represents a positive sequence, a negative sequence, and a zero sequence, α .sub.ij (i ≠ j; i, j ∈ [1,n]) represents mutual admittance of nodes i and j, and α.sub.ii (i ∈ [1, n]) represents self-admittance of the node i.

[0134] The matrix

[00078]YGSE

is a diagonal matrix, and an element value on a diagonal line is equal to self-admittance of a corresponding generator, as shown below:

[00079]YGSE=β11se0L00β22seL0MMOM00Lβnnse­­­(23)

where β.sub.ii = 0(i ∈ [1, n]) represents that there is no generator for the bus.

[0135] The system impedance matrix can be calculated as follows according to the formula (21):

[00080]ZNSE=YGSE1=Z11seZ12seLZ1nseZ21seZ22seLZ2nseMMOMZn1seZn2seLZnnse­­­(24)

System Impedance Matrix After the Short Circuit Fault

[0136] When the short circuit fault occurs in the system, system impedance can be calculated using a short-circuit calculation model of a complex power system shown in FIG. 1. Mutual impedance

[00081]Zmfse

between fault position f.sub.l and to-be-solved node .sup.m after the circuit short fault and self-impedance

[00082]Zffse

of the fault position f.sub.l can be respectively obtained by solving the following two formulas:

[00083]Zmfse=1pZmise+pZmjse=gmf1i,j,p­­­(25)

[00084]Zffse=1p2Ziise+p2Zjjse+2p1pZijse+p1pzijse=gff1i,j,p­­­(26)

[0137] Where

[00085]Zmise,Zmjse,Zijse,Ziise, and Zjjse

are elements in the matrix

[00086]ZNSE; and zijse

represents impedance of the line .sup.l.sub.ij, where the impedance is further expressed as functions g.sub.mf1 (i, j,p) and g .sub.ff1 (i, j,p), and the two functions respectively represent mutual impedance between the fault position and the target node .sup.m and self-impedance of the fault position when the short circuit fault occurs at the position .sup.f.sub.l far from terminal P of the node i on the line .sup.l.sub.ij .

Impedance Matrix in the Case of a Relay Protection Action on One Side of the Faulty Line

[0138] Assuming that after the short circuit fault occurs on the line l.sub.ij, a j -side protection device acts to cut off the line on the corresponding side, and the system impedance can be calculated by using the model shown in FIG. 2.

[0139] First, a branch with impedance of -z.sub.ij is added between the i -side bus and the j -side bus in the original system. In this case, the system impedance matrix

[00087]ZATSE

can be corrected according to the following formula:

[00088]ZATSE=ZNSEΔZΔZTzijse+Ziise+Zjjse2Zijse=Z11,ATseZ12,ATseLZ1n,ATseZ21,ATseZ22,ATseLZ2n,ATseMMOMZn1,ATseZn2,ATseLZnn,ATse­­­(27)

[0140] Where ΔZ can be calculated according to the following formula:

[00089]ΔZ=Z1jseZ1iseZ2jseZ2ise.Math.ZnjseZniseT­­­(28)

[0141] Then, a branch with impedance of .sup.pz.sub.ij is added to the i -side bus. In this case, the system impedance matrix is further corrected as

[00090]ZARPSE

according to the following formula:

[00091]ZARPSE=Z11,ATseZ12,ATseLZ1n,ATseZ1i,ATseZ21,ATseZ22,ATseLZ2n,ATseZ2i,ATseMMOMMZn1,ATseZn2,ATseLZnn,ATseZni,ATseZi1,ATseZi2,ATseLZin,ATseZii,ATse+pzij­­­(29)

[0142] Compared with the

[00092]ZATSE,ZARPSE

adds one line and one column to represent the mutual impedance

[00093]Zmfse

between the fault position f and each target bus .sup.m or the self-impedance

[00094]Zffse

of the fault position. The impedance is further expressed as functions g .sub.mf 2 (i, j, p, d) and g.sub.ff 2 (i, j, p, d), where the two functions respectively represent mutual impedance between the fault position and the target node .sup.m and self-impedance of the fault position when a d -side protection device on the line acts to cut off a part of the line after the short circuit fault occurs at the position f far from the terminal P of the node i on the line l.sub.ij, as shown in the following formulas:

[00095]Zmfse=Zim,ATse=gmf2i,j,p,d;d=iorj­­­(30)

and

[00096]Zffse=Zii,ATse+pzij=gff2i,j,p,d;d=iorj­­­(31)

Impedance Matrix When the DG Device is Disconnected From the Power Grid

[0143] When the short circuit fault occurs, DG devices on some nodes may be disconnected from the power grid due to insufficient low-voltage ride through capabilities. Assuming that DG devices of all buses in bus set h are disconnected from the power grid, the matrix shown in the formula (23) first needs to be corrected as follows:

[00097]YGSE=β11se0L00β22seL0MMOM00Lβnnse;βiise=0;ih­­­(32)

[0144] Then, the system impedance matrix before the fault is calculated by substituting the above formula into the formula (24). Finally, system impedance when the DG device is disconnected from the power grid in the case of the short circuit fault is calculated according to the formulas (1) to (26). The impedance is further expressed as functions g .sub.mf 3 (i, j, p, h) and g .sub.ff.sub.3 (i, j, p,h), where the two functions respectively represent mutual impedance between the fault position and the target node .sup.m and self-impedance of the fault position after the short circuit fault occurs at the position f far from the terminal P of the node i on the line l.sub.ij, and the DG devices of all the buses in the bus set h are disconnected from the power grid, as shown in the following formulas:

[00098]Zmfse=gmf3i,j,p,h­­­(33)

and

[00099]Zffse=gff3i,j,p,h­­­(34)

[0145] 5. The specific event at each stage of the multi-stage voltage sag is inferred.

[0146] After the system impedance matrices under different situations are obtained by solving equations in step 4, an optimization model in step 5 may be used to infer a specific faulty line from the faulty line set obtained in step 3, and the specific event of each stage of the multi-stage voltage sag is inferred. There are also the following four inference models based on the sag types:

Type 1

[0147] For this type of sag, the following optimization model may be used to infer the faulty line and its short circuit condition (in other words, i, j, and p ):

[00100]max-fgmf1i,j,p,gff1i,j,pu1s.t.i,j1,n;ij­­­(35)

[0148] Where f ( ) represents a short-circuit calculation function, and calculation formulas of different types of short circuit faults are shown in the formulas (2) to (6).

Type 2

[0149] For this type of sag, the following optimization model may be used to infer the faulty line and its short circuit condition, and a time point and a sequence of disconnecting the DG device from the power grid (in other words, i, j, p, and h.sub.q).sub.:

[00101]max -fgmf1i,j,p,gff1i,j,pu1+.Math.x=2s.Math.q=1s1fgmf3i,j,p,hq,gff3i,j,p,hquxs.t.i,j1,n;ij;h1.Math.h2.Math..Math..Math.hs1­­­(36)

Type 3

[0150] For this type of sag, the following optimization model may be used to infer the faulty line and its short circuit condition, and a tripping time point and sequence of the relay protection device (in other words, i, j, p, and d ):

[00102]max -fgmf1i,j,p,gff1i,j,pu1+fgmf2i,j,p,d,gff2i,j,p,du2s.t.i,j1,n;ij­­­(37)

Type 4

[0151] It is assumed that an o .sup.th sudden voltage sag change point detected in a waveform segment of the voltage sag corresponds to a single-side protection trip. For this type of sag, the following optimization model may be used to infer the faulty line and its short circuit condition, the tripping time point and sequence of the relay protection device, and the time point and the sequence of the DG device disconnected from the power grid (in other words, i, j, p, d, and .sup.hq ):

[00103]max -fgmf1i,j,p,gff1i,j,pu1+.Math.x=2o.Math.q=1o1fgmf3i,j,p,hq,gff3i,j,p,hqux+fgmf2i,j,p,d,gff2i,j,p,duo+1+.Math.x=o+2s.Math.h=0s2fgmf3i,j,p,hq,gff3i,j,p,hquxs.t.i,j1,n;ij;h1.Math.h2.Math..Math..Math.hs2­­­(38)

[0152] It should be noted that the formulas (35) to (38) are optimization models for a single monitoring device, which can be obtained through solving by using an intelligent algorithm such as a quantum genetic algorithm. When there are a plurality of monitoring devices, an objective function in the optimization model is the sum of respective objectives functions of the monitoring devices.

[0153] 6. The state estimation method for the multi-stage voltage sag is inferred.

[0154] In voltage sag state estimation, a sag amplitude and duration of an unmonitored bus must be estimated. Duration of each sag stage can be estimated based on the time length between adjacent sudden voltage sag change points. The sag amplitude is estimated based on an event inference result in step 5. Similarly, there may be the following four voltage sag state estimation methods based on the voltage sag types:

Type 1

[0155] For this type of sag, a sag amplitude of any unmonitored bus .sup.m may be estimated according to the following formula:

[00104]fgmf1i,j,p,gff1i,j,p­­­(39)

Type 2

[0156] For this type of sag, a sag amplitude of any unmonitored bus .sup.m may be estimated according to the following formula:

[00105]u1=fgmf1i,j,p,gff1i,j,pux=fgmf3i,j,p,hx1,gff3i,j,p,hx1­­­(40)

Type 3

[0157] For this type of sag, a sag amplitude of any unmonitored bus .sup.m may be estimated according to the following formula:

[00106]u1=fgmf1i,j,p,gff1i,j,pu2=fgmf2i,j,p,d,gff2i,j,p,d­­­(41)

Type 4

[0158] For this type of sag, a sag amplitude of any unmonitored bus .sup.m may be estimated according to the following formula:

[00107]u1=fgmf1i,j,p,gff1i,j,pux=fgmf3i,j,p,hx1,gff3i,j,p,hx1uy=fgmf2i,j,p,d,gff2i,j,p,duz=fgmf3i,j,p,hz1,gff3i,j,p,hz1x2,y1;zy+1,s2­­­(42)

[0159] The method in the present disclosure analyzes characteristics of multi-stage voltage sags due to different causes, considers sudden change time of each stage and fault clearing time of a relay protection device in the monitoring data of the multi-stage voltage sag, infers a specific event that may occur in each stage of the multi-stage voltage sag, and finally obtains a multi-stage state estimation method that meets project requirements.