summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.20.b/EX26_20b.sce
blob: 94f86eb3066feaa707c481eeac55df117f6e9612 (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
//EXAMPLE 26.20(b)
//4-POLE SHUNT GENERATOR

clc;
funcprot(0);

//Variable Initialisation
P=4;.........................//Total number of poles
Rf=125;........................//Field resistance in Ohms
Ra=0.2;..........................//Armature resisitance in Ohms
Al=P;........................//Number of parallel paths in a lap wound generator
Z=300;.....................//Total number of conductors
Phi=0.1;.................//Flux per pole in Weber
I=90;.....................//Load current in Amperes
N=1000;........................//Speed of the generator in rpm

E=(Phi*P*N*Z)/(60*Al);..............//Generated EMF in Volts
disp(E,"Generated EMF in Volts:");
If=E/Rf;................//Field current in Amperes
Ia=I+If;................//Armature current in Amperes
Va=Ia*Ra;................//Armature drop in Volts
V=E-Va;..................//Terminal voltage in Volts

disp(V,"Terminal voltage in Volts:");