summaryrefslogtreecommitdiff
path: root/Electrical_Machines_by_M._V._Despande/Chapter_8.ipynb
blob: ab19068dedec24c5e2e6a1e7ef74e0f217952509 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
{
 "metadata": {
  "name": "",
  "signature": "sha256:b5ec70b1315e83508cbbaa862fbcda72e0e77064fa4119d5958d22263c60d4ca"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "CHAPTER 8 - DC MACHINES: OPERATION AND TESTING"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E2 - Pg 160"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Find the (a)current (b)voltage required\n",
      "#Exa:8.2\n",
      "import math \n",
      "r=1.#Resistance of series motor(in ohms)\n",
      "V=230.#Voltage of series motor(in volts)\n",
      "n_1=300.#Speed of motor(in r.p.m)\n",
      "i_1=15.#Current taken by motor(in A)\n",
      "n_2=375.#Speed of motor(in r.p.m)\n",
      "i_2=math.sqrt(((i_1**2.)*(n_2**2.))/(n_1**2.))\n",
      "print '%s %.2f' %('(a)Current(in A)=',i_2)\n",
      "V_2=(((V-(i_1*r))*(i_2*n_2))/(i_1*n_1))+(i_2*r)\n",
      "print '%s %.2f' %('(b)Voltage(in volts)=',V_2)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)Current(in A)= 18.75\n",
        "(b)Voltage(in volts)= 354.69\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E3 - Pg 161"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Find the resistance required #Exa:8.3\n",
      "import math\n",
      "I_1=40.#Current taken by series motor(in A)\n",
      "V=663.#Supplied voltage(in volts)\n",
      "n_1=100.#Initial speed(in%)\n",
      "n_2=80.#final speed(in%)\n",
      "I_2=math.sqrt(((I_1**2.)*(n_2**2.))/(n_1**2.))\n",
      "a=(I_1*(n_1/100.))/(I_2*(n_2/100.))\n",
      "R=((a*V)-V)/(a*I_2)\n",
      "print '%s %.2f' %('Resistance required(in ohms) is=',R)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Resistance required(in ohms) is= 7.46\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E5 - Pg 166"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Find (a)Speed at full load torque (b)Speed at double full load torque (c)Stalling torque\n",
      "#Exa:8.5\n",
      "import math\n",
      "V=250.#Voltage of motor(in volts)\n",
      "R_a=0.5#Armature resistance(in ohms)\n",
      "n=400.#Speed of motor at full load(in r.p.m)\n",
      "i=30.#Current taken by motor(in A)\n",
      "R=1.#Series resistance with armature(in ohms)\n",
      "E_b1=V-(i*R_a)\n",
      "E_b2=V-((R_a+R)*i)\n",
      "N=n*(E_b2/E_b1)\n",
      "print '%s %.f' %('(a)Speed at full load torque(in r.p.m)=',N)\n",
      "I=2*i\n",
      "E_b=V-(I*(R+R_a))\n",
      "N_1=n*(E_b/E_b1)\n",
      "print '%s %.f' %('(b)Speed at double full load torque(in r.p.m)=',N_1)\n",
      "I_ft=V/(R+R_a)\n",
      "T_stalling=I_ft/i\n",
      "print '%s %.2f %s' %('(c)Stalling torque=',T_stalling,'times the full load torque')"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)Speed at full load torque(in r.p.m)= 349\n",
        "(b)Speed at double full load torque(in r.p.m)= 272\n",
        "(c)Stalling torque= 5.56 times the full load torque\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E6 - Pg 170"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Find (a)Input to generator from prime mover on full load (b)Efficiency on full load (c)Load current at which generator efficiency is maximum\n",
      "#Exa:8.6\n",
      "import math\n",
      "V=230.#Voltage of generator(in volts)\n",
      "I=150.#Full load current(in A)\n",
      "R_a=0.1#Armature resistance(in ohms)\n",
      "R_f=230.#Field resistance(in ohms)\n",
      "P_s=1500.#Stray losses(in watt)\n",
      "I_f=V/R_f\n",
      "I_a=I_f+I\n",
      "W_ac=(I_a**2.)*R_a\n",
      "W_fc=(I_f**2.)*R_f\n",
      "P_c=W_fc+P_s\n",
      "L_t=W_ac+P_c\n",
      "P_o=V*I\n",
      "P_i=P_o+L_t\n",
      "print '%s %.f' %('(a)Input to generator from prime mover on full load(in watt)=',P_i)\n",
      "Eff=(P_o/P_i)*100\n",
      "print '%s %.1f' %('(b)Efficiency on full load(in %)=',Eff)\n",
      "I_l=math.sqrt(P_c/R_a)\n",
      "print '%s %.1f' %('(c)Load current at which generator efficiency is maximum(in A)=',I_l)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)Input to generator from prime mover on full load(in watt)= 38510\n",
        "(b)Efficiency on full load(in %)= 89.6\n",
        "(c)Load current at which generator efficiency is maximum(in A)= 131.5\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "Example E7 - Pg 170"
     ],
     "language": "python",
     "metadata": {},
     "outputs": []
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Calculate (a)Efficiency on full load (b)Efficiency on 40A input (c)Efficiency on 25A input (d)Full load speed regulation \n",
      "#Exa:8.7\n",
      "V=230.#Voltage of motor(in volts)\n",
      "i_l=50.#Full load current(in A)\n",
      "r_a=0.25#Armature resistance(in ohms)\n",
      "r_f=230.#Field resistance(in ohms)\n",
      "i_o=3.#No load current(in A)\n",
      "i_1=40.#Input current(in A)\n",
      "i_2=25.#Input current(in A)\n",
      "P_c=V*i_o\n",
      "P_i1=V*i_l\n",
      "i_f=V/r_f\n",
      "i_a1=i_l-i_f\n",
      "L_fl=((i_a1**2.)*r_a)+P_c\n",
      "Eff_1=((P_i1-L_fl)/P_i1)*100.\n",
      "print '%s %.2f' %('(a)Efficiency on full load(in%)=',Eff_1)\n",
      "P_i2=V*i_1\n",
      "i_a2=i_1-i_f\n",
      "L=((i_a2**2.)*r_a)+P_c\n",
      "Eff_2=((P_i2-L)/P_i2)*100.\n",
      "print '%s %.2f' %('(b)Efficiency on 40A input(in%)=',Eff_2)\n",
      "P_i3=V*i_2\n",
      "i_a3=i_2-i_f\n",
      "L_1=((i_a3**2.*r_a)+P_c)\n",
      "Eff_3=((P_i3-L_1)/P_i3)*100.\n",
      "print '%s %.1f' %('(c)Efficiency on 25A input(in%)=',Eff_3)\n",
      "I_ao=i_o-i_f\n",
      "E_bo=V-(I_ao*r_a)\n",
      "E_bl=V-(r_a*i_a1)\n",
      "Re=((E_bo-E_bl)/E_bo)*100.\n",
      "print '%s %.1f' %('(d)Full load speed regulation(in%)=',Re)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)Efficiency on full load(in%)= 88.78\n",
        "(b)Efficiency on 40A input(in%)= 88.37\n",
        "(c)Efficiency on 25A input(in%)= 85.5\n",
        "(d)Full load speed regulation(in%)= 5.1\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E10 - Pg 179"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Calculate efficiency of (a)motor and (b)generator\n",
      "#Exa:8.10\n",
      "import math\n",
      "V=230.#Line voltage for both shunt machines(in volts)\n",
      "I=70.#Line current excluding field currents of both machines(in A)\n",
      "i_a=400.#Armature current(in A)\n",
      "i_f1=4.#Field current of first machine(in A)\n",
      "i_f2=3.#Field current of second machine(in A)\n",
      "r_a=0.03#Resistance of armature of each mchine(in ohms)\n",
      "P_acm=(i_a**2.)*r_a\n",
      "P_i=V*I\n",
      "I_g=i_a-I\n",
      "P_acg=(I_g**2.)*r_a\n",
      "P_f=(P_i-P_acm-P_acg)/2.\n",
      "P_m=(V*i_a)+(V*i_f2)\n",
      "P_fc=V*i_f2\n",
      "L_t=P_fc+P_acm+P_f\n",
      "P_o=P_m-L_t\n",
      "n_m=(P_o/P_m)*100.\n",
      "print '%s %.1f' %('(a)Efficiency of motor(in%)=',n_m)\n",
      "P_og=V*I_g\n",
      "P_fcu=V*i_f1\n",
      "L_t1=P_f+P_fcu+P_acg\n",
      "P_ig=P_og+L_t1\n",
      "n_g=(P_og/P_ig)*100.\n",
      "print '%s %.1f' %('(b)Efficiency of generator(in%)=',n_g)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)Efficiency of motor(in%)= 89.7\n",
        "(b)Efficiency of generator(in%)= 90.2\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E11 - Pg 180"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption: Calculate efficiency of motor\n",
      "#Exa:8.11\n",
      "import math\n",
      "W=25.#Effective load on break drum(in kgf)\n",
      "d=50.#Diameter of drum(in cm)\n",
      "n=750.#Speed of the motor(in r.p.m)\n",
      "I=25.#Current taken by motor(in A)\n",
      "V=230.#Voltage of motor(in volts)\n",
      "P_o=(2.*math.pi*n*W*9.81*(d/2.))/(60.*100.)\n",
      "P_i=V*I\n",
      "Eff=(P_o/P_i)*100.\n",
      "print '%s %.2f' %('Efficiency of motor(in %)=',Eff)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Efficiency of motor(in %)= 83.75\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E12 - Pg 180"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Caption:Find efficiency of motor\n",
      "#Exa:8.12\n",
      "import math\n",
      "V=500.#Voltage of shunt motor(in volts)\n",
      "I=10.#.Current taken by motor on no load(inA)\n",
      "I_f=3.#Field Current(inA)\n",
      "r_a=0.1#Armature resistance(in ohms)\n",
      "P_i=100000.#Input power to motor(in watt)\n",
      "P_nl=V*I\n",
      "I_ao=I-I_f\n",
      "P_acn=(I_ao**2.)*r_a\n",
      "P_fcn=I_f*V\n",
      "P_c=(P_nl)-P_acn-P_fcn\n",
      "I_l=P_i/V\n",
      "I_al=I_l-I_f\n",
      "P_acl=(I_al**2.)*r_a\n",
      "P_fcl=V*I_f\n",
      "L_t=P_acl+P_fcl+P_c\n",
      "Eff=((P_i-L_t)/P_i)*100.\n",
      "print '%s %.2f' %('Efficiency of motor(in%) is=',Eff)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Efficiency of motor(in%) is= 91.12\n"
       ]
      }
     ],
     "prompt_number": 8
    }
   ],
   "metadata": {}
  }
 ]
}