summaryrefslogtreecommitdiff
path: root/Electrical_Power_System_by_C.L._Wadhwa/Chapter05.ipynb
blob: 15a3f81677c3e9a7dc28ff7513a4228bfaed9050 (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
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 05 : High Voltage DC Transmission"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 5.1, Page No 107"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "Vo=3*math.sqrt(2)*110/math.pi\n",
      "\n",
      "#Calculations \n",
      "Vd=Vo*(math.cos(math.radians(0))+math.cos(math.radians(15)))/2.0 \n",
      "Vd1=Vo*(math.cos(math.radians(30)) + math.cos(math.radians(45)))/2.0 \n",
      "Vd2=Vo*(math.cos(math.radians(45)) + math.cos(math.radians(60)))/2.0 \n",
      "\n",
      "#Results\n",
      "print(\"(a)For a=0, Vd=%.2f kV\" %Vd) \n",
      "print(\"(b)For a=30,Vd=%.2f kV\" %Vd1) \n",
      "print(\"(c)For a=45,Vd=%.2f kV\" %Vd2) "
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a)For a=0, Vd=146.02 kV\n",
        "(b)For a=30,Vd=116.85 kV\n",
        "(c)For a=45,Vd=89.66 kV\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 5.2, Page No 107"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "\n",
      "#Calculations\n",
      "VL=(100.0*2*math.pi)/(3*math.sqrt(2.0)*(math.cos(math.radians(30)) + math.cos(math.radians(45)))) \n",
      "print(\"VL=%.2f kV\" %VL)  #Answers don't match due to difference in rounding off of digits\n",
      "Tr=VL/110.0\n",
      "\n",
      "#Results \n",
      "print(\"tap ratio=%.2f \" %Tr) "
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "VL=94.14 kV\n",
        "tap ratio=0.86 \n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 5.3, Page No 109"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variablesVd=100000\n",
      "Id=800.0  # current\n",
      "\n",
      "#Calculations\n",
      "X=((3*math.sqrt(2.0)*94.115*0.866*1000.0/math.pi)-Vd)*math.pi/(3.0*Id)\n",
      "\n",
      "#Results\n",
      "print(\"effective reactance per phase , X=%.2f ohm\\n\" %X)\t#Answer don't match due to difference in rounding off of digits"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "effective reactance per phase , X=143.89 ohm\n",
        "\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 5.4 Page No 112"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "a=15.0\n",
      "d0=10.0\n",
      "y=15.0\n",
      "X=15.0\n",
      "R=10.0\n",
      "\n",
      "#Calculations\n",
      "Id=(3*math.sqrt(2)*120*(math.cos(math.radians(a))-math.cos(math.radians(d0+y)))*1000.0)/((R+(3.0*2*X)/math.pi)*math.pi)\n",
      "\n",
      "#Results\n",
      "print(\"Id=%.2f amp.\" %Id)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Id=249.99 amp.\n"
       ]
      }
     ],
     "prompt_number": 4
    }
   ],
   "metadata": {}
  }
 ]
}