ECONOMIC LOAD DISPATCH IN POWER
SYSTEM WITHOUT CONSIDERING LOSSES USING DIRECT METHOD
PROGRAM:
clc;
clear
all;
warning
off;
a=[.001562;.00194;.00482];
b=[7.92;7.85;7.97];
c=[561;310;78];
pd=850;
pgmin=[150;100;50];
pgmax=[600;400;200];
noofunits=length(a);
delp=10;
lambda=(pd+sum(b./(2*a)))/sum(ones(length(a),1)./(2*a));
lambda;
p=(lambda-b)./(2*a);
for
i=1:noofunits
if
p(i)>pgmax(i)
if
lambda>((2*a(i)*pgmax(i))+b(i))
p(i)=pgmax(i);
end
else if
p(i)<pgmin(i)
if
lambda<((2*a(i)*pgmax(i))+b(i))
p(i)=pgmin(i);
end
end
end
end
p
No comments:
Post a Comment