Anda di halaman 1dari 2

TUGAS OPTIMASI DAN PENGOPERASIAN SISTEM TENAGA

LISTRIK

Nama : Sugeng Dwi Mulyo


Kelas : TST14
NIM : 14050874023

EXERCISE EXAMPLE
The fuel cost functions for three thermal plants in $/h are given by
C1 = 500 + 5.3 P1 + 0.004 P1^2 ; P1 in MW
C2 = 400 + 5.5 P2 + 0.006 P2^2 ; P2 in MW
C3 = 200 +5.8 P3 + 0.009 P3^2 ; P3 in MW
The total load , PD is 800MW.Neglecting line losses and generator limits, find the optimal
dispatch and the total cost in $/h by analytical method. Verify the result using MATLAB
program.

CODE PROGRAM
alpha = [500; 400; 200];
beta = [5.3; 5.5; 5.8];
gamma = [0.004; 0.006; 0.009];
PD = 800;
DelP = 10;
lamda = input('Enter estimated value of Lamda = ');
fprintf(' ')
disp([' Lamda P1 P2 P3 DP grad
Delamda'])
iter = 0;
while abs(DelP) >= 0.001
iter = iter + 1;
P = (lamda - beta)./(2*gamma);
DelP = PD - sum(P);
J = sum(ones(length(gamma),1)./(2*gamma));
Delamda = DelP/J;
disp([lamda,P(1),P(2),P(3),DelP,J,Delamda])
lamda = lamda + Delamda;
end
totalcost = sum(alpha + beta.*P + gamma.*P.^2);
disp(['Total Cost']);
disp([totalcost]);
MATLAB PROGRAM

PROGRAM RUN

Anda mungkin juga menyukai