summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.16
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1445/CH8/EX8.16
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '1445/CH8/EX8.16')
-rw-r--r--1445/CH8/EX8.16/Ex8_16.sce35
1 files changed, 17 insertions, 18 deletions
diff --git a/1445/CH8/EX8.16/Ex8_16.sce b/1445/CH8/EX8.16/Ex8_16.sce
index 4ba0fd577..e21ca661a 100644
--- a/1445/CH8/EX8.16/Ex8_16.sce
+++ b/1445/CH8/EX8.16/Ex8_16.sce
@@ -1,10 +1,10 @@
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 16
+clc;
disp("CHAPTER 8");
disp("EXAMPLE 16");
-//4 pole 250 V shunt motor
//VARIABLE INITIALIZATION
v_t=250; //in Volts
P=4; //number of poles
@@ -19,26 +19,25 @@ rot_loss=300; //rotational loss in Watts
//SOLUTION
//solution (i)
-I_f=v_t/r_f; // field current
-I_a=I_l-I_f; //armature current
-E_a=v_t-(I_a*r_a); // induced emf
-N=(E_a*A*60)/(phi*Z*P); //RPM
-N=round(N); //to round off the value of N
+I_f=v_t/r_f;
+I_a=I_l-I_f;
+E_a=v_t-(I_a*r_a);
+N=(E_a*A*60)/(phi*Z*P);
+N=round(N); //to round off the value of N
disp(sprintf("(i) The speed is %d rpm",N));
-p_e=E_a*I_a; //electromagnetic power
-w=(2*%pi*N)/60; //speed in RPS
-T1=p_e/w; // Internal torque
-disp(sprintf("The internal torque developed is %.3f N-m",T1));
+p_e=E_a*I_a;
+w=(2*%pi*N)/60;
+T1=p_e/w;
+disp(sprintf("The internal torque developed is %f N-m",T1));
//solution (ii)
-//shaft power
-p_o=p_e-rot_loss; //power output
-disp(sprintf("(ii)The shaft power is %.0f W",p_o));
-T2=p_o/w; //shaft torque
-disp(sprintf("The shaft torque is %.2f N-m",T2));
-p_i=v_t*I_l; // power input
-eff=(p_o/p_i)*100; //efficiency
-disp(sprintf("The efficiency is %.2f %%",eff));
+p_o=p_e-rot_loss;
+disp(sprintf("(ii)The shaft power is %f W",p_o));
+T2=p_o/w;
+disp(sprintf("The shaft torque is %f N-m",T2));
+p_i=v_t*I_l;
+eff=(p_o/p_i)*100;
+disp(sprintf("The efficiency is %f %%",eff));
//END