summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.3/EX26_3.sce
blob: 4a20d53069edf265e907662988281063f11de1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//EXAMPLE 26.3
//SHUNT FIELD GENERATOR

clc;
funcprot(0);

//Variable Initialisation
I=450;.............//Load current in Amperes
V=230;.............//Terminal voltage in Volts
Rsh=50;............//Resistance of shunt field in Ohms
Ra=0.03;...........//Resistance of armature in Ohms

Ish=V/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*10)/10;.........//Rounding of decimal places

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