summaryrefslogtreecommitdiff
path: root/1319/CH6/EX6.14/6_14.sce
blob: 2a68abb02e23593b0bf150c70ce0877905f71612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Induced EMF and Armature current in a long shunt compound generator

clc;
clear;

Il=50; // Load Current
Vl=500; // Load Voltage
Ra=0.05; // Armature Resistance
Rfs=0.03; // Series Field Resistance
Rfp=250; // Shunt Field Resistance
Vb=2; // Contact drop 

Ish=Vl/Rfp;

Ia=Il+Ish;

E=Vl+(Ia*(Ra+Rfs))+Vb; // Induced EMF

printf('The Induced EMF and Armature Current is %g V and %g A respectively \n',E,Ia)