summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.2/Ex8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH8/EX8.2/Ex8_2.sce')
-rw-r--r--1445/CH8/EX8.2/Ex8_2.sce14
1 files changed, 7 insertions, 7 deletions
diff --git a/1445/CH8/EX8.2/Ex8_2.sce b/1445/CH8/EX8.2/Ex8_2.sce
index 0046becf5..199e2e038 100644
--- a/1445/CH8/EX8.2/Ex8_2.sce
+++ b/1445/CH8/EX8.2/Ex8_2.sce
@@ -1,10 +1,10 @@
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 2
+clc;
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
@@ -14,17 +14,17 @@ 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
+I_f=v_t/r_f;
+I_a=I_l+I_f;
+E_a=v_t+(I_a*r_a); //here 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
+E_b=v_t-(I_a*r_a); //here E_b=emf of 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));
+disp(sprintf("The ratio of speed as a generator to the speed as a motor i.e. N_g:N_m is %f",ratio));
//END