blob: e3656089e24cecc14765ad034c12285338d7af91 (
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
|
//Chapter-1, Example 1.21, Page 1.49
//=============================================================================
clc
clear
//INPUT DATA
V=220;//Terminal voltage in V
ILo=5;//No load current in A
Ra=0.3;//Armature resistance in ohm
Rsh=220;//Field resistance in ohm
IL=50;//Load current in A
//CALCULATIONS
Lo=(ILo*V);//No load losses in W
Ish=(V/Rsh);//Shunt current in A
Iao=(ILo-Ish);//No load armature current in A
Lco=((Iao^2*Ra)+(Ish^2*Rsh));//No load copper losses in W
Ifl=(Lo-Lco);//Iron and friction losses in W
Ia=(IL-Ish);//Armature current in A
Vl=(Ia^2*Ra);//Variable losses in W
Tl=(Vl+Lco+Ifl);//Total losses in W
P=(V*IL);//Input power in W
n=((P-Tl)/P)*100;//Efficiency
//OUTPUT
mprintf('Efficiency of the motor is %3.1f percent',n)
//=================================END OF PROGRAM==============================
|