summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.18/EX26_18.sce
blob: a9236207d7708d14b709c65cb407f2e8df995dea (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
29
30
31
32
33
//EXAMPLE 26.18
//4-POLE LONG SUNT GENERATOR

clc;
funcprot(0);

//Variable Initialisation
N=900;.................//Speed of  the generator in rpm
P=4;....................//Number of poles
Rse=0.02;.............//Series field resistance in Ohms
Rsh=100;...............//Shunt field resistance in Ohms
Phi=0.07;..........//Air gap flux per pole in Webers
Al=P;...............//Number of parallel paths in lap wound generator
T=220;.............//Number of turns in armature winding
Rw=0.004;..........//Resistance per turn in Ohms
Ia=50;.............//Armature current in Amperes

Z=T*2;....................//Total number of conductors
E=(Phi*P*N*Z)/(60*Al);.............//Generated EMF in Volts
disp(E,"Generated EMF in Volts:");
Rtc=T*Rw;.....................//Total resistance of 220 turns in Ohms
Rp=Rtc/Al;...................//Resistance of each path in Ohms
Ra=Rp/Al;...................//Armature resistance in Ohms
Rca=Ra+Rse;..................//Armature circuit resistance in Ohms
Va=Ia*Rca;...................//Armature circuit drop in Volts
V=E-Va;.......................//Terminal voltage in Volts
disp(V,"Terminal voltage in Volts:");
Ish=V/Rsh;....................//Current through in shunt field in Amperes
y=round(Ish*100)/100;.............//Rounding of decimal places
I=Ia-y;..........................//Load current in Amperes
Po=V*I;................//Output power in Kilo Watts
y1=round(Po);
disp(y1,"Output power in Kilo Watts:");