summaryrefslogtreecommitdiff
path: root/1319/CH6/EX6.11/6_11.sce
blob: 2d8ae3b83869e596413807963556c59af0dbe83f (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//Swinburne test on a dc shunt motor

clc;
clear;

V=500;
I=5;
Rf=250;
Ra=0.5;

P=V*I;
If=V/Rf;

Ia=I-If;

Pfc=(If^2)*Rf;// Field Copper Loss

Pac=(Ia^2)*Ra; // Armature Copper Loss

Pil=P-Pfc-Pac;// Iron loss

// Generator

Vg=500;
Ig=100;

Pog=Vg*Ig; // Power Output

Iag=Ig+If; //Armature current

Pgac=(Iag^2)*Ra; // Armature Copper loss

slg=0.01*Pog;//stray loss

Pgtl=Pgac+Pfc+slg+Pil; // Total losses

effg=Pog*100/(Pog+Pgtl);

// Motor

Vm=500;
Im=100;

Pim=Vm*Im; // Power input to the motor

Iam=Ig-If; // Armature current

Pmac=(Iam^2)*Ra; // Armature Copper Loss

Pom=Pim-Pmac-Pil-Pfc;// Ouput of the motor
slm=0.01*Pom;// Stray loss

Pmtl=Pmac+Pil+Pfc+slm; // Total loss of the motor

effm=(Pom-slm)*100/(Pim);


printf('i) The Efficiency of the machine as a generator delivering 100A at 500V = %g percent \n',effg)

printf('ii) The Efficiency of the machine as a motor having a line current 100A at 500V = %g percent \n',effm)