blob: 757a86dd0dfac1e79f96864273a65ccd554ce5eb (
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
|
close();
clear;
clc;
//power of shunt motor 'P', full load line current 'I', armature resistance 'Ra', field resistance 'Rf', brush contant drop 'Vb', core and friction loss 'Pc'
Vb = 2; //V
Ra = 0.25; //ohm
Rf = 230; //ohm
P = 10; //hp
V = 230; //V
I = 40; //A
Pc = 380; //W
//input power 'Pi'
Pi = I*V; //W
//field-resistance loss 'Pf'
Pf = (V/Rf)^2 * Rf; //W
//armature resistance loss 'Pa'
Pa = (I-1)^2*Ra; //W
//stray-load loss 'Ps'
Ps = (1/100)*P*746; //W
//brush-contact losses 'Pb'
Pb = Vb*(I-1); //W
//total loss 'loss'
loss = Pf+Pa+Ps+Pb+Pc;
//output power 'Po'
Po = Pi-loss; //W
//efficiency 'n'
n = Po/Pi;
mprintf("Efficiency of motor, n = %0.1f %%",n*100);
|