Professional Documents
Culture Documents
CHAPTER
Slack
I
G G
7
2 1 rlSl-3
26
10
~
G 8
1
-T r
L
OPTIMAL DISPATCH
OF GENERATION
~T
13
5 l-
18 i.. 6 7 4
. ~L
r~
9 T 12 I 14- 16
II 25 f.L I 19 10
7.1 INTRODUCTION
The fonnulation of power flow problem and its solutions were discussed in Chap-
ter 6. One type of bus in the power flow was the voltage-controlled bus, where real
power generation and voltage magnitude were specified. The power flow solution
23 J 24 15 provided the voltage phase angle and the reactive power generation. In a practical
power system, the power plants are not located at the same distance from the center
of loads and their fuel costs are different. Also, under nonnal operating conditions,
21
r-5 20 the generation capacity is more than the total load demand and losses. Thus, there
are many options for scheduling generation. In an interconnected power system,
the objective is to find the real and reactive power scheduling of each power plant
in such a way as to minimize the operating cost. This me..i.ns that the generator's
real and reactive power are allowed to vary within certain limits so as to meet a
17
1 1 particular load deinand with minimum fuel cost. This is called the optimal power
flow (OPF) problem. The OPF is used to optimize the power flow solution of large
FlGURE6.l6 scale power system. This is done by minimizing selected objective functions while
One·line diagram for Problem 6.14. maintaining an acceptable system performance in terms of generator capability
limits and the output of the compensating devices. The objective functions, also
257
302 7. OPTIMAL DISPATCH OF GENERATION 7.7. DERIVATION OF LOSS FORMULA 303
REGULATED BUS DATA generator's operating costs in SIh, with Pi in MW are as follow:
Bu, Voltage Min. Mvar Max. Mvar
No. Magnitude Capacity Capacity Ci = 240 + 7.0P\ + 0.OO70Pr
2 1.020 40 250 C 2 = 200 + 1O.OP2 + 0.OO95Pl
3 1.025 40 150 C3 = 220 + 8.5P3 + 0.OO90P;
4 1.050 40 80
C 4 = 200 + Il.OP4 + 0.oo90pi
5 1.045 40 160
26 1.015 15 50 C5 = 220 + 1O.5P5 + o.oo80pl
C 21i = 190 + I2.0P26 + 0.o075P16
Transformer tap settings are given in the table below. The left bus number is as~
sumed to be the tap side of the transformer.
The genemtor's real power limits are
TRANSFORMER DATA GENERATOR REAL POWER LIMITS
Transformer Tap Setting
Gen. Min.MW Max.MW
Designation Per Unit
1 100 500
2 3 0.960 2 50 200
2- 13 0.960 3 80 300
3 - 13 1.017 4 50 150
4- 8 1.050 5 50 200
4-12 1.050 5 50 120
6 - 19 0.950
7- 9 0.950 Write the necessary commands to obtain the optimal dispatch of generation
usin~ dispatch. Continue the optimization process until the difference (absolute
The shunt capacitive data is
value) b<!tween the scheduled slack generation. determined from the coordination
equation. and the slack generation, oblained from the power flow solution, is within
SHUNT CAPACITOR DATA
0.001 MW.
Bus No. Mvar
We use the following commands:
1 4.0
4 2.0 clear
5 5.0 basemva ... 100; accuracy '" 0.0001; max iter "" 10;
6 2.0
9 3.0 'l. Bu, Bus Voltage Angle --L~ad-- --Generator---Injected
11 1.5 1. Nocode Mag. Degree MY Mvar MW Hvar Qmin Qmax Hvar
12 2.0 busdata'"' [l 1 1.025 0.0 51 41 0 0 0 0 4
15 0.5 2 2 1.020 0.0 22 15 79 0 40 250 0
19 5.0 3 2 1.025 0.0 64 50 20 0 40 150 0
4 2 1.050 0.0 25 10 100 0 25 80 2
Generation and loads are as given in the data prepared for use in the MATUB 5 2 1.045 0.0 50 30 300 0 40 160 5
~nvironment in the matrix defined as busdata. Code 0, code 1. and code 2 are used 6 0 1.00 0.0 76 29 0 0 0 0 2
or the load buses, the slack bus, and the voltage-controlled buses, respectively. 7 0 1 .00 0.0 0 0 0 0 0 0 0
~alues. for basemva. accuracy, and maxiter must be specified. Line data are as 8 0 1 .00 0.0 0 0 0 0 0 0 0
given 10 the matrix called linedata. The last column of this data must contain 1 9 0 1 .00 0.0 89 50 0 0 0 0 3
for lines, or the tap setting values for transfonners with off-nominal tum ratio. The 10 0 1 .00 0.0 0 0 0 0 0 0 0
11 0 1 .00 0.0 25 15 0 0 0 0 1.5
304 7. OPTIMAL DISPATCH OFOENERATION 7.7. DERIVATION OF LOSS FORMULA 3.'
12
13
•
0
1.00
1.00
0.0
0.0
B9
31
48
15
0
0
0
0
0
0
0
0
2
0
12
13
15
14
0.01800
0.00460
0.05980
0.02710
0.00000
0 . 00100
1
1
14 0 1.00 0.0 24 12 0 0 0 0 0 13 15 0.01160 0.06100 0 . 00000 1
15
16
0
0
1.00
1.00
0.0
0.0
70
55
31
27
0
0
0
0 0
• • 0
0.5 ·
0
13
14
16
15
0.01793
0.00690
0.oa8eo
0.03820
0.00100
0 . 00000
1
1
17 0 l.00 0.0 78 38 0 0 0 0 0 15 16 0.02090 0 . 05120 0 . 00000 1
18 0 1.00 0.0 153 67 0 0 0 0 0 16 17 0.09900 0.06000 0.00000 1
19 0 1.00 0.0 75 15 0 0 0 0 5 16 20 0.02390 0.05850 0 .00000 1
20 0 1.00 0.0 48 27 0 0 0 0 0 17 18 0.00320 0.06000 0 . 03800 1
21 0 1.00 0 .0 46 23 0 0 0 0 0 17 21 0.22900 0.44500 0.00000 1
22 0 1.00 0 .0 45 22 0 0 0 0 0 19 23 0.03000 0.13100 0.00000 1
23 0 1.00 0.0 25 12 0 0 0 0 0 19 24 0.03000 0.12500 0.00200 1
24 0 1.00 0.0 54 27 0 0 0 0 0 19 25 0.11900 0 . 22490 0.00400 1
25 0 1. 00 0.0 28 13 0 0 0 0 0 20 21 0.06570 0.15100 0.00000 1
26 2 1.015 0.0 40 20 60 0 15 so OJ; 20 22 0.01500 0.03660 0.00000 1
21 24 0.04760 0.15100 0 . 00000 1
1. Bus bus R X 1/2 B 1 for lines code or 22 23 0.02900 0.09900 0.00000 1
1. nl nr pu pu pu tap setting value 22 24 0.03100 0.08800 0.00000 1
linedata- [l 2 0 . 00055 0.00480 0.03000 1 23 25 0.09870 0.11680 0.00000 1l;
1 1B 0 . 00130 0.01150 0.06000 1
2 3 0 .00 146 0.05130 0.05000 0.96 cost "" (240 7 .0 0.0070
2 7 0.01030 0.05860 0.01800 1 200 10.0 0.0095
2 B 0 . 00740 0.03210 0.03900 1 220 B.5 0.0090
2 13 0 .003 57 0.09670 0.02500 0.96 200 11. 0 0.0090
2 26 0 .03230 0.19670 0.00000 1 220 10.5 0.0080
3 13 0.00070 0.00548 0.00050 1.017 190 12 . 0 0.0075];
4 8 0 . 00080 0.02400 0.000 10 1 .050
4 12 O. OOHiO 0.02010 0.01500 1.050 mIJ limits - (100 500
5 6 0 .00690 0.03000 0 . 09900 1 50 200
6 7 0 . 00535 0.03060 0.00105 1 80 300
6 11 0.00910 0.05100 0.00010 1 50 150
6 18 0.00374 0.02220 0.00120 1 50 200
6 19 0.00350 0.06600 -0.04500 0.95 50 120];
6 21 0 .00500 0.09000 0.02260 1
7 8 0.00120 0.00693 0.00010 1 lfybus i. Forms the bus admittance matrix
7 9 0.00095. 0.04290 0.02500 0.95 Ifnevton i. Power flow solution by Newton-Raphson method
8 12 0.00200 0.01800 0.02000 1 busout i. Prints the power flov solut ion on the screen
9 10 0.00 104 0.04930 0.00100 1 bloss i. Obtains the loss f ormula coefficients
10 12 0.00247 0.01320 0.01000 1 gencost i. Computes the total generation cost Sib
10 19 0 . 05170 0.23600 0.00000 1 dispatch i. Obtains optimum d.ispatch of generation
10 20 0 . 00660 0.01600 0.00100 1 1. dpslack is tbe difference (absolute value) between
10 22 0 . 00690 0.02980 0.00500 1 1. the scheduled slack ,aneration determined from the
11 25 0 . 09600 0.27000 0.01000 1 7- coordination equation. and the slack generation
11 26 0 .01650 0.09700 0 .00400 1 i. obtained from the pover flow solution.
12 14 0 . 03210 0 . 08020 0 . 00000 1
J06 1. Of'TtMAL DISP....TCH Of GENERATION 1.1. DEIUVATlOI'4 OF LOS S FORMULA 307
The result is BO •
-0.0002 -0 . 0008 0 . 0061 0 .0001 0.0000 - 0. 0012
Poyer Floy Solution by Nelo1ton-Raphson Method
Maximum Poyer mismatch. 3. 1828ge-l0 BOO ..
No . of iterations .. 6 0 . 0056
Bus Voltage Angle - - ---Load- ---- --Generation-- Total system loss . 15 . 53 MIJ
No. Mag. Degree MW Hvar MW Hvar
Total generation cost = 16760.73 $/h
1 1.025 0.000 51. 000 41. 000 719 . 534 Incremental cost of de livered power <system lambda) ~
224.011
2 1. 020 - 0 .931 22 .000 15.000 79 . 000 125.354 13.911780 S/HWh
3 1.035 - 4.213 64 . 000 50. 000 20 . 000 63.030 Optimal Dispatch of Generation:
4 1 . 050 -3.582 25 . 000 10 . 000 100 . 000 49.223
S 1 .045 1.129 50 . 000 30.000 300 . 000 124.466 474.1196
6 0.999 -2.573 76 . 000 29.000 0 . 000 0.000 2 .00 173.7886
7 0 . 994 - 3 .20<1 0 .000 0.000 0 .000 0 .000 0.00 190. 9515
8 0 . 997 - 3.299 0.000 0.000 0.000 0.000 0.00 150.0000
9 1.009 -5.393 89 . 000 50.000 0 . 000 0 . 000 '3.00 196.7196
10 0 . 989 - 5. 561 0.000 0.000 0 .000 0.000 0 . 00 103.5772
11 0.997 -3.218 25 . 000 15.000 0 . 000 0.000 1. 50
12 0.993 - 4.692 89.000 48.000 0 . 000 0.000 2.00 Absolute value of the slack bus real poyer mismatcb.
13 1.014 -4 .430 31. 000 15.000 0.000 0.000 0.00 dpslack c 2.45<11 pu
14 1.000 - 5.040 24.000 12.000 0.000 0.000 0 . 00
IS 0 . 991 -S.. 538 70 . 000 31.000 0 .000 0 . 000 0.50
16 0.983 -5 . 882 55 . 000 27.000 0.000 0.000 0.00 In this example the final optimal di spatch of generation was obtained in three itera-
17 0.987 - 4.985 78 . 000 38.000 0 . 000 0.000 0.00 tiOll$. 11le results for final loss coefficients and final optimal dispatch of generation
18 1.007 -1.866 153 . 000 67.000 0 .000 0 .000 0.00 is presented below
19 1.004 - 6.397 75.000 15.000 0.000 0.000 5.00
20 0. ,9ao -6.025 48 . 000 27.000 0 . 000 0.000 0 . 00 B•
21 0.977 -5.778 46.000 23.000 0.000 0.000 0.00 0.0017 0.0012 0.0001 -0.0001 -0.0005 -0.0002
22 0.978 -6.437 45.000 22.000 0.000 0.000 0.00 0.0012 0.0014 0.0009 0.0001 -0.0006 -0.0001
23 0.976 -7.087 25.000 12.000 0 .000 0.000 0 .00 0 .0001 0 .0009 0.0031 0.0000 -0.0010 -0.0006
24 0.968 -7.347 54.000 27.000 0.000 0.000 0 . 00 -0.0001 0.0001 0.0000 0.0024 -0.0006 -0 . 0008
2S 0.974 -6.775 28.000 13.000 0.000 0.000 0.00 -0 . 0005 -0.0006 -0 . 0010 -0 .0006 0.0129 -0.0002
26 1.015 -1.803 40 . 000 20.000 60 .000 32.106 0 .00 - 0. 0002 -0.0001 -0.0006 -0.0008 -0.0002 0.0150
Total 1263.000 637.000 1278.534 618.791 25.00