summaryrefslogtreecommitdiff
path: root/1319/CH6/EX6.4/6_4.sce
blob: 8fd66ac87b49c7a64e69ec633d2f29cf70b3e51d (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
//Ratio of speeds of a generator and motor

clc;
clear;

V=250;
Il=80;
Ra=0.12;
Rf=100;// Field Resistance

Ish=V/Rf;// Field Current

Ia1=Il+Ish;// Machine Current genrated
Ia2=Il-Ish;// Motor Current taken by the motor

E=V+(Ia1*Ra);// Generator Induced EMF

Eb=V-(Ia2*Ra);// Motor Operating EMF

//Speeds are directly proportional to the EMFs

Nr=E/Eb; // Ratio of speeds

printf('The ratio of Generator speed to motor speed = %g \n',Nr)