Front Back Print
Front Back Print
cle;
clear all;
p-4s;
pl=0.8;
vt=34.64;
xd=9,33;
xq=9.33;
viph=ve* 1000/sqrt(3);
pfang= acos(pf);
q=p* tan(pfang);
i=(p=j*q)* 10*6/(3* vtph);
delta=0:1:180;
deltarad=delta*(pi/1 80);
if xd==xq
Farin tf(\n 2 RAAB E BER SAA A ER RIE IAAI IRE III RARE HI):
fprintf(\nThe details pertains to Non Salient machine’);
ef=vtph+(j*i*xd);
excitemf=abs(ef);
netpwr=3*pwrnon/10%6;
plot(delta,netpwr);
xlabel(‘\delta(deg)--->');
grid on
end
if xd~=xq
eq=vipht+(j*i*xq);
idmag~abs(i)*sin(angle(eq)-angle(i)):
CG Scanned with OKEN Scanner
efmag=abs(eq)+((xd-xq)*idmag);
excitemf=(efmag);
pwrsal=pptrelpwr;
netpwrsal=3*pwrsal/10*6;
plot(delta,netrelpwr,'r');
hold on
plot(delta,netpwrsal,'b');
xlabel(‘\delta(deg)--->');
grid on
end
mt
% Convert to radians
d0_rad = deg2rad(d0),
der_rad = deg2rad(dcr);
f= 50; % Frequency in Hz
% Displaying Results
disp([‘Initial Power Angle 50 =', num2str(d0), '° = (', num2str(d0_rad), ' rad)'});
disp((‘Critical Clearing Angle 6_cr =', num2str(der), '° = (', num2str(der_rad), '
rad)']):
disp([‘Critical Clearing Time t_er =", num2str(ter), ‘sce = (', num2str(ter_ms), '
ms)']):
\o.
CG Scanned with OKEN Scanner
% Stability Condition
angle_check = input(‘Enter the clearing angle §_cl (in degrees) for stability
check: ');
if angle_check <= der
stability_status = "Stables
else
stability_status = ‘Unstable’;
end
figure;
ylabel(‘Power (MW)');
grid on;
cle;
clear all;
cle;
clear all;
cle;
clear;
R=10;
X= 20;
Bc=4*10%-4;
Vr3ph=66;
Pr=10;
Qr=7.5;
Z=R+j*X;
Y=0+j*Be;
switch Choice
case |
A=1+Z*Y/2;
B=Z,;
C= Y*(14Z*Y/4);
D= 14+Z*Y/2;
ABCD=[A B; C D];
case 2
B= Z*(1+Z*Y/4);
C=Y ;
D=1+Z*Y?2;
ABCD=[A B; C DJ];
otherwise
end
Vr=Vr3ph/sqrt(3);
Sr=Pr+j*Qr;
Ir-conj(Sr)/(3*conj(Vr));
Vs=VslIs(1):
Is=Vsls(2);
Vs3ph=sqrt(3)*abs(Vs);
Ism=1000* abs(Is);
.
+
>
Ss=3* Vs*conj(Is);
Effy=Pr/real(Ss)* 100;