summaryrefslogtreecommitdiff
path: root/Electrical_Power_Systems_by_C_L_Wadhwa/12-TRANSIENTS_IN_POWER_SYSTEMS.ipynb
blob: 1554798042eb360d9b1555a53399ce373c7d2922 (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
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 12: TRANSIENTS IN POWER SYSTEMS"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.1: EX12_1.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"// To determine the (i)the neutral impedence of line (ii)line current (iii)rate of energy absorption , rate of reflection and state form of reflection (iv) terminating resistance (v)amount of reflected and transmitted power \n",
"clear\n",
"clc;\n",
"L=2*(10^-7)*log(100/.75);//inductance per unit length\n",
"C=2*%pi*(10^-9)/(36*%pi*log(100/.75));//Capacitance per phase per unit length (F/m)\n",
"Z1=sqrt(L/C);\n",
"E=11000;\n",
"mprintf('(i)the natural impedence of line=%.0f ohms\n',Z1);\n",
"Il=E/(sqrt(3)*Z1);//line current(amps)\n",
"mprintf('(ii)line current =%.1f amps\n',Il);\n",
"R=1000;\n",
"Z2=R;\n",
"E1=2*Z2*E/((Z1+Z2)*sqrt(3));\n",
"Pr=3*E1*E1/(R*1000);//Rate of power consumption\n",
"Vr=(Z2-Z1)*E/(sqrt(3)*(Z2+Z1)*1000);//Reflected voltage\n",
"Er=3*Vr*Vr*1000/Z1//rate of reflected voltage\n",
"mprintf('(iii)rate of energy absorption =%.1f kW\n',Pr);\n",
"mprintf('rate of reflected energy =%.1f kW\n',Er);\n",
"mprintf('(iv)Terminating resistance should be equal to surge impedence of line  =%.0f ohms\n',Z1);\n",
"L=.5*(10^-8);\n",
"C=10^-12;\n",
"Z=sqrt(L/C);// surge impedence\n",
"VR=2*Z*11/((Z1+Z)*sqrt(3));\n",
"Vrl=(Z-Z1)*11/((Z1+Z)*sqrt(3));\n",
"PR1=3*VR*VR*1000/(Z);\n",
"d=abs(Vrl);\n",
"Prl=3*d*d*1000/Z1;\n",
"mprintf('(v)Refracted power =%.1f kW\n',PR1);\n",
"mprintf('Reflected power =%.1f kW\n',Prl);\n",
"////Answer don't match exactly due to difference in rounding off of digits i between calculations"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.2: Find_the_voltage_rise_at_the_junction_due_to_surge.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Find the voltage rise at the junction due to surge \n",
"clear\n",
"clc;\n",
"Xlc=.3*(10^-3);// inductance of cable(H)\n",
"Xcc=.4*(10^-6);// capacitance of cable (F)\n",
"Xlo=1.5*(10^-3);//inductance of overhead line(H)\n",
"Xco=.012*(10^-6);// capacitance of overhead line (F)\n",
"Znc=sqrt((Xlc/Xcc));\n",
"Znl=sqrt((Xlo/Xco));\n",
"mprintf('Natural impedence of cable=%.2f ohms \n',Znc);\n",
"mprintf('Natural impedence of overhead line=%.1f ohms \n',Znl);\n",
"E=2*Znl*15/(353+27);\n",
"mprintf('voltage rise at the junction due to surge =%.2f kV \n',E);"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.3: To_find_the_surge_voltages_and_currents_transmitted_into_branch_line.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"// To find the surge voltages and currents transmitted into branch line\n",
"clear\n",
"clc;\n",
"Z1=600;\n",
"Z2=800;\n",
"Z3=200;\n",
"E=100;\n",
"E1=2*E/(Z1*((1/Z1)+(1/Z2)+(1/Z3)));\n",
"Iz2=E1*1000/Z2;\n",
"Iz3=E1*1000/Z3;\n",
"mprintf('Transmitted voltage =%.2f kV \n',E1);\n",
"mprintf('The transmitted current in line Z2=%.2f amps \n',Iz2);\n",
"mprintf('The transmitted current in line Z3=%.1f amps \n',Iz3);\n",
"////Answer don't match exactly due to difference in rounding off of digits i between calculations"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.4: Determine_the_maximum_value_of_transmitted_wave.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Determine the maximum value of transmitted wave\n",
"clear\n",
"clc;\n",
"Z=350;//surge impedencr (ohms)\n",
"C=3000*(10^-12);// earth capacitance(F) \n",
"t=2*(10^-6);\n",
"E=500;\n",
"E1=2*E*(1-exp((-1*t/(Z*C))));\n",
"mprintf('the maximum value of transmitted voltage=%.0f kV \n',E1);\n",
""
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.5: Determine_the_maximum_value_of_transmitted_surge.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Determine the maximum value of transmitted surge\n",
"clear\n",
"clc;\n",
"Z=350;//surge impedencr (ohms)\n",
"L=800*(10^-6); \n",
"t=2*(10^-6);\n",
"E=500;\n",
"E1=E*(1-exp((-1*t*2*Z/L)));\n",
"mprintf('The maximum value of transmitted voltage=%.1f kV \n',E1);\n",
""
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 12.6: EX12_6.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"// Determine (i)the value of the Voltage wave when it has travelled through a distance 50 Km. (ii) Power loss and Heat loss.\n",
"\n",
"clear\n",
"clc;\n",
"eo=50;\n",
"x=50;\n",
"R=6;\n",
"Z=400;\n",
"G=0;\n",
"v=3*(10^5);\n",
"e=2.68;\n",
"e1=(eo*(e^((-1/2)*R*x/Z)));\n",
"// answess does not match due to the difference in rounding off of digits. \n",
"mprintf('(i)the value of the Voltage wave when it has travelled through a distance 50 Km=%.1f kV \n',e1);\n",
"Pl=e1*e1*1000/400;\n",
"io=eo*1000/Z;\n",
"t=x/v;\n",
"H=-(50*125*400*((e^-.75)-1))/(6*3*10^5)\n",
"mprintf('(ii)Power loss=%.3fkW  \n heat loss=%.3f kJ',Pl,H);"
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}