1. Field of Invention
The present invention relates to a distribution power flow analysis system and method.
2. Related Art
Z-matrix may be reduced to a 3×3 matrix as shown in Formula (2) through Kron's Reduction:
Therefore, a relationship between voltages and currents from bus 0 to bus k may be expressed by Formula (3) through Z-matrix:
Formula (3) may be expressed by a general formula through a tolerance ΔV, as shown in Formula (4):
[ΔVabc]=[Zabc][Iabc] (4).
In the conventional distribution power flow analysis system and method, complex calculation must be used. In addition, when a new node or impendence is added, an impendence (Z) matrix changes greatly, and the calculation is also complex, resulting in reduce of the execution speed, a requirement for great memory space, and poor robustness.
Therefore, it is necessary to provide an innovative and progressive distribution power flow analysis system and method, to solve the above problem.
The present invention provides a distribution power flow analysis system, including a first relationship matrix establishing device, a second relationship matrix establishing device, and a distribution power flow analysis device. The first relationship matrix establishing device is used to establish a first relationship matrix, namely, a relationship between a node injection current matrix and a branch current matrix, in which the node injection current matrix is formed by a plurality of injection currents, and the branch current matrix is formed by a plurality of branch currents among nodes. The second relationship matrix establishing device is used to establish a second relationship matrix, namely, a relationship between a node mismatch matrix and the branch current matrix, in which the node mismatch matrix is formed by mismatch voltages between a reference node and other nodes. The distribution power flow analysis device is used to analyze distribution power flow according to the first relationship matrix and the second relationship matrix.
The present invention further provides a distribution power flow analysis method, which includes the following steps: (a) establishing a first relationship matrix, namely, a relationship between a node injection current matrix and a branch current matrix, in which the node injection current matrix is formed by a plurality of injection currents, and the branch current matrix is formed by a plurality of currents among nodes; (b) establishing a second relationship matrix, namely, a relationship between a node mismatch matrix and the branch current matrix, in which the node mismatch matrix is formed by mismatch voltages between a reference node and other nodes; and (c) analyzing distribution power flow according to the first relationship matrix and the second relationship matrix.
The system and method of the present invention are capable of analyzing the distribution power flow according to the first relationship matrix and the second relationship matrix, and are applicable to cases of adding a new node, impedance or parallel loop. Compared with other conventional methods, the system and method of the present invention have good robustness, fast execution speed and low memory space requirement in power flow calculation of a distribution power system.
By using an equivalent current injection method, for a current of node i, injection power and voltage of a kth iteration may indicate an equivalent current value thereof, as shown in Formula (5):
where Vik and Iik are respectively a voltage value and a current value of the kth iteration of node i.
A relationship between node injection currents I and branch currents B of
B
01
=I
1
+I
2
+I
3
+I
4
+I
5
B
12
=I
2
+I
3
+I
4
+I
5
B
23
=I
3
+I
4
B
34
=I
4
,B
45
=I
5 (6).
Therefore, the relationship between the branch currents B and the injection currents I may be expressed as Formula (7a) through the first relationship matrix BI:
Formula (7a) may also be expressed by a general formula, as shown in Formula (7b):
[B]=[BI][I] (7b),
where the node injection current matrix [I] is formed by a plurality of injection currents, and the branch current matrix [B] is formed by a plurality of branch currents among nodes. Therefore, [BI] is the first relationship matrix between the node injection current matrix [I] and the branch current matrix [B], and is an upper triangular matrix only containing 0 and 1.
Referring to Step S72, the second relationship matrix establishing device 120 is used to establish a second relationship matrix, namely, a relationship between a node mismatch matrix and the branch current matrix, in which the node mismatch matrix is formed by mismatch voltages between a reference node and other nodes.
Further referring to
V
1
=V
0
−B
01
Z
01
V
2
=V
1
−B
12
Z
12
V
3
=V
2
−B
23
Z
23 (8),
where Vi is a voltage of node i, and Zij is an impedance between nodes i and j. In Formula (8), V3 may be rewritten, as shown in Formula (9):
V
3
=V
0
−B
01
Z
1
−B
12
Z
12
−B
23
Z
23 (9).
According to Formula (9), the mismatch voltage of the node may be indicated by a function of the branch current and branch impedance. Therefore, the node mismatch matrix may be expressed as Formula (10a).
The tolerance ΔV in Formula (10a) may be expressed in a general formula, as shown in Formula (10b),
[ΔV]=[ZV−BC][B] (10b),
where the node mismatch matrix [ΔV] is formed by mismatch voltages between a reference node voltage V0 and voltages of other nodes, and [ZV−BC] is the second relationship matrix between the node mismatch matrix [ΔV] and the branch current matrix [B]. The second relationship matrix is the impedance among nodes, and is a lower triangular matrix.
Referring to Step S75, the distribution power flow analysis device 150 is used to analyze distribution power flow according to the first relationship matrix [BI] and the second relationship matrix [ZV−BC]. Therefore, Formula (11) can be obtained by substituting Formula (7b) into Formula (10b):
[ΔV]=[ZV−BC][BI][I]=[ZDPF][I] (11);
[ΔVk+1]=[ZDPF][Ik] (12).
The distribution power flow can be analyzed by solving Formula (5) and Formula (12).
Referring to
The second relationship matrix updating device 140 adds a new column and a new row to the second relationship matrix. A diagonal position of the newly added column and row is the new impedance, and the rest is 0, which is expressed in Formula (13b):
Formula (13b) may be expressed by a general formula, as shown in Formula (13c):
Formula (13d) can be obtained by substituting Formula (13a) into Formula (13c):
Referring to
where col.(k) is the value of the kth column (the 5th column in this embodiment) of the original first relationship matrix.
The second relationship matrix updating device 140 adds a new column and a new row to the second relationship matrix, and duplicates a value of a kth row (the 5th row in this embodiment) of the second relationship matrix to the newly added row. A diagonal position of the newly added column and row is the new impedance, and the rest is 0, which is expressed in Formula (14b):
Formula (14b) may be expressed by a general formula, as shown in Formula (14c):
where row.(k) is the value of the kth row (the 5th row in this embodiment) of the original second relationship matrix. Formula (14d) can be obtained by substituting Formula (14a) into Formula (14c):
Referring to
I′
4
=I
4
+B
new
I′
5
=I
5
−B
new (15a).
The first relationship matrix is updated as shown in Formula (15b):
Formula (15b) may be expressed as Formula (15c) by transposing Bnew:
Formula (15c) may be expressed by a general formula, as shown in Formula (15d):
where col.(i−j) is a difference of the value of the ith column (the 4th column in this embodiment) of the original first relationship matrix subtracted by the value of the jth column (the 5th column in this embodiment).
The second relationship matrix updating device 140 adds a new column and a new row to the second relationship matrix, and fills a difference of a value of an ith row of the second relationship matrix subtracted by a value of a jth row to the newly added row. A diagonal position of the newly added column and row is the new impedance, and the rest is 0. KVL is applied to the newly added loop, as shown in Formula (16a):
Z
23
B
23
+Z
34
B
34
+Z
new
B
new
−Z
25
B
25=0 (16a).
Formula (16a) and Formula (10a) are combined, and a node mismatch matrix may be expressed as Formula (16b):
Formula (16b) may be expressed by a general formula, as shown in Formula (16c):
where row.(i−j) is a difference of the value of the ith row (the 4th row in this embodiment) of the original second relationship matrix subtracted by the value of the jth row (the 5th row in this embodiment). Formula (16d) can be obtained by substituting Formula (15c) into Formula (16c):
The new row is “row i minus row j of Zorigin”, and fill Znew to the diagonal position, where
The iterative process can be implemented by using (5), (16d) and (16e) until a preset tolerance Δv is reached.
Referring to
Formula (17a) may be expressed by a general formula, as shown in Formula (17b):
where col.(i) is the value of the ith column (the second column in this embodiment) of the original first relationship matrix, and col.(k−j) is the difference of the value of the newly added first column of the first relationship matrix subtracted by the value of the jth column (the 5th column in this embodiment).
The second relationship matrix updating device 140 adds two new columns and two new rows to the second relationship matrix, duplicates a value of an ith row (the second row in this embodiment) of the second relationship matrix to the newly added first row, and fills a difference of a value of the newly added first row of the second relationship matrix subtracted by a value of a jth row (the 5th row in this embodiment) to the newly added second row. A diagonal position of the newly added first column and the newly added first row is the new impedance, and the rest is 0. KVL is applied to the newly added loop, as expressed in Formula (18a):
Z
new
B
new
−B
25
Z
25=0 (18a).
Formula (18a) and Formula (10a) are combined, and a node mismatch matrix may be expressed as Formula (18b):
Formula (18b) may be expressed by a general formula, as shown in Formula (18c):
where row.(i) is the value of the ith row (the second row in this embodiment) of the original second relationship matrix, and row.(k−j) is the difference of the value of the newly added first row of the second relationship matrix subtracted by the value of the ith row (the 5th row in this embodiment). Formula (18d) can be obtained by substituting Formula (17b) into Formula (18c):
The iterative process can be implemented by using (5), (18d) and (18e) until a preset tolerance Δv is reached.
Formula (18d) may be expressed as Formula (19):
The node mismatch matrix may be expressed as Formula (20) by using Kron's Reduction:
ΔV=[A−MTN−1M][I] (20).
The system and method of the present invention are capable of analyzing distribution power flow by using the first relationship matrix and the second relationship matrix, and are applicable to cases of adding a new node or impedance. Compared with other conventional methods, the system and method of the present invention have good robustness, fast execution speed and low memory space requirement in power flow calculation of a distribution power system.
The above embodiments are merely for illustrating the principles and efficacies of the present invention, but are not intended to limit the present invention. Therefore, modifications and variations to the above embodiments made by persons skilled in the art do not depart from the spirit of the present invention. The scope of the present invention is subject to the scope of the claims listed below.