summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.32/EX26_32.sce
blob: 8ca6e238f9641e51b6ba39a632471ea3fd33fce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//EXAMPLE 26.32
//LONG SHUNT DC COMPOUND GENERATOR

clc;
funcprot(0);

//Variable Initialisation
Po=110;........//Output power in Kilo Watts
V=220;........//Terminal voltage in Volts
Ra=0.01;........//Armature resistance in Ohms
Rse=0.002;.......//Series field resistance in Ohms
Rsh=110;..........//Shunt field resistance in Ohms

I=(Po*1000)/V;.....//Load current in Amperes
Ish=V/Rsh;..........//Shunt field current in Amperes
Ia=I+Ish;..........//Armature current in Amperes
E=V+(Ia*(Ra+Rse));...//Generated EMF in Volts
disp(E,"Generated EMF in Volts:");