You are on page 1of 4

Power system I

EEE-2312
Abida Gulshan Rifat
ID: 192002051
Lab Report

Draw the inverse characteristics for  = 0.5 and TSD = 1, 2, 3, 4 and 5

clear all;
I_threshold = 5.0;
I_load = 1:100;
n1 = length(I_load);
alfa=.5;
for TSD = 1:5,

for n=1:n1,
if I_load(n)>I_threshold
operating_time(TSD,n) = TSD/((I_load(n)/I_threshold).^alfa-1);
else
operating_time(TSD,n)=100000;
end
end
switch TSD,
case 1
dd='r';
dd1='TSD=1';
case 2
dd='y';
dd2='TSD=2';
case 3
dd='m';
dd3='TSD=3';
case 4
dd='c';
dd4='TSD=4';
case 5
dd='b';
dd5='TSD=5';
end
semilogy(operating_time(TSD,:),dd);
grid on;
hold on;
end
legend(dd1,dd2,dd3,dd4,dd5);
axis([0 100 0 100]);
xlabel('Load current (Amp)');
ylabel('Operating time (Sec)');
fig-1
When,
Alpha = 0.5
TSD=1, 2,3,4,5.
At line 5 we change the value of Alpha every time.
At line 9 t=TSD=1
From this figure we can say, When TSD increases, then the load current also increases

B. Draw the inverse characteristics for TSD = 1.0 and  = 0.5, 1, 1.5, 2.0 and 2.5
clc;
clear all;
I_threshold = 5.0;
I_load = 1:100;
n1 = length(I_load);
alfa=.5:.5:2.5;
for m = 1:5,
alfa=m*.1;
for n=1:n1,
if I_load(n)>I_threshold
operating_time(m,n) = 1.0/((I_load(n)/I_threshold).^alfa-1);
else
operating_time(m,n)=100000;
end
end
switch m,
case 1
dd='r';
dd1='alfa=.5';
case 2
dd='y';
dd2='alfa=1';
case 3
dd='m';
dd3='alfa=1.5';
case 4
dd='c';
dd4='alfa=2';
case 5
dd='b';
dd5='alfa=2.5';
end
semilogy(operating_time(m,:),dd);
grid on;
hold on;
end
legend(dd1,dd2,dd3,dd4,dd5);
axis([0 100 0 100]);
xlabel('Load current (A)');
ylabel('Operating time (Seconds)');

Fig-2
From the figure 2,
First alpha =0.5
Second alpha=1Third one alpha=1.5
Fourth alpha=2
Fifth alpha=2.5.
From this graph we can say, When TSD increases, then the load current also
increases

You might also like