Modified Algorithm of Load Flow Simulation For Los
Modified Algorithm of Load Flow Simulation For Los
net/publication/228364415
Article
CITATIONS READS
14 6,612
2 authors, including:
Trevor Blackburn
UNSW Sydney
209 PUBLICATIONS 3,076 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Trevor Blackburn on 22 May 2014.
1/7
δ 2 P2 P2 (x)
. . .
Eq. [2.1]
. . .
δ δ N P PN P(x) PN (x)
x = = ; y = = ; f (x) = =
V V2 Q Q2 Q(x) Q2
. . .
. . .
N
V N
Q QN (x)
2/7
modifications to the Newton-Raphson power flow transfer) and to adjust the system voltage.[1,2] Shunt
technique. The elements of the equivalent Π circuit, capacitors are used to deliver reactive power and increase
can then be treated in the same manner as line the voltage magnitudes during heavy load conditions.
elements. Figure 3 shows the effect of adding a shunt capacitor bank
to a power system bus. The system is represented by its
Thevenin Equivalent at the node, where the capacitor will
be applied by closing the switch. With the switch open, the
node voltage Vt is equal to the Thevenin voltage Eth.
3/7
The simplest form of loss equation is George’s
formula[2], which is: Knowing that the real power losses are a function of
k k generations and B-losses coefficient, varying the
PL = ∑∑P
m =1 n =1
m B mn Pn Eq. [5.1]
generations to fulfill the power demand will change the
losses accordingly. If B-losses are reduced, the losses can
where PL is the power losses
be minimized. Since B-losses coefficients are functions of
Pm, Pn is the power generation from all
resistances of every line, voltage magnitudes and power
generator sources
factors at each generation, phase angle of generator
The coefficients Bmn are commonly referred as the
currents and current distribution factors from each
loss coefficients with the units of reciprocal
generation, while resistances are physical properties of
Watt/MWatt. The B coefficients are not truly constant
electrical equipment, which tend to be constant, improving
but vary with unit loadings. A more general formula
the voltage at certain points will minimize B-losses
(Kron’s loss formula) is given by:
k k k
coefficients. Voltage control using either variable tap
PL = K L 0 + ∑ Bm0 Pm +∑∑ Pm Bmn Pn Eq. [5.2] changing transformers or capacitors as explained before are
m =1 m=1 n=1
necessary to improve the voltage levels and minimize
losses. These can be implemented in the load flow
A linear term ΣBm0Pm and a constant KL0 have been
simulation developed as explained in Section 6.
added to the original quadratic equation. This shows
that losses depend on the active power generations P
only. Bmn is called the loss coefficient and is given by 6. MATLAB SIMULATION AND
a general expression: SENSITIVITY ANALYSIS
cos(σ m − σ n )
∑ N km N kn Rk Eq. [5.3]
Matlab was chosen as the simulation tool for this research
Bmn =
Vm Vn ( pf m )( pf n ) k
because of the ease of manipulation of matrix structures
and inputs. It has in-built routines such as inverse function,
where σm, σn are phase angles of currents Im,In abs function, and so on, graphing facilities to plot
Vm, Vn are voltages at bus m and n convergence of load flow.
Nkm, Nkn are current distribution factors
pfm, pfn are power factors A single line diagram of a five bus system shown in Figure
For a simple system consisting of two generating 5 [1] was chosen to be tested. This system is selected
plants and one load as shown in Figure 4, losses PL in because it represents a typical meshed network where a
terms of power output of the plants and B-losses load bus is supplied from alternative sources. It has typical
coefficient can be derived as[5]: line ratings. The diagram has two generators of 400 MVA
PL = P12B11 + 2P1P2B12 + P22B22 Eq. [5.4] and 800 MVA power ratings, two step down transformers
where of 400 MVA and 800 MVA ratings, three long distance
Ra + Rc transmission lines and one remote load bus. Overall, this
B11 = system consists of five buses and five branches. Bus 1 is
V1
2
( pf1 )2 assigned as the slack/swing bus. Bus 3 is the voltage
controlled PV bus while Bus 2,4 and 5 are load buses. The
Rc
B12 = base of apparent power is 400 MVA. Vbase = 15 kV at
V1 V2 ( pf 1 )( pf 2 ) buses 1,3 and 345 kV at buses 2,4,5.
Rb + Rc
B22 =
V2
2
( pf 2 )2
Figure 4. A simple radial system of two Figure 5. One line diagram of 5 bus power system[1]
generators and one load bus
4/7
Input data for the simulation is shown Table 1. Voltages at bus 1-5 were calculated and the results are
shown in Table 2. Notice that the voltage magnitude at bus
2 of 0.8338 per unit is under-voltage. Voltage level at bus
2 needs to be improved by applying voltage control.
V= magV = angleV =
1.0000 1.0000 0
0.7708 - j0.3178 0.8338 -22.4063
1.0499 - j0.0109 1.0500 -0.5973
1.0181 - j0.0504 1.0193 -2.8340
0.9712 - j0.0773 0.9743 -4.5479
Table 2. Bus Voltage Outputs in pu & degrees
Real power losses were calculated using differential
powers method. Losses turn out to be 0.0871 per unit or
3.81%. This value has been verified by calculating losses
from I2R. Calculation using B-loss formula gives losses
equal to 0.0823 pu or error = 5.5%.
0.09
0.085
Real Power Losses (pu)
0.08
I2R
0.075
B-losses
0.07
0.065
0.06
1.0125 1.025 1.0375 1.05 1.0625 1.075 1.0875 1.1 1.1125 1.125 1.1375 1.15 1.1625 1.175 1.1875 1.2
Tap Setting of Transformer (1.25 - 20 %)
5/7
7. CONCLUSION
The two curves are slightly different. They intersect
at tap = 15% where the losses are equal to 0.0704 pu.
A Matlab load flow simulation program has been
developed using a modified Newton-Raphson algorithm to
6.2 Applying voltage control by adding shunt calculate and control the voltage, determine real and
capacitor at bus 2 reactive power flows and compute real power losses.
Now we want to improve the voltage level at bus 2
whilst minimizing the total real power losses. The
Voltage control using tap changers can be implemented in
capacitor has been modeled with susceptance B. The
the load flow analysis by using a Π equivalent circuit.
first run of load flow program gave a voltage at bus 2
Optimum tap setting can be determined by load flow
of 0.8338 magnitude. The sensitivity analysis is
simulation, which gives minimum real power losses and
carried out by adding 5 steps of 0.2 pu reactive power
acceptable voltage level. Optimum voltage control by
injection from 0.2 to 1 pu. Susceptance can then be
means of switched capacitor bank can also improve the
calculated from B = Q/V2.
voltage level at a bus to result in minimum power losses.
The shunt capacitor is added at the bus where the bus
Minimum losses of 0.0583 pu calculated from I2R as
voltage is under voltage before load flow simulation is
shown in Figure 8 is attained by adding 0.6 pu or 300
rerun. Optimum value of capacitance is obtained from
Mvar with acceptable bus 2 voltage of 1.0595 pu.
simulation, which gives minimum losses at acceptable
Using B-loss formula, minimum losses 0.0733 as
voltage level.
shown in Figure 8 is achieved by adding 0.4 pu of
reactive power with acceptable voltage of bus 2 of
Results of losses using I2R are slightly different than the
0.9791 pu.
results calculated using B-losses formula. At this stage it
Real Power Losses using B-losses and I2R vs Capacitor Bank
can be said that the calculation of losses using I2R is more
0.1
accurate because it has been verified with differential
0.095
power method which gives the same results. Although it is
0.09
not so accurate, calculation of losses based on B-losses
0.085
coefficients is useful because it allows optimization
Real Power Losses (pu)
0.08
0.075
B-losses
configuration to achieve minimum losses.
I2R
0.07
0.065
Future research will explore the use of B-losses
0.06
coefficients to determine the tap settings of the transformer
0.055
or the capacitance of capacitor banks to satisfy the required
0.05
voltage level whilst minimizing losses.
0.2 0.4 0.6 0.8 1
Capacitor Bank Reactive Power (pu)
6/7
6. Penny, J. and Lindfield, G., 1995, Numerical Similar equations hold in terms of ∆P and ∆V, and ∆Q in
methods using MATLAB, Ellis Horwood Limited, terms of ∆δ and ∆V.
Hertfordshire
7. Wood, A.J. and Wollenberg, B.F., 1996, Power Hence, the Newton-Raphson method requires that a set of
Generation, Operation and Control, 2nd ed., John linear equations be formed expressing the relationship
Wiley and Sons, Inc., New York. between the changes in real and reactive powers and the
8. Del Toro, V., 1992, Electric Power Systems, components of bus voltages and phase angles. The
Prentice Hall, Inc., New Jersey. Jacobian matrix can be partitioned into four blocks J1, J2,
9. ANSI/IEEE Standard 399-1980, IEEE J3 and J4.
recommended practice for industrial and ∆P J1 J 2 ∆δ Eq. [A.4]
commercial power systems analysis, 1980, Power ∆ Q = J
System Technologies Committee of the IEEE 3 J 4 ∆V
Industry Applications Society. The partial derivatives in each block can be derived from
10. Parker, A.M., The Modeling of Power System Equations [A.1] and [A.2]. The unknown quantities in
Components, 1997 Residential School in Equation [A.4] are the elements of the column matrix of
Electrical Power Engineering, UNSW, Australia, the changes in the phase angle and voltage of each bus.
26 Jan – 14 Feb 1997. Convergence criteria are often based on ∆y(i) or power
11. Jabr, R., Coonick, A.H and Cory, B.J., A Study of mismatches rather than ∆x(i) or phase angle and voltage
the Homogeneous Algorithm for Dynamic magnitude mismatches.
Economic Dispatch with Network Constraints
and Transmission Losses, IEEE Transactions on Once the voltage at each bus is computed, line flows can be
Power Systems, Vol. 15, No. 2, May 2000, pp calculated. The current at bus k in the line connecting k
605-611 and n is given by:
y ' kn
i kn = (V k − V n )y kn + V k
12. Gonen, T. 1988, Modern Power System Analysis,
John Wiley and Sons, Inc., New York Eq. [A.5]
2
where ykn = line admittance, y’kn = total line charging
APPENDIX admittance and (Vk×y’kn)/2 = current contribution at bus k
due to line charging. The real and reactive power flow
Power flow solutions by Newton-Raphson are based
from k to n is found to be:
on the non-linear power flow solutions. It can be
y'kn
shown that the power flow equations of y = f(x) can Pkn − jQkn =Vk *ikn =Vk *(Vk −Vn)ykn +Vk *Vk Eq. [A.6]
be written as: 2
N
yk = Pk = Pk (x) = Vk ∑YknVn cos(δ k − δ n −θkn ) Eq.[A.1]
The power loss in line k-n is the algebraic sum of the
power flows in either direction.
n=1
N
yk+N = Qk = Qk (x) = Vk ∑YknVn sin(δ k −δ n −θkn ) Eq.[A.2]
n=1
where k = 2, 3, …, N
Ykn is the element of the bus admittance
matrix between buses k and n
Hence, there are two non-linear simultaneous
equations for each node. The real and reactive
powers depend on the product of the sum of the
voltages connected between two buses and the
admittance between the buses. The bus admittance
matrix can be first formed from the impedances
connected to a bus or between two buses.
7/7