summaryrefslogtreecommitdiff
path: root/1319/CH6/EX6.12/6_12.sce
blob: b89a2f7899643e1ef20756b6ee7ec0e1fdaa4169 (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
//Speed of a belt driven shunt generator

clc;
clear;

Pg=100*(10^3);// Power output of the generator
Pm=10*(10^3); // Power input of the motor
V=220; 
Ng=300; // Running speed of the generator
Ra=0.025; // Armature resistance
Rf=60; // Field Resistance
Vb=2;// Voltage drop due to brushes

Im=Pm/V; // Current taken by the motor
Ig=Pg/V; // Current delivered by the generator

Eg=V+(Ig*Ra)+Vb; // Induced EMF of generator

Eb=V-(Im*Ra)-Vb; // Back EMF of the motor

Nm=Eb*Ng/Eg;

printf('The Speed under motoring condition = %g rpm \n',Nm)