summaryrefslogtreecommitdiff
path: root/2642/CH4/EX4.8/Ex4_8.sce
blob: 21f6aef73fa5d282f66bb9ebca80b87b24082487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// FUNDAMENTALS OF ELECTICAL MACHINES 
// M.A.SALAM 
// NAROSA PUBLISHING HOUSE 
// SECOND EDITION

// Chapter 4 : DIRECT CURRENT GENERATORS
// Example : 4.8


clc;clear; // clears the console and command history 

// Given data
V_t = 220   // shunt generator voltage in V
I_L = 146   // generator delivering current in A
R_sh = 50   // shunt field resistance in ohm
R_a = 0.012 // armature resistance in ohm
R_s = 0.02  // series field resistance in ohm
R_d = 0.03  // diverter field resistance in ohm

// caclulations 
I_sh = V_t/R_sh             // shunt field current in A
I_a = I_L+I_sh              // armature current in A
R_com = R_s*R_d/(R_s+R_d)   // combined resistance in ohm
E_g = V_t+(I_a*(R_a+R_com)) // generated voltage in V
P_lsd = I_a^2*R_com         // power loss in series and diverter in W
P_la = I_a^2*R_com         // power loss in the armature circuit resistance in W
P_lsh =  V_t*I_sh          // power loss in shunt field resistance in W
P_dl = I_L*V_t             // power delivered in W

// display the result 
disp("Example 4.8 solution");
printf(" \n Generated voltage \n E_g = %.1f V \n", E_g);
printf(" \n Power distribution \n P_dl = %.0f W \n", P_dl);