summaryrefslogtreecommitdiff
path: root/Material_Science_In_Engineering/ch14.ipynb
blob: 14bec84f8a34d2f348dd78c50d1146375a09deb6 (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
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 14 : Magnetic Properties and Materials"
     ]
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.1 pageno : 358"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "x = 1500.;\t\t\t#susceptibility\n",
      "h = 2400.;\t\t\t#mafnetic field in A/m\n",
      "\n",
      "# Calculations\n",
      "u_r = 1+x;\n",
      "m = x*h;\t\t\t    #in A/m\n",
      "u_0 = 4*3.14*10**-7;\n",
      "b = u_0*u_r*h;\t\t\t#in T\n",
      "\n",
      "# Results\n",
      "print \"relative permeability  =  \",u_r\n",
      "print \"Intensity of magnetisation (in A/m)\",m\n",
      "print \"Remanance (in T)  =  \",b\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "relative permeability  =   1501.0\n",
        "Intensity of magnetisation (in A/m) 3600000.0\n",
        "Remanance (in T)  =   4.5246144\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.2 page no : 368"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "\n",
      "# Variables\n",
      "w = 80. + 80;\t\t\t#width of loop in A/m from graph\n",
      "h = 0.15 + .15;\t\t\t#height of loop in Wb/sqm\n",
      "\n",
      "# Calculations\n",
      "a = w*h;\t\t\t    #area of the loop in J\n",
      "\n",
      "# Results\n",
      "print \"Hysteresis energy loss per unit volume of magnetic material during one cycle (in J)  =  %d J\"%a\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Hysteresis energy loss per unit volume of magnetic material during one cycle (in J)  =  48 J\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.3 pageno : 370"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "a = 600.;\t\t\t#loop area in J/sqm\n",
      "f = 50.;\t\t\t#in Hz\n",
      "v = 0.01\t\t\t#volume in cu. m\n",
      "\n",
      "# Calculations\n",
      "w = a*f*v;\t\t\t#in W\n",
      "\n",
      "# Results\n",
      "print \"Power loss due to Hysteresis (in W)  =  %.f watt\"%w\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Power loss due to Hysteresis (in W)  =  300 watt\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.4 pageno : 370"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "w_h1 = 300.;           # hysteresis loss\n",
      "b_1 = 0.9;             # max. flux density\n",
      "\n",
      "y = b_1**1.7;\n",
      "b_2 = 1.1;             #raised flux density(Wb/m^2)\n",
      "x = b_2**1.7;\n",
      "f1 = 50*10**-7;        #frequency(Hz)\n",
      "f2 = 40*10**-7;        #frequency(Hz)\n",
      "\n",
      "# Calculations\n",
      "w_h2 = (w_h1*x*f2)/(y*f1);\n",
      "\n",
      "\n",
      "# Results\n",
      "print \"Loss at 40 Hz (in W)  =  %.f W\"%w_h2\n",
      "\n",
      "# Note : Answer in book is wrong. Please calculate manually."
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Loss at 40 Hz (in W)  =  338 W\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.5 pageno : 376"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "m = 6000.;             # megnetization\n",
      "u_r = 200000.;         # relative permeability\n",
      "\n",
      "# Calculations\n",
      "x = u_r-1;\n",
      "h = m/x;\n",
      "u_0 = 4*3.14*10**-7;\n",
      "b = u_0*u_r*h;\n",
      "\n",
      "# Results\n",
      "print \"Magnetic strength (in T)  =  %.5f tesla\"%b\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Magnetic strength (in T)  =  0.00754 tesla\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.6 pageno : 376"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "b = 9.27*10**-24;\t\t\t#Bohr Magneton in A/sqm\n",
      "m = 0.6*b;\n",
      "\n",
      "# Calculations\n",
      "a = 0.35*10**-9;\n",
      "n = 4.;\t\t\t#FCC\n",
      "m_g = n*m/a**3;\t\t\t#in A/m\n",
      "\n",
      "# Results\n",
      "print \"Saturation Magnetisation (in A/m)  = %.2e A/m\"%m_g\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Saturation Magnetisation (in A/m)  = 5.19e+05 A/m\n"
       ]
      }
     ],
     "prompt_number": 10
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.9 page no : 381"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "f = 50.;\t\t\t#in Hz\n",
      "L = 100.;\t\t\t#Eddy current loss in transformer in W\n",
      "f1 = 60.;\t\t\t#in Hz\n",
      "f2 = 100;\t\t\t#in Hz\n",
      "\n",
      "# Calculations\n",
      "w_e = L*(f1/f)**2;\t\t\t#in W\n",
      "w_ee = L*(f2/f)**2;\t\t\t#in W\n",
      "\n",
      "# Results\n",
      "print \"Eddy current loss at 60 Hz (in W)  =  %.1f W\"%w_e\n",
      "print \"Eddy current loss at 100 Hz (in W)  =  %.1f W\"%w_ee\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Eddy current loss at 60 Hz (in W)  =  144.0 W\n",
        "Eddy current loss at 100 Hz (in W)  =  400.0 W\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 14.13 pageno : 382"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "l = .25;\t\t\t#in m\n",
      "n = 400.;\t\t\t#turns\n",
      "i = 15.;\t\t\t#in A\n",
      "\n",
      "# Calculations\n",
      "u_0 = 1.257*10**-6;\t\t\t#in H/m\n",
      "h = n*i/l;\t\t\t#in AT/m\n",
      "u_r = 1;\t\t\t#relative permeability\n",
      "b = u_0*u_r*h;\t\t\t#in wB/sqm\n",
      "\n",
      "# Results\n",
      "print \"Magnetic field strength (in AT/m)  =  %.1f AT/m\"%h\n",
      "print \"Flux density (in Wb/sq m)  =  %.2f Wb/m**2\"%b\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Magnetic field strength (in AT/m)  =  24000.0 AT/m\n",
        "Flux density (in Wb/sq m)  =  0.03 Wb/m**2\n"
       ]
      }
     ],
     "prompt_number": 12
    }
   ],
   "metadata": {}
  }
 ]
}