Thursday 19 December 2019

Transient Stability Analysis of Single Machine Power System


TRANSIENT STABILITY ANALYSIS OF SINGLE MACHINE POWER SYSTEM

PROGRAM:

clc;
clear all;
t=0;
tf=0;
tfinal=0.5;
tc=0.625;
tstep=0.05;
m=2.52/(180*50);
i=2;
delta=21.64*pi/180;
ddelta=0;
time(1)=0;
angle(1)=21.64;
pm=0.9;
pmaxbf=2.44;
pmaxdf=0.88;
pmaxaf=2.00;
while t<tfinal
if(t==tf)
paminus=0.9-pmaxbf*sin(delta);
paplus=0.9-pmaxdf*sin(delta);
paav=(paminus+paplus)/2;
pa=paav;
end
if(t==tc)
paminus=0.9-pmaxdf*sin(delta);
paplus=0.9-pmaxaf*sin(delta);
paav=(paminus+paplus)/2;
pa=paav;
end
if(t>tf&t<tc)
pa-pm-pmaxdf*sin(delta);
end
if(t>tc)
end
t,pa
ddelta=ddelta+(tstep*tstep*pa/m);
delta=(delta*180/pi+ddelta)*pi/180;
deltadeg=delta*180/pi;
    t=t+tstep;
time(i)=t;
ang(i)=deltadeg;
ang(i)=deltadeg;
    i=i+1;
end
axis([0 0.6 0 160])
plot(time,ang,'ko-')








No comments:

Post a Comment

google-site-verification: google18ae80885fc3d876.html