summaryrefslogtreecommitdiff
path: root/ELECTRIC_MACHINERY/chapter11.ipynb
blob: 9ebe0bd6dc382bee6f3a3291a2e5449c077db79c (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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 11: Speed and Torque Control"
     ]
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.1, Page number: 561"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "\n",
      "#Variable declaration:\n",
      "Vdc=240                             #DC supply (V)\n",
      "D=0.75                              #Duty cycle\n",
      "Rf=187                              #field resistance(ohm)\n",
      "Lf=4.2                              #field winding inductance(H)\n",
      "T=1                                 #switching period(msec)\n",
      "\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "If=D*(Vdc/Rf)\n",
      "tau=Lf/Rf                           #time constant(msec)\n",
      "del_if=(2*Vdc/Rf)*(T/tau)*D*(1-D)\n",
      "\n",
      "\n",
      "#Results:\n",
      "print \"Avg field current:\",round(If,2),\"A\"\n",
      "print \"Magnitude of currnet ripple:\",round(del_if,1),\"mA\"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Avg field current: 0.96 A\n",
        "Magnitude of currnet ripple: 21.4 mA\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.2, Page number: 563"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from sympy import *\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "n1=1800                                 #r/min\n",
      "n2=3600                                 #r/min\n",
      "Va=240                                  #terminal voltage(V)\n",
      "Ifo=0.34                                #No-load field current(A)\n",
      "Ra=0.05                                 #Armature resistance(ohm)\n",
      "Rsh=187                                 #Shunt field resistance(ohm)\n",
      "\n",
      "#Calculations:\n",
      "wm=symbols('wm')\n",
      "wm1=float(2*pi*n1/60)\n",
      "wm2=float(2*pi*n2/60)\n",
      "def Pload(wm):\n",
      "    return (22.4*(120*pi)**-3)*(wm)**3\n",
      "\n",
      "T1=Pload(wm1)*1000/wm1\n",
      "T2=Pload(wm2)*1000/wm2\n",
      "\n",
      "Kf=Va/(Ifo*wm2)\n",
      "def If(T,wm):\n",
      "    return (Va/(2*Kf*wm))*(1+sqrt(1-(4*wm*T*Ra)/Va**2))\n",
      "\n",
      "Rf1tot=round(Va/float(If(T1,wm1)))\n",
      "Rf2tot=round(Va/float(If(T2,wm2)))\n",
      "Rrh1=Rf1tot-Rsh\n",
      "Rrh2=Rf2tot-Rsh\n",
      "\n",
      "\n",
      "#Results:\n",
      "print \"----------------------------------------------------------------\"\n",
      "print \"r/min    Tload[N.m]      If[A]      R(f)tot[ohm]   Rrheostat[ohm]\"\n",
      "print \"----------------------------------------------------------------\"\n",
      "print n1,\"\\t \",round(float(T1),1),\"\\t\\t \",round(float(If(T1,wm1)),3),\"\\t\",Rf1tot,\"\\t      \",Rrh1\n",
      "print n2,\"\\t \",round(float(T2),1),\"\\t\\t \",round(float(If(T2,wm2)),3),\"\\t\",Rf2tot,\"\\t      \",Rrh2\n",
      "print \"----------------------------------------------------------------\"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "----------------------------------------------------------------\n",
        "r/min    Tload[N.m]      If[A]      R(f)tot[ohm]   Rrheostat[ohm]\n",
        "----------------------------------------------------------------\n",
        "1800 \t  14.9 \t\t  0.678 \t354.0 \t       167.0\n",
        "3600 \t  59.4 \t\t  0.333 \t720.0 \t       533.0\n",
        "----------------------------------------------------------------\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.3, Page number: 567"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "%matplotlib inline\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "Rf=109                                  #Field resistance(ohm)\n",
      "Vf=300                                  #Rated field voltage(V)\n",
      "Ra=0.084                                #Armature resistance(ohm)\n",
      "Kf=0.694                                #Geometric constant(A.rad/sec)\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "If=Vf/Rf                                #Resulting field current(A)\n",
      "w_rated=2500*(pi/30)                    #Rated speed(rad/sec)\n",
      "P_rated=100*746                         #Watts\n",
      "T_rated=P_rated/w_rated                 #Nm\n",
      "Va=[0]*102\n",
      "NoLoadRPM=[0]*102\n",
      "FullLoadRPM=[0]*102                      \n",
      "for n in range(1,102,1):\n",
      "    Va[n-1]=250*(1+(n-1)/100)\n",
      "    T=0                                     #Zero torque\n",
      "    w=(Va[n-1]-T*Ra/(Kf*If))/(Kf*If)\n",
      "    NoLoadRPM[n-1]=w*30/pi\n",
      "    T=T_rated\n",
      "    w=(Va[n-1]-T*Ra/(Kf*If))/(Kf*If)\n",
      "    FullLoadRPM[n-1]=w*30/pi\n",
      "\n",
      "print\"The plot is as shown:\"\n",
      "plot(Va,NoLoadRPM)\n",
      "plot(Va[20] ,NoLoadRPM[20] ,'r+')\n",
      "plot (Va[50] , NoLoadRPM[50] , 'r+')\n",
      "plot (Va[80] ,NoLoadRPM[80] , 'r+')\n",
      "plot (Va, FullLoadRPM,'.')\n",
      "plot (Va[20] ,FullLoadRPM[20] ,'o')\n",
      "plot (Va[50] , FullLoadRPM[50] , ' o' )\n",
      "plot (Va[80] , FullLoadRPM[80] ,'o' )\n",
      "title('Speed vs Armature voltage')\n",
      "xlabel('Armature voltage [V] ')\n",
      "ylabel('Speed [r/min] ')\n",
      "annotate('+ = Zero torque',xy=(270,2300))\n",
      "annotate('o =   Full load torque',xy=(270,2100))\n",
      "ylim(1000,2500)\n",
      "xlim(250,500)\n",
      "show()"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Populating the interactive namespace from numpy and matplotlib\n",
        "The plot is as shown:\n"
       ]
      },
      {
       "output_type": "stream",
       "stream": "stderr",
       "text": [
        "WARNING: pylab import has clobbered these variables: ['Polygon', 'seterr', 'poly', 'cosh', 'ldexp', 'hypot', 'flatten', 'conjugate', 'diff', 'tan', 'Circle', 'roots', 'plot', 'isnan', 'eye', 'trace', 'fabs', 'floor', 'diag', 'invert', 'nan', 'modf', 'sqrt', 'frexp', 'source', 'add', 'degrees', 'take', 'var', 'zeros', 'prod', 'log10', 'plotting', 'product', 'exp', 'power', 'multinomial', 'copysign', 'transpose', 'expm1', 'ceil', 'test', 'beta', 'ones', 'isinf', 'sinh', 'vectorize', 'sign', 'trunc', 'cos', 'pi', 'e', 'f', 'tanh', 'det', 'radians', 'mod', 'binomial', 'solve', 'log', 'fmod', 'reshape', 'sin', 'log1p', 'gamma', 'interactive']\n",
        "`%pylab --no-import-all` prevents importing * from pylab and numpy\n"
       ]
      },
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAEZCAYAAAC5AHPcAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzs3XlcVOX+wPHPDO7ivmACSqmp4KDjmiU6ikpi5oIk4HLT\n/Gmbad66WfdW2CJloVfretMstYuau2WkaSqmlkuIC1ouBMpg7pbiBjjP74+J47DDwLB+368Xr2bO\nnDnnmePEl+d8n+f76JRSCiGEEKKA9CXdACGEEGWTBBAhhBB2kQAihBDCLhJAhBBC2EUCiBBCCLtI\nABFCCGEXCSCizDCZTHz22Wcl3QwBJCQkoNfrsVgsJd0UUYIkgIg8bdu2jc6dO1OzZk3q1q3LQw89\nxM8//1zs7dDpdOh0OoefJzk5GWdnZ/z9/R1+rsw8PDzYtm1bsZ+3sCS4V0wSQESurly5wuDBg5k2\nbRrJyclcvHiR9957j2rVqpV00xxmzZo1NGvWjKioKM6fP5/jfmlpaUV+bp1OR2Hm9t69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7IfK7vv/+eefPmsWPHDu06\nN27cWMthNW7cmKSkJFq1agVk/Ldt0qQJDz74IEePHs2z/aJkSQ9E5OrEiRP85z//4cKFC4D1l8jy\n5cvp0qWLts/Zs2eZP38+YE18Hzp0iMcee4wHHniALl268Nprr2l/ZZ8+fZrdu3cDMGHCBGbMmMGp\nU6cA6/DZ9evXA+Dv7090dDTffvstAJ988kmuAQQgJCSEJUuWsGbNGkJCQrTt69ev59y5cwDUrl0b\nvV6f7S/XJUuW0L9/f3755RcOHTrEoUOHiI2N5datW1o77KFsEv83b96kSpUq1KxZk/Pnz/Phhx9m\n2Ld+/frEx8drz9u2bUtycjLffvstFouFmTNn5tpjadGiRa7XPDs5XbcRI0Ywa9Yszp49y+3bt/nX\nv/7F4MGDqV69epZjZG73jRs30Ov11KlTh7S0NGbOnMmVK1e014cPH857772njez7+OOPtX+TXr16\nYbFY+Pjjj0lJSUEpxfHjxzlw4ECOn0GUDAkgIlfOzs5s3boVb29vatasSadOnWjRogUfffSRtk+3\nbt2IjY2lQYMGvPDCCyxbtky7hbNq1SrOnj1L8+bNqV27NoMGDeLMmTMAjBo1igkTJjBgwABq165N\n69attQDi6upKREQEzzzzDPXr1+fo0aParZWcPP7445w6dYr77rsPg8Ggbd+1axdGo5GaNWvi7+/P\nzJkztb98092+fZtVq1YxadIkGjdurP14eHgwevRovvjiixzPm9df+ravh4aGsmfPHmrVqoW/vz+P\nP/54htdffvllXn/9derWrcusWbOoV68ec+bMYfTo0TRt2pTKlStnGK2U3dyY3K55Qa7b888/z+OP\nP06HDh1wcXHhzp07LFy4MNvPNWnSJCIiIqhTpw5Tpkxh4MCB9OnThwceeAAPDw90Ol2G22Hvvvsu\nzs7O3HffffTp04eAgACth1epUiW+++47tm7dqt3qGzNmTK49L1EydErJglLCfosXL+azzz5j586d\nJd0UUYZ99tlnfPrpp+zZs6ekmyIKQHogQohid+7cOfbt2wdY53x8+OGHDB48uIRbJQpKkuiiUIqr\nvIgoX1JSUvjb3/5GYmI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N7DuJ51JN/H/13odvr0ACSmppKQEAAISEhDBkyhCNHjpCQkED79u0BMJvNdOrUib17\n9+Lm5kZiYqL2XrPZjLu7e7bbbXsqtmwDiBBClBW2M8j1evj994LnOGyDxrU719iduBuAwa0HE+gZ\nyIJBC6hbrW6WP66nT59ud7sdFkCUUjz11FN4enry4osvAmAwGDh//ry2z/333090dDT169fH39+f\np59+milTpnDu3DliY2Pp2rUrlStXRq/XExMTg9FoZOnSpYwZM8ZRzRZCiGJz4wYYDNYAAtYZ5PZO\nAky/VQXQpGYT4F6eo7C3qnLisBzI7t27iYiIYPv27RiNRoxGIxs3bsywj+1a2p06dWLo0KF4e3vz\n6KOPMn/+fCr/1XdbtGgR48aNw8vLi2bNmjFs2DBHNVsIIRzONkEeH2/fDPLckuN7xu8psjxHbqSY\nohBCFKO5cyF9OttLL8EHH9h3HNNik9bjSL9FNWHDBO1WVX4V5nenBBAhhCgGRZEgt81zpFpS+f63\n7+nctHOhehoSQJAAIoQonWwT5JUqWUusN2pk37Fsex2DWw+milOVAvc4MivM706phSWEEA5w4wZ4\ne1snAYL9CfKchuQ6MjmeX1KNt5RZt26dNugg/cfJyYnvvvuuSM/z559/8t///rdIjymEsCbDR468\nN4P8yy8LV2I9c+mR4kiO55fcwiqkqKgolixZwqJFixxy/AULFrB8+XK2b9+er/3Tr4HtCLfsJCQk\nMGjQII4cOZLvtty9excnJ6d87y9ERWObIH/5ZchUsSlfbHscywKWEbImhI2nNhY615ETWZGwBOX1\ni7owTpw4wdtvv83//vc/bdtbb72Ft7c3bdu25dVXXwWswaB169Y8+eSTdOjQAbPZzKRJk/D09MTT\n05Mvvvgiy7GnTZtGXFwcRqORV155BaVUtu+JiorCx8dHG2KtlOL//u//aN26NY8++igDBw5kzZo1\nAHh4eGjVlX/++Wd69+4NWKsRBAcH0759e7y8vFi1apXDrpkQJWHbNmul3MmTrQnylBT7ggc4tvRI\nUZMcSCHlJ3IvW7aMD7IZq9eqVStWrlyZ7XtSU1MJCQlh1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wLQ/s0bNWrE\n8HttapcAAAgXSURBVOHD2b9/f9F9L4o8Y+MAFotFjR49Wk2ZMiXD9vPnz2uP586dq4YOHaqUupcI\nSk1NVYmJiap58+YqJSWlWNvsKJcuXVLXrl1TSlkTyD4+Puqbb77JkBSbNWuWmjRpklKqYl6LCxcu\naPtUlO+FraioKPXYY48ppVSF/F7Ysr0WFfH3xY0bN9SNGzeUUkolJyernj17qq+++qrIvhfFPhPd\nHrt37yYiIkIbigbWSYfLli3j8OHDpKSk0Lx5cz777DMAOnXqxNChQ/H29kav1zN//nwqV65ckh+h\nyJw9e5YxY8aglOL27duEhIQwcOBAunfvzogRI/j888+1CZpQMa/F6NGjK9z3IrP0sj7Tp0+vcN8L\nW0op7VpMnTqVI0eOVKjvxfnz5xkyZAg6nY6bN28SFBTE448/To8ePYrkeyETCYUQQtilzORAhBBC\nlC4SQIQQQthFAogQQgi7SAARQghhFwkgQggh7CIBRAghhF0kgIhSa/369ej1eo4fP+6wc+zYsYOf\nfvrJYccviISEBAwGAwCHDh3KUG7cUUwmE23atGHDhg188cUXhISEZHj90qVLNG7cmJSUFEaOHEmD\nBg1Ys2aNw9slygYJIKLUWr58OY899hjLly/P9vW7d+8W+hzbt2/nxx9/LNB7iuK8eYmJieHbb791\n+Hl0Oh3Lli1j0KBBDB06lC1btnDr1i3t9dWrV/P4449TpUoVli5dyuOPP65NzBNCAogolZKTk9m7\ndy8ff/wxK1as0LZHRUXh4+PD0KFDMRgM7Nixg169ehEQEEDLli2ZNm0a//vf/+jevTutW7fm5MmT\nAHz99dd069YNg8FAz549+f3330lISGD+/PnMnj2bjh07smvXLp588skMf2E7OztnOa+3tzd3797l\n+eefp3379rRt2zbbZZZfffVV5s2bpz0PDQ0lPDwcpRSTJk3C09MTT09PvvjiiwzvS01N5Y033mDF\nihUYjUZWrlzJ/v376d69O+3bt6dTp04cO3YMgBs3bjBo0CC8vLwIDAzkoYceIjo6WvvMnTp1wmAw\nMHjwYK5fv57ttU6fS1yrVi169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4X01atTI0K6c2v/www9rOZvjx49z5MgRdDod\nPj4+bN++nTNnzmjvj4uLy8+lIjg4mFmzZnHhwgUeeuihfL1HVEwSQESp8+WXXzJ06NAM2wICAli+\nfLm2IFC6zM9t2b72+uuvM3ToULp160aDBg207YMGDWLZsmV06NCB3bt38/TTT/Pdd99hNBr58ccf\ntSR6+vHSPffcc9qa0e3bt2fs2LHZBhtPT0+Sk5Nxc3PT1msfMWIELVq0wNPTkx49ehAWFkbTpk0z\nnKN3795ER0fTvn17Vq5cyUsvvcRLL71Ely5dSElJ0fabMmUK8fHxtGvXjtdffx0vLy+qV6+Oi4sL\nCxYs4PH/b+8OUSCEoigMnyRYXYgIgsEigk20GAyWtyCrO3EHrkOMbsAoMm2qzjXp/F8+4bbD5cG7\nda0oipQkyffh/UxRFFrXVW3bXsrjf/GdO/Bgx3Fo33d5nqd5npVlmZZluXzPIs9z9X2vOI4v5Z1z\nqqpKTdPcGRsvwQYCPNi2bUrTVGEYqixLDcPw0zGkIAjknNM4jqfZrus0TZN8378zMl6EDQQAYMIG\nAgAwoUAAACYUCADAhAIBAJhQIAAAEwoEAGDyAeFXTM/ETGeOAAAAAElFTkSuQmCC\n",
       "text": [
        "<matplotlib.figure.Figure at 0x3b84990>"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.4, Page number: 571"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from sympy import *\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "Rf=109                                  #Field resistance(ohm)\n",
      "Vf=300                                  #Rated field voltage(V)\n",
      "n1=2000                                  #rpm\n",
      "T_rated=285                            #Rated torque(Nm)\n",
      "n2=1975                                 #Dropped rpm\n",
      "Kf=0.694                                #Geometric constant(A.rad/sec\n",
      "Ra=0.084                                #Armature resistance(ohm)\n",
      "\n",
      "#Calculations:\n",
      "If=Vf/Rf                                #Resulting field current(A)\n",
      "wm1=2*pi*n1/60\n",
      "w_ref=wm1\n",
      "Vao=Kf*If*wm1\n",
      "Ia=T_rated/(Kf*If)\n",
      "wm2=2*pi*n2/60\n",
      "Ea=Kf*If*wm2\n",
      "Va=Ea+Ia*Ra\n",
      "G=symbols('G')\n",
      "x=solve(Vao-round(Va)+G*(w_ref-wm2),G)\n",
      "\n",
      "\n",
      "#Results:\n",
      "print \"Armature voltage,Vao:\",round(Va,0),\"V\"\n",
      "print \"Multiplicative constant,G:\",float(round(x[0],2)),\"A.sec/rad\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Armature voltage,Vao: 408.0 V\n",
        "Multiplicative constant,G: 3.04 A.sec/rad\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.5, Page number: 573"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "from sympy import *\n",
      "\n",
      "#Variable Declaration:\n",
      "Km=0.22                             #torque constant(V/(rad/sec))\n",
      "Ra=1.03                             #ohm\n",
      "Pl=100                            #Power load(W)\n",
      "Va1=40                              #Armature voltage(V)\n",
      "Va2=50                              #  \"        \"     \"\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "wm1=(Va1/(2*Km))*(1+sqrt(1-(4*Pl*Ra/Va1**2)))\n",
      "wm2=(Va2/(2*Km))*(1+sqrt(1-(4*Pl*Ra/Va2**2)))\n",
      "\n",
      "#Results:\n",
      "print \"for Va=40 V, wm=\",round(wm1,1),\"rad/sec\"\n",
      "print \"for Va=50 V, wm=\",round(wm2,1),\"rad/sec\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "for Va=40 V, wm= 169.2 rad/sec\n",
        "for Va=50 V, wm= 217.5 rad/sec\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.6, Page number: 575"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "\n",
      "Rf=109                                  #Field resistance(ohm)\n",
      "Vf=300                                  #Rated field voltage(V)\n",
      "Ra=0.084                                #Armature resistance(ohm)\n",
      "Kf=0.694                                #Geometric constant(A.rad/sec)\n",
      "Tfl=285                                 #Full load torque(Nm)\n",
      "nf=2500                                 #Speed at full load(r/min)\n",
      "#wm=2500                                 #rated r/min\n",
      "\n",
      "#for part (1):\n",
      "n1=2000                                 #r/min\n",
      "n2=2500                                 #r/min\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "#part (a):\n",
      "If=Vf/Rf\n",
      "w1=n1*2*pi/60\n",
      "w2=n2*2*pi/60\n",
      "Ea1=Kf*If*w1                    #Avg Amature voltage(V)\n",
      "Ea2=Kf*If*w2\n",
      "Ia1=n1*Tfl/(nf*Kf*If)\n",
      "Ia2=n2*Tfl/(nf*Kf*If)\n",
      "Va1 = Ea1 + Ia1*Ra\n",
      "Va2 = Ea2 + Ia2*Ra\n",
      "Tl1=(n1/nf)*Tfl\n",
      "Tl2=(n2/nf)*Tfl\n",
      "\n",
      "#part (b):\n",
      "\n",
      "# The dynamic equation governing the speed of the motor is\n",
      "\n",
      "#   J*(dwm/dt)=Tmech-Tload\n",
      "#   wm=(pi/30)*n & wr=(pi/30)*nf\n",
      "#      Tload= (Tfl/wf)*wm\n",
      "#   Tmech = Kf*If*Ia=Kf*If*(Va-Ea)/Ra          #Under armature-voltage control\n",
      "\n",
      "#   Thus the governing differential equation is\n",
      "#   d(wm)/dt + 48.4*wm - 24.7*Va = 0\n",
      " \n",
      "#   wm = wf + (wi-wf)*exp(-t/tau)          #tau=1/48.4=20.7 msec\n",
      "#   n = 2500- 50*exp( -t/tau )\n",
      "\n",
      "#   The armature current will decrease exponentially with the \n",
      "#   same 20.7 msec time constant from an initial value of \n",
      "#   (Vf - Vi)/Ra = 1190 A to its final value of 149 A.\n",
      "\n",
      "#   Ia = 149 + 1041*exp(-t/tau)\n",
      "\n",
      "#part (c):\n",
      "#        J*d(wm)/dt = Tmech-Tload = Tf-(Tf/wm)*wm\n",
      "# or      d(wm)/dt + 1.18*wm - 310 = 0\n",
      "\n",
      "#In this case, the speed will rise exponentially to wm=wf=262 rad/sec as\n",
      "#         wm = 262-53*exp(-t/tau)           #tau=1/1.18=845 msec\n",
      "\n",
      "#Results:\n",
      "print \"part(a):\\n\"\n",
      "print \"-------------------------------------------------\"\n",
      "print \"r/min\\tw[rad/s]\\tVa(V)\\tIa(A)\\tTload[Nm]\"\n",
      "print \"-------------------------------------------------\"\n",
      "print n1,\"\\t\",round(w1),\"\\t\\t\",round(Va1),\"\\t\",round(Ia1),\"\\t\",Tl1,\"Nm\"\n",
      "print n2,\"\\t\",round(w2),\"\\t\\t\",round(Va2),\"\\t\",round(Ia2),\"\\t\",Tl2,\"Nm\"\n",
      "print \"-------------------------------------------------\"\n",
      "print \"\\npart (b):\"\n",
      "print \" The resultant motor speed, n = 2500 - 50*exp(-t/tau) where tau=20.7 msec\"\n",
      "\n",
      "print \"\\npart (c):\"\n",
      "print \" The resultant motor speed, wm = 262 - 53*exp(-t/tau) where tau=845 msec\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "part(a):\n",
        "\n",
        "-------------------------------------------------\n",
        "r/min\tw[rad/s]\tVa(V)\tIa(A)\tTload[Nm]\n",
        "-------------------------------------------------\n",
        "2000 \t209.0 \t\t410.0 \t119.0 \t228.0 Nm\n",
        "2500 \t262.0 \t\t513.0 \t149.0 \t285.0 Nm\n",
        "-------------------------------------------------\n",
        "\n",
        "part (b):\n",
        " The resultant motor speed, n = 2500 - 50*exp(-t/tau) where tau=20.7 msec\n",
        "\n",
        "part (c):\n",
        " The resultant motor speed, wm = 262 - 53*exp(-t/tau) where tau=845 msec\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.7, Page number: 581"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "import math\n",
      "\n",
      "\n",
      "#Variable Calculations:\n",
      "f1=60                                #Initial frequency(Hz)\n",
      "f2=50                               #Changed frequency(Hz)\n",
      "Xs=0.836                            #Saturated synch reactance(ohm)\n",
      "Va=1+0j                             #Armature voltage(V p.u)\n",
      "Ia=1+0j                             #Armature current(A p.u)\n",
      "If_rated=2.84                       #Rated field current(A)\n",
      "p=6                                 #No. of poles\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "#for part (a):\n",
      "ns1=120*f1/p\n",
      "ns2=120*f2/p\n",
      "Eaf=Va-1j*Xs*Ia*exp(1j*0)          #field voltage(V)\n",
      "Ifo=abs(Eaf)*If_rated                   #motor field current(A)\n",
      "\n",
      "#for part(b):\n",
      "#Eaf= (wm/wmo)*(If/Ifo)*Eafo\n",
      "If=Ifo\n",
      "\n",
      "#Results:\n",
      "print \"part(a):\"\n",
      "print \"(i)  The motor speed:\",ns1,\"r/min\"\n",
      "print \"(ii) The motor field current:\",round(Ifo,2),\"A\"\n",
      "print \"part(b):\"\n",
      "print \"(i)  The changed speed:\",ns2,\"A\"\n",
      "print \"(ii) The mototr field current:\",round(If,2),\"A\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "part(a):\n",
        "(i)  The motor speed: 1200.0 r/min\n",
        "(ii) The motor field current: 3.7 A\n",
        "part(b):\n",
        "(i)  The changed speed: 1000.0 A\n",
        "(ii) The mototr field current: 3.7 A\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.8, Page number: 588"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "from sympy import *\n",
      "\n",
      "#Variable declaration:\n",
      "iF=2.84                                 #rated field current(A)\n",
      "Vbase=220                               #base voltage(V)\n",
      "Eaf=220/sqrt(3)                         #Rms voltage line-to-neutral(V)\n",
      "f=60                                    #Hz\n",
      "p=6                                     #poles\n",
      "P_rated=45*10**3                        #rated power(W)\n",
      "Xs_pu=0.836                             #per unit synchronous reactance(ohm)\n",
      "\n",
      "#Calculations:\n",
      "we=2*pi*f\n",
      "Laf=sqrt(2)*Eaf/(we*iF)                 #Armature field reactance(H)\n",
      "T_rated=P_rated/(we*2/p)\n",
      "#setting rated values to reference values.\n",
      "Tref=T_rated\n",
      "iFref=iF\n",
      "iQ=round((2/3)*(2/p)*Tref/(Laf*iFref),2)\n",
      "iD=0\n",
      "\n",
      "#since theta_me=wc*t, iD=0,we have,\n",
      "t=symbols('t')\n",
      "wc=120*pi\n",
      "def ia(t):\n",
      "    return iD*cos(wc*t)-iQ*sin(wc*t)\n",
      "def ib(t):\n",
      "    return iD*cos(wc*t-2*pi/3)-iQ*sin(wc*t-2*pi/3)\n",
      "def ic(t):\n",
      "    return iD*cos(wc*t+2*pi/3)-iQ*sin(wc*t+2*pi/3)\n",
      "Ibase=P_rated/(sqrt(3)*Eaf)\n",
      "Imax=round(ia((pi/(2*wc))))\n",
      "Ia=1j*abs(round(Imax/sqrt(2)))\n",
      "Eaf=1j*we*Laf*iF/sqrt(2)\n",
      "Zbase=Vbase**2/P_rated\n",
      "Xs=Xs_pu*Zbase\n",
      "Va=1j*Xs*Ia+Eaf                             #line-to-neutral voltage\n",
      "Vt=abs(sqrt(3)*Va)/Vbase                #p.u terminal voltage(line-to-line)(V)\n",
      "\n",
      "#Results:\n",
      "print \"part(a):\"\n",
      "print \"\\tia(t)=\",ia(t),\"A\"\n",
      "print \"\\tib(t)=\",ib(t),\"A\"\n",
      "print \"\\tic(t)=\",ic(t),\"A\"\n",
      "print \"part(b):\"\n",
      "print \"\\tTerminal voltage:\",round(float(Vt),2),\"per unit\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "part(a):\n",
        "\tia(t)= -167.01*sin(120*pi*t) A\n",
        "\tib(t)= 167.01*sin(120*pi*t + pi/3) A\n",
        "\tic(t)= -167.01*cos(120*pi*t + pi/6) A\n",
        "part(b):\n",
        "\tTerminal voltage: 1.3 per unit\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.9, Page number: 591"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "iF=2.84                                 #rated field current(A)\n",
      "Vrated=220                              #rated terminal voltage,l-l(V)\n",
      "Ibase=118                               #base current(A)\n",
      "Eaf=220/sqrt(3)                         #Rms voltage, line-to-neutral(V)\n",
      "f=60                                    #Hz\n",
      "p=6                                     #poles\n",
      "P_rated=45*10**3                        #rated power(W)\n",
      "Xs=0.899                                #Synchronous reactance(ohm)\n",
      "Xs_pu=0.836                             #per unit synchronous reactance(ohm)\n",
      "Tref=358                                #Reference torque(Nm) (from Ex11.8)\n",
      "\n",
      "#Calculations:\n",
      "Va=Vrated/sqrt(3)                        #base voltage, line to neutral(V)\n",
      "we=2*pi*f\n",
      "wm=(2/p)*we\n",
      "Laf=sqrt(2)*Eaf/(we*iF)                 #Armature field reactance(H)\n",
      "Ia=Tref*wm/(3*Va)\n",
      "Ls=Xs/we                                #Synchronous inductance(mH)\n",
      "delta=-atan(we*Ls*Ia/Va)\n",
      "iQ_ref=sqrt(2)*Ia*cos(delta)\n",
      "iD_ref=sqrt(2)*Ia*sin(delta)\n",
      "iF_ref=(2./3)*(2/p)*Tref/(Laf*iQ_ref)\n",
      "\n",
      "#since motor is running at rated voltage, base voltage and rated voltage \n",
      "# are assumed to be same.\n",
      "Va_pu=Va/Va                      \n",
      "Ia_pu=Ia/Ibase\n",
      "\n",
      "\n",
      "#Results:\n",
      "print \"The reqd motor field current:\",round(iF_ref,2),\"A\"\n",
      "print \"Per unit voltage:\",Va_pu,\"p.u\"\n",
      "print \"Per unit current:\",round(Ia_pu),\"p.u\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The reqd motor field current: 3.7 A\n",
        "Per unit voltage: 1.0 p.u\n",
        "Per unit current: 1.0 p.u\n"
       ]
      }
     ],
     "prompt_number": 10
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.10, Page number: 593"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "ns=4000                             #rated speed(rpm)\n",
      "Va=220                              #rated voltage(V)\n",
      "Ls=1.75*10**-3                      #synchronous inductance(H)\n",
      "Prated=25000                        #Watts\n",
      "n=3200                              #rated OC speed(rpm)\n",
      "p=2                                 #No. of poles\n",
      "\n",
      "#Calculations:\n",
      "#for part(a):\n",
      "Eaf=Va/sqrt(3)\n",
      "wm=ns*pi/30                         #rad/sec\n",
      "Trated=Prated/wm\n",
      "we=(p/2)*n*pi/30\n",
      "lambdaPM=sqrt(2)*Eaf/we             #flux linked wth permanent magnet(Wb)  \n",
      "Tref=Trated*0.65                #since motor is operated at 65% of Trated\n",
      "iQref=(2./3)*(2/p)*(Tref/lambdaPM)\n",
      "\n",
      "#for part(b:)\n",
      "lambdaD=lambdaPM                         #since iD=0\n",
      "lambdaQ=Ls*iQref\n",
      "lambdaa=sqrt((lambdaD**2+lambdaQ**2)/2)  #rms line-to-neutral armature flux(Wb)\n",
      "lambdaa_base=Eaf/wm\n",
      "lambda_pu=lambdaa/lambdaa_base\n",
      "\n",
      "#for part(c)\n",
      "lambdaD=sqrt(2*(lambdaa_base)**2-lambdaQ**2)\n",
      "iDref=(lambdaD-lambdaPM)/Ls\n",
      "Ia=sqrt((iDref**2+iQref**2)/2)          #rms armature current(A)\n",
      "Ibase=Prated/(sqrt(3)*Va)\n",
      "I_pu=Ia/Ibase\n",
      "\n",
      "#Results:\n",
      "print \"(a)  Required quadrature-axis current:\",round(iQref,1),\"A\"\n",
      "print \"(b)  Resultant armature flux linkage\",round(lambda_pu,2),\"p.u\"\n",
      "print \"(c)  iD:\",round(iDref,1),\"A\"\n",
      "print \"     Rms value of armature current:\",round(Ia),\"A\"\n",
      "print \"     Per unit value of armature current:\",round(I_pu,2),\"A\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)  Required quadrature-axis current: 48.2 A\n",
        "(b)  Resultant armature flux linkage 1.27 p.u\n",
        "(c)  iD: -66.1 A\n",
        "     Rms value of armature current: 58.0 A\n",
        "     Per unit value of armature current: 0.88 A\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.11, Page number: 600"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "V10=230/sqrt(3)\n",
      "Nph=3\n",
      "p=4\n",
      "fe0=60\n",
      "R1=0.095                                #Armature resistance(ohm)\n",
      "R2=0.2                                  #Rotor resistance(ohm)\n",
      "X10=0.680                               #Armature leakage reactance(ohm)\n",
      "X20=0.672                               #Rotor leakage reactance(ohm)\n",
      "Xm0=18.7                                #Inductice reactance(ohm)\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "#taking two frequency values:\n",
      "fe1=40\n",
      "fe2=60\n",
      "\n",
      "for m in range(1,3,1):\n",
      "    if m==1:\n",
      "        fe=fe1\n",
      "    else:\n",
      "        fe=fe2\n",
      "    X1=X10*(fe/fe0)\n",
      "    X2=X20*(fe/fe0)\n",
      "    Xm=Xm0*(fe/fe0)\n",
      "    V1=V10*(fe/fe0)\n",
      "    \n",
      "    ws=4*pi*fe/p\n",
      "    ns=120*fe/p\n",
      "    V1eq=abs(V1*1j*Xm/(R1+1j*(X1+Xm)))\n",
      "    Z1eq=1j*Xm*(R1+1j*X1)/(R1+1j*(X1+Xm))\n",
      "    R1eq=Z1eq.real\n",
      "    X1eq=Z1eq.imag\n",
      "    \n",
      "#Search over the slip until the Pload = Pmech   \n",
      "    s=0                             #slip initialised to 0\n",
      "    error=1\n",
      "    \n",
      "    while error >=0:\n",
      "        s=s+0.00001\n",
      "        rpm=ns*(1-s)\n",
      "        wm=ws*(1-s)\n",
      "        Tmech=(1/ws)*Nph*V1eq**2*(R2/s)\n",
      "        Tmech = Tmech/((R1+R2/s)**2 + (X1+X2)**2)\n",
      "        Pmech=Tmech*wm\n",
      "        Pload=10.5*10**3*(rpm/1800)**3\n",
      "        error=Pload-Pmech\n",
      "    \n",
      "    print \"\\nFor fe =\",fe,\"Hz :\"\n",
      "    print \"\\tTerminal voltage=\",round(V1*sqrt(3)),\"V l-l\"\n",
      "    print \"\\trpm =\",round(rpm)\n",
      "    print \"\\tslip =\",round(100*s,1),\"%\"\n",
      "    print \"\\tPload =\",round(Pload/1000,2),\"kW\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "\n",
        "For fe = 40 Hz :\n",
        "\tTerminal voltage= 153.0 V l-l\n",
        "\trpm = 1166.0\n",
        "\tslip = 2.8 %\n",
        "\tPload = 2.86 kW\n",
        "\n",
        "For fe = 60 Hz :\n",
        "\tTerminal voltage= 230.0 V l-l\n",
        "\trpm = 1721.0\n",
        "\tslip = 4.4 %\n",
        "\tPload = 9.17 kW\n"
       ]
      }
     ],
     "prompt_number": 12
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.12, Page number: 608"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "V10=230/sqrt(3)\n",
      "Nph=3\n",
      "p=4\n",
      "fe0=60\n",
      "R1=0.095                                #Armature resistance(ohm)\n",
      "R2=0.2                                  #Rotor resistance(ohm)\n",
      "X10=0.680                               #Armature leakage reactance(ohm)\n",
      "X20=0.672                               #Rotor leakage reactance(ohm)\n",
      "Xm0=18.7                                #Inductice reactance(ohm)\n",
      "n=1680                                  #rpm\n",
      "Pmech=9.7*10**3                         #Electromagnetic power(W)\n",
      "\n",
      "\n",
      "#Calculations:\n",
      "we0=2*pi*fe0\n",
      "Lm=Xm0/we0\n",
      "LS=Lm+X10/we0\n",
      "LR=Lm+X20/we0\n",
      "Ra=R1\n",
      "RaR=R2\n",
      "lambda_rated=sqrt(2)*V10/we0\n",
      "lambdaDR=lambda_rated\n",
      "#for specified operating condition\n",
      "wm=n*(pi/30)\n",
      "Tmech=Pmech/wm\n",
      "iQ=(2/3)*(2/p)*(LR/Lm)*(Tmech/lambdaDR)\n",
      "iD=lambdaDR/Lm\n",
      "Ia=sqrt((iD**2+iQ**2)/2)\n",
      "wme=(p/2)*wm\n",
      "we=wme+(RaR/LR)*(iQ/iD)\n",
      "fe=we/(2*pi)\n",
      "Va=sqrt(((Ra*iD-we*(LS-Lm**2/LR)*iQ)**2 + (Ra*iQ+we*LS*iD)**2)/2)\n",
      "\n",
      "\n",
      "\n",
      "#Results:\n",
      "print \"Rms amplitude of the armature current:\",round(Ia,1),\"A\"\n",
      "print \"The electrical frequency:\",round(fe,1),\"Hz\"\n",
      "print \"Rms terminal voltage:\",round(sqrt(3)*Va,1),\"V  line-line\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Rms amplitude of the armature current: 27.9 A\n",
        "The electrical frequency: 58.4 Hz\n",
        "Rms terminal voltage: 243.6 V  line-line\n"
       ]
      }
     ],
     "prompt_number": 13
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 11.13, Page number: 610"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "%matplotlib inline\n",
      "from math import *\n",
      "\n",
      "#Variable declaration:\n",
      "P_rated = 12*10**3                       #Watts\n",
      "V_rated = 230                            #Rated line-line voltage(v)\n",
      "Va_rated = 230/sqrt(3)                   #Rated line to neutral(V)\n",
      "fe_rated = 60                            #Hz\n",
      "we_rated = 2*pi*fe_rated                 #rad/sec\n",
      "lambda_rated = sqrt(2)*Va_rated/we_rated #Wb\n",
      "I_rated = P_rated/(sqrt(3)*V_rated)      #A\n",
      "Ipeak_base = sqrt(2)*I_rated            #A\n",
      "p = 4                                   #poles\n",
      "\n",
      "V10=V_rated/sqrt(3)\n",
      "R1=0.095                                #Armature resistance(ohm)\n",
      "R2=0.2                                  #Rotor resistance(ohm)\n",
      "X10=0.680                               #Armature leakage reactance(ohm)\n",
      "X20=0.672                               #Rotor leakage reactance(ohm)\n",
      "Xm0=18.7                                #Inductice reactance(ohm)\n",
      "\n",
      "#Calculations:\n",
      "Lm = Xm0/we_rated;\n",
      "LS = Lm + X10/we_rated;\n",
      "LR = Lm + X20/we_rated;\n",
      "Ra = R1\n",
      "RaR = R2\n",
      "#operating point:\n",
      "n = 1680                                #rpm\n",
      "lambdaDR=lambda_rated\n",
      "wm = n*pi/30\n",
      "wme = (p/2)*wm\n",
      "Pmech = 9.7*10**3\n",
      "Tmech = Pmech/wm\n",
      "lambda_DRpu=[0]*42\n",
      "iDpu=[0]*42\n",
      "Iapu=[0]*42\n",
      "fe=[0]*42\n",
      "Vapu=[0]*42\n",
      "\n",
      "for n in range(1,43,1):\n",
      "    lambdaDR = (0.8+(n-1)*0.4/40)*lambda_rated\n",
      "    lambda_DRpu[n-1]=lambdaDR/lambda_rated\n",
      "    iQ=(2/3)*(2/p)*(LR/Lm)*(Tmech/lambdaDR)\n",
      "    iD=(lambdaDR/Lm)\n",
      "    iDpu[n-1]=iD/Ipeak_base\n",
      "    iQR=-(Lm/LR)**iQ\n",
      "    Ia=sqrt((iD**2+iQ**2)/2)\n",
      "    Iapu[n-1]=Ia/I_rated\n",
      "    we=wme-(RaR/LR)*(iQ/iD)\n",
      "    fe[n-1]=we/(2*pi)\n",
      "    Va_rms=sqrt(((Ra*iD-we*(LS-Lm**2/LR)*iQ)**2 +(Ra*iQ+ we*LS*iD)**2)/2)\n",
      "    Vapu[n-1]=Va_rms/Va_rated\n",
      "\n",
      "#Results:\n",
      "print \"The required plot is as shown:\"\n",
      "plot(iDpu,Iapu)\n",
      "plot(iDpu,Vapu,':')\n",
      "xlabel('i_D [per unit] ')\n",
      "ylabel('per unit')\n",
      "annotate('Ia',xy=(0.21,1.05))\n",
      "annotate('Va',xy=(0.21,0.85))\n",
      "show()"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Populating the interactive namespace from numpy and matplotlib\n",
        "The required plot is as shown:\n"
       ]
      },
      {
       "output_type": "stream",
       "stream": "stderr",
       "text": [
        "WARNING: pylab import has clobbered these variables: ['vectorize', 'prod', 'plotting', 'Circle', 'diag', 'sinh', 'trunc', 'plot', 'eye', 'f', 'det', 'tan', 'product', 'gamma', 'roots', 'radians', 'sin', 'fmod', 'expm1', 'ldexp', 'zeros', 'cosh', 'info', 'interactive', 'conjugate', 'linalg', 'take', 'trace', 'beta', 'exp', 'random', 'frexp', 'fft', 'ceil', 'ones', 'copysign', 'isnan', 'multinomial', 'cos', 'transpose', 'solve', 'diff', 'invert', 'degrees', 'pi', 'tanh', 'Polygon', 'fabs', 'reshape', 'sqrt', 'floor', 'source', 'add', 'poly', 'mod', 'sign', 'hypot', 'power', 'binomial', 'log', 'var', 'log10', 'e', 'seterr', 'log1p', 'flatten', 'nan', 'modf', 'isinf', 'test']\n",
        "`%pylab --no-import-all` prevents importing * from pylab and numpy\n"
       ]
      },
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAY8AAAEQCAYAAABIqvhxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtclGX6+PHPAAoqmlpACiSGB2Q4h24eMExJ8ZzaEqa2\nHsq0vq19Xfut25ZYra6pleV+zTI72vmgmUq7HcZTHlBQUdM8IkOiiAcEBIG5f388ORspwsgMzzBc\n79eL187Mc5jr3vC5uJ77ue/boJRSCCGEEDZw0zsAIYQQ9Y8kDyGEEDaT5CGEEMJmkjyEEELYTJKH\nEEIIm0nyEEIIYTOHJo8JEybg5+dHeHj4Nbe/9957REREEB4eTmxsLDt37rRuS01NJTw8nNDQUObN\nm+fIMIUQQtjIoclj/PjxpKamVrm9c+fObN68mczMTJ5//nkmTZoEQGlpKVOmTCE1NZU9e/bw2Wef\nkZGR4chQhRBC2MChySMuLo5WrVpVub1bt240b94cgJ49e5KTkwPAtm3bMBqN+Pv74+HhQVJSEmvW\nrHFkqEIIIWzgNH0eS5cuZdiwYQCYzWYCAwOt2wICAjCbzXqFJoQQ4nc89A4AwGQysXz5cjZv3gyA\nwWDQOSIhhBDXo3vy2LNnD5MmTSI1NdV6iysgIIDs7GzrPtnZ2ZUqkSs6dOjAkSNH6ixWIYRwBcHB\nwRw+fLh2J1EOduzYMRUWFnbNbVlZWSo4OFht2bKl0ueXLl1S7dq1U2azWV2+fFnFxsaqnTt3XnV8\nHYSvq1mzZukdgkNJ++ovV26bUq7fPntcOx1aeSQnJ7N+/XrOnDlDYGAgs2fPpqysDIDJkyfz7LPP\ncu7cOaZMmQJAo0aN2L59O15eXixZsoT+/ftjsVgYO3YsMTExjgxVCCGEDRyaPD788MPrbl+2bBnL\nli275rbExEQSExMdEZYQQohacpqnrcTV4uPj9Q7BoaR99Zcrtw1cv332YPj1/le9ZDAYqMfhCyGE\nLuxx7ZTKQwghhM0keQghhLCZJA8hhBA2k+QhhBDCZpI8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CZJA8hhBA2k+QhhBDCZpI8hBBC2Oz/A7Fpp7L/E1W7AAAAAElF\nTkSuQmCC\n",
       "text": [
        "<matplotlib.figure.Figure at 0x31d4f90>"
       ]
      }
     ],
     "prompt_number": 14
    }
   ],
   "metadata": {}
  }
 ]
}