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
|
{
"metadata": {
"name": "",
"signature": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 1, Basic Concepts"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Exa 1.1 - page 13"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"from numpy import sqrt\n",
"#Given data : \n",
"R=4 #in ohm\n",
"XL=3 #in ohm\n",
"VL=400 #in volt\n",
"Vph=VL/sqrt(3) #in volt\n",
"Zph=sqrt(R**2+XL**2) #in ohm\n",
"Iph=Vph/Zph #in Ampere\n",
"#In star connected IL=Iph\n",
"IL=Iph #in Ampere\n",
"print \"Line Current = %0.1f A\" %IL\n",
"cosfi=R/Zph #unitless\n",
"PowerConsumed=sqrt(3)*VL*IL*cosfi #in watts\n",
"print \"Total power consumed by the load = %.f Watts\" %PowerConsumed "
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Line Current = 46.2 A\n",
"Total power consumed by the load = 25600 Watts\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Exa 1.2 - page 14"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"from numpy import sqrt\n",
"#Given data : \n",
"VL=440 #in volt\n",
"IL=10 #in Ampere\n",
"#In star connected :\n",
"print \"In star connected :\" \n",
"Iph=IL #in Ampere\n",
"Vph=VL/sqrt(3) #in volt\n",
"Rph=Vph/Iph #in ohm\n",
"print \"Value of each resistor = %.1f ohm\" %Rph\n",
"#In delta connected :\n",
"print \"In delta connected :\"\n",
"Iph=IL/sqrt(3) #in Ampere\n",
"Vph=Iph*Rph #in volt\n",
"print \"Voltage in delta connection = %.2f volt\" %Vph"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"In star connected :\n",
"Value of each resistor = 25.4 ohm\n",
"In delta connected :\n",
"Voltage in delta connection = 146.67 volt\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Exa 1.3 - page 15"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"from numpy import sqrt, pi\n",
"#Given Data :\n",
"R=16 #in ohm\n",
"L=38.2 #in mH\n",
"L=38.2*10**-3 #in H\n",
"VL=400 #in volt\n",
"f=50 #in Hz\n",
"XL=2*pi*f*L #in ohm\n",
"Zph=sqrt(R**2+XL**2) #in ohm\n",
"#In star connected :\n",
"Vph=VL/sqrt(3) #in volt\n",
"Iph=Vph/Zph #in Ampere\n",
"IL=Iph #in Ampere\n",
"print \"Line Current = %0.2f A\" %IL\n",
"cosfi=R/Zph #unitless\n",
"print \"Power factor = %.1f\" %cosfi\n",
"P=sqrt(3)*VL*IL*cosfi #in watts\n",
"P/=10**3 # kW\n",
"print \"Total power consumed by the load = %0.3f kW\" %P"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Line Current = 11.55 A\n",
"Power factor = 0.8\n",
"Total power consumed by the load = 6.400 kW\n"
]
}
],
"prompt_number": 12
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Exa 1.4 - page 15"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"from numpy import sqrt\n",
"#Given Data :\n",
"R=15 #in ohm\n",
"X=40 #in ohm\n",
"VL=440 #in volt\n",
"#In delta connection : \n",
"Vph=VL #in volt\n",
"Zph=sqrt(R**2+X**2) #in ohm\n",
"Iph=Vph/Zph #in Ampere\n",
"print \"Phase Current = %0.1f A\" %Iph\n",
"IL=Iph*sqrt(3) #in Ampere\n",
"print \"Line Current = %0.2f A\" %IL"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Phase Current = 10.3 A\n",
"Line Current = 17.84 A\n"
]
}
],
"prompt_number": 13
}
],
"metadata": {}
}
]
}
|