Articulo 1 PDF
Articulo 1 PDF
Article
A Graph-Based Power Flow Method for Balanced
Distribution Systems
Tao Shen 1,2,† , Yanjun Li 1, *,† ID
and Ji Xiang 3,† ID
1 School of Information and Electrical Engineering, Zhejiang University City College, Hangzhou 310030,
China; [email protected]
2 College of Control Science and Engineering, Zhejiang University, Hangzhou 310027, China
3 College of Electrical Engineering, Zhejiang University, Hangzhou 310027, China; [email protected]
* Correspondence: [email protected]
† These authors contributed equally to this work.
Abstract: A power flow method based on graph theory is presented for three-phase balanced
distribution systems. The graph theory is used to describe the power network and facilitate the
derivation of the relationship between bus Currents and the bus Voltage Bias from the feeder bus
(the CVB equation). A distinctive feature of the CVB equation is its unified form for both radial
and meshed networks. The method requires neither a tricky numbering and layering of nodes nor
breaking meshes and loop-analysis, which are both necessary in previous works for meshed networks.
The convergence of the proposed method is proven using the Banach fixed-point theorem.
Keywords: distribution system; power flow; graph theory; radial network; meshed network;
backward/forward sweep
1. Introduction
Power flow calculation is the most fundamental numerical problem for power system analysis.
A fast and general power flow method will be required by distribution systems as the development of
smart grid and must be as efficient as possible in the future [1]. Methods on transmission networks
are well developed such as Gauss–Seidel, Newton–Raphson [2] and Fast-Decoupled method [3].
Distribution networks have some special characteristics such as radial/weakly meshed structure,
high R/X ratios of impedances, large number of branches and nodes, etc. These features may cause
problems when the algorithms for power flow of transmission networks are applied to distribution
systems [4]. Power flow calculations may be executed every five minutes on traditional networks,
but as for microgrids, it may not meets the requirements. Microgrids have the natures of uncertainty
and volatility, so they need real-time monitoring to guarantee their reliability, and require a faster
power flow method. Power flow method is also a very important tool for improving the reliability
and efficiency of fault analysis [5], and it can also provide evidence for protection for power
distribution systems.
Backward/forward sweep (BFS) method ,which is intended to solve unbalanced radial
distribution networks, has a very good performance, where all nodes are labeled into different layers
according to distances from the feeder node. The branch currents are calculated in the backward
sweep, while the bus voltage is then calculated in the forward sweep [6]. However, the BFS method
cannot be applied directly to networks even with weakly meshed structure because the distances
from the feeder node are not unique in the presence of loops. Shirmohammadi et al. have proposed
a compensation-based power flow method for solving weakly meshed networks by using the multi-port
compensation technique and basic formulations of Kirchhoff’s laws [7]. Teng has proposed a direct
method for both radial and meshed networks by developing the bus-injection to branch-current
(BIBC) matrix and the branch-current to bus-voltage (BCBV) matrix. However, when solving meshed
networks, the method has to apply some preliminary operations, including Kron’s Reduction and
modifying the two matrices by loop-analysis [8]. Wu and Zhang developed a power flow method for
dealing with meshed network based on compensation and loop-analysis [9]. These methods all need
extra processing for meshed networks.
This paper proposes a graph-based power flow method for distribution systems, which has
a unified formulation for both radial and meshed networks. Compared with previous works,
the method uses graph theory to directly build the CVB equation, a map to the bus currents from the
bus voltage bias from the feeder node. It requires neither a tricky numbering and layering of nodes nor
breaking meshes and loop-analysis, which are both necessary in previous works for meshed networks.
Although graph theory has been used for power systems in many aspects [10–12], there are a few in
power flow calculation. The most relevant is the work published more recently [13], where graph
theory is used for building the Z-bus matrix, and the results obtained are only for radial distribution
systems. The other contribution of this paper is that the convergence of the graph-based method is
addressed by using the Banach fixed-point theorem, associated with the convergence rate of a clear
physical meaning.
Notations: The following notations are used in this paper:
• CVB: The equation between the bus currents and the bus voltage bias from the feeder bus.
• BFS: The backward/forward sweep method.
• BIBC, BCBV: The bus-injection to branch-current matrix and the branch-current to bus-voltage
matrix in [8].
• R, C denote the rational, complex number sets.
• ∗ denotes the conjugate operator of complex number.
• I, U: The inject current and voltage vectors of all nodes including the feeder node.
• Is , Us : The inject current and voltage vectors of all nodes except the feeder node.
• UL , IL : The voltage drop, impedance, current vectors of all branches.
• Zl , Ss : Matrices of all impedance of branches/complex power of nodes except feeder node.
• H, Hs : The incidence matrix with/without the row of feeder node.
• Ud : The voltage difference vector between the feeder node and other nodes.
• Φ, Zd : The mapping between Ud and Is .
• 1n : A n−order vector with all elements being 1.
2. Problem Formulation
+1, the branch current L j starts at node i
hij = −1, the branch current L j ends at node i .
2
iL 4
0, otherwise
L4 iL 2
The incidence matrices of networks in Figure 1, for instance, are given as
L2
3 iL1 1 i1
i2
L1 L2 L3 L 5 L5 L1 L2 L3 L4 L5
i
L1 1 1 1 1 1 1 1 0 0
i3 2 iL 30 −14 0 , 0
−1 0 1 1
H= .
3L3−1 0 0 −1 0 0 −1 0
4 0 0 −1 0 0 −1 0 −1
i4
Specially, m = n − 1 for radial networks. It is rational to assume that the considered network is
connected, which implies that the rank of H is n − 1.
2
iL 4
2 L4 iL 2
iL 2 i2
L2
3 1
i2
L2 iL1 i1
iL 5 L5
i3 3 1
iL1 i1 L1
L1 i3 iL 3 4
iL 3 4 i4 L3
L3 i4
(a) (b)
Figure 1. A typical radial network and meshed network: (a) radial structure (n = 4, m = 3); and
(b) meshed structure (n = 4, m = 5).
2 i2
2.2. Basic Formulations of Kirchhoff’s Laws iL 2
The power flow is related to the steady-state behavior i3 3of the power systems, L2where all the voltages
iL1 1 i1
and currents are sinusoidal signals with the same frequency. For a three-phase balanced distribution
system, each signal can be represented by a complex value. Without L1loss of generality, all the electrical
variables are complex numbers in this paper if not specifically stated. iL 3 4 i4
In this sense, the current, voltage and complex power of node k are L3denoted by complex
numbers ik , uk and sk , respectively. The positive direction of ik injects to node k, as illustrated in
Figure 1. The concatenated current and voltage vectors are denoted by I = [i1 , i2 , · · · , in ] T ∈ Cn and
U = [u1 , u2 , · · · , un ] T ∈ Cn . Let f be the number of feeder node. The feeding power of distribution
networks can be given by s f = u f i∗f , where ∗ denotes the conjugate operator.
Let i Lk , u Lk and z Lk be the current, voltage and impedance of branch k, respectively. The positive
directions of i Lk and u Lk follow that of hij , i.e., from the node with lower number to the node with larger
T T
number. Similarly IL = i L1 , i L2 , · · · , i Lm ∈ Cm and UL = u L1 , u L2 , · · · , u Lm ∈ Cm . The diagonal
impedance matrix is defined by ZL = diag z L1 , z L2 , · · · , z Lm ∈ Cm×m .
Clearly one has
∗ ∗
s1 s2 s∗n T
I= , , . . ., ∗ , (1)
u1∗ u2∗ un
and
UL = ZL IL . (2)
The Kirchhoff’s Current and Voltage Laws can be conveniently described by use of incidence
matrix, respectively,
Energies 2018, 11, 511 4 of 11
I = H IL , UL = H T U, (3)
and they are valid for both radial and meshed networks. Combining with Equation (2), it follows that
I = HZL−1 H T U. (4)
Correspondingly, let Hs ∈ R(n−1)×m be the matrix removing the f -th row of H, with which
Is = Hs IL . (6)
L1 L2 L3 L1 L2 L3 L4 L5
1 1 1 1 1 1 1 0 0
, (7)
Hs = 2 0 −1 0 0 −1 0 1 1 .
4 0 0 −1 0 0 −1 0 −1
Denote by Ud ∈ Cn−1 the voltage differences between the feeder node and other nodes, namely,
Ud = Us − V0 1n−1 . (8)
Throughout of this paper, notation 1n denotes a n−order vector with all elements being 1. Due to
HT 1 n = 0, the following can be obtained,
UL = H T U = H T U − V0 H T 1n = HsT Ud . (9)
3. Main Results
the backward and forward processes can be described, based on graph theory, simply without
layering as:
" #T
(k) (k) s1∗ s∗f −1 s∗f +1 s∗n
(s1) Us → Is = ,..., ∗ , ∗ ,... ∗ ,
u1∗ u f −1 u f +1 un
(k) (k)
(s2) IL = Hs−1 Is ,
(k) (k)
(s3) UL = ZL IL ,
(k) (k)
(s4) Ud = Hs−T UL ,
( k +1) (k)
(s5) Us = V0 1n−1 + Ud ,
( k +1) (k)
(s6) repeat (s1) to (s5) until kUs − Us k < e,
where superscript (k) denotes the values at the k-th iteration and e is the convergence tolerance.
Here, Φ = Hs ZL−1 HsT is nothing but the Laplacian matrix weighted by branch admittances of
G removing the row and column corresponding to the feeder node. For a connected network, Φ is
always nonsingular no matter if Hs is a square matrix. Define
Zd := Φ−1 . (11)
Equation (10) builds a bijective mapping between Is and Ud , by which the function of the steps
(s2)–(s4) in BFS method can be compactly rewritten as
(k) (k)
Ud = Zd Is , (12)
which is nothing but the CVB equation. Equations (10) and (12) look significant by themselves since
they mean that the injected currents of nodes could be directly related not to node powers but to the
node voltage bias from the feeder node.
Now, our uniform graph-based method now can be delivered as follows:
" #T
(k) (k) s1∗ s∗f −1 s∗f +1 s∗n
(g1) Us → Is = ,..., ∗ , ∗ ,... ∗ ,
u1∗ u f −1 u f +1 un
(k) (k)
(g2) Ud = Zd Is ,
( k +1) (k)
(g3) Us = V0 1n−1 + Ud ,
( k +1) (k)
(g4) Repeat (g1) to (g3) until kUs − Us k < e.
(0)
The initial value Us is generally set as V0 1n−1 . Note that the inversion of Φ, i.e., Zd does not
need to calculate during the iteration. The flowchart of graph-based method is shown in Figure 2.
Energies 2018, 11, 511 6 of 11
Ss , Hs , ZL , ϵ
! "T
(k) s1∗ s∗f −1 s∗f +1 s∗
Is = , . . . , , ∗ , . . . n∗
u1∗ u f −1 u f +1
∗ un
( k +1)
Us = V0 1n−1 + Zd Is(k)
Us
(0)
Theorem 1. Algorithm (g1)–(g4) is stable for all initial value Us satisfying
(0)
kUs − Vs k < R, (13)
where
1
R = v − k Zd Ss∗ k. (14)
v
Energies 2018, 11, 511 7 of 11
Proof. The proposed algorithm is a mapping from Us to itself which essentially is a kind of fixed-point
iteration and can be rewritten as
" #T
si∗
( k +1) (k)
Us =g Us = V0 1n−1 − Zd (k)∗
. (15)
ui N\f
Based onBanach fixed-point theorem, the fixed-point Vs satisfying Vs = g(Vs ) exists and is unique
if g(Us ) is a contraction mapping on Us . It can be seen that
" #T
( k +1) (k)
∗ 1 1
kUs − Vs k = k g Us
− g(Vs )k =
Zd Ss
v ∗ − (k)∗
si ui N\f
"
#T
(16)
(k)∗
∗
ui
− v∗si
≤ L(k) kUs(k) − Vs k,
≤ k Zd Ss k
(k)∗ ∗
ui vsi N \ f
k Zd Ss∗ k (k)
where L(k) = with |vs u(k) | = mini∈N \ f |vsi ui |.
| vs u(k) |
(k) (k) (k)
Due to kUs − Vs k < R, one has |ui − vsi | < R and |ui | > |vsi | − R for all i ∈ N \ f .
Subsequently |vs u(k) | > (|vsi | − R)|vsi | for one i ∈ N \ f . Furthermore, (|vsi | − R)|vsi | ≥ v(v − R) for
all i ∈ N \ f . Therefore, due to Equation (13),
k Zd Ss∗ k
L(k) < ≤ 1, (17)
v(v − R)
( k +1) (0)
which implies that kUs − Vs k < R. It together with the initial condition kUs − Vs k < R shows
that f (Us ) is a contraction mapping on Us .
Remark 1. The condition in Equation (14) implies that v > R > 0 and v2 > k Zd Ss∗ k.
Remark 2. A smaller k Zd Ss∗ k will lead to a larger R. This implies roughly that a strong network (a small ratio
between transmitted power and the branch admittance, si /(z Li )−1 ) allows a large permissible region for direct
approaches of power flow. Meanwhile a small k Zd Ss∗ k means a small Lipschitz constant L(k) and subsequently
a fast convergence.
Ud = (BCBV)(BIBC) Is ,
needs: (1) an arbitrary numbering nodes and edges; (2) directly writing matrices H, Hs , and ZL ;
and (3) calculating Zd = Hs−T ZL Hs−1 .
In the meshed network, the direct approach needs an extra drawing the corresponding radial
version of the meshed network, adding two steps for every extra branch that makes the network
meshed to build matrices (BCBV) and (BIBC), and a Kron’s reduction.
Thus, the complexity of the direct approach would increase largely as the degree of mesh increases,
while our method has the same procedure for the meshed network as that for the radial network.
In fact, our method can apply to any meshed network rather than to the weakly-meshed network.
Moreover, our method has a clearer physical meaning because no network reduction has to be made.
The above contents are summarized in Table 1 for a clear insight.
Radial Networks
Direct Approach Proposed Method
Numbering Sequential Arbitrary
Matrices BIBC, BCBV Hs , ZL
Operation Zd = I NV ( BIBC × BCBV ) Zd = Hs−T ZL Hs−1
Meshed Networks
Direct Approach Proposed Method
Meshes Need Recognition No Need
Numbering Sequential for radial structure and place meshes to the end Arbitrary
Matrices Modified BIBC, BCBV Hs , ZL
Operation Modifying BIBC, BCBV and Applying Kron’s Reduction Zd = ( Hs ZL−1 HsT )−1
4. Test Results
The proposed method is tested and compared on both radial and meshed networks on MATLAB.
Table 2 shows the distribution systems of 14-, 33-, 69-, 84-, 119-, 135-, and 874-node radial networks
and their meshed editions, which are from papers [16–20].
Four methods are tested. Method I is the Gauss–Seidel Method, Method II is the Newton–Raphson
method, Method III is the direct approach proposed in [8] and Method IV is our Graph-based method.
The convergence tolerance is set at 0.001 p.u.
Tables 3 and 4 show the performance of these four methods for radial and meshed networks,
where “Time” and “ITs” denote the iteration time and iteration numbers, respectively, and “L” denotes
the approximate Lipschitz constant, which describes the convergence rate of Method IV. According to
the tables, Method I, the Gauss–Seidel method, costs much more time and iteration steps than the
three other methods, since it has a very low convergence rate so that even if it does not need much
time at each iteration, it still costs much time. Method II, the Newton–Raphson method, needs fewer
iteration steps than other methods since it follows the direction of gradient descent at every step.
Energies 2018, 11, 511 9 of 11
However, the Newton–Raphson method still costs more time than Method III and IV, because it
requires calculating the Jacobian matrix and its inversion matrix at each iteration, which costs majority
of time. Therefore, the time consumption of Newton–Raphson is more related to the number of nodes
compared with Method III and IV.
As for Method III and Method IV, the results show the direct approach is approximately equivalent
to the proposed method, which is consistent with the theoretical analysis. However, the advantage of
our method is the process to get the CVB equation. As mentioned above, the direct approach requires
loop-analysis and Kron’s Reduction for meshes networks, while our method does not need any extra
processing. Table 5 provides a comparison of time spent on getting the CVB equation, and the result
shows that the proposed method takes less time than the direct approach to get the CVB equation.
Moreover, for the example of the 14-node network, we only increase the number of mesh, and the
results show that the time consumptions of proposed method are almost the same when the number
of meshes increased, unlike the increasing time consumptions of direct approach, mainly due to the
Kron’s Reduction. Note that, in the case that the node numbering, the radial structure drawing and the
meshed branch identifying have been made in advance, it can be seen that the graph-based method is
much better if the time spent on these pretreatments are contained.
Limitations
The proposed method has shown obvious advantage compared to previous works.
However, it has some limitations. First, as for the impact of distributed generators, DGs can be
considered as PQ nodes with constant active/reactive powers as well as PV nodes with constant
active power and voltage magnitude. If DGs are considered as PQ nodes, our method can deal with
it. Alternatively, if DGs are considered as PV nodes, our method is not applicable. Besides, as for
the applicability to unbalanced networks, we have a preliminary outline to extend our method for
unbalanced networks, but the work still needs deliberate discussion and proof. Finally, the impact of
FACTS devices is not discussed in this paper since FACTS devices cannot be simply modeled as PQ
nodes and our method aims at distribution networks with PQ nodes.
Energies 2018, 11, 511 10 of 11
5. Conclusions
This paper has proposed a graph-based power flow method for three-phase balanced distribution
systems with PQ nodes. For the nature of distribution systems such as radial/weakly meshed structure,
and large number of branches and nodes, traditional power flow method may fail or cannot meet
the requirement. With regards to this, we have made some progress. The proposed method provides
a uniform formulation for both radial and meshed networks. The uniform formulation is much simpler
than before, requiring neither a tricky numbering and layering of nodes nor breaking meshes and
loop-analysis, which are both necessary in previous works for meshed networks. The convergence of
the proposed method has been shown by using the Banach fixed-point theorem. The comparison test
results show the efficiency of our competitive method.
Acknowledgments: The authors would like to thank anonymous reviewers for their valuable comments and
insights. This research was supported by the National key research and development program of China
(2016YFB0900605), the National Natural Science Foundation of China(61573314, 61773339), the science and
technology project of SGCC(5211SX16000J).
Author Contributions: Tao Shen conducted analysis and simulations. Yanjun Li provided guidance, conception
and gave final approval of the version to be submitted. Ji Xiang provided guidance, conception and plan.
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Balamurugan, K.; Srinivasan, D. Review of power flow studies on distribution network with distributed
generation. In Proceedings of the 2011 IEEE Ninth International Conference on Power Electronics and Drive
Systems (PEDS), Singapore, 5–8 December 2011; pp. 411–417.
2. Nguyen, H.L. Newton-Raphson Method in Complex Form. IEEE Trans. Power Syst. 1997, doi:10.1109/TDC.1996.547577.
3. Zimmerman, R.D.; Chiang, H.D. Fast decoupled power flow for unbalanced radial distribution systems.
IEEE Trans. Power Syst. 1995, 10, 2045–2052.
4. Luo, G.X.; Semlyen, A. Efficient load flow for large weakly meshed networks. IEEE Trans. Power Syst. 1990,
5, 1309–1316.
5. Ou, T.C. A novel unsymmetrical faults analysis for microgrid distribution systems. Int. J. Electr. Power
Energy Syst. 2012, 43, 1017–1024.
6. Kersting, W.H. A Method to Teach the Design and Operation of a Distribution System. IEEE Trans. Power
Appar. Syst. 1984, 7, 1945–1952.
Energies 2018, 11, 511 11 of 11
7. Shirmohammadi, D.; Hong, H.W.; Semlyen, A.; Luo, G.X. A compensation-based power flow method for
weakly meshed distribution and transmission networks. IEEE Trans. Power Syst. 1988, 3, 753–762.
8. Teng, J.H. A direct approach for distribution system load flow solutions. IEEE Trans. Power Deliv. 2003,
18, 882–887.
9. Wu, W.C.; Zhang, B.M. A three-phase power flow algorithm for distribution system power flow based on
loop-analysis method. Int. J. Electr. Power Energy Syst. 2008, 30, 8–15.
10. De, M.; Goswami, S.K. A Direct and Simplified Approach to Power-flow Tracing and Loss Allocation Using
Graph Theory. Electr. Power Compon. Syst. 2010, 38, 241–259.
11. Mehta, D.; Ravindran, A.; Joshi, B.; Kamalasadan, S. Graph theory based online optimal power flow control
of Power Grid with distributed Flexible AC Transmission Systems (D-FACTS) Devices. In Proceedings of the
North American Power Symposium, Charlotte, NC, USA, 4–6 October 2015; pp. 1–6.
12. Pan, L.; Liu, J.; Cheng, P.; Wang, D. Fast Recognition of Power Flow Transferring Under Change of Power
Network Topology. Power Syst. Technol. 2011, 35, 118–121.
13. Hsieh, T.Y.; Chen, T.H.; Yang, N.C. Matrix decompositions-based approach to Z-bus matrix building process
for radial distribution systems. Int. J. Electr. Power Energy Syst. 2017, 89, 62–68.
14. Yang, N.C. Three-phase power flow calculations by direct ZLOOP method for microgrids with electric
vehicle charging demands. IET Gener. Transm. Distrib. 2013, 7, 1002–1010.
15. Yang, N.C. Three-phase power flow calculations using direct Z BUS method for large-scale unbalanced
distribution networks. IET Gener. Transm. Distrib. 2016, 10, 1048–1055.
16. Baran, M.E.; Wu, F.F. Network reconfiguration in distribution systems for loss reduction and load balancing.
IEEE Trans. Power Deliv. 1989, 4, 1401–1407.
17. Savier, J.S.; Das, D. Impact of Network Reconfiguration on Loss Allocation of Radial Distribution Systems.
IEEE Trans. Power Deliv. 2007, 22, 2473–2480.
18. Su, C.T.; Lee, C.S. Network Reconfiguration of Distribution Systems Using Improved Mixed-Integer Hybrid
Differential Evolution. IEEE Power Eng. Rev. 1989, 22, 66, doi:10.1109/MPER.2002.4311941.
19. Civanlar, S.; Grainger, J.J.; Yin, H.; Lee, S.S.H. Distribution feeder reconfiguration for loss reduction.
IEEE Trans. Power Deliv. 1988, 3, 1217–1223.
20. Zhang, D.; Fu, Z.; Zhang, L. An improved TS algorithm for loss-minimum reconfiguration in large-scale
distribution systems. Electr. Power Syst. Res. 2007, 77, 685–694.
c 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
(CC BY) license (http://creativecommons.org/licenses/by/4.0/).