summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.5/EX26_5.sce
blob: 7002d7116b97d4511557787cfe18f4cf3b49b68e (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
//EXAMPLE 26.5
//SHORT SHUNT COMPOUND GENERATOR

clc;
funcprot(0);

//Variable Initialisation
I=30;.............//Load current in Amperes
V=220;.............//Terminal voltage in Volts
Rsh=200;............//Resistance of shunt field in Ohms
Ra=0.05;...........//Resistance of armature in Ohms
Rse=0.30;.........//Resistance of series field in Ohms
Vb=2*1;..............//Brush drop in Volts

Vse=I*Rse;........//Voltage drop on series field in Volts
Vsh=V+Vse;........//Voltage drop on shunt field in Volts
Ish=Vsh/Rsh;..........//Current through shunt field in Amperes
Ia=I+Ish;...........//Armature current in Amperes
Va=Ia*Ra;..........//Armature voltage drop in Volts

y=round(Va*100)/100;............//Rounding of decimal places

Eg=V+y+Vb+Vse;..........//EMF generated in the armature in Volts
disp(Eg,"EMF generated in the armature in Volts:");