Skip to content

Commit 0f735fd

Browse files
committed
Updated 3 books
1 parent bbd6787 commit 0f735fd

25 files changed

+38810
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
{
2+
"metadata": {
3+
"name": "",
4+
"signature": "sha256:9895a0f3fc78aa13cc793dfc60b4d616a3af11e4983465d122ac29be7197893e"
5+
},
6+
"nbformat": 3,
7+
"nbformat_minor": 0,
8+
"worksheets": [
9+
{
10+
"cells": [
11+
{
12+
"cell_type": "heading",
13+
"level": 1,
14+
"metadata": {},
15+
"source": [
16+
"Chapter 25: Elements of Electro-Mechanical Energy Conversion"
17+
]
18+
},
19+
{
20+
"cell_type": "heading",
21+
"level": 2,
22+
"metadata": {},
23+
"source": [
24+
"Example Number 25.1, Page Number:876"
25+
]
26+
},
27+
{
28+
"cell_type": "code",
29+
"collapsed": false,
30+
"input": [
31+
"import math\n",
32+
"\n",
33+
"#variable declaration\n",
34+
"sod=15#stator-core outer diameter\n",
35+
"sid=10.05#stator-core inner diameter\n",
36+
"rod=10.00#rotor-core outer diameter\n",
37+
"rid=5#rotor-core inner diameter\n",
38+
"a=8#axial lenght of the machine\n",
39+
"b=1.20\n",
40+
"ur=1000\n",
41+
"#calculations\n",
42+
"vs=(3.14/4)*((sod*sod)-(sid*sid))*a#volume of stator-core\n",
43+
"vr=(3.14/4)*((rod*rod)-(rid*rid))*a#volume of rotor-core\n",
44+
"va=(3.14/4)*((sid*sid)-(rod*rod))*a#volume of air-gap in the machine\n",
45+
"ed=(.5*b*b)/(4*3.14*math.pow(10,-7))\n",
46+
"e=ed*va*math.pow(10,-6)\n",
47+
"edm=(.5*b*b)/(4*3.14*math.pow(10,-7)*ur)\n",
48+
"es=edm*vs*math.pow(10,-6)\n",
49+
"er=edm*vr*math.pow(10,-6)\n",
50+
"kr=(vs+vr)/vs\n",
51+
"ke=(es+er)/e\n",
52+
"ratio=kr/ke\n",
53+
"eratio=e/(es+er)\n",
54+
"\n",
55+
"#result\n",
56+
"print \"Energy stored in air gap= \",e,\" Joules\"\n",
57+
"print \"Energy stored in stator-core= \",round(es,2),\" Joules\"\n",
58+
"print \"Energy stored in rotor core= \",er,\" Joules\"\n",
59+
"print \"Ratio of energy dtored in air-gap to that stored in the cores=\",round(eratio)\n"
60+
],
61+
"language": "python",
62+
"metadata": {},
63+
"outputs": [
64+
{
65+
"output_type": "stream",
66+
"stream": "stdout",
67+
"text": [
68+
"Energy stored in air gap= 3.609 Joules\n",
69+
"Energy stored in stator-core= 0.45 Joules\n",
70+
"Energy stored in rotor core= 0.27 Joules\n",
71+
"Ratio of energy dtored in air-gap to that stored in the cores= 5.0\n"
72+
]
73+
}
74+
],
75+
"prompt_number": 2
76+
},
77+
{
78+
"cell_type": "heading",
79+
"level": 2,
80+
"metadata": {},
81+
"source": [
82+
"Example Number 25.2, Page Number:877"
83+
]
84+
},
85+
{
86+
"cell_type": "code",
87+
"collapsed": false,
88+
"input": [
89+
"import math\n",
90+
"\n",
91+
"#variable declaration\n",
92+
"n=800#turns\n",
93+
"area=5*5#cross sectional area\n",
94+
"i=1.25#amp\n",
95+
"x=0.25#cm\n",
96+
"l=0.402\n",
97+
"#calculations\n",
98+
"p=4*3.14*10**(-7)*area*10**(-4)/(0.5*10**(-2))\n",
99+
"l=n**2*p\n",
100+
"em=.5*i*i*l\n",
101+
"W=-1*0.5*n**2*4*3.14*10**(-7)*area*10**(-4)*i**2/(0.5*10**(-2))**2\n",
102+
"\n",
103+
"#result\n",
104+
"print \"a)i)coil inductance=\",l,\"H\"\n",
105+
"print \" ii)field energy stored=\",em,\"J\"\n",
106+
"print \"b)mechanical energy output=\",W,\"NW\""
107+
],
108+
"language": "python",
109+
"metadata": {},
110+
"outputs": [
111+
{
112+
"output_type": "stream",
113+
"stream": "stdout",
114+
"text": [
115+
"a)i)coil inductance= 0.40192 H\n",
116+
" ii)field energy stored= 0.314 J\n",
117+
"b)mechanical energy output= -62.8 NW\n"
118+
]
119+
}
120+
],
121+
"prompt_number": 13
122+
},
123+
{
124+
"cell_type": "heading",
125+
"level": 2,
126+
"metadata": {},
127+
"source": [
128+
"Example Number 25.4, Page Number:882"
129+
]
130+
},
131+
{
132+
"cell_type": "code",
133+
"collapsed": false,
134+
"input": [
135+
"#variable declaration\n",
136+
"lo=50#mH\n",
137+
"xo=0.05#cm\n",
138+
"r=0.5#ohm\n",
139+
"x=0.075#cm\n",
140+
"i2=3#A\n",
141+
"x2=0.15#cm\n",
142+
"\n",
143+
"#calculation\n",
144+
"l1=2*lo/(1+(x/xo))\n",
145+
"lambda1=l1*i2*10**(-3)\n",
146+
"W=0.5*l1*i2**2*10**(-3)\n",
147+
"l2=2*lo/(1+(x2/xo))\n",
148+
"lambda2=l2*i2*10**(-3)\n",
149+
"w2=0.5*i2*(lambda1-lambda2)\n",
150+
"\n",
151+
"#result\n",
152+
"print \"a)magnetic stored energy=\",W,\"J\"\n",
153+
"print \"b)change in magnetic stored energy=\",w2,\"J\""
154+
],
155+
"language": "python",
156+
"metadata": {},
157+
"outputs": []
158+
},
159+
{
160+
"cell_type": "heading",
161+
"level": 2,
162+
"metadata": {},
163+
"source": [
164+
"Example Number 25.5, Page Number:883"
165+
]
166+
},
167+
{
168+
"cell_type": "code",
169+
"collapsed": false,
170+
"input": [
171+
"#variable declaration\n",
172+
"rc=0.5#ohm\n",
173+
"v=3#V\n",
174+
"i=6#A\n",
175+
"l1=40#mH\n",
176+
"l2=25#mH\n",
177+
"wfld=0.5*l2*i*i*0.001\n",
178+
"delE=0.5*i*i*0.001*(l1-l2)\n",
179+
"\n",
180+
"#result\n",
181+
"print \"a)magnetic stored energy=\",wfld,\"J\"\n",
182+
"print \"b)change in magnetic store energy=\",delE,\"J\""
183+
],
184+
"language": "python",
185+
"metadata": {},
186+
"outputs": [
187+
{
188+
"output_type": "stream",
189+
"stream": "stdout",
190+
"text": [
191+
"a)magnetic stored energy= 0.45 J\n",
192+
"b)change in magnetic store energy= 0.27 J\n"
193+
]
194+
}
195+
],
196+
"prompt_number": 3
197+
},
198+
{
199+
"cell_type": "code",
200+
"collapsed": false,
201+
"input": [],
202+
"language": "python",
203+
"metadata": {},
204+
"outputs": []
205+
}
206+
],
207+
"metadata": {}
208+
}
209+
]
210+
}

0 commit comments

Comments
 (0)