A General Fast Power Flow Algorithm For Transmission and Distribution Networks
A General Fast Power Flow Algorithm For Transmission and Distribution Networks
ABSTRACT Fast power flow calculation is generally required in static security analysis and power system
optimal planning. And the classical DC power flow algorithm, due to its simple mathematical model,
linearized equation, and rapid solving speed, is widely utilized. However, the classical DC power flow
algorithm has been found to be only suitable for high voltage transmission networks with small branch
impedance ratio. To address this issue, a general fast power flow algorithm is proposed. Utilizing this method,
the classical DC power flow algorithm is firstly performed to obtain the initial values of the branch active
power flow. And the nodal voltage angles are then calculated by the established node-injected reactive power
equations. Secondly, through the identical transformation and approximate treatment of the node power flow
equation, a voltage offset calculation method for PQ nodes is proposed. Finally, the active power flow and
active power loss can be calculated based on the corrected phase angles and node voltages. Simulation studies
on standard IEEE power systems, such as the IEEE 33-bus and IEEE 118-bus systems, etc., were conducted
by the presented algorithm, compared with those by the back/forward sweep, classical DC power flow and
Newton-Raphson algorithms. It is indicated that, the proposed power flow algorithm has the superiority in
satisfactory calculation speed and non-sensitivity on the network impedance ratio.
INDEX TERMS Power flow algorithm, transmission and distribution network, high impedance ratio of
branch, bus voltage amplitude deviation.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see http://creativecommons.org/licenses/by/4.0/
23284 VOLUME 8, 2020
Y. Wang et al.: General Fast Power Flow Algorithm for Transmission and Distribution Networks
A. CLASSICAL DC POWER FLOW ALGORITHM Considering that the distribution network contains
The classical DC power flow algorithm is widely used in branches with high impedance ratio, it can be concluded from
power system. For instance, when a power network is in (8) that the error of applying the classical DC power flow
plan, the active power flow distribution is usually concerned, to solve the node voltage phase angle will become larger if
while the voltage amplitude of each node does not need to the branch resistance or reactive power increases. In order to
be considered. In such cases, the DC power flow algorithm is calculate the phase angle of node voltage more accurately,
usually adopted. In other words, when the calculation speed the effect of parallel branch resistance should be taken into
rather than the calculation accuracy is put in priority, the DC consideration. Assume that Vi = Vj = 1, and sin θij = θi −θj ,
power flow algorithm shows a satisfactory performance. then (3) and (4) can be simplified as
In the classical DC power flow algorithm, the paral- θi − θj
rij Qij rij
lel branches in the π -type equivalent circuit, as shown P = + + g + b
ij i0 i0
xij xij xij
in Fig. 1 are usually ignored. And the following assumptions (9)
−(θi − θj ) xij Pij
are usually made: ¬ Vi = Vj = 1; sin θij = θi − θj ; ®
Qij =
+ − bi0 + gi0
xij
rij = 0. Then, the active power flow equation of the branch rij rij rij
circuit (i, j) can be calculated by Note that the power injected into any node i is always equal
θi − θj to the algebraic sum of the branch power connected to the
Pij = (5) point. As a consequence, the power balance equation of node
xij
i can be obtained as
For a power network with n + 1 nodes (including a slack
X n X n
θi − θj rij Qij
rij
SP
node), the matrix form of the classical DC power flow equa- P = P = + + g +b
ij i0 i0
i
tion can be represented as
x x
ij ij x ij
j=1(j6=i) j=1(j6=i)
n n
−(θi − θj ) xij Pij
SP
X X xij
P SP = B0 θ
(6) Q = Q = + + b +g
i
ij i0 i0
rij rij rij
j=1(j6=i) j=1(j6=i)
where P SP = [PSP 1 , · · · , Pi , · · · , Pn ] is the net injection
SP SP T
(10)
power of the node, and specified as a known condition; θ =
[θ1 , · · · , θi , · · · , θn ]T represents the voltage phase angle of n According to (10), the node-injected reactive power is
nodes; B0 is an n × n order node admittance matrix based coupled with the active power of the branch, the impedance
on branch reactance xij , and any element of the matrix can be of the series branch and the admittance parameters of the
expressed as parallel branch as well. As for PQ nodes, the node-injected
n reactive power equation can be written in matrix form as
X 1 1
QSP = G0 θ + P cp + C Q
− i=j (11)
x xii
B0 (i, j) = k=1 ik (7)
1 ,··· , QSP
i ,··· , QSP
SP
1 where Q = [QSP n ]
T represents the
− i 6= j
net injected reactive power into the nodes, and speci-
xij
fied as a known condition; G0 is an n × n order nodal
B. THE PROPOSED VOLTAGE PHASE ANGLE conductance matrix based on the branch resistance rij ;
CALCULATION METHOD CONSIDERING P cp = [Pcp1 , · · · , Pcpi , · · · , Pcpn ]T is defined as the node-
THE EFFECT OF BRANCH RESISTANCE branch power coupling term, which couples the node reac-
According to Fig. 1, the voltage drop generated by the series tive injection power and branch active power; C Q =
branches can be calculated by [CQ1 , . . . , CQi , . . . , CQn ]T denotes the node power-branch
parameter coupling term, which couples the node reactive
V̇j Î = Pj + jQj power and branch parameter.
1V̇ = V̇i − V̇j = 1V + jδV It is notable that any element of the matrix G0 can be
expressed as
Pj rij + Qj xij Pj xij − Qj rij
= +j (8) n
X −1 1
Vj Vj
+ i=j
rik rii
where V̇i denotes voltage phasor of node i; Î denotes the G0 (i, j) = k=1 (12)
conjugate of the current flowing through the impedance of
1
i 6= j
the series branch; 1V denotes the in-phase component of r ij
the voltage drop, which reflects the difference between the Similarly, any element of the coupling term P cp between
ends of the branch; δV is the quadrature component of the the node reactive power and branch active power can be
voltage drop, indicating the difference of the voltage phase obtained as
angle between the two ends of the branch; Pj and Qj are the Xn
xij
net injection active power and reactive power of node j; Vj is Pcpi = · P0ij (13)
rij
the voltage amplitude of node j. j=1(j6=i)
where P0ij is the initial value of the active power flowing into (17) can be obtained as
the branch (i, j), which can be calculated by the classical DC ωi X X
power flow algorithm. =− ηij 1 + 1Vj − ηij Vj (i ∈ M) (17)
1 + 1Vi
In addition, any element of the coupling term CQ between j∈M j∈N
the node reactive power and branch parameters can be calcu-
where 1Vi denotes the voltage offset of node i; M =
lated by the following equation.
{1, 2, · · · · · · , m} represents the PQ node sets; ωi , ηij are the
n intermediate variables and can be defined as
X xij
CQi = bi0 + gi0 (14)
rij ωi = Qi cos θi − Pi sin θi . (18)
j=1(j6=i)
ηij = Bij cos θj + Gij sin θj . (19)
Note that in (11), QSP is given, P cp can be obtained by
DC load flow algorithm, and C Q can be obtained by branch Since the node voltage deviation of a power system, i.e., 1V ,
parameter. Consequently, the phase angle of the node voltage is usually within ±10% in its steady-state operation, it can be
can be obtained by solving (11), with the impedance of assumed that 1/(1 + 1Vi ) ≈ 1 − 1Vi , which would result in
parallel branch and branch being taken into account. an error less than ±0.999%.
Similarly, based on (10), the node-injected active power Regarding that the voltage amplitudes of the PV and V
and reactive power equation can be written as θ nodes are known, it is only necessary to modify the node
voltage amplitude of PQ nodes. For m PQ nodes, the left side
P = B0 θ + Qcp + C P
SP
of (17) can be linearized and approximated to the matrix form
n
X rij as
Q = · Qij
cpi
xij
−η11 + ω1 . . . ... 1V1
j=1(j6=i) (15) −η1j −η1m
n ... ... ... ... ... ...
rij
X
C Pi =
gi0 + bi0 . . . −ηij + ωi . . . · 1Vi
−ηi1 −ηim
xij
... ... ... ... ... ...
j=1(j6=i)
−ηm1 . . . −ηmj . . . −ηmm + ωm 1Vm
where Qcp = [Qcp1 , · · · , Qcpi , · · · , Qcpn ]T denotes the node- X X
ω1 + η1j + η1j Vj
branch power coupling term, which couples with the node
injected active power and branch reactive power; C P =
j∈M j∈N
X ... X
[CP1 , · · · , CPi , · · · , CPn ]T denotes the node power-branch
ω + ηij + ηij Vj
parameter coupling term. = i (20)
As a result, if the branch reactive power Qij is given, j∈M j∈N
the phase angle of node voltage can be obtained by solv-
X ... X
ing (15), with the impedance of parallel branch and branch ω + ηmj + ηmj Vj
m
being considered. j∈M j∈N
the standard power flow algorithm; and n is the number of rated value, i.e., 1p.u., and the deviation of the node voltage,
nodes. i.e., 1V is within ±10%. However, the real distribution net-
works are usually with tree structures, and the node voltage
A. ANALYSIS OF THE PHASE ANGLE CORRECTION OF THE of the tree branch will decline with the distance increasing
NODE VOLTAGE from the first node. The node voltage offset at the end of the
In order to study whether the proposed node voltage phase branch, which is far from the head of the power supply, may
angle calculation method is applicable to the distribution net- exceed −10%, such as the nodes numbered 14 to 18, 28 and
work with high impedance ratio, the IEEE 33-bus distribution 33 in the IEEE 33-bus system.
network was studied, with its node number being shown In order to validate whether the proposed algorithm is also
in Appendix. Note that in such network, about 78% of the suitable for the calculation of transmission networks with
branch impedance ratio is greater than 1, and almost 10% of low impedance ratio, testes on the IEEE 14-bus and IEEE
the branch impedance ratio is greater than 3. The calculation 30-bus transmission systems were then performed. And the
results were compared with those from the classical DC calculation results are compared with those from the classical
power flow algorithm and the back/forward sweep algorithm DC power flow algorithm, as shown in Figs. 4 and 5.
as shown in Fig. 3. Furthermore, the IEEE 118-bus transmission system is
As can be seen from Fig. 3, for the distribution network studied with the proposed method and the classic DC flow
with high impedance ratio, the calculated node voltage phase algorithm. Considering that the nodes and routes are rel-
angle with the classical DC power flow algorithm deviates atively more, the results obtained by the Newton-Raphson
greatly from those by the back/forward sweep algorithm, algorithm are regard as the reference values, as shown
indicating that the classical DC power flow algorithm is not in Fig. 6.
suitable for the distribution network with high impedance Based on the tests aforementioned, the calculation errors
ratio. In contrast, the calculation results obtained through of the phase angle are then summarized in Tab. 1, where the
the proposed algorithm are quite similar to those with the ‘‘average relative error’’ denotes the average value of all δi(j)
standard algorithm, which means that the proposed algorithm in the tested system.
is applicable in such high impedance ratio networks. As can be seen from Tab. 1, compared with the reference
It is notable that the node voltage phase angle calcula- value of the standard Newton-Rapson algorithm, the average
tion method assumes that the node voltage amplitude is its relative error and total deviation degree of the voltage phase
FIGURE 10. Comparison of node voltage amplitude in the IEEE 118-bus FIGURE 12. Active and reactive power flow in the IEEE 14-bus system.
system.
FIGURE 13. Active and reactive power flow in the IEEE 30-bus system.
FIGURE 11. Active and reactive power flow in the IEEE 33-bus system.
FIGURE 14. Active and reactive power flow in the IEEE 118-bus system.
indicating that the proposed method has a satisfactory cal- Furthermore, tests are carried out on the IEEE 14-bus
culation accuracy. system, IEEE 30-bus system and IEEE 118-bus systems, with
the results obtained by the standard Newton-Raphson algo-
C. ANALYSIS OF THE CALCULATION RESULTS OF THE rithm being the reference values, as shown in Figs. 12 to 14.
ACTIVE AND REACTIVE POWER FLOW OF As shown in the figures, the calculation results acquired by
BRANCH CIRCUITS the proposed method coincide very well with those from the
Firstly, to validate the effectiveness of the proposed method, Newton-Raphson algorithm.
the fast power flow algorithm is applied to calculate the Similarly, to give a qualitatively comparison, the calcula-
active and reactive power flow of the IEEE 33-bus system, tion results in Fig. 14 are further handled and summarized in
compared with the back/forward sweep algorithm, as shown Tab. 3. It shows that compared with the classical DC power
in Fig. 11. It can be seen from the figure that the calcu- flow algorithm, the total deviation of the calculated active
lation results of active power flow by proposed algorithm power flow calculated by the fast power flow algorithm is
are in accordance very well with the reference values by much smaller. And the error of the active power flow in heavy
the back/forward sweep algorithm, so do that of the reactive active power branch is also smaller than that of the classical
power flow. DC power flow algorithm. Besides, the calculation results of
VI. CONCLUSION
Through analyzing the factors that affects the accuracy of the
classical DC power flow algorithm, a fast power flow algo-
rithm is proposed which adopts the linear equation structure
of the classical DC power flow algorithm. While maintaining
the characteristics of fast calculation speed, the proposed
method improves the calculation accuracy and shows non-
sensitivity on the impedance ratio. Conclusions can be sum-
TABLE 5. Comparison of computational efficiency in IEEE systems. marized as follows.
(1) The node-injected reactive power matrix based on the
branch reactive power flow equation is re-established
with the branch active power and impedance parame-
ters being considered, which makes up for the neglect
of resistance and parallel branch in the classical DC
power flow equation.
(2) The proposed approaches for calculating the voltage
phase angle and correcting the voltage offset are both
based on linearized equations, and thus the calcula-
tion process does not include iteration. Consequently,
the algorithm can be easily applied to the on-line quasi-
real-time power flow analysis.
reactive power flow obtained by the proposed algorithm also (3) The proposed fast power flow algorithm does not
have a high accuracy. depend by the network topologies and branch
impedance ratios, and is suitable for both the dis-
D. ANALYSIS OF THE BRANCH NETWORK LOSS tribution and the transmission networks. Test results
In order to analyze the branch network loss based on the fast on the standard IEEE power systems indicate that,
power flow algorithm, the IEEE118-bus system is selected. the proposed method has satisfactory accuracy and
Again, the results by the Newton-Raphson algorithm are good engineering application prospect as well.
regarded as reference values. Then the proposed algorithm (4) It should be noted that, the proposed algorithm does
is compared with that based on network loss equivalent load not consider the case of PV nodes in medium and low
model in [14]. The operational efficiency and calculation voltage distribution network. With more and more DGs
error of branch network loss are concluded in Tab. 4. It can connected to the distribution network, the influence of
be seen that the proposed fast power flow algorithm saves PV operation mode needs to be considered and will be
more computing resources since it does not need the iterative studied in our future work.
calculation. And the maximum relative error, the minimum
relative error, the mean relative error and the total deviation of APPENDIX
the branch network loss, achieved by the proposed algorithm See Figure 15.
ACKNOWLEDGMENT [22] J. Yang, N. Zhang, C. Kang, and Q. Xia, ‘‘A state-independent linear power
The authors would like to thank all the reviewers for their flow model with accurate estimation of voltage magnitude,’’ IEEE Trans.
Power Syst., vol. 32, no. 5, pp. 3607–3617, Sep. 2017.
valuable and insightful comments, which have improved their
manuscript substantially.