summaryrefslogtreecommitdiff
path: root/1418/CH26/EX26.8/EX26_8.sce
blob: 21e4258f92998f84bb0d1f51f96d5ad29f9b5af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//EXAMPLE 26.8
//VOLTAGE GENERATED BY A FOUR POLE GENERATOR

clc;
funcprot(0);

//Variable Initialisation
P=4;.....................//Number of poles 
S=51;....................//Number of slots
C=20;....................//Number of conductors per slot
N=1500;..................//Speed of the generator in rpm
Phi=7*10^-3;............//Flux per pole in Weber
A=P;....................//Number of parallel paths for lap winding
Z=S*C;.................//Number of conductors

Eg=Phi*P*N*Z/(60*A);..............//Voltage generated in Volts
disp(Eg,"Voltage generated in Volts:");