You are on page 1of 12

costdata =

1.0000 500.0000 5.3000 0.0400

2.0000 400.0000 5.5000 0.0060

3.0000 200.0000 5.8000 0.0090

uno = 1

a =500

b = 5.3000

d = 0.0400

uno =

1 2

a=

500 400

b=

5.3000 5.5000
d=

0.0400 0.0060

uno =

1 2 3

a=

500 400 200

b=

5.3000 5.5000 5.8000

d=

0.0400 0.0060 0.0090

lambda =
6

pd =

800

delp =

0.1000

dellambda =

iter =

iter =

1
lambda =

sum =

totgam =

p=

8.7500

sum =

8.7500
totgam =

12.5000

ifc =

p=

8.7500 41.6667

sum =

50.4167

totgam =

95.8333

ifc =
6 6

p=

8.7500 41.6667 11.1111

sum =

61.5278

totgam =

151.3889

ifc =

6 6 6

delp =

738.4722
dellambda =

4.8780

iter =

lambda =

10.8780

sum =

totgam =

p=
69.7248 41.6667 11.1111

sum =

69.7248

totgam =

12.5000

ifc =

10.8780 6.0000 6.0000

p=

69.7248 448.1651 11.1111

sum =

517.8899
totgam =

95.8333

ifc =

10.8780 10.8780 6.0000

p=

69.7248 448.1651 282.1101

sum =

800.0000

totgam =

151.3889
ifc =

10.8780 10.8780 10.8780

delp =

1.1369e-13

dellambda =

7.5096e-16

totgencost =

totgencost =

1.0640e+03

totgencost =
5.1340e+03

totgencost =

7.6865e+03

output of MATLAB program dispatch

lambda =

10.8780

GENERATING UNIT OPTIMAL GENERATION(MW)

ans =

1.0000 69.7248

2.0000 448.1651

3.0000 282.1101

incremental fuel cost

ans =

10.8780
>>

You might also like