summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1445/CH8/EX8.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1445/CH8/EX8.2')
-rw-r--r--1445/CH8/EX8.2/Ex8_2.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1445/CH8/EX8.2/Ex8_2.sce b/1445/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..0046becf5
--- /dev/null
+++ b/1445/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,30 @@
+//CHAPTER 8- DIRECT CURRENT MACHINES
+//Example 2
+
+disp("CHAPTER 8");
+disp("EXAMPLE 2");
+
+// 230 V DC shunt machine
+//VARIABLE INITIALZATION
+v_t=230; //terminal voltage in Volts
+r_a=0.5; //armature resistance in Ohms
+r_f=115; //shunt field resistance in Ohms
+I_l=40; //line current in Amperes
+
+//SOLUTION
+
+//for generator
+I_f=v_t/r_f; //current through the shunt field winding
+I_a=I_l+I_f; //Armature Current
+E_a=v_t+(I_a*r_a); //E_a=emf of generator
+
+//for motor
+I_f=v_t/r_f;
+I_a=I_l-I_f;
+E_b=v_t-(I_a*r_a); //E_b=emf of motor
+//ratio of speed as generator to speed as motor
+ratio=E_a/E_b; //E_a:E_b=(k_a*flux*N_g):(k_a*flux*N_m) =>E_a:E_b=N_g:N_m (as flux is constant)
+disp(sprintf("The ratio of speed as a generator to the speed as a motor is %.3f",ratio));
+
+//END
+