summaryrefslogtreecommitdiff
path: root/Elements_of_Power_system/Chapter_9.ipynb
blob: 4d406e3bda69f297bbbfec96754a0016fc86367c (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:3ce27a1ffc85e51aa7fc37d88fef9ce130fae45889a6045109b8b780c88a7574"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 9 - OVERHEAD LINE INSULATORS"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E1 - Pg 220"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Voltage across the first,second,third,fourth,fifth,sixth unit\n",
      "import math\n",
      "#Given data :\n",
      "C1=1.##\n",
      "C=6.#\n",
      "K=C1/C#\n",
      "V2byV1=(1.+K)#\n",
      "V3byV1=(1.+3.*K+K**2.)#\n",
      "V4byV1=(1.+6.*K+5.*K**2.+K**3.)#\n",
      "#I5=I4+i4#\n",
      "#omega*C*V5=omega*C*V4+omega*C1*(V1+V2+V3+V4)\n",
      "V5byV1=1.+10.*K+15.*K**2.+7.*K**3.+K**4.\n",
      "VbyV1=1+V2byV1+V3byV1+V4byV1+V5byV1#\n",
      "V1byV=1/VbyV1#\n",
      "print '%s %.3f %s' %(\"Voltage across the first unit is \",V1byV*100,\" % of V\")#\n",
      "print '%s %.3f  %s' %(\"Voltage across the seconf unit is \",V2byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f  %s' %(\"Voltage across the third unit is \",V3byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f  %s' %(\"Voltage across the fourth unit is \",V4byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f  %s' %(\"Voltage across the bottom most unit is \",V5byV1*V1byV*100,\" % of V\")#\n",
      "n=5##no. of unit\n",
      "Strinf_eff=1/n/(V5byV1*V1byV)##%\n",
      "print '%s %.2f' %(\"String Efficiency(%)\",Strinf_eff*100.)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Voltage across the first unit is  11.168  % of V\n",
        "Voltage across the seconf unit is  13.029   % of V\n",
        "Voltage across the third unit is  17.062   % of V\n",
        "Voltage across the fourth unit is  23.938   % of V\n",
        "Voltage across the bottom most unit is  34.804   % of V\n",
        "String Efficiency(%) 0.00\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E2 - Pg 221"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Voltage across the first,second,third,fourth,fifth,sixth unit\n",
      "import math\n",
      "#Given data :\n",
      "C1=1.##\n",
      "C=10.#\n",
      "K=C1/C#\n",
      "V2byV1=(1.+K)#\n",
      "V3byV1=(1.+3.*K+K**2.)#\n",
      "V4byV1=(1.+6.*K+5.*K**2.+K**3.)#\n",
      "V5byV1=1.+10.*K+15.*K**2.+7.*K**3.+K**4.\n",
      "#I6=I5+i5#\n",
      "#omega*C*V6=omega*C*V5+omega*C1*(V1+V2+V3+V4+V5)\n",
      "V6byV1=V5byV1+K*(1.+V2byV1+V3byV1+V4byV1+V5byV1)#\n",
      "VbyV1=1.+V2byV1+V3byV1+V4byV1+V5byV1+V6byV1#\n",
      "V1byV=1./VbyV1#\n",
      "print '%s %.3f %s' %(\"Voltage across the first unit is \",V1byV*100,\" % of V\")#\n",
      "print '%s %.3f %s' %(\"Voltage across the seconf unit is \",V2byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f %s' %(\"Voltage across the third unit is \",V3byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f %s' %(\"Voltage across the fourth unit is \",V4byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f %s' %(\"Voltage across the fifth unit is \",V5byV1*V1byV*100,\" % of V\")#\n",
      "print '%s %.3f %s' %(\"Voltage across the sixth unit is \",V6byV1*V1byV*100,\" % of V\")#\n",
      "n=6##no. of unit\n",
      "Strinf_eff=1/n/(V6byV1*V1byV)##%\n",
      "print '%s %.2f' %(\"String Efficiency(%)\",Strinf_eff*100)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Voltage across the first unit is  9.904  % of V\n",
        "Voltage across the seconf unit is  10.894  % of V\n",
        "Voltage across the third unit is  12.974  % of V\n",
        "Voltage across the fourth unit is  16.351  % of V\n",
        "Voltage across the fifth unit is  21.364  % of V\n",
        "Voltage across the sixth unit is  28.513  % of V\n",
        "String Efficiency(%) 0.00\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E3 - Pg 222"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Part(i) Percentage String Efficiency,Part(ii) Percentage String Efficiency\n",
      "import math\n",
      "#Given data :\n",
      "V=66.##kV\n",
      "#Part(i)\n",
      "n=5.##no. of uniits\n",
      "K=1./5.##shunt to mutual capacitance ratio\n",
      "V1=V/(5.+20.*K+21.*K**2.+8.*K**3.+K**4.)##kV\n",
      "V5=V1*(1.+10.*K+15.*K**2.+7.*K**3.+K**4.)##kV\n",
      "Strinf_eff=V/n/V5#\n",
      "print '%s %.2f' %(\"Part(i) Percentage String Efficiency(%)\",Strinf_eff*100.)#\n",
      "#Part(ii)\n",
      "n=5.##no. of uniits\n",
      "K=1./6.##shunt to mutual capacitance ratio\n",
      "V1=V/(5.+20.*K+21.*K**2.+8.*K**3.+K**4.)##kV\n",
      "V5=V1*(1.+10.*K+15.*K**2.+7.*K**3.+K**4.)##kV\n",
      "Strinf_eff=V/n/V5#\n",
      "print '%s %.2f' %(\"Part(ii) Percentage String Efficiency(%)\",Strinf_eff*100)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Part(i) Percentage String Efficiency(%) 54.16\n",
        "Part(ii) Percentage String Efficiency(%) 57.46\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E4 - Pg 223"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Voltage across top most unit(kV),Voltage across middle unit(kV),Percentage String Efficiency(%)\n",
      "import math\n",
      "#Given data :\n",
      "Vs=20.##kV\n",
      "n=3.##no. of uniits\n",
      "K=0.1##shunt to mutual capacitance ratio\n",
      "V3=Vs##kV\n",
      "V1=V3/(1.+3.*K+K**2.)##kV\n",
      "print '%s %.3f' %(\"Voltage across top most unit(kV)\",V1)#\n",
      "V2=V1*(1.+K)##kV\n",
      "print '%s %.3f' %(\"Voltage across middle unit(kV)\",V2)#\n",
      "V=V1+V2+V3##kV\n",
      "Strinf_eff=V/n/V3#\n",
      "print '%s %.3f' %(\"Percentage String Efficiency(%)\",Strinf_eff*100.)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Voltage across top most unit(kV) 15.267\n",
        "Voltage across middle unit(kV) 16.794\n",
        "Percentage String Efficiency(%) 86.768\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E5 - Pg 223"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Maximum safe working voltage(kV)\n",
      "import math\n",
      "#Given data :\n",
      "Vs=17.5##kV\n",
      "n=3.##no. of uniits\n",
      "K=1./8.##shunt to mutual capacitance ratio\n",
      "V3=Vs##kV\n",
      "V1=V3/(1.+3.*K+K**2.)##kV\n",
      "V2=V1*(1.+K)##kV\n",
      "V=V1+V2+V3##kV\n",
      "#Strinf_eff=V/n/V3#\n",
      "print '%s %.2f' %(\"Maximum safe working voltage(kV)\",V)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Maximum safe working voltage(kV) 44.24\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E6 - Pg 224"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Maximum safe working voltage,Percentage String Efficiency\n",
      "import math\n",
      "#Given data :\n",
      "Vs=12.##kV\n",
      "n=4.##no. of uniits\n",
      "K=0.1##shunt to mutual capacitance ratio\n",
      "V4=Vs##kV\n",
      "V1=V4/(1.+6.*K+5.*K**2.+K**3.)##kV\n",
      "V2=V1*(1.+K)##kV\n",
      "V3=V1*(1.+3.*K+K**2.)##kV\n",
      "V=V1+V2+V3+V4##kV\n",
      "print '%s %.2f' %(\"Maximum safe working voltage(kV)\",V)#\n",
      "Strinf_eff=V/n/V4#\n",
      "print '%s %.3f' %(\"Percentage String Efficiency(%)\",Strinf_eff*100)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Maximum safe working voltage(kV) 36.78\n",
        "Percentage String Efficiency(%) 76.635\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E7 - Pg 224"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Maximum safe working voltage\n",
      "import math\n",
      "#Given data :\n",
      "Vs=11.##kV\n",
      "n=5.##no. of uniits\n",
      "K=0.1##shunt to mutual capacitance ratio\n",
      "V5=Vs##kV\n",
      "V1=V5/(1.+10.*K+15.*K**2.+7.*K**3.+K**4.)##kV\n",
      "V2=V1*(1.+K)##kV\n",
      "V3=V1*(1.+3.*K+K**2.)##kV\n",
      "V4=V1*(1.+6.*K+5.*K**2.+K**3.)##kV\n",
      "V=V1+V2+V3+V4+V5##kV\n",
      "print '%s %.1f' %(\"Maximum safe working voltage(kV)\",V)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Maximum safe working voltage(kV) 36.8\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E8 - Pg 225"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Voltage between conductors(kV),Percentage String Efficiency(%)\n",
      "import math\n",
      "import numpy\n",
      "from numpy import roots\n",
      "#Given data :\n",
      "V2=15.##kV\n",
      "V3=21.##kV\n",
      "n=4.##no. of uniits\n",
      "#V3/V2=(1+3*K+K**2)/(1+K)\n",
      "#K**2*V2+K*(V3+3*V2)-V2+V3=0#\n",
      "p=([V2, -V3+3.*V2, V2-V3])#\n",
      "K=numpy.roots(p)#\n",
      "K=K[1]##Taking +ve value\n",
      "V1=V2/(1.+K)##kV\n",
      "V4=(1.+6.*K+5.*K**2.+K**3.)*V1##kV\n",
      "V=V1+V2+V3+V4##kV\n",
      "VL=math.sqrt(3.)*V##kV\n",
      "print '%s %.1f' %(\"Voltage between conductors(kV)\",VL)#\n",
      "Strinf_eff=V/n/V4#\n",
      "print '%s %.2f' %(\"Percentage String Efficiency(%)\",Strinf_eff*100.)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Voltage between conductors(kV) 138.4\n",
        "Percentage String Efficiency(%) 63.19\n"
       ]
      }
     ],
     "prompt_number": 8
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E9 - Pg 228"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate C2,C3,C4,C5,C6\n",
      "import math\n",
      "#Given data :\n",
      "K=0.1##shunt to mutual capacitance ratio\n",
      "CbyC1=10.#\n",
      "C2byC1=(1.+K)*CbyC1#\n",
      "C3byC1=(1.+3.*K)*CbyC1#\n",
      "C4byC1=(1.+6.*K)*CbyC1#\n",
      "print '%s %.2f %s' %(\"C2 is \",C2byC1,\" times of C1\")#\n",
      "print '%s %.2f %s' %(\"C3 is \",C3byC1,\" times of C1\")#\n",
      "print '%s %.2f %s' %(\"C4 is \",C4byC1,\" times of C1\")#\n",
      "#I5=I4+i4\n",
      "#omega*C5*v=omega*C4*v+omega*C1*4*v\n",
      "C5byC1=(1.+10.*K)*CbyC1#\n",
      "print '%s %.2f %s' %(\"C5 is \",C5byC1,\" times of C1\")#\n",
      "#I6=I5+i5\n",
      "#omega*C6*v=omega*C5*v+omega*C1*5*v\n",
      "C6byC1=(1.+15.*K)*CbyC1#\n",
      "print '%s %.2f %s' %(\"C6 is \",C6byC1,\" times of C1\")#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "C2 is  11.00  times of C1\n",
        "C3 is  13.00  times of C1\n",
        "C4 is  16.00  times of C1\n",
        "C5 is  20.00  times of C1\n",
        "C6 is  25.00  times of C1\n"
       ]
      }
     ],
     "prompt_number": 9
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E10 - Pg 229"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate C1,C2,C3,C4,C5,C6,C7\n",
      "import math\n",
      "#Given data :\n",
      "n=8.##no. of units\n",
      "p=[1 ,2, 3, 4, 5, 6, 7, 8]#\n",
      "#Cp=p*C/(n-p)\n",
      "C1byC=1/(n-p[0])#\n",
      "C2byC=2/(n-p[1])#\n",
      "C3byC=3/(n-p[2])#\n",
      "C4byC=4/(n-p[3])#\n",
      "C5byC=5/(n-p[4])#\n",
      "C6byC=6/(n-p[5])#\n",
      "C7byC=7/(n-p[6])#\n",
      "print '%s %.2f %s' %(\"C1 is \",C1byC,\" times of C\")#\n",
      "print '%s %.2f %s' %(\"C2 is \",C2byC,\" times of C\")#\n",
      "print '%s %.2f %s' %(\"C3 is \",C3byC,\" times of C\")#\n",
      "print '%s %.2f %s' %(\"C4 is \",C4byC,\" times of C\")#\n",
      "print '%s %.2f %s' %(\"C5 is \",C5byC,\" times of C\")#\n",
      "print '%s %.2f %s' %(\"C6 is \",C6byC,\" times of C\")#\n",
      "print '%s %.2f %s' %(\"C7 is \",C7byC,\" times of C\")#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "C1 is  0.14  times of C\n",
        "C2 is  0.33  times of C\n",
        "C3 is  0.60  times of C\n",
        "C4 is  1.00  times of C\n",
        "C5 is  1.67  times of C\n",
        "C6 is  3.00  times of C\n",
        "C7 is  7.00  times of C\n"
       ]
      }
     ],
     "prompt_number": 10
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E11 - Pg"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate String efficiency in % is\n",
      "import math\n",
      "#Given data :\n",
      "v2byv1=25./23.25##ratio(By Kirchoff law)\n",
      "v3byv1=1.65/1.1625##ratio(By Kirchoff law)\n",
      "Vbyv1=1.+v2byv1+v3byv1##ratio(Final voltage between line conductor & earth)\n",
      "v1byV=1./Vbyv1##ratio\n",
      "v2byV=v2byv1*v1byV##ratio\n",
      "v3byV=v3byv1*v1byV##ratio\n",
      "eff=1./3./v3byV*100.##string efficiency in %(V/3/v3)\n",
      "print '%s %.1f' %(\"String efficiency in % is \",eff)#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "String efficiency in % is  82.1\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E12 - Pg"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#calculate Voltage onn the line end unit in kV,Capacitance required\n",
      "import math\n",
      "#Given data :\n",
      "V=20.##kV\n",
      "\n",
      "#Cmutual=C##F\n",
      "CmutualBYC=1.#\n",
      "#Cshunt=C/5##F\n",
      "CshuntBYC=1./5.#\n",
      "#I2=I1+i1#omega*C*V2=omega*C*V1+omega*Cshunt*V1\n",
      "V2BYV1=1.+CshuntBYC#\n",
      "V3BYV2=1.##a V2=V3\n",
      "#V=V1+V2+V3\n",
      "V1=V/(V3BYV2+V2BYV1+V2BYV1)##kV\n",
      "V2=V2BYV1*V1##kV\n",
      "V3=V2##kV\n",
      "print '%s %.2f' %(\"Voltage onn the line end unit in kV : \",V3)#\n",
      "#I3+ix=I2+i2\n",
      "CxBYC=(V2+CshuntBYC*(V1+V2)-V3)/V3#\n",
      "print '%s %.2f %s' %(\"Capacitance required is \",CxBYC,\"C(in F).\")#\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Voltage onn the line end unit in kV :  7.06\n",
        "Capacitance required is  0.37 C(in F).\n"
       ]
      }
     ],
     "prompt_number": 12
    }
   ],
   "metadata": {}
  }
 ]
}