Brake Test On DC Shunt Motor scilab Code

0
clear ; 
close ; 
clc;

n=input("Enter the no of (v,A,N,S)");
disp('Enter the value of V:');
for i=1:n
    V(i)=input('');
end
disp('Enter the  corresponding value of currents(I): ');
for i=1:n
    I(i)=input('');
end
disp('Enter the  corresponding value of speed(N): ');
for i=1:n
    N(i)=input('');
end
disp('Enter the  corresponding value of spring(S1-S2): ');
for i=1:n
    S(i)=input('')
end
for (i=1:n)
    T(i)=9.81*S(i)*0.15;
    Ip(i)=V(i)*I(i);
    Op(i)=(2*%pi*N(i)*T(i))/60;
    Eff(i)=(Op(i)/Ip(i))*100;
end
printf("Torque \tInput \t \tOutput \tEfficency \n ")
printf("%f %f %f %f \n",T,Ip,Op,Eff);



subplot(221), plot(Op, T),       title("Output vs Torque")
subplot(222), plot( Op, N), title("Output vs Speed "); 
subplot(223), plot( Op, I), title("Output vs Current"); 
subplot(224), plot( Op, Eff), title("Output vs Efficiency");

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !