Sunteți pe pagina 1din 5

Solution to Optimal Power flow by PSO

RM Saloman danaraj EEE Department


Jubail Industrial Collge, Jubail,Kingdom Of Saudi Arabia.
Mail:salorajan@gmail.com
1. Introduction
.
Optimal Power flow(OPF) is allocating loads to plants for minimum cost

while meeting the network constraints. It is formulated as an

optimization problem of minimizing the total fuel cost of all committed

plant while meeting the network(power flow ) constraints. The variants

of the problems are numerous which model the objective and the

constraints in different ways.

The basic OPF problem can described mathematically as a

minimization of problem of

Minimizing the total fuel cost of all committed plants subject to the

constraints.

F( Pi) is the fuel cost equation of the ‘i’th plant. It is the variation of fuel

cost ($ or Rs) with generated power (MW).Normally it is expressed as

continuous quadratic equation.

The total generation should meet the total demand and transmission

loss. The transmission loss can be determined from power flow.


Vimin≤Vi≤ Vimax (A6)
LFij≤ Line flow limits (A7)

2. Solution by PSO Algorithm

1.Collect the busdata,line data and cost coefficients and their limits.

2. Convert the constrained optimization problem as an unconstrained

problem by penalty

function method.



3.The file .opf2.m is a function file which returns the fuel cost,

voltage ,Generation, and transmission loss. Pflow.m is the power flow

routine

I am using the PSO toolbox developed by Mr Brian birge.I thank him for

the excellent tool. It can be downloaded form matlab central file

exchange.
4. Change your default folder as psoopf. Just run psoopf26 or psoopf30

to simulate the opf. The results will be displayed on the command

window. This is the simulation result of ieee 30 bu system.

SO: 1/200 iterations, GBest = 805.09421750869865.


PSO: 20/200 iterations, GBest = 801.89517133289905.
PSO: 40/200 iterations, GBest = 801.8464175672442.
PSO: 60/200 iterations, GBest = 801.84469120207154.
PSO: 80/200 iterations, GBest = 801.84467976564179.
PSO: 100/200 iterations, GBest = 801.84429254788665.
PSO: 120/200 iterations, GBest = 801.84429254788665.
PSO: 140/200 iterations, GBest = 801.84408955604454.
PSO: 160/200 iterations, GBest = 801.84408955604454.
PSO: 180/200 iterations, GBest = 801.84398077869128.
PSO: 200/200 iterations, GBest = 801.84371808961077.

P1 =

48.8556
21.5005
21.6274
12.1322
12.0000

F1 =

801.8437

P=

176.6549 48.8556 21.5005 21.6274 12.1322 12.0000

VV =

Columns 1 through 12

1.0600 1.0430 1.0254 1.0171 1.0100 1.0148 1.0050


1.0100 1.0530 1.0467 1.0820 1.0599

Columns 13 through 24
1.0710 1.0450 1.0402 1.0471 1.0415 1.0304 1.0277
1.0317 1.0345 1.0350 1.0296 1.0237

Columns 25 through 30

1.0203 1.0027 1.0269 1.0128 1.0071 0.9957

TL =

9.3706
PSO: 300/500 iterations, GBest = 801.84360962771177.
PSO: 320/500 iterations, GBest = 801.84360962771177.
PSO: 340/500 iterations, GBest = 801.8436072032963.
PSO: 360/500 iterations, GBest = 801.84360514484456.
PSO: 380/500 iterations, GBest = 801.84360448001792.
PSO: 400/500 iterations, GBest = 801.84359710531487.
PSO: 420/500 iterations, GBest = 801.84359678791236.
PSO: 440/500 iterations, GBest = 801.84359678056865.
PSO: 460/500 iterations, GBest = 801.84359602650181.
PSO: 480/500 iterations, GBest = 801.84359599520189.
PSO: 500/500 iterations, GBest = 801.84359596776767.

P1 =

48.830710456655801
21.473756009580281
21.645864276661513
12.094377346577968
12.000000000000000

F1 =

8.018435959677677e+002

P=

1.0e+002 *

1.767314254838569 0.488307104566558 0.214737560095803


0.216458642766615 0.120943773465780 0.120000000000000

VV =
Columns 1 through 6

1.060000000000000 1.043000000000000 1.025413783394172


1.017131509026298 1.010000000000000 1.014769664042682

Columns 7 through 12

1.005038164105417 1.010000000000000 1.052965909519290


1.046719608823060 1.082000000000000 1.059937203976502

Columns 13 through 18

1.071000000000000 1.045026686493674 1.040245314359665


1.047141864538727 1.041528634572232 1.030400240859670

Columns 19 through 24

1.027704952651282 1.031677290240933 1.034456181153072


1.035022169486857 1.029553721518365 1.023697392194044

Columns 25 through 30

1.020347779790547 1.002724681831473 1.026853788152576


1.012841471195776 1.007092030932707 0.995661809041243

TL =

9.376133573332481

ALL THE BEST

S-ar putea să vă placă și