summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkinitrupti2017-07-06 16:20:14 +0530
committerkinitrupti2017-07-06 16:20:14 +0530
commit0f735fd99edf070a6c92e05def1f7c8fa20b7a68 (patch)
treea10d5b3363beabb1421b13f7c76b2912713d2be7
parentbbd6787f847c9312843e14fbaa3537b9235bc054 (diff)
downloadPython-Textbook-Companions-0f735fd99edf070a6c92e05def1f7c8fa20b7a68.tar.gz
Python-Textbook-Companions-0f735fd99edf070a6c92e05def1f7c8fa20b7a68.tar.bz2
Python-Textbook-Companions-0f735fd99edf070a6c92e05def1f7c8fa20b7a68.zip
Updated 3 books
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter25.ipynb210
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter26.ipynb1741
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter27.ipynb1233
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter28.ipynb388
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter29.ipynb2346
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter30.ipynb2629
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter31.ipynb1094
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter32.ipynb5438
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter33.ipynb1433
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter34.ipynb3109
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter35.ipynb1258
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter36.ipynb391
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter37.ipynb3137
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter38.ipynb1739
-rw-r--r--A Textbook of Electrical Technology AC and DC Machines/chapter39.ipynb256
-rw-r--r--Engineering_Mechanics_Statics_and_Dynamics_by_Hibler_and_Gupta/index.pngbin0 -> 549181 bytes
-rw-r--r--Strength Of Materials/chapter_10.ipynb280
-rw-r--r--Strength Of Materials/chapter_2.ipynb2776
-rw-r--r--Strength Of Materials/chapter_3.ipynb1588
-rw-r--r--Strength Of Materials/chapter_4.ipynb1644
-rw-r--r--Strength Of Materials/chapter_5.ipynb1017
-rw-r--r--Strength Of Materials/chapter_6.ipynb1457
-rw-r--r--Strength Of Materials/chapter_7.ipynb1336
-rw-r--r--Strength Of Materials/chapter_8.ipynb1531
-rw-r--r--Strength Of Materials/chapter_9.ipynb779
25 files changed, 38810 insertions, 0 deletions
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter25.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter25.ipynb
new file mode 100644
index 00000000..894eff9f
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter25.ipynb
@@ -0,0 +1,210 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:9895a0f3fc78aa13cc793dfc60b4d616a3af11e4983465d122ac29be7197893e"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 25: Elements of Electro-Mechanical Energy Conversion"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 25.1, Page Number:876"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "sod=15#stator-core outer diameter\n",
+ "sid=10.05#stator-core inner diameter\n",
+ "rod=10.00#rotor-core outer diameter\n",
+ "rid=5#rotor-core inner diameter\n",
+ "a=8#axial lenght of the machine\n",
+ "b=1.20\n",
+ "ur=1000\n",
+ "#calculations\n",
+ "vs=(3.14/4)*((sod*sod)-(sid*sid))*a#volume of stator-core\n",
+ "vr=(3.14/4)*((rod*rod)-(rid*rid))*a#volume of rotor-core\n",
+ "va=(3.14/4)*((sid*sid)-(rod*rod))*a#volume of air-gap in the machine\n",
+ "ed=(.5*b*b)/(4*3.14*math.pow(10,-7))\n",
+ "e=ed*va*math.pow(10,-6)\n",
+ "edm=(.5*b*b)/(4*3.14*math.pow(10,-7)*ur)\n",
+ "es=edm*vs*math.pow(10,-6)\n",
+ "er=edm*vr*math.pow(10,-6)\n",
+ "kr=(vs+vr)/vs\n",
+ "ke=(es+er)/e\n",
+ "ratio=kr/ke\n",
+ "eratio=e/(es+er)\n",
+ "\n",
+ "#result\n",
+ "print \"Energy stored in air gap= \",e,\" Joules\"\n",
+ "print \"Energy stored in stator-core= \",round(es,2),\" Joules\"\n",
+ "print \"Energy stored in rotor core= \",er,\" Joules\"\n",
+ "print \"Ratio of energy dtored in air-gap to that stored in the cores=\",round(eratio)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Energy stored in air gap= 3.609 Joules\n",
+ "Energy stored in stator-core= 0.45 Joules\n",
+ "Energy stored in rotor core= 0.27 Joules\n",
+ "Ratio of energy dtored in air-gap to that stored in the cores= 5.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 25.2, Page Number:877"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "n=800#turns\n",
+ "area=5*5#cross sectional area\n",
+ "i=1.25#amp\n",
+ "x=0.25#cm\n",
+ "l=0.402\n",
+ "#calculations\n",
+ "p=4*3.14*10**(-7)*area*10**(-4)/(0.5*10**(-2))\n",
+ "l=n**2*p\n",
+ "em=.5*i*i*l\n",
+ "W=-1*0.5*n**2*4*3.14*10**(-7)*area*10**(-4)*i**2/(0.5*10**(-2))**2\n",
+ "\n",
+ "#result\n",
+ "print \"a)i)coil inductance=\",l,\"H\"\n",
+ "print \" ii)field energy stored=\",em,\"J\"\n",
+ "print \"b)mechanical energy output=\",W,\"NW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)i)coil inductance= 0.40192 H\n",
+ " ii)field energy stored= 0.314 J\n",
+ "b)mechanical energy output= -62.8 NW\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 25.4, Page Number:882"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "lo=50#mH\n",
+ "xo=0.05#cm\n",
+ "r=0.5#ohm\n",
+ "x=0.075#cm\n",
+ "i2=3#A\n",
+ "x2=0.15#cm\n",
+ "\n",
+ "#calculation\n",
+ "l1=2*lo/(1+(x/xo))\n",
+ "lambda1=l1*i2*10**(-3)\n",
+ "W=0.5*l1*i2**2*10**(-3)\n",
+ "l2=2*lo/(1+(x2/xo))\n",
+ "lambda2=l2*i2*10**(-3)\n",
+ "w2=0.5*i2*(lambda1-lambda2)\n",
+ "\n",
+ "#result\n",
+ "print \"a)magnetic stored energy=\",W,\"J\"\n",
+ "print \"b)change in magnetic stored energy=\",w2,\"J\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 25.5, Page Number:883"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "rc=0.5#ohm\n",
+ "v=3#V\n",
+ "i=6#A\n",
+ "l1=40#mH\n",
+ "l2=25#mH\n",
+ "wfld=0.5*l2*i*i*0.001\n",
+ "delE=0.5*i*i*0.001*(l1-l2)\n",
+ "\n",
+ "#result\n",
+ "print \"a)magnetic stored energy=\",wfld,\"J\"\n",
+ "print \"b)change in magnetic store energy=\",delE,\"J\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)magnetic stored energy= 0.45 J\n",
+ "b)change in magnetic store energy= 0.27 J\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter26.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter26.ipynb
new file mode 100644
index 00000000..0690f646
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter26.ipynb
@@ -0,0 +1,1741 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:e71bef33b0871199556c73182ec6cd28497a9d9d16612973a23ee2cceda4b35b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 26: D.C. Generators"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.3, Page Number:912"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=450#A\n",
+ "v=230#v\n",
+ "rs=50#ohm\n",
+ "ra=.03#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rs\n",
+ "ia=i+ish\n",
+ "va=ia*ra\n",
+ "E=v+va\n",
+ "\n",
+ "#result\n",
+ "print \"e.m.f. generated in the armature= \",E,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "e.m.f. generated in the armature= 243.62 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.4, Page Number:913"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=50#A\n",
+ "v=500#v\n",
+ "rs=250#ohm\n",
+ "ra=.05#ohm\n",
+ "rseries=0.03#ohm\n",
+ "b=1#V\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rs\n",
+ "ia=i+ish\n",
+ "vs=ia*rseries\n",
+ "va=ia*ra\n",
+ "vb=ish*b\n",
+ "E=v+va+vs+vb\n",
+ "\n",
+ "#result\n",
+ "print \"generated voltage in the armature= \",E,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "generated voltage in the armature= 506.16 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.5, Page Number:913"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=30#A\n",
+ "v=220#v\n",
+ "rs=200#ohm\n",
+ "ra=.05#ohm\n",
+ "rseries=0.30#ohm\n",
+ "b=1#V\n",
+ "\n",
+ "#calculations\n",
+ "vs=i*rseries\n",
+ "vshunt=v+vs\n",
+ "ish=vshunt/v\n",
+ "ia=i+ish\n",
+ "vb=b*2\n",
+ "E=v+vs+vb+(ia*ra)\n",
+ "\n",
+ "#result\n",
+ "print \"generated voltage in the armature= \",E,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "generated voltage in the armature= 232.552045455 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.6, Page Number:913"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": true,
+ "input": [
+ "#variable declaration\n",
+ "v=230.0#v\n",
+ "i=150.0#A\n",
+ "rs=92.0#ohm\n",
+ "rseries=0.015#ohm\n",
+ "rd=0.03#ohm(divertor)\n",
+ "ra=0.032#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rs\n",
+ "ia=i+ish\n",
+ "sdr=(rd*rseries)/(rd+rseries)\n",
+ "tr=ra+sdr\n",
+ "vd=ia*tr\n",
+ "Eg=v+vd\n",
+ "tp=Eg*ia\n",
+ "pl=(ia*ia*ra)+(ia*ia*sdr)+(v*ish)+(v*i)\n",
+ "\n",
+ "#resuts\n",
+ "print \"i) Induced e.m.f.= \",Eg,\" V\"\n",
+ "print \"ii)Total power generated= \",tp,\" W\"\n",
+ "print \"iii)Distribution of the total power:\"\n",
+ "print \" power lost in armature= \", ia*ia*ra\n",
+ "print \"power lost in series field and divider= \", ia*ia*sdr\n",
+ "print \"power dissipated in shunt winding= \", v*ish\n",
+ "print \"power delivered to load= \", v*i\n",
+ "print \" ------------\"\n",
+ "print \"Total= \", pl"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i) Induced e.m.f.= 236.405 V\n",
+ "ii)Total power generated= 36051.7625 W\n",
+ "iii)Distribution of the total power:\n",
+ " power lost in armature= 744.2\n",
+ "power lost in series field and divider= 232.5625\n",
+ "power dissipated in shunt winding= 575.0\n",
+ "power delivered to load= 34500.0\n",
+ " ------------\n",
+ "Total= 36051.7625\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.7, Page Number:914"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=300000.0#w\n",
+ "v=600.0#v\n",
+ "sr=75.0#ohm\n",
+ "abr=0.03#ohm\n",
+ "cr=0.011#ohm\n",
+ "rseries=0.012#ohm\n",
+ "dr=0.036#ohm\n",
+ "\n",
+ "#calculatons\n",
+ "io=p/v#output current\n",
+ "ish=v/sr\n",
+ "ia=io+ish\n",
+ "sdr=(rseries*dr)/(rseries+dr)\n",
+ "tr=abr+cr+sdr\n",
+ "vd=ia*tr\n",
+ "va=v+vd\n",
+ "pg=va*ia\n",
+ "W=pg/1000\n",
+ "\n",
+ "#result\n",
+ "print \"Voltage generatedby the armature= \",va,\" V\"\n",
+ "print \"Power generated by the armature= \",W, \"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage generatedby the armature= 625.4 V\n",
+ "Power generated by the armature= 317.7032 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.8, Page Number:915"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "phi=7*math.pow(10,-3)\n",
+ "z=51*20\n",
+ "a=p=4\n",
+ "n=1500#r.p.m\n",
+ "\n",
+ "#calculations\n",
+ "Eg=(phi*z*n*p)/(a*60)\n",
+ "\n",
+ "#result\n",
+ "print \"Voltage generated= \",Eg,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage generated= 178.5 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.9, Page Number:916"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=8\n",
+ "phi=0.05#Wb\n",
+ "n=1200#rpm\n",
+ "N=500#armature conductor\n",
+ "\n",
+ "#calculations\n",
+ "E=phi*(n/60)*(p/a)*N\n",
+ "\n",
+ "#result\n",
+ "print \"e.m.f generated= \",E,\" V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "e.m.f generated= 500.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.10, Page Number:916"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=127#v\n",
+ "vt=120#v(terminal voltage)\n",
+ "r=15#ohms\n",
+ "i1=8.47#A\n",
+ "ra=0.02#ohms\n",
+ "fi=8#A\n",
+ "\n",
+ "#calculations\n",
+ "Eg=v+(i1*ra)\n",
+ "ia=(Eg-vt)/ra\n",
+ "il=ia-fi\n",
+ "\n",
+ "#result\n",
+ "print \"Load current \",il,\" A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load current 350.47 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.11(a), Page Number:917"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=8\n",
+ "z=778\n",
+ "n=500\n",
+ "ra=0.24\n",
+ "rl=12.5\n",
+ "r=250\n",
+ "v=250\n",
+ "a=2\n",
+ "#calculations\n",
+ "il=v/rl\n",
+ "si=v/r\n",
+ "ai=il+si\n",
+ "emf=v+(ai*ra)\n",
+ "phi=(emf*60*a)/(p*z*n)\n",
+ "\n",
+ "#result\n",
+ "print \"armature current= \",ai,\" A\"\n",
+ "print \"induced e.m.f.= \",emf,\" V\"\n",
+ "print \"flux per pole= \",round(phi*1000,2),\" mWb\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 21.0 A\n",
+ "induced e.m.f.= 255.04 V\n",
+ "flux per pole= 9.83 mWb\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.11(b), Page Number:916"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=4\n",
+ "P=5000.0#w\n",
+ "P2=2500.0#W\n",
+ "v=250.0#v\n",
+ "ra=0.2#ohm\n",
+ "r=250.0#ohm\n",
+ "z=120\n",
+ "N=1000#rpm\n",
+ "\n",
+ "#calculations\n",
+ "gc=P/v\n",
+ "li=P2/v\n",
+ "ti=gc+li\n",
+ "fc=1\n",
+ "ai=ti+fc\n",
+ "ard=ai*ra\n",
+ "emf=v+ard+2\n",
+ "phi=(emf*60*a)/(p*z*N)\n",
+ "ac_perparralelpath=ai/p\n",
+ "\n",
+ "#result\n",
+ "print \"Flux per pole= \",phi*1000,\" mWb\"\n",
+ "print \"Armature current per parallel path= \",ac_perparralelpath,\" A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Flux per pole= 129.1 mWb\n",
+ "Armature current per parallel path= 7.75 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.12, Page Number:918"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=200.0#A\n",
+ "v=125.0#V\n",
+ "n1=1000#rpm\n",
+ "n2=800#rpm\n",
+ "ra=0.04#ohm\n",
+ "bd=2.0#V(brush drop)\n",
+ "\n",
+ "#calculations\n",
+ "R=v/i\n",
+ "E1=v+(i*ra)+bd\n",
+ "E2=(E1*n2)/n1\n",
+ "il=(E2-bd)/0.675\n",
+ "\n",
+ "#result\n",
+ "print \"Load current when speed drops to 800 r.p.m.= \",round(il,2),\" A\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load current when speed drops to 800 r.p.m.= 157.04 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.13, Page Number:918"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=4\n",
+ "n=900 #rpm\n",
+ "V=220#V\n",
+ "E=240#V\n",
+ "ra=0.2#ohm\n",
+ "phi=10#mWb\n",
+ "N=8\n",
+ "\n",
+ "#calculations\n",
+ "ia=(E-V)/ra\n",
+ "Z=(E*600*2)/(phi*math.pow(10,-3)*n*p)\n",
+ "#since there ae 8 turns in a coil,it means there are 16 active conductor\n",
+ "number_of_coils=Z/16\n",
+ "\n",
+ "#result\n",
+ "print \"armature current= \",ia,\" A\"\n",
+ "print \"number of coils= \",number_of_coils"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 100.0 A\n",
+ "number of coils= 500.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.14, Page Number:919"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "V=120.0#V\n",
+ "ra=0.06#ohm\n",
+ "rs=25#ohm\n",
+ "rsw=0.04#ohm(series winding)\n",
+ "il=100.0#A\n",
+ "#i)Long shunt\n",
+ "ish=V/rs\n",
+ "ia=il+ish\n",
+ "vd=ia*rsw\n",
+ "vda=ia*ra\n",
+ "E=V+vd+vda\n",
+ "\n",
+ "print \"Induced e.m.f. when the machine is connected to long shunt= \",E,\" V\"\n",
+ "print \"Armature current when the machine is connected to long shunt=\",ia,\" A\"\n",
+ "\n",
+ "#i)Short shunt\n",
+ "vds=il*rsw\n",
+ "vs=V+vds\n",
+ "ish=vs/rs\n",
+ "ia=il+ish\n",
+ "vd=ia*rsw\n",
+ "vda=ia*ra\n",
+ "E=V+vd+vda\n",
+ "\n",
+ "print \"Induced e.m.f. when the machine is connected to short shunt= \",E,\" V\"\n",
+ "print \"Armature current when the machine is connected to short shunt=\",ia,\" A\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Induced e.m.f. when the machine is connected to long shunt= 130.48 V\n",
+ "Armature current when the machine is connected to long shunt= 104.8 A\n",
+ "Induced e.m.f. when the machine is connected to short shunt= 130.496 V\n",
+ "Armature current when the machine is connected to short shunt= 104.96 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.15, Page Number:920"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=25000.0#W\n",
+ "V=500.0#V\n",
+ "ra=0.03#ohm\n",
+ "rs=200.0#ohm\n",
+ "rseries=0.04#ohm\n",
+ "vb=1.0#V\n",
+ "n=1200#rpm\n",
+ "phi=0.02#Wb\n",
+ "\n",
+ "#calculations\n",
+ "i=p/V\n",
+ "ish=V/rs\n",
+ "ia=i+ish\n",
+ "p=4\n",
+ "vds=ia*rseries\n",
+ "vda=ia*ra\n",
+ "vdb=vb*2\n",
+ "E=V+vds+vda+vdb\n",
+ "Z=(E*60*4)/(phi*n*p)\n",
+ "\n",
+ "#result\n",
+ "print \"The e.m.f. generated= \",E,\" V\"\n",
+ "print \"The number of conductors=\",Z"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The e.m.f. generated= 505.675 V\n",
+ "The number of conductors= 1264.1875\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.16, Page Number:920"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "n=750#rpm\n",
+ "e=240.0#V\n",
+ "z=792\n",
+ "phi=0.0145#Wb\n",
+ "\n",
+ "#calculations\n",
+ "phi_working=(e*60*2)/(n*z*p)\n",
+ "lambda_=phi/phi_working\n",
+ "\n",
+ "#results\n",
+ "print \"Leakage coefficient= \",round(lambda_,1)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Leakage coefficient= 1.2\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.17, Page Number:920"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=4\n",
+ "phi=0.07#Wb\n",
+ "t=220\n",
+ "rt=0.004#ohm\n",
+ "n=900#rpm\n",
+ "ia=50.0#A\n",
+ "\n",
+ "#calculations\n",
+ "z=2*t\n",
+ "E=(phi*z*n*p)/(60*a)\n",
+ "rtotal=t*rt\n",
+ "r_eachpath=rtotal/p\n",
+ "ra=r_eachpath/a\n",
+ "vda=ia*ra\n",
+ "V=E-vda\n",
+ "\n",
+ "#result\n",
+ "print \"Terminal Voltage= \",V, \" V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Terminal Voltage= 459.25 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.18, Page Number:920"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=4\n",
+ "phi=0.07#Wb\n",
+ "t=220\n",
+ "rturn=0.004#ohm\n",
+ "rs=100.0#ohm\n",
+ "rsc=0.02#ohm\n",
+ "n=900#rpm\n",
+ "ia=50.0#A\n",
+ "\n",
+ "#calculations\n",
+ "z=2*t\n",
+ "E=(phi*z*n*p)/(60*a)\n",
+ "ra=0.055#ohm\n",
+ "ra=ra+rsc\n",
+ "va=ia*ra\n",
+ "v=E-va\n",
+ "ish=v/rs\n",
+ "i=ia-ish\n",
+ "output=v*i\n",
+ "\n",
+ "#result\n",
+ "print \"Output= \",round(output/1000,3),\" kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Output= 20.813 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.19, Page Number:921"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n1=1200#rpm\n",
+ "ia=200#A\n",
+ "v=125#V\n",
+ "n2=1000#rpm\n",
+ "ra=0.04#ohm\n",
+ "vb=2#V\n",
+ "\n",
+ "#calculations\n",
+ "E1=v+vb+(ia*ra)\n",
+ "E2=E1*n2/n1*0.8\n",
+ "\n",
+ "#results\n",
+ "print \"Generated e.m.f. when field current is reduced to 80%=\",E2,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Generated e.m.f. when field current is reduced to 80%= 90.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.20(a), Page Number:921"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "rs=100.0#ohm\n",
+ "ra=1.0#ohm\n",
+ "z=378\n",
+ "phi=0.02#Wb\n",
+ "rl=10.0#ohm\n",
+ "n=1000#rpm\n",
+ "a=2\n",
+ "\n",
+ "#calculations\n",
+ "E=(phi*z*n*p)/(60*a)\n",
+ "V=(100.0/111.0)*E\n",
+ "il=V/rl\n",
+ "P=il*V\n",
+ "\n",
+ "#result\n",
+ "print \"Power absorbed by the load is= \",P,\" W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power absorbed by the load is= 5154.12710007 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 50
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.20(b), Page Number:921"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=4\n",
+ "z=300\n",
+ "phi=0.1#Wb\n",
+ "n=1000#rpm\n",
+ "ra=0.2#rpm\n",
+ "rf=125#ohm\n",
+ "il=90#A\n",
+ "\n",
+ "#calculations\n",
+ "E=(phi*z*n*p)/(60*a)\n",
+ "ifield=E/rf\n",
+ "ia=ifield+il\n",
+ "V=E-(ia*ra)\n",
+ "\n",
+ "#result\n",
+ "print \"Terminal voltage= \",V,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Terminal voltage= 481.2 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 51
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.21(a), Page Number:922"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6\n",
+ "n=1200#rpm\n",
+ "e=250.0#V\n",
+ "d=350.0#mm\n",
+ "air_gap=3.0#mm\n",
+ "al=260.0#mm\n",
+ "fringing=0.8\n",
+ "coils=96\n",
+ "t=3\n",
+ "\n",
+ "#calculations\n",
+ "z=t*coils*2\n",
+ "a=p*2\n",
+ "phi=(e*60*a)/(n*z*p)\n",
+ "di=d+air_gap\n",
+ "pole_arc=(3.14*di*fringing)/6\n",
+ "B=phi/(pole_arc*0.000001*al)\n",
+ "\n",
+ "#result\n",
+ "print \"flux per pole= \",phi,\" Wb\"\n",
+ "print \"effective pole arc lenght= \",pole_arc*0.001,\" m\"\n",
+ "print \"flux density= \",B,\" T\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "flux per pole= 0.0434027777778 Wb\n",
+ "effective pole arc lenght= 0.147789333333 m\n",
+ "flux density= 1.12953862717 T\n"
+ ]
+ }
+ ],
+ "prompt_number": 57
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.21(b), Page Number:922"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=a=4\n",
+ "z=1200\n",
+ "e=250.0#v\n",
+ "n=500#rpm\n",
+ "b=35.0#cm\n",
+ "ratio=0.7\n",
+ "lpole=20.0#cm\n",
+ "\n",
+ "#calculations\n",
+ "pole_pitch=(b*3.14)/p\n",
+ "polearc=ratio*pole_pitch\n",
+ "pole_area=polearc*lpole\n",
+ "phi=(e*60*a)/(n*z*p)\n",
+ "mean_flux=phi/(pole_area*math.pow(10,-4))\n",
+ " \n",
+ "#result\n",
+ "print \"Mean flux density= \",mean_flux,\" Wb/m2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Mean flux density= 0.649941505265 Wb/m2\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.21(d), Page Number:923"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=200.0#A\n",
+ "v=100.0#V\n",
+ "ra=0.04#ohm\n",
+ "rseries=0.03#ohm\n",
+ "rs=60.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "va=v+(i*rseries)\n",
+ "ish=va/rs\n",
+ "ia=i+ish\n",
+ "e=va+(ia*ra)\n",
+ "\n",
+ "#long shunt\n",
+ "ishunt=v/rs\n",
+ "vd=ia*(ra+rseries)\n",
+ "e2=v+vd\n",
+ "\n",
+ "#result\n",
+ "print \"emf generated(short shunt)\",e,\" V\"\n",
+ "print \"emf generated(long shunt)\",e2,\" V\"\n",
+ "\n",
+ "\n",
+ "#result\n",
+ "print "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "emf generated(short shunt) 114.070666667 V\n",
+ "emf generated(long shunt) 114.123666667 V\n",
+ "\n"
+ ]
+ }
+ ],
+ "prompt_number": 73
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.22, Page Number:923"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=1000#rpm\n",
+ "w=20000.0#W\n",
+ "v=220.0#v\n",
+ "ra=0.04#ohm\n",
+ "rs=110.0#ohm\n",
+ "rseries=0.05#ohm\n",
+ "efficiency=.85\n",
+ "\n",
+ "#calculations\n",
+ "il=w/v\n",
+ "i_f=v/rs\n",
+ "ia=il+i_f\n",
+ "ip=w/efficiency#input power\n",
+ "total_loss=ip-w\n",
+ "copper_loss=(ia*ia*(ra+rseries))+(i_f*i_f*rs)\n",
+ "ironloss=total_loss-copper_loss\n",
+ "omega=2*3.14*n/60\n",
+ "T=ip/omega\n",
+ "\n",
+ "#omega\n",
+ "print \"Copper loss= \",copper_loss,\" W\"\n",
+ "print \"Iron and friction loss= \",ironloss,\" W\"\n",
+ "print \"Torque developed by the prime mover= \",T,\"Nw-m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Copper loss= 1216.88892562 W\n",
+ "Iron and friction loss= 2312.52283909 W\n",
+ "Torque developed by the prime mover= 224.803297115 Nw-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.23, Page Number:928"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declartaion\n",
+ "power=10000.0#W\n",
+ "v=250.0#V\n",
+ "p=a=6\n",
+ "n=1000.0#rpm\n",
+ "z=534\n",
+ "cu_loss=0.64*1000#W\n",
+ "vbd=1.0#V\n",
+ "\n",
+ "#calculations\n",
+ "ia=power/v\n",
+ "ra=cu_loss/(ia*ia)\n",
+ "E=v+(ia*ra)+vbd\n",
+ "phi=(E*60*a)/(n*z*p)\n",
+ "\n",
+ "#result\n",
+ "print \"flux per pole= \",phi*1000,\" mWb\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "flux per pole= 30.0 mWb\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.24(a), Page Number:928"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=195#A\n",
+ "pd=250#V\n",
+ "ra=0.02#ohm\n",
+ "rsh=50#ohm\n",
+ "p=250#W\n",
+ "strayloss=950#W\n",
+ "#calculations\n",
+ "ish=pd/rsh\n",
+ "ia=i+ish\n",
+ "vda=ia*ra\n",
+ "E=pd+vda\n",
+ "cu_loss=(ia*ia*ra)+(pd*ish)\n",
+ "output_prime=(pd*i)+strayloss+cu_loss\n",
+ "power_a=output_prime-strayloss\n",
+ "neu_m=(power_a/output_prime)\n",
+ "neu_e=(pd*i)/((pd*i)+cu_loss)\n",
+ "neu_c=(pd*i)/output_prime\n",
+ "\n",
+ "#result\n",
+ "print \"a)e.m.f. generated= \",E,\" V\"\n",
+ "print \" b)Cu losses= \",cu_loss,\" W\"\n",
+ "print \" c)output of prime mover= \",output_prime,\" W\"\n",
+ "print \" d)mechanical efficiency= \",neu_m*100,\" %\"\n",
+ "print \" electrical efficiency= \",neu_e*100,\" %\"\n",
+ "print \" commercial efficiency= \",neu_c*100,\" %\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)e.m.f. generated= 254.0 V\n",
+ " b)Cu losses= 2050.0 W\n",
+ " c)output of prime mover= 51750.0 W\n",
+ " d)mechanical efficiency= 98.1642512077 %\n",
+ " electrical efficiency= 95.9645669291 %\n",
+ " commercial efficiency= 94.2028985507 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.24(b), Page Number:929"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500.0#V\n",
+ "i=5.0#A\n",
+ "ra=0.15#ohm\n",
+ "rf=200.0#ohm\n",
+ "il=40.0#A\n",
+ "\n",
+ "#calculations\n",
+ "output=v*il\n",
+ "total_loss=(v*i*0.5)+((il+i*0.5)*(il+i*0.5)*ra)+(v*i*0.5)\n",
+ "efficiency=output/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"Efficiency= \",efficiency*100,\" %\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency= 87.8312542029 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.25, Page Number:929"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "i=196#A\n",
+ "v=220#V\n",
+ "stray_loss=720#W\n",
+ "rsh=55#ohm\n",
+ "e=0.88\n",
+ "\n",
+ "#calculations\n",
+ "output=v*i\n",
+ "inpute=output/e\n",
+ "total_loss=inpute-output\n",
+ "ish=v/rsh\n",
+ "ia=i+ish\n",
+ "cu_loss=v*ish\n",
+ "constant_loss=cu_loss+stray_loss\n",
+ "culoss_a=total_loss-constant_loss\n",
+ "ra=culoss_a/(ia*ia)\n",
+ "I=math.sqrt(constant_loss/ra)\n",
+ "\n",
+ "#result\n",
+ "print \"Load curent corresponding to maximum efficiency\",I,\" A\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load curent corresponding to maximum efficiency 122.283568103 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.26, Page Number:929"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=1000#rpm\n",
+ "p=22*1000#w\n",
+ "v=220#V\n",
+ "ra=0.05#ohm\n",
+ "rsh=110#ohm\n",
+ "rseries=0.06#ohm\n",
+ "efficiency=.88\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rsh\n",
+ "I=p/v\n",
+ "ia=ish+I\n",
+ "vdseries=ia*rseries\n",
+ "cu_loss=(ia*ia*ra)+(ia*ia*rseries)+(rsh*ish*ish)\n",
+ "total_loss=(p/efficiency)-p\n",
+ "strayloss=total_loss-cu_loss\n",
+ "T=(p/efficiency*60)/(2*3.14*n)\n",
+ "\n",
+ "#result\n",
+ "print \"a)cu losses= \",cu_loss,\" W\"\n",
+ "print \"b)iron and friction loss= \",strayloss,\" W\"\n",
+ "print \"c)Torque exerted by the prime mover= \",T,\" N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)cu losses= 1584.44 W\n",
+ "b)iron and friction loss= 1415.56 W\n",
+ "c)Torque exerted by the prime mover= 238.853503185 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.27, Page Number:930"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "i=20#A\n",
+ "r=10#ohm\n",
+ "ra=0.5#ohm\n",
+ "rsh=50#ohm\n",
+ "vdb=1#V(voltage drop per brush)\n",
+ "\n",
+ "#calculations\n",
+ "v=i*r\n",
+ "ish=v/rsh\n",
+ "ia=i+ish\n",
+ "E=v+(ia*ra)+(2*vdb)\n",
+ "totalpower=E*ia\n",
+ "output=v*i\n",
+ "efficiency=output/totalpower\n",
+ "\n",
+ "#result\n",
+ "print \"induced e.m.f.= \",E,\" V\"\n",
+ "print \"efficiency= \",efficiency*100,\" %\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "induced e.m.f.= 214.0 V\n",
+ "efficiency= 77.8816199377 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.28, Page Number:930"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=240#V\n",
+ "i=100#A\n",
+ "ra=0.1#ohm\n",
+ "rseries=0.02#ohm\n",
+ "ri=0.025#ohm\n",
+ "rsh=100#ohm\n",
+ "ironloss=1000#W\n",
+ "frictionloss=500#W\n",
+ "\n",
+ "#calculations\n",
+ "output=v*i\n",
+ "totalra=ra+rseries+ri\n",
+ "ish=v/rsh\n",
+ "ia=i+ish\n",
+ "copperloss=ia*ia*totalra\n",
+ "shculoss=ish*v\n",
+ "total_loss=copperloss+ironloss+frictionloss+shculoss\n",
+ "efficiency=output/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"F.L. efficiency of the machine= \",efficiency*100,\" %\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F.L. efficiency of the machine= 87.3089843128 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.29, Page Number:930"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "A=Symbol('A')\n",
+ "B=Symbol('B')\n",
+ "ironloss=8#kW\n",
+ "r=0.25#reduction in speed\n",
+ "n_ironloss=5#kW\n",
+ "\n",
+ "#calculations\n",
+ "ans=solve([ironloss-(A*1+B*1**2),n_ironloss-(A*(1-r)+B*(1-r)**2)],[A,B])\n",
+ "wh=ans[A]\n",
+ "we=ans[B]\n",
+ "wh2=ans[A]*0.5\n",
+ "we2=ans[B]*0.5**2\n",
+ "\n",
+ "#result\n",
+ "print \"i)full speed:\"\n",
+ "print \"Wh=\",round(wh,3),\"kW\"\n",
+ "print \"We=\",round(we,3),\"kW\"\n",
+ "print \"ii)half speed:\"\n",
+ "print \"Wh=\",round(wh2,3),\"kW\"\n",
+ "print \"We=\",round(we2,3),\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)full speed:\n",
+ "Wh= 2.667 kW\n",
+ "We= 5.333 kW\n",
+ "ii)half speed:\n",
+ "Wh= 1.333 kW\n",
+ "We= 1.333 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.30, Page Number:931"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "N=Symbol('N')\n",
+ "n=1000.0#rpm\n",
+ "wh=250.0#w\n",
+ "we=100.0#w\n",
+ "\n",
+ "#calculations\n",
+ "A=wh/(n/60)\n",
+ "B=we/((n/60)**2)\n",
+ "new_loss=(wh+we)/2\n",
+ "ans=solve([new_loss-A*N-B*(N**2)],[N])\n",
+ "\n",
+ "#result\n",
+ "print \"Speed at which total loss will be halved=\",ans[1],\"r.p.s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Speed at which total loss will be halved= (9.50045787200216,) r.p.s\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.31, Page Number:931"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "output=10.0*1000#W\n",
+ "v=240.0#V\n",
+ "ra=0.6#ohm\n",
+ "rsh=160.0#ohm\n",
+ "mechcoreloss=500.0#W\n",
+ "culoss=360.0#W\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rsh\n",
+ "i=output/v\n",
+ "ia=ish+i\n",
+ "culossa=ia*ia*ra\n",
+ "totalloss=culoss+mechcoreloss+culossa\n",
+ "inputp=output+totalloss\n",
+ "efficiency=output/inputp\n",
+ "\n",
+ "#result\n",
+ "print \"Power required= \",inputp*0.001,\" kW\"\n",
+ "print \"efficinecy= \",efficiency*100,\" %\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power required= 11.9780166667 kW\n",
+ "efficinecy= 83.486275552 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.32, Page Number:932"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=110*1000#W\n",
+ "v=220#V\n",
+ "ra=0.01#ohm\n",
+ "rse=0.002#ohm\n",
+ "rsh=110#ohm\n",
+ "\n",
+ "#calculations\n",
+ "il=p/v\n",
+ "ish=v/rsh\n",
+ "ia=il+ish\n",
+ "E=v+ia*(ra+rse)\n",
+ "\n",
+ "#result\n",
+ "print \"induced emf= \",E,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "induced emf= 226.024 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.33 Page Number:932"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "E=216.0#V\n",
+ "n=600.0#rpm\n",
+ "slots=144\n",
+ "con=6\n",
+ "n2=500.0#rpm\n",
+ "\n",
+ "#calculations\n",
+ "z=con*slots\n",
+ "a=p\n",
+ "phi=(E*60*a)/(n*z*p)\n",
+ "a=2\n",
+ "armatureE=(phi*z*n2*p)/(60*a)\n",
+ "\n",
+ "#result\n",
+ "print \"the armature emf= \",armatureE,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the armature emf= 360.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 26.34 Page Number:933"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "r=0.15#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ar=p*r\n",
+ "\n",
+ "#result\n",
+ "print \"armature resistance=\",ar"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature resistance= 0.6\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter27.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter27.ipynb
new file mode 100644
index 00000000..f35c124e
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter27.ipynb
@@ -0,0 +1,1233 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fc88e8a107629d62ff7c77f84f67a9d9da67e1160053ed6d930ef88cb4cc11d6"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 27: Armature Reaction and Commutation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.1, Page Number:943"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "z=722\n",
+ "ia=100.0#A\n",
+ "theta_m=8.0#degrees\n",
+ "\n",
+ "#calculatons\n",
+ "i=ia/2\n",
+ "atd_perpole=z*i*theta_m/360\n",
+ "atc_perpole=z*i*((1/(2.0*p))-(theta_m/360.0))\n",
+ "\n",
+ "#result\n",
+ "print \"armature demagnetization=\",atd_perpole\n",
+ "print \"cross-magnetization=\",atc_perpole"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature demagnetization= 802.222222222\n",
+ "cross-magnetization= 3710.27777778\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.2, Page Number:943"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=8\n",
+ "z=1280\n",
+ "v=500#V\n",
+ "ia=200.0#A\n",
+ "commuter=160\n",
+ "advanced_segments=4\n",
+ "\n",
+ "#calculatons\n",
+ "i=ia/8\n",
+ "theta_m=advanced_segments*360/commuter\n",
+ "atd_perpole=z*i*theta_m/360\n",
+ "atc_perpole=z*i*((1/(2.0*p))-(theta_m/360.0))\n",
+ "\n",
+ "#result\n",
+ "print \"armature demagnetization=\",atd_perpole\n",
+ "print \"cross-magnetization=\",atc_perpole"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature demagnetization= 800.0\n",
+ "cross-magnetization= 1200.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.3(a), Page Number:943"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "z=880\n",
+ "ia=120.0#A\n",
+ "theta_m=3.0#degrees\n",
+ "n=1100#tturns/pole\n",
+ "#calculatons\n",
+ "i=ia/2\n",
+ "atd_perpole=z*i*theta_m/360\n",
+ "atc_perpole=z*i*((1/(2.0*p))-(theta_m/360.0))\n",
+ "iadditional=(atd_perpole/n)\n",
+ "\n",
+ "\n",
+ "#result\n",
+ "print \"a)armature demagnetization=\",atd_perpole,\"AT\"\n",
+ "print \"b)cross-magnetization=\",atc_perpole,\"AT\"\n",
+ "print \"c)additional field current=\",iadditional,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)armature demagnetization= 440.0 AT\n",
+ "b)cross-magnetization= 6160.0 AT\n",
+ "c)additional field current= 0.4 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.3(b), Page Number:943"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "z=480\n",
+ "ia=150.0#A\n",
+ "theta_m=10.0*2#degrees\n",
+ "\n",
+ "#calculatons\n",
+ "i=ia/4\n",
+ "total=(z*i)/(2*p)\n",
+ "atd_perpole=total*(2*theta_m/180)\n",
+ "atc_perpole=total*(1-(2*theta_m/180))\n",
+ "\n",
+ "#result\n",
+ "print \"armature demagnetization=\",atd_perpole\n",
+ "print \"cross-magnetization=\",atc_perpole"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature demagnetization= 500.0\n",
+ "cross-magnetization= 1750.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.4, Page Number:944"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "z=492\n",
+ "theta_m=10.0\n",
+ "ia=143.0+10.0\n",
+ "\n",
+ "#calculations\n",
+ "i1=ia/2#wave wound\n",
+ "i2=ia/4#lap wound\n",
+ "atd_perpole1=z*i1*theta_m/360#wave wound\n",
+ "extra_shunt1=atd_perpole1/theta_m\n",
+ "atd_perpole2=z*i2*(theta_m/360.0)#lap wound\n",
+ "extra_shunt2=atd_perpole2/theta_m\n",
+ "#result\n",
+ "print \"wave wound:\"\n",
+ "print \"demagnetization per pole=\",atd_perpole1,\"AT\"\n",
+ "print \"extra shunt field turns=\",int(extra_shunt1)\n",
+ "print \"lap wound:\"\n",
+ "print \"demagnetization per pole=\",atd_perpole2,\"AT\"\n",
+ "print \"extra shunt field turns=\",int(extra_shunt2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "wave wound:\n",
+ "demagnetization per pole= 1045.5 AT\n",
+ "extra shunt field turns= 104\n",
+ "lap wound:\n",
+ "demagnetization per pole= 522.75 AT\n",
+ "extra shunt field turns= 52\n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.5, Page Number:944"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "pole=4\n",
+ "p=50*1000.0#W\n",
+ "v=250.0#V\n",
+ "z=400\n",
+ "commuter=4\n",
+ "rsh=50.0#ohm\n",
+ "a=2\n",
+ "\n",
+ "#calculations\n",
+ "i=p/v\n",
+ "ish=v/rsh\n",
+ "ia=i+ish\n",
+ "i=ia/2\n",
+ "segments=z/a\n",
+ "theta=pole*360.0/segments\n",
+ "atd=z*i*(theta/360)\n",
+ "extra=atd/ish\n",
+ "\n",
+ "#result\n",
+ "print \"demagnetisation=\",atd,\"AT\"\n",
+ "print \"extra shunt turns/poles\",extra"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "demagnetisation= 820.0 AT\n",
+ "extra shunt turns/poles 164.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.6, Page Number:943"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "z=500\n",
+ "ia=200.0#A\n",
+ "p=6\n",
+ "theta=10.0#degrees\n",
+ "lambda_=1.3\n",
+ "\n",
+ "#calculations\n",
+ "i=ia/2\n",
+ "atc=((1/(2.0*p))-(theta/360.0))*z*i\n",
+ "atd=z*i*theta/360\n",
+ "extra=lambda_*atd/ia\n",
+ "\n",
+ "#result\n",
+ "print \"i)cross magnetization ampere-turns=\",atc\n",
+ "print \"ii)back ampere-turns\",atd\n",
+ "print \"iii)series turns required to balance the demagnetising ampere turns\",int(extra)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)cross magnetization ampere-turns= 2777.77777778\n",
+ "ii)back ampere-turns 1388.88888889\n",
+ "iii)series turns required to balance the demagnetising ampere turns 9\n"
+ ]
+ }
+ ],
+ "prompt_number": 45
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.7, Page Number:945"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=22.38#kW\n",
+ "v=440.0#V\n",
+ "pole=4\n",
+ "z=840\n",
+ "commutator=140\n",
+ "efficiency=0.88\n",
+ "ish=1.8#A\n",
+ "back=1.5\n",
+ "\n",
+ "#calculations\n",
+ "motor_input=p*1000.0/efficiency\n",
+ "input_i=motor_input/v\n",
+ "ia=input_i-ish\n",
+ "i=ia/2.0\n",
+ "theta=back*360/commutator\n",
+ "atd=z*i*(theta/360.0)\n",
+ "atc=((1/(2.0*pole))-(theta/360.0))*z*i\n",
+ "#result\n",
+ "print \"armature demagnetization amp-turns/pole=\",atd\n",
+ "print \"distorting amp-turns/pole=\",atc"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature demagnetization amp-turns/pole= 251.998140496\n",
+ "distorting amp-turns/pole= 2687.98016529\n"
+ ]
+ }
+ ],
+ "prompt_number": 59
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.8, Page Number:945"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400#V\n",
+ "ia=1000#A\n",
+ "p=10\n",
+ "z=860\n",
+ "per=0.7\n",
+ "\n",
+ "#calculations\n",
+ "i=ia/p\n",
+ "at=per/p*z*(i/2)\n",
+ "\n",
+ "#result\n",
+ "print \"AT/pole for compensation winding=\",at"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "AT/pole for compensation winding= 3010.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.9, Page Number:948"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=800.0#rpm\n",
+ "segment=123\n",
+ "wb=3\n",
+ "#calculations\n",
+ "v=n/60.0*segment\n",
+ "commutation=wb/v\n",
+ "\n",
+ "#result\n",
+ "print \"commutation time=\",commutation*1000,\"millisecond\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "commutation time= 1.82926829268 millisecond\n"
+ ]
+ }
+ ],
+ "prompt_number": 64
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.10, Page Number:948"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "n=1500#rpm\n",
+ "d=30#cm\n",
+ "ia=150#A\n",
+ "wb=1.25#cm\n",
+ "L=0.07*0.001#H\n",
+ "\n",
+ "#calculation\n",
+ "i=ia/2\n",
+ "v=3.14*d*(n/60)\n",
+ "tc=wb/v\n",
+ "E=L*2*i/tc\n",
+ "\n",
+ "#result\n",
+ "print \"average emf=\",E,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "average emf= 19.782 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 65
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.11, Page Number:949"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "segments=55\n",
+ "n=900\n",
+ "wb=1.74\n",
+ "L=153*math.pow(10,-6)#H\n",
+ "i=27#A\n",
+ "\n",
+ "#calculations\n",
+ "v=segments*n/60\n",
+ "Tc=wb/v\n",
+ "E=L*2*i/Tc\n",
+ "\n",
+ "#result\n",
+ "print \"average emf=\",E,\"V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "average emf= 3.91732758621 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.12, Page Number:949"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "n=1500.0#rpm\n",
+ "ia=150.0#A\n",
+ "z=64\n",
+ "wb=1.2\n",
+ "L=0.05#mH\n",
+ "\n",
+ "#calculations\n",
+ "L=L*0.001\n",
+ "v=n/60*z\n",
+ "tc=wb/v\n",
+ "i=ia/p\n",
+ "#i.linear\n",
+ "E1=L*2*i/tc\n",
+ "#ii.sinusoidal\n",
+ "E2=1.11*E1\n",
+ "\n",
+ "#result\n",
+ "print \"Linear commutation,E=\",E1,\"V\"\n",
+ "print \"Sinosoidal commutation,E=\",E2,\"V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Linear commutation,E= 5.0 V\n",
+ "Sinosoidal commutation,E= 5.55 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 68
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.13, Page Number:951"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=6\n",
+ "B=0.5#Wb/m2\n",
+ "Ig=4.0#mm\n",
+ "ia=500.0#A\n",
+ "z=540\n",
+ "\n",
+ "#calculations\n",
+ "arm_mmf=z*(ia/p)/(2*p)\n",
+ "compole=int(B*Ig*0.001/(4*3.14*math.pow(10,-7)))\n",
+ "mag=0.1*compole\n",
+ "total_compole=int(compole+mag)\n",
+ "total_mmf=arm_mmf+total_compole\n",
+ "Ncp=total_mmf/ia\n",
+ "\n",
+ "#result\n",
+ "print \"Number of turns on each commutating pole=\",int(Ncp)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of turns on each commutating pole= 11\n"
+ ]
+ }
+ ],
+ "prompt_number": 89
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.14, Page Number:957"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p1=100.0#kW\n",
+ "V1=250#V\n",
+ "p2=300.0#kW\n",
+ "V2=250#V\n",
+ "i1=200#A\n",
+ "i2=500#A\n",
+ "il=600#A\n",
+ "\n",
+ "#calculations\n",
+ "delI1=p1/(p1+p2)*il\n",
+ "delI2=p2/(p1+p2)*il\n",
+ "\n",
+ "#result\n",
+ "print \"Current supplied by generator 1 with additional load=\",delI1,\"A\"\n",
+ "print \"Current supplied by generator 2 with additional load=\",delI2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current supplied by generator 1 with additional load= 150.0 A\n",
+ "Current supplied by generator 2 with additional load= 450.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 92
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.15, Page Number:957"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "i1=Symbol('i1')\n",
+ "i2=Symbol('i2')\n",
+ "v_nl1=270#V\n",
+ "v_l=220#V\n",
+ "il1=35#A\n",
+ "v_nl2=280#V\n",
+ "il2=50#A\n",
+ "il=60#A\n",
+ "\n",
+ "#calculations\n",
+ "#generator 1\n",
+ "vd1=v_nl1-v_l\n",
+ "vd_pa=vd1/il1#voltage drop per ampere\n",
+ "#generator 2\n",
+ "vd_pa2=(v_nl2-v_l)/il2\n",
+ "#270=(10/7)i1=280-1.2*i2\n",
+ "ans=solve([4.2*i2-5*i1-35,i1+i2-60],[i1,i2])\n",
+ "v=v_nl2-vd_pa2*ans[i2]\n",
+ "o1=v*ans[i1]/1000.0\n",
+ "o2=v*ans[i2]/1000.0\n",
+ "\n",
+ "#result\n",
+ "print \"output current of first machine=\",round(ans[i1],1)\n",
+ "print \"output current of second machine=\",round(ans[i2],1)\n",
+ "print \"output of first machine=\",round(o1,1),\"kW\"\n",
+ "print \"output of second machine=\",round(o2,1),\"kW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output current of first machine= 23.6\n",
+ "output current of second machine= 36.4\n",
+ "output of first machine= 5.7 kW\n",
+ "output of second machine= 8.9 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.16, Page Number:958"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "i1=Symbol('i1')\n",
+ "i2=Symbol('i2')\n",
+ "v=Symbol('v')\n",
+ "ra=0.01#ohm\n",
+ "rf=20#ohm\n",
+ "i=4000#A\n",
+ "v1=210#V\n",
+ "v2=220#V\n",
+ "\n",
+ "#calculations\n",
+ "#V+(i1+v/20)*0.01=210\n",
+ "#V+(i2+v/20)*0.01=220\n",
+ "#solving the above two equations we have i1-i2=1000\n",
+ "ans=solve([i1-i2-1000,i1+i2-4000],[i1,i2])\n",
+ "V=solve([v1-(ans[i1]+v/20)*0.01-v],[v])\n",
+ "o1=V[v]*ans[i1]/1000\n",
+ "o2=V[v]*ans[i2]/1000\n",
+ "\n",
+ "#result\n",
+ "print \"Bus bar voltage=\",V[v],\"V\"\n",
+ "print \"output of first generator=\",o1,\"kW\"\n",
+ "print \"output of second generator=\",o2,\"kW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Bus bar voltage= 184.907546226887 V\n",
+ "output of first generator= 462.268865567216 kW\n",
+ "output of second generator= 277.361319340330 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.17, Page Number:959"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "i1=Symbol('i1')\n",
+ "i2=Symbol('i2')\n",
+ "i=250.0#A\n",
+ "v1=50.0#kW\n",
+ "v2=100.0#kW\n",
+ "v=500.0#V\n",
+ "r1=0.06\n",
+ "r2=0.04\n",
+ "\n",
+ "#calculations\n",
+ "#generator 1\n",
+ "vd1=v*r1\n",
+ "il1=v1*1000/v\n",
+ "i_d1=vd1/il1\n",
+ "#generator 2\n",
+ "vd2=v*r2\n",
+ "il2=v2*1000/v\n",
+ "i_d2=vd2/il2\n",
+ "#3i1/10=i2/10\n",
+ "ans=solve([i1+i2-i,3*i1-i2],[i1,i2])\n",
+ "v=v-(3*ans[i1]/10)\n",
+ "\n",
+ "#result\n",
+ "print \"current delivered to first machine=\",round(ans[i1],1),\"A\"\n",
+ "print \"current delivered to second machine=\",round(ans[i2],1),\"A\"\n",
+ "print \"terminal voltage=\",round(v,1),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current delivered to first machine= 62.5 A\n",
+ "current delivered to second machine= 187.5 A\n",
+ "terminal voltage= 481.3 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.18, Page Number:959"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "x1=Symbol('x1')\n",
+ "x2=Symbol('x2')\n",
+ "i1=Symbol('i1')\n",
+ "i2=Symbol('i2')\n",
+ "v=125.0#V\n",
+ "w1=250.0#kW\n",
+ "v1=119.0#V\n",
+ "w2=200.0#kW\n",
+ "v2=116.0#V\n",
+ "i=3500.0#A\n",
+ "\n",
+ "#calculations\n",
+ "#v=125-[(125-119)(x1/100)] for generator 1\n",
+ "#v=125-[(125-116)(x2/100)] for generator 2\n",
+ "#(250x1*1000/100)+(200x2*1000/100)=v*3500\n",
+ "#v=125-6x1/100\n",
+ "ans=solve([(250.0*x1*1000.0/100.0)+(200.0*(2.0*x1*1000.0)/300.0)-((125.0-((6.0*x1)/100.0))*3500.0)],[x1])\n",
+ "V=v-(6.0*ans[x1]/100.0)\n",
+ "ans2=solve([V-(v-((v-v2)*(x2/100.0)))],[x2])\n",
+ "ratio=ans[x1]/ans2[x2]\n",
+ "I=solve([ratio-((i1*w2)/(i2*w1)),i1+i2-i],[i1,i2])\n",
+ "print \"I1=\",round(I[i1],0),\"A\"\n",
+ "print \"I2=\",round(I[i2],0),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "I1= 2283.0 A\n",
+ "I2= 1217.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.19, Page Number:960"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "IA=Symbol('IA')\n",
+ "IB=Symbol('IB')\n",
+ "va1=240.0#V\n",
+ "va2=220.0#v\n",
+ "ia=200.0#A\n",
+ "vb1=245.0#V\n",
+ "vb2=220.0#V\n",
+ "ib=150.0#A\n",
+ "i=300.0#A\n",
+ "\n",
+ "#calculations\n",
+ "I=solve([(va1-((va1-va2)*IA/ia))-(vb1-((vb1-vb2)*IB/ib)),IA+IB-i],[IA,IB])\n",
+ "vbus=va1-((va1-va2)*I[IA]/ia)\n",
+ "#result\n",
+ "print \"IA=\",round(I[IA],2),\"A\"\n",
+ "print \"IB=\",round(I[IB],2),\"A\"\n",
+ "print \"V bus=\",round(vbus,2),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "IA= 168.75 A\n",
+ "IB= 131.25 A\n",
+ "V bus= 223.13 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.20, Page Number:961"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "i1=Symbol('i1')\n",
+ "i2=Symbol('i2')\n",
+ "n=5.0#number ofshunt generators\n",
+ "ra=0.1#ohm\n",
+ "p=250.0#kW\n",
+ "v=500.0#V\n",
+ "incr=0.04#increase in current\n",
+ "\n",
+ "#calculations\n",
+ "load=p/n\n",
+ "o=load*1000.0/v\n",
+ "a_drop=ra*o\n",
+ "emf=v+a_drop\n",
+ "incr=incr*emf\n",
+ "emf1=emf+incr\n",
+ "#emf1-ra*i1=V\n",
+ "#emf-ra*i2=V\n",
+ "I=solve([emf1-emf-ra*(i1-i2),i1+4.1*i2-510],[i1,i2])\n",
+ "V=I[i1]+4.0*I[i2]#V=i1+4*i2\n",
+ "o1=V*I[i1]/1000.0\n",
+ "o2=V*I[i2]/1000.0\n",
+ "\n",
+ "#result\n",
+ "print \"Power output of first machine=\",round(o1),\"kW\"\n",
+ "print \"Power output of second machine=\",round(o2,2),\"kW\"\n",
+ "print \"Terminal voltage=\",round(V),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power output of first machine= 133.0 kW\n",
+ "Power output of second machine= 30.24 kW\n",
+ "Terminal voltage= 504.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.21, Page Number:961"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "V=Symbol('V')\n",
+ "i=1500.0#A\n",
+ "ra1=0.5#ohm\n",
+ "emf1=400.0#V\n",
+ "ra2=0.04#ohm\n",
+ "emf2=440.0#V\n",
+ "rs1=100.0#ohm\n",
+ "rs2=80.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "#i2=1500-i1\n",
+ "#ish1=v/100, ish2=v/80\n",
+ "#ia1=i1+v/100, ia2=i2+v/80\n",
+ "ans=solve([(0.5/0.04)-((emf1-1.005*V)/(1.0005*V-380))],[V])\n",
+ "i1=(emf1-1.005*ans[V])/0.5\n",
+ "i2=i-i1\n",
+ "o1=ans[V]*i1/1000\n",
+ "o2=ans[V]*i2/1000\n",
+ "#result\n",
+ "print \"I1=\",round(i1,2),\"A\"\n",
+ "print \"I2=\",round(i2,2),\"A\"\n",
+ "print \"Terminal Voltage=\",round(ans[V],2),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "I1= 33.86 A\n",
+ "I2= 1466.14 A\n",
+ "Terminal Voltage= 381.16 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.22, Page Number:962"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "V=Symbol('V')\n",
+ "I=Symbol('I')\n",
+ "v1=250#V\n",
+ "ra1=0.24#ohm\n",
+ "rf1=100#ohm\n",
+ "v2=248#V\n",
+ "ra2=0.12#ohm\n",
+ "rf2=100#ohm\n",
+ "i=40#A\n",
+ "ir=0.172#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ans=solve([V+((I+V/rf1)*ra1)-v1,V+((I+V/rf2)*ra2)-v2],[I,V])\n",
+ "ib=i-2*ans[I]\n",
+ "vd=ib*ir\n",
+ "eb=ans[V]+vd\n",
+ "\n",
+ "#result\n",
+ "print \"emf of battery=\",round(eb),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "emf of battery= 248.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.23, Page Number:963"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "va=400#V\n",
+ "ra=0.25#ohm\n",
+ "vb=410#V\n",
+ "rb=0.4#ohm\n",
+ "V=390#V\n",
+ "\n",
+ "#calculations\n",
+ "loada=(va-V)/ra\n",
+ "loadb=(vb-V)/rb\n",
+ "pa=loada*V\n",
+ "pb=loadb*V\n",
+ "net_v=vb-va\n",
+ "total_r=ra+rb\n",
+ "i=net_v/total_r\n",
+ "terminal_v=va+(i*ra)\n",
+ "power_AtoB=terminal_v*i\n",
+ "\n",
+ "#result\n",
+ "print \"Current=\",i,\"A\"\n",
+ "print \"Voltage=\",terminal_v,\"V\"\n",
+ "print \"Power=\",power_AtoB,\"W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current= 15.3846153846 A\n",
+ "Voltage= 403.846153846 V\n",
+ "Power= 6213.01775148 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 27.24, Page Number:964"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "v=Symbol('v')\n",
+ "i=500.0#A\n",
+ "ra1=0.01#ohm\n",
+ "ra2=0.02#ohm\n",
+ "sw1=0.004#ohm\n",
+ "sw2=0.006#ohm\n",
+ "e1=240.0#V\n",
+ "e2=244.0#V\n",
+ "\n",
+ "#calculations\n",
+ "V=solve([(((e1-v)/ra1)+((e2-v)/ra2)-i)],[v])\n",
+ "i1=(e1-V[v])/ra1\n",
+ "i2=(e2-V[v])/ra2\n",
+ "#ratio of series winding (1/0.004):(1/0.0006) or 3:2\n",
+ "is1=i*3/5\n",
+ "is2=i*2/5\n",
+ "vbus=V[v]-(is1*sw1)\n",
+ "\n",
+ "#result\n",
+ "print \"I1=\",round(i1),\"A\"\n",
+ "print \"I2=\",round(i2),\"A\"\n",
+ "print \"Current in series winding:\"\n",
+ "print \"generator A=\",round(is1),\"A\"\n",
+ "print \"generator B=\",round(is2),\"B\"\n",
+ "print \"Bus bar voltage=\",round(vbus,1),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "I1= 200.0 A\n",
+ "I2= 300.0 A\n",
+ "Current in series winding:\n",
+ "generator A= 300.0 A\n",
+ "generator B= 200.0 B\n",
+ "Bus bar voltage= 236.8 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter28.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter28.ipynb
new file mode 100644
index 00000000..447ef8ab
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter28.ipynb
@@ -0,0 +1,388 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6743417a1c79c6197a7cd49755318e10828c09b3cb248c5af8d5364367840700"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 28: Generator Characteristics"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.13, Page Number:984"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220#V\n",
+ "#emf increases by 1 V for every increase of 6 A\n",
+ "ra=0.02#ohm\n",
+ "i=96#A\n",
+ "\n",
+ "#calculations\n",
+ "voltageincrease=i/6\n",
+ "vd=i*ra\n",
+ "voltage_rise=voltageincrease-vd\n",
+ "vconsumer=v+voltage_rise\n",
+ "power_supplied=voltage_rise*i\n",
+ "\n",
+ "#result\n",
+ "print \"voltage supplied ot consumer= \",vconsumer,\" V\"\n",
+ "print \"power supplied by the booster itself= \",power_supplied/1000,\" kW\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage supplied ot consumer= 234.08 V\n",
+ "power supplied by the booster itself= 1.35168 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.14, Page Number:985"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=50.0#V\n",
+ "i=200.0#A\n",
+ "r=0.3#ohm\n",
+ "i1=200.0#A\n",
+ "i2=50.0#A\n",
+ "\n",
+ "#calculations\n",
+ "vd=i*r\n",
+ "voltage_decrease=v-vd\n",
+ "feeder_drop=v*r\n",
+ "booster_voltage=v*v/i1\n",
+ "voltage_net=feeder_drop-booster_voltage\n",
+ "\n",
+ "#result\n",
+ "print \"Net decrease in voltage= \",voltage_net,\" V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Net decrease in voltage= 2.5 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.15, Page Number:986"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "inl=5.0#A\n",
+ "v=440.0#V\n",
+ "il=6.0#A\n",
+ "i_full=200.0#A(full load)\n",
+ "turns=1600\n",
+ "\n",
+ "#calcuations\n",
+ "shunt_turns1=turns*inl\n",
+ "shunt_turns2=turns*il\n",
+ "increase=shunt_turns2-shunt_turns1\n",
+ "n=increase/i_full#number of series turns required\n",
+ "\n",
+ "#result\n",
+ "print \"Number of series turns required= \",n,\" tunrs/pole\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of series turns required= 8.0 tunrs/pole\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.16, Page Number:987"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=1000#turns/pole\n",
+ "series_winding=4#turns/pole\n",
+ "r=0.05#ohm\n",
+ "increase_i=0.2#A\n",
+ "ia=80#A\n",
+ "\n",
+ "#calculations\n",
+ "additional_at=n*increase_i\n",
+ "current_required=additional_at/series_winding\n",
+ "R=(current_required*r)/(ia-current_required)\n",
+ "\n",
+ "#result\n",
+ "print \"Divertor resistance= \",R,\" ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Divertor resistance= 0.0833333333333 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.17, Page Number:987"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "i=100.0#A\n",
+ "ra=0.1#ohm\n",
+ "rsh=50.0#ohm\n",
+ "rse=0.06#ohm\n",
+ "divertor=0.14#ohm\n",
+ "\n",
+ "#calculations\n",
+ "#short shunt\n",
+ "vd=i*rse\n",
+ "ish=v/rsh\n",
+ "ia=i+ish\n",
+ "armature_drop=ia*ra\n",
+ "E=v+vd+armature_drop\n",
+ "#long shunt\n",
+ "vd=ia*(ra+rse)\n",
+ "print vd\n",
+ "E2=v+vd\n",
+ "current_divertor=(ia*divertor)/(divertor+rse)\n",
+ "change=(current_divertor/ia)*100\n",
+ "\n",
+ "#result\n",
+ "print \"a)emf induced using short shunt= \",E\n",
+ "print \"b)emf induced using long shunt= \",E2\n",
+ "print \"c)series amp-turns are reduced to \",change,\" %\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "16.704\n",
+ "a)emf induced using short shunt= 236.44\n",
+ "b)emf induced using long shunt= 236.704\n",
+ "c)series amp-turns are reduced to 70.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.18, Page Number:988"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=250*1000#W\n",
+ "v=240#V\n",
+ "v2=220#V\n",
+ "i=7#A\n",
+ "inl=12#A\n",
+ "shunt=650#turns/pole\n",
+ "series=4#turns/pole\n",
+ "rse=0.006#ohm\n",
+ "\n",
+ "#calculations\n",
+ "i_fulload=p/v\n",
+ "shunt_increase=shunt*(inl-i)\n",
+ "ise=shunt_increase/series\n",
+ "i_d=i_fulload-ise\n",
+ "Rd=(ise*rse)/i_d\n",
+ "\n",
+ "#results\n",
+ "print \"resistance of the series amp-turns at no-load\",Rd,\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of the series amp-turns at no-load 0.0212751091703 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.19, Page Number:988"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=60.0*1000#W\n",
+ "n=1600.0#turns/pole\n",
+ "inl=1.25#A\n",
+ "vnl=125#V\n",
+ "il=1.75#A\n",
+ "vl=150.0#V\n",
+ "\n",
+ "#calculations\n",
+ "extra_excitation=n*(il-inl)\n",
+ "ise=p/vl\n",
+ "series=extra_excitation/ise\n",
+ "ise2=extra_excitation/3\n",
+ "i_d=ise-ise2\n",
+ "rd=(ise2*0.02)/i_d\n",
+ "reg=(vnl-vl)*100/vl\n",
+ "\n",
+ "#result\n",
+ "print \"i)minimum number of series turns/pole= \",series\n",
+ "print \"ii)divertor resistance= \",rd\n",
+ "print \"iii)voltage regulation= \",reg,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)minimum number of series turns/pole= 2.0\n",
+ "ii)divertor resistance= 0.04\n",
+ "iii)voltage regulation= -16.6666666667 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 28.20, Page Number:989"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=50.0#v\n",
+ "i=200.0#A\n",
+ "r=0.3#ohm\n",
+ "i1=160.0#A\n",
+ "i2=50.0#A\n",
+ "\n",
+ "#calculations\n",
+ "#160 A\n",
+ "vd=i1*(r-(v/i))\n",
+ "#50 A\n",
+ "vd2=i2*(r-(v/i))\n",
+ "\n",
+ "#result\n",
+ "print \"voltage drop at 160 A=\",vd,\"V\"\n",
+ "print \"voltage drop at 50 A=\",vd2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage drop at 160 A= 8.0 V\n",
+ "voltage drop at 50 A= 2.5 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter29.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter29.ipynb
new file mode 100644
index 00000000..414e96f4
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter29.ipynb
@@ -0,0 +1,2346 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:cc4f342391bb51dd1544d3ff7e470e05be79bafb54959e6b5c13aa0d16dbd712"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 29: D.C. Motor"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.1, Page Number:999"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220#V\n",
+ "r=0.5#ohm\n",
+ "i=20#A\n",
+ "\n",
+ "#calculation\n",
+ "#as generator \n",
+ "eg=v+i*r\n",
+ "#as motor\n",
+ "eb=v-i*r\n",
+ "\n",
+ "#result\n",
+ "print \"as generator:eg=\",eg,\"V\"\n",
+ "print \"as motor:eb=\",eb,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "as generator:eg= 230.0 V\n",
+ "as motor:eb= 210.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.2, Page Number:999"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "ia=Symbol('ia')\n",
+ "r=0.1#ohm\n",
+ "brush_drop=2#V\n",
+ "n=1000#rpm\n",
+ "i=100#A\n",
+ "v=250#V\n",
+ "n2=700#rpm\n",
+ "\n",
+ "#calculations\n",
+ "rl=v/i\n",
+ "eg1=v+i*r+brush_drop\n",
+ "eg2=eg1*n2/n\n",
+ "ia=solve(eg2-2-ia*r-2.5*ia,ia)\n",
+ "\n",
+ "#result\n",
+ "print \"current delivered to the load=\",ia[0],\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current delivered to the load= 69.7692307692308 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.3, Page Number:999"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440#V\n",
+ "ra=0.8#ohm\n",
+ "rf=200#ohm\n",
+ "output=7.46#kW\n",
+ "efficiency=0.85\n",
+ "\n",
+ "#calculations\n",
+ "input_m=output*1000/efficiency\n",
+ "im=output*1000/(efficiency*v)\n",
+ "ish=v/rf\n",
+ "ia=im-ish\n",
+ "eb=v-ia*ra\n",
+ "\n",
+ "#results\n",
+ "print \"back emf=\",eb,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "back emf= 425.642780749 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.4, Page Number:1000"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=25#kW\n",
+ "v=250#V\n",
+ "ra=0.06#ohm\n",
+ "rf=100#ohm\n",
+ "\n",
+ "#calculations\n",
+ "#as generator\n",
+ "i=load*1000/v\n",
+ "ish=v/rf\n",
+ "ia=i+ish\n",
+ "eb=v+ia*ra\n",
+ "power=eb*ia/1000\n",
+ "\n",
+ "print \"As generator: power=\",power,\"kW\"\n",
+ "\n",
+ "#as motor\n",
+ "i=load*1000/v\n",
+ "ish=v/rf\n",
+ "ia=i-ish\n",
+ "eb=v-ia*ra\n",
+ "power=eb*ia/1000\n",
+ "\n",
+ "print \"As generator: power=\",power,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "As generator: power= 26.12424 kW\n",
+ "As generator: power= 23.92376 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.5, Page Number:1000"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=a=4\n",
+ "z=32\n",
+ "v=200.0#V\n",
+ "i=12.0#A\n",
+ "ra=2.0#ohm\n",
+ "rf=200.0#ohm\n",
+ "n=1000.0#rpm\n",
+ "i2=5.0#A\n",
+ "#calculations\n",
+ "ia=i+v/rf\n",
+ "eg=v+ia*ra\n",
+ "phi=eg*a*60/(z*n*p)\n",
+ "#as motor\n",
+ "ia=i2-v/rf\n",
+ "eb=v-ia*ra\n",
+ "n=60*eb/(phi*z)\n",
+ "\n",
+ "#result\n",
+ "print \"flux per pole=\",phi,\"wb\"\n",
+ "print \"speed of the machine=\",math.ceil(n),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "flux per pole= 0.42375 wb\n",
+ "speed of the machine= 850.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.6, Page Number:1002"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ia=110#A\n",
+ "v=480#V\n",
+ "ra=0.2#ohm\n",
+ "z=864\n",
+ "p=a=6\n",
+ "phi=0.05#Wb\n",
+ "\n",
+ "#calculations\n",
+ "eb=v-ia*ra\n",
+ "n=60*eb/(phi*z)\n",
+ "ta=0.159*phi*z*ia*p/a\n",
+ "\n",
+ "#result\n",
+ "print \"the speed=\",math.floor(n),\"rpm\"\n",
+ "print \"the gross torque=\",ta,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the speed= 636.0 rpm\n",
+ "the gross torque= 755.568 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.7, Page Number:1003"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "z=782\n",
+ "ra=rf=0.5#ohm\n",
+ "ia=40#A\n",
+ "phi=25*0.001#Wb\n",
+ "p=4\n",
+ "a=2\n",
+ "#calculation\n",
+ "eb=v-ia*ra\n",
+ "n=60*eb/(phi*z)\n",
+ "ta=0.159*phi*z*ia*p/a\n",
+ "\n",
+ "print \"the speed=\",math.floor(n),\"rpm\"\n",
+ "print \"the gross torque=\",ta,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the speed= 705.0 rpm\n",
+ "the gross torque= 248.676 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.8, Page Number:1003"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "eb=250.0#V\n",
+ "n=1500.0#rpm\n",
+ "ia=50.0#A\n",
+ "\n",
+ "#calculations\n",
+ "pm=eb*ia\n",
+ "ta=9.55*eb*ia/n\n",
+ "\n",
+ "#result\n",
+ "print \"torque=\",ta,\"N-m\"\n",
+ "print \"machanical power=\",pm,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 79.5833333333 N-m\n",
+ "machanical power= 12500.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.9, Page Number:1003"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220#V\n",
+ "p=4\n",
+ "z=800\n",
+ "load=8.2#kW\n",
+ "ia=45#A\n",
+ "phi=25*0.001#Wb\n",
+ "ra=0.6#ohm\n",
+ "a=p/2\n",
+ "\n",
+ "#calculation\n",
+ "ta=0.159*phi*z*ia*p/a\n",
+ "eb=v-ia*ra\n",
+ "n=eb*a/(phi*z*p)\n",
+ "tsh=load*1000/(2*3.14*n)\n",
+ "\n",
+ "#result\n",
+ "print \"developed torque=\",ta,\"N-m\"\n",
+ "print \"shaft torque=\",tsh,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "developed torque= 286.2 N-m\n",
+ "shaft torque= 270.618131415 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.10, Page Number:1003"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "n=500.0#rpm\n",
+ "i=50.0#A\n",
+ "ra=0.2#ohm\n",
+ "\n",
+ "#calculation\n",
+ "ia2=2*i\n",
+ "fb1=v-(i*ra)\n",
+ "eb2=v-(ia2*ra)\n",
+ "n2=eb2*n/fb1\n",
+ "#result\n",
+ "print \"speed when torque is doubled=\",n2,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed when torque is doubled= 476.19047619 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.11, Page Number:1003"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "r=Symbol('r')\n",
+ "v=500#V\n",
+ "load=37.3#kW\n",
+ "n=1000#rpm\n",
+ "efficiency=0.90\n",
+ "ra=0.24#ohm\n",
+ "vd=2#v\n",
+ "i=1.8#A\n",
+ "ratio=1.5\n",
+ "\n",
+ "#calculation\n",
+ "input_m=load*1000/efficiency\n",
+ "il=input_m/v\n",
+ "tsh=9.55*load*1000/n\n",
+ "il=ratio*il\n",
+ "ia=il-i\n",
+ "r=solve(ia*(r+ra)+vd-v,r)\n",
+ "\n",
+ "#result\n",
+ "print \"full-load line current=\",il,\"A\"\n",
+ "print \"full-load shaft torque\",tsh,\"N-m\"\n",
+ "print \"total resistance=\",r[0],\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full-load line current= 124.333333333 A\n",
+ "full-load shaft torque 356.215 N-m\n",
+ "total resistance= 3.82420021762787 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.12, Page Number:1004"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=4\n",
+ "v=220#V\n",
+ "z=540\n",
+ "i=32#A\n",
+ "output=5.595#kW\n",
+ "ra=0.09#ohm\n",
+ "i_f=1#A\n",
+ "phi=30*0.001#Wb\n",
+ "\n",
+ "#calculation\n",
+ "ia=i-i_f\n",
+ "eb=v-ia*ra\n",
+ "n=eb*a*60/(phi*z*p)\n",
+ "tsh=9.55*output/n\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n,\"rpm\"\n",
+ "print \"torque developed=\",tsh*1000,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 804.481481481 rpm\n",
+ "torque developed= 66.4182473183 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.13(a), Page Number:1004"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "load=20.0#kW\n",
+ "i=5.0#A\n",
+ "ra=0.04#ohm\n",
+ "phi=0.04#Wb\n",
+ "z=160\n",
+ "il=95.0#A\n",
+ "inl=9.0#A\n",
+ "p=4\n",
+ "a=2\n",
+ "#calculation\n",
+ "#no load\n",
+ "ea0=v-(inl-i)*ra\n",
+ "n0=ea0*a*60/(phi*z*p)\n",
+ "#load\n",
+ "ea=v-(il-i)*ra\n",
+ "n=ea*n0/ea0\n",
+ "\n",
+ "#result\n",
+ "print \"no-load speed=\",n0,\"rpm\"\n",
+ "print \"load speed=\",n,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "no-load speed= 1030.5 rpm\n",
+ "load speed= 1014.375 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.13(b), Page Number:1004"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=a=6\n",
+ "i=400#A\n",
+ "n=350#rpm\n",
+ "phi=80*0.001#Wb\n",
+ "z=600*2\n",
+ "loss=0.03#percentage\n",
+ "\n",
+ "#calculation\n",
+ "e=phi*z*n*p/(60*a)\n",
+ "pa=e*i\n",
+ "t=pa/(2*3.14*n/60)\n",
+ "t_net=0.97*t\n",
+ "bhp=t_net*36.67*0.001/0.746\n",
+ "#result\n",
+ "print \"brake-horse-power\",bhp,\"HP\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "brake-horse-power 291.551578696 HP\n"
+ ]
+ }
+ ],
+ "prompt_number": 66
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.13(c), Page Number:1004"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "z=774\n",
+ "phi=24*0.001#Wb\n",
+ "ia=50#A\n",
+ "a=2\n",
+ "#calculations\n",
+ "t=0.159*phi*z*ia*p/a\n",
+ "\n",
+ "#result\n",
+ "print \"torque=\",t,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 295.3584 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.13(d), Page Number:1005"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500.0#V\n",
+ "i=5.0#A\n",
+ "ra=0.15#ohm\n",
+ "rf=200.0#ohm\n",
+ "il=40.0#A\n",
+ "\n",
+ "#calculations\n",
+ "ih=v/rf\n",
+ "pi=v*i\n",
+ "cu_loss_f=cu_loss=v*ih\n",
+ "output=v*il\n",
+ "cu_loss_a=(il+ih)**2*ra\n",
+ "total_loss=cu_loss+cu_loss_a+cu_loss_f\n",
+ "efficiency=output/(output+total_loss)\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 87.8312542029 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 81
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.13(e), Page Number:1006"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable delcration\n",
+ "ia=40#A\n",
+ "v=220#V\n",
+ "n=800#rpm\n",
+ "ra=0.2#ohm\n",
+ "rf=0.1#ohm\n",
+ "loss=0.5#kW\n",
+ "\n",
+ "#calculations\n",
+ "eb=v-ia*(ra+rf)\n",
+ "ta=9.55*eb*ia/n\n",
+ "cu_loss=ia**2*(ra+rf)\n",
+ "total_loss=cu_loss+loss*1000\n",
+ "input_m=v*ia\n",
+ "output=input_m-total_loss\n",
+ "\n",
+ "#result\n",
+ "print \"output of the motor=\",output/1000,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output of the motor= 7.82 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 88
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.14, Page Number:1006"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=400.0#N\n",
+ "d=10.0#cm\n",
+ "n=840#rpm\n",
+ "v=220.0#V\n",
+ "n1=1800#rpm\n",
+ "efficiency=.80\n",
+ "d2=24.0#cm\n",
+ "\n",
+ "#calculations\n",
+ "tsh=f*d*0.01/2\n",
+ "output=tsh*2*3.14*n/60\n",
+ "input_m=output/efficiency\n",
+ "i=input_m/v\n",
+ "d1=n*d2/n1\n",
+ "\n",
+ "#calculation\n",
+ "print \"current taken by the motor=\",round(i),\"A\"\n",
+ "print \"size of motor pulley=\",d1,\"cm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current taken by the motor= 10.0 A\n",
+ "size of motor pulley= 11.2 cm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.15, Page Number:1006"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=200.0#V\n",
+ "p=4\n",
+ "z=280\n",
+ "ia=45.0#A\n",
+ "phi=18*0.001#Wb\n",
+ "ra=0.5+0.3#ohm\n",
+ "loss=800.0#W\n",
+ "d=0.41\n",
+ "a=4\n",
+ "#calculation\n",
+ "eb=v-ia*ra\n",
+ "n=eb*60*a/(phi*z*p*4)\n",
+ "inpt=v*ia\n",
+ "cu_loss=ia**2*ra\n",
+ "total_loss=loss+cu_loss\n",
+ "output=inpt-total_loss\n",
+ "tsh=9.55*output/n\n",
+ "f=tsh*2/d\n",
+ "\n",
+ "#result\n",
+ "print \"pull at the rim of the pulley=\",f,\"N-m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pull at the rim of the pulley= 628.016180845 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 102
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.16, Page Number:1007"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "v=240#V\n",
+ "output=11.19#kW\n",
+ "n=1000#rpm\n",
+ "ia=50#A\n",
+ "i=1#A\n",
+ "z=540\n",
+ "ra=0.1#ohm\n",
+ "vd=1#V\n",
+ "a=2\n",
+ "#calculation\n",
+ "eb=v-ia*ra\n",
+ "ta=9.55*eb*ia/n\n",
+ "tsh=9.55*output*1000/n\n",
+ "phi=eb*60*a*1000/(z*n*p)\n",
+ "input_a=v*ia\n",
+ "cu_loss=ia**2*ra\n",
+ "brush_loss=ia*2\n",
+ "power=input_a-(cu_loss+brush_loss)\n",
+ "rotational_loss=power-output*1000\n",
+ "input_m=v*(ia+i)\n",
+ "efficiency=output*1000/input_m\n",
+ "\n",
+ "#result\n",
+ "print \"total torque=\",ta,\"N-m\"\n",
+ "print \"useful torque=\",tsh,\"N-m\"\n",
+ "print \"flux/pole=\",phi,\"mWb\"\n",
+ "print \"rotational losses=\",rotational_loss,\"W\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total torque= 112.2125 N-m\n",
+ "useful torque= 106.8645 N-m\n",
+ "flux/pole= 13.0555555556 mWb\n",
+ "rotational losses= 460.0 W\n",
+ "efficiency= 91.4215686275 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 106
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.17, Page Number:1007"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=460.0#v\n",
+ "n=500.0#rpm\n",
+ "i=40.0#A\n",
+ "i2=30.0#A\n",
+ "ra=0.8#ohm\n",
+ "\n",
+ "#calculation\n",
+ "t2_by_t1=i2**2/i**2\n",
+ "change=(1-t2_by_t1)*100#percentage\n",
+ "eb1=v-i*ra\n",
+ "eb2=v-i2*ra\n",
+ "n2=eb2*i*n/(eb1*i2)\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\"\n",
+ "print \"percentage change in torque=\",change,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 679.127725857 rpm\n",
+ "percentage change in torque= 43.75 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 111
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.18, Page Number:1008"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=460.0#V\n",
+ "output=55.95#kW\n",
+ "n=750#rpm\n",
+ "I=252.8#kg-m2\n",
+ "ia1=1.4\n",
+ "ia2=1.8\n",
+ "\n",
+ "#calculations\n",
+ "ia=(ia1+ia2)/2\n",
+ "n=n/60.0\n",
+ "tsh=output*1000/(2*3.14*n)\n",
+ "torque_avg=(ia-1)*tsh\n",
+ "dt=(I*2*3.14*n)/torque_avg\n",
+ "\n",
+ "#result\n",
+ "print \"approximate time to attain full speed=\",dt,\"s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "approximate time to attain full speed= 46.4050282991 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 129
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.19, Page Number:1008"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "output=14.92#kW\n",
+ "v=400.0#V\n",
+ "n=400.0#rpm\n",
+ "i=40.0#A\n",
+ "I=7.5#kg-m2\n",
+ "ratio=1.2\n",
+ "\n",
+ "#calculations\n",
+ "n=n/60\n",
+ "t=output*1000/(2*3.14*n)\n",
+ "torque=(ratio-1)*t\n",
+ "dt=(I*2*3.14*n)/torque\n",
+ "\n",
+ "print \"time to attain full speed=\",dt,\"s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "time to attain full speed= 4.4055406613 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 138
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.20, Page Number:1009"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "z=944\n",
+ "phi=34.6*0.001#Wb\n",
+ "ta=209.0#N-m\n",
+ "v=500.0#V\n",
+ "ra=3.0#ohm\n",
+ "a=2\n",
+ "#calculation\n",
+ "ia=ta/(0.159*phi*z*(p/a))\n",
+ "ea=v-ia*ra\n",
+ "n=ea/(phi*z*(p/a))\n",
+ "\n",
+ "#result\n",
+ "print \"line current=\",ia,\"A\"\n",
+ "print \"speed=\",n*60,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line current= 20.1219966813 A\n",
+ "speed= 403.798260345 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 143
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.21, Page Number:1010"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#v\n",
+ "n=1000#rpm\n",
+ "ia=8#A\n",
+ "ra=0.2#ohm\n",
+ "rf=250#ohm\n",
+ "i2=50#A\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "eb0=v-(ia-ish)*ra\n",
+ "eb=v-(i2-ish)*ra\n",
+ "n=eb*n/eb0\n",
+ "\n",
+ "#result\n",
+ "print \"speed when loaded=\",n,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed when loaded= 966.21078037 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 144
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.22, Page Number:1010"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=800#rpm\n",
+ "ia=100#A\n",
+ "v=230#V\n",
+ "ra=0.15#ohm\n",
+ "rf=0.1#ohm\n",
+ "ia2=25#A\n",
+ "ratio=0.45\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-(ra+rf)*ia\n",
+ "eb2=v-ia2*(ra+rf)\n",
+ "n2=eb2*n/(eb1*ratio)\n",
+ "\n",
+ "#result\n",
+ "print \"speed at which motor runs=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at which motor runs= 1940.37940379 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 148
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.23, Page Number:1010"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "ia2=Symbol('ia2')\n",
+ "#variable declaration\n",
+ "v=230.0#V\n",
+ "ra=0.5#ohm\n",
+ "rf=115.0#ohm\n",
+ "n1=1200#rpm\n",
+ "ia=2.5#A\n",
+ "n2=1120#rpm\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ra*ia\n",
+ "x=n2*eb1/n1\n",
+ "ia2=solve((v-ra*ia2)-x,ia2)\n",
+ "ia=ia2[0]+(v/rf)\n",
+ "input_m=v*ia\n",
+ "\n",
+ "#result\n",
+ "print \"line current=\",round(ia,1),\"A\"\n",
+ "print \"power input=\",round(input_m,1),\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line current= 35.0 A\n",
+ "power input= 8050.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 158
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.24, Page Number:1010"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "power=100.0#kW\n",
+ "n1=300#rpm\n",
+ "v=220.0#V\n",
+ "load=10.0#kW\n",
+ "ra=0.025#ohm\n",
+ "rf=60.0#ohm\n",
+ "vd=1.0#V\n",
+ "\n",
+ "#calculation\n",
+ "i=power*1000/v\n",
+ "ish=v/rf\n",
+ "ia=i+ish\n",
+ "eb=v+ia*ra+2*vd\n",
+ "i=load*1000/v\n",
+ "ia2=i-ish\n",
+ "eb2=v-ia2*ra-2*vd\n",
+ "n2=eb2*n1/eb\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 278.796797778 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 174
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.25, Page Number:1011"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "n=1000.0#rpm\n",
+ "ra=0.5#ohm\n",
+ "rf=250.0#ohm\n",
+ "ia=4.0#A\n",
+ "i=40.0#A\n",
+ "ratio=0.04#percentage by whih armature reaction weakens field\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ia2=ia-ish\n",
+ "eb0=v-ia2*ra\n",
+ "n0=n*eb0/v\n",
+ "ia=i-ish\n",
+ "eb=v-ia*ra\n",
+ "n=eb*n0/(eb0*(1-ratio))\n",
+ "\n",
+ "#result\n",
+ "print \"speed of machine=\",math.floor(n),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed of machine= 960.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 190
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.26, Page Number:1011"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "ooutput=14.92#kW\n",
+ "n=1000#rpm\n",
+ "i=75#A\n",
+ "ra=0.25#ohm\n",
+ "ratio=0.20\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-i*ra\n",
+ "eb_inst=eb1*(1-ratio)\n",
+ "ia_inst=(v-eb_inst)/ra\n",
+ "t_inst=9.55*eb_inst*ia_inst/n\n",
+ "ia2=i/(1-ratio)\n",
+ "eb2=v-ia2*ra\n",
+ "n2=eb2*n/(eb1*(1-ratio))\n",
+ "\n",
+ "#result\n",
+ "print \"armature current=\",ia2,\"A\"\n",
+ "print \"speed=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 93.75 A\n",
+ "speed= 1224.66216216 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 191
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.27, Page Number:1012"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=200.0#V\n",
+ "i=4.0#A\n",
+ "n=700.0#rpm\n",
+ "rf=100.0#A\n",
+ "v2=6.0#V\n",
+ "i2=10.0#A\n",
+ "input_m=8.0#kW\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "il=input_m*1000/v\n",
+ "ia=il-ish\n",
+ "ra=v2/i2\n",
+ "eb0=v-ish*ra\n",
+ "eb=v-ia*ra\n",
+ "n=eb*n/eb0\n",
+ "ta=9.55*eb*ia/n\n",
+ "inpt=v*i\n",
+ "cu_loss=ish**2*ra\n",
+ "constant_loss=inpt-cu_loss\n",
+ "cu_loss_arm=ia**2*ra\n",
+ "total_loss=constant_loss+cu_loss_arm\n",
+ "output=input_m*1000-total_loss\n",
+ "efficiency=output/(input_m*1000)\n",
+ "print \n",
+ "#result\n",
+ "print \"speed on load=\",n,\"rpm\"\n",
+ "print \"torque=\",ta,\"N-m\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "speed on load= 623.943661972 rpm\n",
+ "torque= 103.0636 N-m\n",
+ "efficiency= 79.2 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 197
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.28, Page Number:1012"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variabe declaration\n",
+ "v=220#V\n",
+ "load=11#kW\n",
+ "inl=5#A\n",
+ "n_nl=1150#rpm\n",
+ "ra=0.5#ohm\n",
+ "rsh=110#ohm\n",
+ "\n",
+ "#calculations\n",
+ "input_nl=v*inl\n",
+ "ish=v/rsh\n",
+ "ia0=inl-ish\n",
+ "cu_loss_nl=ia1**2*ra\n",
+ "constant_loss=input_nl-cu_loss_nl\n",
+ "i=load*1000/v\n",
+ "ia=i-ish\n",
+ "cu_loss_a=ia**2*ra\n",
+ "total_loss=cu_loss_a+constant_loss\n",
+ "output=load*1000-total_loss\n",
+ "efficiency=output*100/(load*1000)\n",
+ "eb_nl=v-(ia0*ra)\n",
+ "eb=v-ia*ra\n",
+ "n=n_nl*eb/eb_nl\n",
+ "ta=9.55*eb*ia/n\n",
+ "\n",
+ "#result\n",
+ "print \"torque developed=\",ta,\"N-m\"\n",
+ "print \"efficiency=\",efficiency,\"%\"\n",
+ "print \"the speed=\",n,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque developed= 87.096 N-m\n",
+ "efficiency= 79.5361818182 %\n",
+ "the speed= 1031.57894737 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 200
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.29, Page Number:1013"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=18.65#kW\n",
+ "v=250.0#V\n",
+ "ra=0.1#ohm\n",
+ "vb=3#V\n",
+ "rf=0.05#ohm\n",
+ "ia=80.0#A\n",
+ "n=600.0#rpm\n",
+ "i2=100.0#A\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*(ra+rf)\n",
+ "eb2=v-i2*(ra+rf)\n",
+ "n2=eb2*ia*n/(eb1*i2)\n",
+ "\n",
+ "#result\n",
+ "print \"speed when current is 100 A=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed when current is 100 A= 473.949579832 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.30, Page Number:1013"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "n=800.0#rpm\n",
+ "i=100.0#A\n",
+ "ra=0.1\n",
+ "ratio=1.0/2.0\n",
+ "#calculation\n",
+ "ia1=i*math.sqrt(ratio)\n",
+ "eb1=v-i*ra\n",
+ "eb2=v-ia1*ra\n",
+ "n2=eb2*i*n/(eb1*ia1)\n",
+ "#result\n",
+ "print \"speed when motor will run when developing half the torque=\",round(n2,0),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed when motor will run when developing half the torque= 1147.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.31, Page Number:1013"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=a=4\n",
+ "n=600#rpm\n",
+ "ia=25#A\n",
+ "v=450#V\n",
+ "z=500\n",
+ "phi=1.7*0.01*math.pow(ia,0.5)\n",
+ "\n",
+ "#calculation\n",
+ "eb=n*phi*z*p/(60*a)\n",
+ "iara=v-eb\n",
+ "ra=iara/ia\n",
+ "i=math.pow((phi*ia*math.sqrt(ia)/(phi*2)),2.0/3.0)\n",
+ "eb2=v/2-i*ra\n",
+ "phi2=1.7*0.01*math.pow(i,0.5)\n",
+ "n2=eb2*phi*n/(eb*phi2)\n",
+ "\n",
+ "#result\n",
+ "print \"speed at which motor will run=\",round(n2,0),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at which motor will run= 372.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 224
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.32, Page Number:1017"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "%matplotlib inline\n",
+ "import matplotlib.pyplot as plt\n",
+ "import math\n",
+ "#variable declaration\n",
+ "v=460.0#V\n",
+ "ra=0.5#ohm\n",
+ "\n",
+ "def f(ia,t):\n",
+ " n=(v*ia-ia**2*ra)*60/(2*3.14*t)\n",
+ " return(n)\n",
+ "\n",
+ "n1=f(20.0,128.8)\n",
+ "n2=f(30.0,230.5)\n",
+ "n3=f(40.0,349.8)\n",
+ "n4=f(50.0,469.2)\n",
+ "T=[128.8,230.5,349.8,469.2]\n",
+ "N=[n1,n2,n3,n4]\n",
+ "plt.plot(T,N)\n",
+ "plt.xlabel(\"Torque(NM.m)\") \n",
+ "plt.ylabel(\"Speed(rpm)\") \n",
+ "plt.xlim((0,500))\n",
+ "plt.ylim((0,800))\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEPCAYAAABcA4N7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAH0VJREFUeJzt3XucVXW9//HXWxDvCpQNihcgJUSj1CBv5aaMPP0K7VGh\nHutQ9Kh+VkdPnUrwVz/m13mcQrucfvV7lF3Ug50kKROxzEBjm56j4AWviMjBUVGYxFsqKiCf3x/r\nO8xmnFnMDHvN3jP7/Xw89oO1116X7/6W+z3f9f2u71JEYGZm1pVdal0AMzOrbw4KMzPL5aAwM7Nc\nDgozM8vloDAzs1wOCjMzy1VoUEj6kqT7Jd0n6QpJu0kaLmmxpFWSFkkaWrH9LEkPS1opaUqRZTMz\ns+5RUfdRSBoJ3AwcERGvSroSuA44EtgQERdJOh8YFhEzJY0HrgAmAiOBG4CxEbG1kAKamVm3FH3p\naTCwp6TBwJ7Ak8BUYG76fC5welo+DZgXEZsjogVYDUwquHxmZrYDhQVFRDwBfA94jCwgnouIxUBT\nRLSmzVqBprR8ILC24hBryVoWZmZWQ4UFhaRhZK2HUWQhsLekj1duE9l1r7xrX55fxMysxgYXeOxT\ngEci4mkASb8DjgfWSxoREeslHQD8NW3/BHBwxf4HpXXbkeTwMDPrhYhQb/Yrso/iUeA4SXtIEllw\nrACuBaanbaYDC9LyQuBMSUMkjQYOB5Z1duCI8CuC2bNn17wM9fJyXbguXBf5r51RWIsiIpZJ+i1w\nF7Al/fszYB9gvqRPAy3AtLT9CknzycJkC/D52NlvZ2ZmO63IS09ERDPQ3GH1M2Sti862/xbwrSLL\nZGZmPe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lX+lv0TnKvfZwvZ/SO1esTw3Ii7oZP+u+kN+\nQDaR32Ud1gfwe+A7wO3R4RkbnXg1/bu1YrntfWUH9m7AK3kHMusJtyhsIHoNGFUxougTwE2dbLcy\nbTcmvT+L9kBpAY4BSKOQRqfPbgQ+mh4O0/bw+kPSPg9VjmJqExHPAvOBT1ccX4Ai4mWyZxn/a+++\n6vZSx/mG1LIwqwoHhQ1EL5NNy/4bSfeS/aV/cfpsW8siIl4BPgv8IXVut9LeqrgKGC7pfuALZNPb\nExEPAl8HFkm6h2zq5hFpnz8ApYpyVLZivge8scNnkY55ZaRngleS9PMuhspu27cTk8laKWZV42nG\nzRJJJwNfiYgP9XL/EcDlETGluiXrURmuAs6v6J8x22luUZhtr9d/OUXEeuDnbU8a62vpcbELHBJW\nbW5RmJlZLrcozMwsl4PCzMxyOSjMzCyXg8LMzHI5KMzMLJeDwszMcv1/2z+0oo1xQeUAAAAASUVO\nRK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fb7a24a7450>"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.33, Page Number:1017"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "%matplotlib inline\n",
+ "import matplotlib.pyplot as plt\n",
+ "import math\n",
+ "#variable declaration\n",
+ "output=5.968#kW\n",
+ "n=700#rpm\n",
+ "v1=500#V\n",
+ "n2=600#rpm\n",
+ "ra=3.5#ohm\n",
+ "loss=450#W\n",
+ "\n",
+ "#calculation\n",
+ "\n",
+ "def fp(i,v):\n",
+ " p=5.968*((n2*(v1-i*ra)/(v*n))**2)\n",
+ " return(p)\n",
+ "\n",
+ "def fm(i,v):\n",
+ " m=((v1-i*ra)*i-loss)/1000\n",
+ " return(m)\n",
+ "\n",
+ "p1=fp(7.0,347.0)\n",
+ "p2=fp(10.5,393.0)\n",
+ "p3=fp(14.0,434.0)\n",
+ "p4=fp(27.5,468.0)\n",
+ "\n",
+ "m1=fm(7.0,347.8)\n",
+ "m2=fm(10.5,393.0)\n",
+ "m3=fm(14.0,434.0)\n",
+ "m4=fm(27.5,468.0)\n",
+ "\n",
+ "#plot\n",
+ "I=[7,10.5,14,27.5]\n",
+ "P=[p1,p2,p3,p4]\n",
+ "M=[m1,m2,m3,m4]\n",
+ "plt.plot(I,P)\n",
+ "plt.plot(I,M)\n",
+ "plt.xlabel(\"Current\") \n",
+ "plt.ylabel(\"Power(kW)\") \n",
+ "plt.xlim((0,30))\n",
+ "plt.ylim((0,12))\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYAAAAEPCAYAAABLIROyAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XeYFFX69vHvQxQwsiiIICgqiAQJroogoxjANYBhDauw\nRkQy6k/FV8VdV13ELGZUwFUMiGsiCqMIKkgOg6hrRCUJkmGGed4/qkdHGJjYXd1d9+e65prumu6u\npyypu885VafM3RERkegpF3YBIiISDgWAiEhEKQBERCJKASAiElEKABGRiFIAiIhEVNwCwMyeM7Pl\nZrYg37L7zCzLzOaZ2Rtmtk+81i8iIrsXzxbA80DHHZZNAI5y9+bAUuCWOK5fRER2I24B4O5TgTU7\nLJvo7rmxp58CdeK1fhER2b0wxwCuAN4Lcf0iIpEWSgCY2a3ANnd/KYz1i4gIVEj0Cs3s78AZQIfd\nvEYTFImIlIC7W1Ffm9AWgJl1BG4EznH3Lbt7rbun7c8dd9wReg3aPm2bti/9foornqeBvgxMBxqa\n2fdmdgXwKLAnMNHM5pjZ4/Fav4iI7F7cuoDc/eICFj8Xr/WJiEjx6ErgEGRkZIRdQlyl8/al87aB\nti9qrCT9RvFmZp6MdYmIJDMzw5N1EFhERJKHAkBEJKIUACIiEaUA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1PpECqMAkEiIXRU6Bpjs7oe5e2uCi56KNNGZmZXb3fMi\nOgloU4L3icSFAkCi4iRgm7s/nbfA3ecDFczs7bxlZvaYmXWLPf7GzO41s1nABQU8P83MppvZLDN7\nNTa9R977BsWWzzezhrHZKLsD/WM3IWmbuE0XKZgCQKKiCcENQQqTfwZFJ7i5Rit3fyX/c+B94Fag\nQ+z5LGBAvvetjC1/ArjB3b8BngQecPcW7v5RGW2XSIkl/KbwIiEp6Zwnr+zi+XFAY2B60LtEJWB6\nvte9Efs9Gzg33/KUvxGJpA8FgETFIuD8Apbn8MeWcJUd/r5xN88nuvslu1jf1tjv7ejfmSQpdQFJ\nJLj7ZKBy/ruwmVkzgm/kjc2sUmx63ZOL+JGfAieYWYPYZ1UrwhlF64G9il+9SHwoACRKugCnxE4D\nXQj8i+COUK8CCwm6d2bv5v2/dSPFbujzd+BlM5tH0P3TcBfvyXvf20CX2CDwCaXcFpFS03TQIiIR\npRaAiEhEKQBERCJKASAiElEKABGRiFIAiIhElAJARCSiFAAiIhGlABARiaj/D6p919PNp3KzAAAA\nAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fb783cd33d0>"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.34, Page Number:1022"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500#V\n",
+ "i=3#A\n",
+ "ia=3.5#A\n",
+ "ib=4.5#A\n",
+ "\n",
+ "#calculation\n",
+ "loss=v*i\n",
+ "#B unexcited\n",
+ "loss1=v*(ia-i)\n",
+ "#B excited\n",
+ "loss2=v*(ib-i)\n",
+ "loss=loss2-loss1\n",
+ "\n",
+ "#result\n",
+ "print \"iron losses of B=\",loss,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "iron losses of B= 500.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.35, Page Number:1023"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "ra=0.2#ohm\n",
+ "rf=110.0#ohm\n",
+ "ia=5.0#A\n",
+ "n=1500#rpm\n",
+ "i2=52.0#A\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia1=ia-ish\n",
+ "ia2=i2-ish\n",
+ "eb1=v-ia1*ra\n",
+ "eb2=v-ia2*ra\n",
+ "n2=round(eb2*n/eb1,0)\n",
+ "input_nl=v*ia\n",
+ "cu_loss_nl=ia1**2*ra\n",
+ "constant_loss=input_nl-cu_loss_nl\n",
+ "cu_loss_l=ia2**2*ra\n",
+ "total_loss=constant_loss+cu_loss_l\n",
+ "input_l=v*i2\n",
+ "output=input_l-total_loss\n",
+ "tsh=9.55*output/n2\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\"\n",
+ "print \"shaft torque=\",tsh,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.36, Page Number:1023"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "n=1000#rpm\n",
+ "ia=5#A\n",
+ "ra=0.2#ohm\n",
+ "rf=250#ohm\n",
+ "i=50#A\n",
+ "ratio=0.03#percentage by which armature reaction weakens field\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ia1=ia-ish\n",
+ "ia2=i-ish\n",
+ "eb1=v-ia1*ra\n",
+ "eb2=v-ia2*ra\n",
+ "n2=eb2*n/(eb1*(1-ratio))\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",round(n2,0),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.37, Page Number:1023"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500#V\n",
+ "ia=5#A\n",
+ "ra=0.22#A\n",
+ "rf=250#ohm\n",
+ "i=100#A\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ia0=ia-ish\n",
+ "eb0=v-ia0*ra\n",
+ "cu_loss=ia0**2*ra\n",
+ "input_m=v*ia\n",
+ "constant_loss=input_m-cu_loss\n",
+ "ia=i-ish\n",
+ "eb=v-ia*ra\n",
+ "cu_loss=ia**2*ra\n",
+ "total_loss=cu_loss+constant_loss\n",
+ "input_m=v*i\n",
+ "output=input_m-total_loss\n",
+ "efficiency=output*100/input_m\n",
+ "per=(eb-eb0)*100/eb0\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",round(efficiency,1),\"%\"\n",
+ "print \"percentage change in speed=\",round(per,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 90.8 %\n",
+ "percentage change in speed= -4.19 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 244
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.38, Page Number:1024"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "n=1000#rpm\n",
+ "i=25#A\n",
+ "i2=50#A\n",
+ "ratio=0.03#percentage by which the armature reaction weakens field\n",
+ "ra=0.2#ohm\n",
+ "rf=250#ohm\n",
+ "vd=1\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia1=i-ish\n",
+ "ebh=v-ia1*ra-2*vd\n",
+ "ia2=i2-ish\n",
+ "eb2=v-ia2*ra-2*vd\n",
+ "n2=eb2*n/(ebh*(1-ratio))\n",
+ "ta1=9.55*eb1*ia1/n\n",
+ "ta2=9.55*eb2*ia2/n2\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",round(n2,0),\"rpm\"\n",
+ "print \"torque in first case=\",ta1,\"N-m\"\n",
+ "print \"torque in second case=\",ta2,\"N-m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 1010.0 rpm\n",
+ "torque in first case= 57.11664 N-m\n",
+ "torque in second case= 110.3912768 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 247
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.39, Page Number:1024"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "n1=1000.0#rpm\n",
+ "ra=0.5#ohm\n",
+ "rf=250.0#ohm\n",
+ "ia=4.0#A\n",
+ "i=40.0#A\n",
+ "ratio=0.04#percentage by which the armature reaction weakens field\n",
+ "eb1=250.0#V\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "eb2=v-(i-ish)*ra\n",
+ "n2=eb2*n/(eb1*(1-ratio))\n",
+ "cu_loss=(ia-ish)**2*ra\n",
+ "input_m=v*ia\n",
+ "constant_loss=input_m-cu_loss\n",
+ "cu_loss_a=(i-ish)**2*ra\n",
+ "total_loss=constant_loss+cu_loss_a\n",
+ "inpt=v*i\n",
+ "output=inpt-total_loss\n",
+ "efficiency=output*100/inpt\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",round(n2,0),\"rpm\"\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 960.0 rpm\n",
+ "efficiency= 82.44 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 254
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.40, Page Number:1025"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "v=250#V\n",
+ "z=120*8\n",
+ "a=4\n",
+ "phi=20*0.001#Wb\n",
+ "i=25#A\n",
+ "ra=0.1#ohm\n",
+ "rf=125#ohm\n",
+ "loss=810#W\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ia=i-ish\n",
+ "eb=v-ia*ra\n",
+ "n=eb*a*60/(p*z*phi)\n",
+ "ta=9.55*eb*ia/n\n",
+ "cu_loss=ia**2*ra\n",
+ "cu_loss_shunt=v*ish\n",
+ "total_loss=loss+cu_loss+cu_loss_shunt\n",
+ "input_m=v*i\n",
+ "output=input_m-total_loss\n",
+ "tsh=9.55*output/n\n",
+ "efficiency=output*100/input_m\n",
+ "\n",
+ "#result\n",
+ "print \"gross torque=\",ta,\"N-m\"\n",
+ "print \"useful torque=\",tsh,\"N-m\"\n",
+ "print \"efficiency=\",efficiency,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "gross torque= 70.288 N-m\n",
+ "useful torque= 60.2946209124 N-m\n",
+ "efficiency= 78.1936 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 256
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.41, Page Number:1025"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "output=14.92#kW\n",
+ "n=1150#rpm\n",
+ "p=4\n",
+ "a=2\n",
+ "z=620\n",
+ "ra=0.2#ohm\n",
+ "i=74.8#A\n",
+ "i2=3#A\n",
+ "v=230#V\n",
+ "#calculation\n",
+ "ia=i-i2\n",
+ "eb=v-ia*ra\n",
+ "phi=eb*a*60/(p*z*n)\n",
+ "ta=9.55*eb*ia/n\n",
+ "power=eb*ia\n",
+ "loss_rot=power-output*1000\n",
+ "input_m=v*i\n",
+ "total_loss=input_m-output*1000\n",
+ "per=total_loss*100/input_m\n",
+ "\n",
+ "#result\n",
+ "print \"flux per pole=\",phi*1000,\"mWb\"\n",
+ "print \"torque developed=\",ta,\"N-m\"\n",
+ "print \"rotational losses=\",loss_rot,\"W\"\n",
+ "print \"total losses expressed as a percentage of power=\",per,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "flux per pole= 9.07321178121 mWb\n",
+ "torque developed= 128.575818783 N-m\n",
+ "rotational losses= 562.952 W\n",
+ "total losses expressed as a percentage of power= 13.2759823297 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 263
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.42, Page Number:1025"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "ia1=Symbol('ia1')\n",
+ "output=7.46#kW\n",
+ "v=250#V\n",
+ "i=5#A\n",
+ "ra=0.5#ohm\n",
+ "rf=250#ohm\n",
+ "\n",
+ "#calculation\n",
+ "input_m=v*i\n",
+ "ish=v/rf\n",
+ "ia=i-ish\n",
+ "cu_loss=v*ish\n",
+ "cu_loss_a=ra*ia**2\n",
+ "loss=input_m-cu_loss\n",
+ "ia1=solve(ra*ia1**2-v*ia1+output*1000+loss,ia1)\n",
+ "i2=ia1[0]+ish\n",
+ "input_m1=v*i2\n",
+ "efficiency=output*100000/input_m1\n",
+ "ia=math.sqrt((input_m-cu_loss_a)/ra)\n",
+ "input_a=v*ia\n",
+ "cu_loss=ia**2*ra\n",
+ "output_a=input_a-(cu_loss+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\"\n",
+ "print \"output power at which efficiency is maximum=\",output_a/1000,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 79.5621535016683 %\n",
+ "output power at which efficiency is maximum= 10.2179357944 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 271
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.43, Page Number:1026"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n2_by_n1=1.0/2.0\n",
+ "ia2_by_ia1=phi1_by_phi2=1.0/2.0\n",
+ "v2_by_v1=n2_by_n1*phi1_by_phi2\n",
+ "reduction_v=(1-v2_by_v1)*100\n",
+ "reduction_i=(1-ia2_by_ia1)*100\n",
+ "\n",
+ "#result\n",
+ "print \"percentage reduction in the motor terminal voltage=\",reduction_v,\"%\"\n",
+ "print \"percentage fall in the motor current=\",reduction_i,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage reduction in the motor terminal voltage= 75.0 %\n",
+ "percentage fall in the motor current= 50.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 272
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.44, Page Number:1026"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6\n",
+ "v=500#V\n",
+ "z=1200\n",
+ "phi=20*0.001#Wb\n",
+ "ra=0.5#ohm\n",
+ "rf=250#ohm\n",
+ "i=20#A\n",
+ "loss=900#W\n",
+ "a=2\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia=i-ish\n",
+ "eb=v-ia*ra\n",
+ "n=eb*a*60/(p*z*phi)\n",
+ "ta=9.55*eb*ia/n\n",
+ "cu_loss=ia**2*ra\n",
+ "cu_loss_f=v*ish\n",
+ "total_loss=cu_loss+cu_loss_f+loss\n",
+ "input_m=v*i\n",
+ "output=input_m-total_loss\n",
+ "tsh=9.55*output/n\n",
+ "efficiency=output*100/input_m\n",
+ "\n",
+ "#result\n",
+ "print \"useful torque=\",ta,\"N-m\"\n",
+ "print \"output=\",output/1000,\"Kw\"\n",
+ "print \"efficiency==\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "useful torque= 206.28 N-m\n",
+ "output= 7.938 Kw\n",
+ "efficiency== 79.38 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 275
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 29.45, Page Number:1027"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "ia1=Symbol('ia1')\n",
+ "output=37.3*1000#W\n",
+ "v=460#V\n",
+ "i=4#A\n",
+ "n=660#rpm\n",
+ "ra=0.3#ohm\n",
+ "rf=270#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "cu_loss=v*ish\n",
+ "ia=i-ish\n",
+ "cu_loss_a=ia**2*ra\n",
+ "input_a=loss=v*ia\n",
+ "ia1=solve(ra*ia1**2-v*ia1+output+loss,ia1)\n",
+ "i=ia1[0]+ish\n",
+ "eb1=v-(ia*ra)\n",
+ "eb2=v-(ia1[0]*ra)\n",
+ "n2=n*eb2/eb1\n",
+ "ia=math.sqrt((cu_loss+input_a)/ra)\n",
+ "\n",
+ "#result\n",
+ "print \"the current input=\",i,\"A\"\n",
+ "print \"speed=\",round(n2,0),\"rpm\"\n",
+ "print \"armature current at which efficiency is maximum=\",ia,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the current input= 90.2860908863713 A\n",
+ "speed= 623.0 rpm\n",
+ "armature current at which efficiency is maximum= 78.3156008298 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 280
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter30.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter30.ipynb
new file mode 100644
index 00000000..ce13ea95
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter30.ipynb
@@ -0,0 +1,2629 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:072a977ff7e7f41108f647b699866e16f58bf91b148a03cefc5a07bc1eeda05b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 30:Speed Control of D.C. Motors"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.1, Page Number:1032"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500#V\n",
+ "n=250#rpm\n",
+ "ia=200#A\n",
+ "ra=0.12#ohm\n",
+ "ratio=0.80\n",
+ "ia2=100#A\n",
+ "\n",
+ "#calculations\n",
+ "eb1=v-ia*ra\n",
+ "eb2=v-ia2*ra\n",
+ "n2=eb2*n/(eb1*ratio)\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",round(n2),\"rpm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 320.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.2, Page Number:1032"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "ra=0.25#ohm\n",
+ "ia=50#A\n",
+ "n=750#rpm\n",
+ "ratio=1-0.10\n",
+ "\n",
+ "#calculation\n",
+ "ia2=ia/ratio\n",
+ "eb1=v-ia*ra\n",
+ "eb2=v-ia2*ra\n",
+ "n2=eb2*n/(eb1*ratio)\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",round(n2),\"rpm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 828.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.3, Page Number:1032"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=230.0#V\n",
+ "n=800#rpm\n",
+ "ia=50.0#A\n",
+ "n2=1000#rpm\n",
+ "ia2=80.0#A\n",
+ "ra=0.15#ohm\n",
+ "rf=250.0#ohm\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*ra\n",
+ "eb2=v-ia2*ra\n",
+ "ish1=v/rf\n",
+ "r1=(n2*eb1*v)/(n*eb2*ish1)\n",
+ "r=r1-rf\n",
+ "ish2=v/r1\n",
+ "torque_ratio=ish2*ia2/(ish1*ia)\n",
+ "\n",
+ "#result\n",
+ "print \"resistance to be added=\",r,\"ohm\"\n",
+ "print \"ratio of torque=\",torque_ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance to be added= 68.9506880734 ohm\n",
+ "ratio of torque= 1.25411235955\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.3, Page Number:1033"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "rf=250.0#ohm\n",
+ "ra=0.25#ohm\n",
+ "n=1500#rpm\n",
+ "ia=20.0#A\n",
+ "r=250.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ish2=v/(rf+r)\n",
+ "ia2=ia*1/ish2\n",
+ "eb2=v-ia2*ra\n",
+ "eb1=v-ia*ra\n",
+ "n2=eb2*n/(eb1*ish2)\n",
+ "\n",
+ "#result\n",
+ "print \"new speed=\",round(n2),\"rpm\"\n",
+ "print \"new armature current=\",ia2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new speed= 2939.0 rpm\n",
+ "new armature current= 40.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.5, Page Number:1033"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "rt=Symbol('rt')\n",
+ "v=250.0#V\n",
+ "ra=0.5#ohm\n",
+ "rf=250.0#ohm\n",
+ "n=600.0#rpm\n",
+ "ia=20.0#A\n",
+ "n2=800.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "ish1=v/rf\n",
+ "eb1=v-ia*ra\n",
+ "rt=solve(((n2*eb1*(v/rt))/(n*(v-(ia*ra/(v/rt)))))-1,rt)\n",
+ "r=rt[0]-rf\n",
+ "\n",
+ "#result\n",
+ "print \"resistance to be inserted=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance to be inserted= 88.3128987990058 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.6, Page Number:1034"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "x=Symbol('x')\n",
+ "v=220#V\n",
+ "ra=0.5#ohm\n",
+ "ia=40#A\n",
+ "ratio=1+0.50\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*ra\n",
+ "x=solve((ratio*eb1/((v-ia*ra*x)*x))-1,x)\n",
+ "per=1-1/x[0]\n",
+ "\n",
+ "#result\n",
+ "print\"main flux has to be reduced by=\",per*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "main flux has to be reduced by= 37.2991677469778 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.7, Page Number:1034"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220#V\n",
+ "load=10#kW\n",
+ "i=41#A\n",
+ "ra=0.2#ohm\n",
+ "rw=0.05#ohm\n",
+ "ri=0.1#ohm\n",
+ "rf=110#ohm\n",
+ "ratio=1-0.25\n",
+ "r=1#ohm\n",
+ "ratio1=1-0.50\n",
+ "n=2500\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia1=i-ish\n",
+ "ia2=ratio1*ia1/ratio\n",
+ "eb1=v-ia1*(ra+ri+rw)\n",
+ "eb2=v-ia2*(r+ra+ri+rw)\n",
+ "n2=eb2*n/(eb1*ratio)\n",
+ "\n",
+ "#result\n",
+ "print \"armature current=\",ia2,\"A\"\n",
+ "print \"motor speed=\",round(n2),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 26.0 A\n",
+ "motor speed= 2987.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.8, Page Number:1035"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220#V\n",
+ "load=15#kW\n",
+ "n=850#rpm\n",
+ "ia=72.2#A\n",
+ "ra=0.25#ohm\n",
+ "rf=100#ohm\n",
+ "n2=1650#rpm\n",
+ "ia2=40#A\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia1=ia-ish\n",
+ "eb1=v-ia1*ra\n",
+ "eb2=v-ia2*ra\n",
+ "ratio=(n*eb2)/(n2*eb1)\n",
+ "per=1-ratio\n",
+ "#result\n",
+ "print \"percentage reduction=\",per*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage reduction= 46.5636857585 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 46
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.9, Page Number:1035"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "ia2=Symbol('ia2')\n",
+ "v=220#V\n",
+ "ra=0.5#ohm\n",
+ "ia=40#A\n",
+ "ratio=0.50+1\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*ra\n",
+ "ia2=solve((((v-ra*ia2)*ia2)/(eb1*ratio*ia))-1,ia2)\n",
+ "per=ia/ia2[0]\n",
+ "\n",
+ "#result\n",
+ "print \"mail flux should be reduced by=\",round(per,4)*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mail flux should be reduced by= 62.7 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.10, Page Number:1035"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ia=20.0#A\n",
+ "v=220.0#V\n",
+ "ra=0.5#ohm\n",
+ "ratio=0.50\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*ra\n",
+ "eb2=ratio*(v-ia*ra)\n",
+ "r=(v-eb2)/ia-ra\n",
+ "\n",
+ "#result\n",
+ "print \"resistance required in the series=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance required in the series= 5.25 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 53
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.11, Page Number:1036"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "n=1000#rpm\n",
+ "ia=8#A\n",
+ "i_f=1#A\n",
+ "ra=0.2#ohm\n",
+ "rf=250#ohm\n",
+ "i=50#A\n",
+ "\n",
+ "#calculations\n",
+ "eb0=v-(ia-i_f)*ra\n",
+ "kpsi=eb0/1000\n",
+ "ia=i-i_f\n",
+ "eb1=v-ia*ra\n",
+ "n1=eb1/kpsi\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",round(n1,1),\"rpm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 966.2 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 55
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.12, Page Number:1037"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=240#V\n",
+ "ra=0.25#ohm\n",
+ "n=1000#rpm\n",
+ "ia=40#A\n",
+ "n2=800#rpm\n",
+ "i2=20#A\n",
+ "#calculation\n",
+ "eb=v-ia*ra\n",
+ "eb2=n2*eb/n\n",
+ "r=(v-eb2)/(ia)-ra\n",
+ "eb3=v-i2*(r+ra)\n",
+ "n3=eb3*n/eb\n",
+ "\n",
+ "#result\n",
+ "print \"additional resistance=\",r,\"ohm\"\n",
+ "print \"speed=\",round(n3),\"rpm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "additional resistance= 1.15 ohm\n",
+ "speed= 922.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 61
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.13, Page Number:1037"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=7.48#kW\n",
+ "v=220#V\n",
+ "n=990#rpm\n",
+ "efficiency=0.88\n",
+ "ra=0.08#ohm\n",
+ "ish=2#A\n",
+ "n2=450#rpm\n",
+ "\n",
+ "#calculation\n",
+ "input_p=load*1000/efficiency\n",
+ "losses=input_p-load*1000\n",
+ "i=input_p/v\n",
+ "ia=i-ish\n",
+ "loss=v*ish\n",
+ "cu_loss=ia**2*ra\n",
+ "loss_nl=losses-cu_loss-loss\n",
+ "eb1=v-20-(ia*ra)\n",
+ "eb2=n2*eb1/n\n",
+ "r=(eb1-eb2)/ia\n",
+ "total_loss=ia**2*(r+ra)+loss+loss_nl\n",
+ "output=input_p-total_loss\n",
+ "efficiency=output/(input_p)\n",
+ "\n",
+ "#result\n",
+ "print \"motor input=\",input_p/1000,\"kW\"\n",
+ "print \"armature current=\",ia,\"A\"\n",
+ "print \"external resistance=\",r,\"ohm\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "motor input= 8.5 kW\n",
+ "armature current= 36.6363636364 A\n",
+ "external resistance= 2.93403113016 ohm\n",
+ "efficiency= 41.6691237902 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 81
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.14, Page Number:1038"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "eb1=230.0#V\n",
+ "n=990.0#rpm\n",
+ "n2=500.0#rpm\n",
+ "ia=25.0#A\n",
+ "\n",
+ "#calculation\n",
+ "eb2=eb1*n2/n\n",
+ "r=(eb1-eb2)/ia\n",
+ "\n",
+ "#result\n",
+ "print \"resistance required in series=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance required in series= 4.55353535354 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 83
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.15, Page Number:1038"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "ra=0.4#ohm\n",
+ "rf=200.0#ohm\n",
+ "ia=20.0#A\n",
+ "n=600.0#rpm\n",
+ "n2=900.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "if1=v/rf\n",
+ "eb1=v-ia*ra\n",
+ "k2=eb1/(if1*n)\n",
+ "if2=n*if1/n2\n",
+ "rf1=v/if1\n",
+ "rf2=v/if2\n",
+ "r=rf2-rf1\n",
+ "\n",
+ "#result\n",
+ "print \"resistance to be added=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance to be added= 100.0 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.16, Page Number:1039"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "ia2=Symbol('ia2')\n",
+ "v=220.0#V\n",
+ "ra=0.4#ohm\n",
+ "rf=200.0#ohm\n",
+ "ia=22.0#A\n",
+ "n=600.0#rpm\n",
+ "n2=900.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "if1=v/rf\n",
+ "eb1=v-ia*ra\n",
+ "k1=eb1/(if1*n)\n",
+ "if2=n*if1/n2\n",
+ "if2=n2*ia/n\n",
+ "ia2=solve(v-ra*ia2-(k1*ia*if1*n2)/ia2,ia2)\n",
+ "if2=ia*if1/ia2[0]\n",
+ "r=v/if2\n",
+ "\n",
+ "#result\n",
+ "print \"new field resistance to be added=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new field resistance to be added= 306.828780053869 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 103
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.17, Page Number:1040"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "output=25#kW\n",
+ "efficiency=0.85\n",
+ "n=1000#rpm\n",
+ "ra=0.1#ohm\n",
+ "rf=125#ohm\n",
+ "ratio=1.50\n",
+ "\n",
+ "#calculation\n",
+ "input_p=output*1000/efficiency\n",
+ "i=input_p/v\n",
+ "if1=v/rf\n",
+ "ia=i-if1\n",
+ "il=ratio*ia\n",
+ "r=v/il\n",
+ "r_ext=r-ra\n",
+ "\n",
+ "#result\n",
+ "print \"starting resistance=\",round(r_ext,3),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "starting resistance= 1.341 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 105
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.18, Page Number:1042"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=200.0#V\n",
+ "n=1000.0#rpm\n",
+ "ia=17.5#A\n",
+ "n2=600.0#rpm\n",
+ "ra=0.4#ohm\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*ra\n",
+ "rt=(v-(n2*eb1/n))/ia\n",
+ "r=rt-ra\n",
+ "#result\n",
+ "print \"resistance to be inserted=\",round(r,1),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance to be inserted= 4.4 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 111
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.19, Page Number:1042"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500#V\n",
+ "ra=1.2#ohm\n",
+ "rf=500#ohm\n",
+ "ia=4#A\n",
+ "n=1000#rpm\n",
+ "i=26#A\n",
+ "r=2.3#ohm\n",
+ "ratio=0.15\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia1=ia-ish\n",
+ "eb1=v-ia1*ra\n",
+ "ia2=i-ish\n",
+ "eb2=v-ia2*ra\n",
+ "n2=n*eb2/eb1\n",
+ "eb2=v-ia2*(r+ra)\n",
+ "n2_=n*eb2/eb1\n",
+ "n2__=n*eb2/(eb1*(1-ratio))\n",
+ "\n",
+ "#result\n",
+ "print \"speed when resistance 2.3 ohm is connected=\",round(n2_),\"rpm\"\n",
+ "print \"speed when shunt field is reduced by 15%=\",round(n2__),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed when resistance 2.3 ohm is connected= 831.0 rpm\n",
+ "speed when shunt field is reduced by 15%= 978.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 113
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.20, Page Number:1043"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "ia1=ia2=20.0#A\n",
+ "n=1000.0#rpm\n",
+ "ra=0.5#ohm\n",
+ "n2=500.0#ohm\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia1*ra\n",
+ "rt=(v-((n2/n)*eb1))/ia2\n",
+ "r=rt-ra\n",
+ "ia3=ia2/2\n",
+ "n3=n*(v-ia3*rt)/eb1\n",
+ "#result\n",
+ "print \"speed=\",round(n3),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 771.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 117
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.21, Page Number:1043"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "ra1=0.5#ohm\n",
+ "n=600.0#rpm\n",
+ "ia2=ia1=20#A\n",
+ "r=1.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "eb1=v-ia1*ra1\n",
+ "ra2=r+ra1\n",
+ "eb2=v-ia2*ra2\n",
+ "n2=eb2*n/eb1\n",
+ "#torque is half the full-load torque\n",
+ "ia2=1.0/2.0*ia1\n",
+ "eb22=v-ia2*ra2\n",
+ "n2_=eb22*n/eb1\n",
+ "#result\n",
+ "print \"speed at full load torque=\",round(n2),\"rpm\"\n",
+ "print \"speed at half full-load torque=\",round(n2_),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at full load torque= 550.0 rpm\n",
+ "speed at half full-load torque= 588.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 137
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.22, Page Number:1044"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "ra1=0.5#ohm\n",
+ "n=500.0#rpm\n",
+ "ia2=ia1=30.0#A\n",
+ "r=1.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "eb1=v-ia1*ra1\n",
+ "ra2=r+ra1\n",
+ "eb2=v-ia2*ra2\n",
+ "n2=eb2*n/eb1\n",
+ "\n",
+ "#torque is half the full-load torque\n",
+ "ia2=2.0*ia1\n",
+ "eb22=v-ia2*ra2\n",
+ "n2_=eb22*n/eb1\n",
+ "#result\n",
+ "print \"speed at full load torque=\",round(n2),\"rpm\"\n",
+ "print \"speed at double full-load torque=\",round(n2_),\"rpm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at full load torque= 427.0 rpm\n",
+ "speed at double full-load torque= 317.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 142
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.23, Page Number:1044"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=37.3*1000#W\n",
+ "v=500.0#V\n",
+ "n=750.0#rpm\n",
+ "efficiency=0.90\n",
+ "t2=250.0#N-m\n",
+ "r=5.0#ohm\n",
+ "ra=0.5#ohm\n",
+ "\n",
+ "#calculation\n",
+ "t1=load/(2*3.14*(n/60))\n",
+ "ia1=load/(efficiency*v)\n",
+ "ia2=ia1*math.sqrt(t2/t1)\n",
+ "eb1=v-ia1*ra\n",
+ "eb2=v-ia2*(r+ra)\n",
+ "n2=eb2*ia1*n/(eb1*ia2)\n",
+ "\n",
+ "#result\n",
+ "print \"speed at which machine will run=\",round(n2),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at which machine will run= 381.789716486 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 157
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.24, Page Number:1044"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "output=7.46*1000#W\n",
+ "v=220.0#V\n",
+ "n=900.0#rpm\n",
+ "efficiency=0.88\n",
+ "ra=0.08#ohm\n",
+ "ish=2.0#A\n",
+ "n2=450.0#rpm\n",
+ "#calculation\n",
+ "i=output/(efficiency*v)\n",
+ "ia2=ia1=i-ish\n",
+ "eb1=v-ia2*ra\n",
+ "rt=(v-20-((n2/n)*eb1))/ia2\n",
+ "r=rt-ra\n",
+ "input_m=(v)*(ia2+ish)\n",
+ "total_loss=input_m-output\n",
+ "cu_loss=ia2**2*ra\n",
+ "cu_loss_f=v*ish\n",
+ "total_cu_loss=cu_loss+cu_loss_f\n",
+ "stray_loss=total_loss-total_cu_loss\n",
+ "stray_loss2=stray_loss*n2/n\n",
+ "cu_loss_a=ia1**2*rt\n",
+ "total_loss2=stray_loss2+cu_loss_f+cu_loss_a\n",
+ "output2=input_m-total_loss2\n",
+ "efficiency=output2*100/input_m\n",
+ "\n",
+ "#result\n",
+ "print \"motor output=\",output2,\"W\"\n",
+ "print \"armature current=\",ia2,\"A\"\n",
+ "print \"external resistance=\",r,\"ohm\"\n",
+ "print \"overall efficiency=\",efficiency,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "motor output= 4460.66115702 W\n",
+ "armature current= 36.5330578512 A\n",
+ "external resistance= 2.42352222599 ohm\n",
+ "overall efficiency= 52.619059225 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 175
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.25, Page Number:1044"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=240.0#V\n",
+ "ia=15.0#A\n",
+ "n=800.0#rpm\n",
+ "ra=0.6#ohm\n",
+ "n2=400.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-ia*ra\n",
+ "r=((v-(n2*eb1/n))/ia)-ra\n",
+ "ia3=ia/2\n",
+ "eb3=v-ia3*(r+ra)\n",
+ "n3=eb3*n/eb1\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n3,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 615.584415584 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 187
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.26, Page Number:1045"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "r=Symbol('r')\n",
+ "v=400.0#V\n",
+ "inl=3.5#A\n",
+ "il=59.5#A\n",
+ "rf=267.0#ohm\n",
+ "ra=0.2#ohm\n",
+ "vd=2.0#V\n",
+ "ratio=0.02\n",
+ "speed_ratio=0.50\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ia1=inl-ish\n",
+ "eb1=v-ia1*ra-vd\n",
+ "ia2=il-ish\n",
+ "eb2=v-ia2*ra-vd\n",
+ "n1_by_n2=eb1*(1-ratio)/eb2\n",
+ "per_change=(1-1/n1_by_n2)*100\n",
+ "r=solve(eb2*speed_ratio/(eb2-ia2*r)-1,r)\n",
+ "#result\n",
+ "print \"change in speed=\",per_change,\"%\"\n",
+ "print \"resistance to be added=\",r[0],\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "change in speed= 0.83357557339 %\n",
+ "resistance to be added= 3.33092370774547 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.27, Page Number:1046"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaraion\n",
+ "v=200.0#V\n",
+ "i=50.0#A\n",
+ "n=1000.0#rpm\n",
+ "n2=800.0#rpm\n",
+ "ra=0.1#ohm\n",
+ "rf=100.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ish=v/rf\n",
+ "ia1=i-ish\n",
+ "ia2=ia1*(n2/n)**2\n",
+ "eb1=v-ia1*ra\n",
+ "eb2=v-ia2*ra\n",
+ "rt=(v-(n2*eb1/n))/ia2\n",
+ "r=rt-ra\n",
+ "#result\n",
+ "print \"resustance that must be added=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resustance that must be added= 1.32708333333 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.28, Page Number:1047"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "load=37.3#kW\n",
+ "efficiency=0.90\n",
+ "n=1000#rpm\n",
+ "ra=0.1#ohm\n",
+ "rf=115#ohm\n",
+ "ratio=1.5\n",
+ "\n",
+ "#calculation\n",
+ "tsh=9.55*load*1000/n\n",
+ "i=load*1000/(v*efficiency)\n",
+ "ish=v/rf\n",
+ "ia=i-ish\n",
+ "eb=v-ia*ra\n",
+ "ta=9.55*eb*ia/n\n",
+ "i_permissible=i*ratio\n",
+ "ia_per=i_permissible-ish\n",
+ "ra_total=v/ia_per\n",
+ "r_required=ra_total-ra\n",
+ "torque=ratio*ta\n",
+ "#result\n",
+ "print \"net torque=\",ta,\"N-m\"\n",
+ "print \"starting resistance=\",r_required,\"ohm\"\n",
+ "print \"torque developed at starting=\",torque,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "net torque= 365.403326173 N-m\n",
+ "starting resistance= 0.913513513514 ohm\n",
+ "torque developed at starting= 548.104989259 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.29, Page Number:1047"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "I=Symbol('I')\n",
+ "v=200.0#V\n",
+ "rf=40.0#ohm\n",
+ "ra=0.02#ohm\n",
+ "i=55.0#A\n",
+ "n=595.0#rpm\n",
+ "r=0.58#ohm\n",
+ "n2=630.0#rpm\n",
+ "ia_=15.0#A\n",
+ "rd=5.0#ohm\n",
+ "ia2=50.0#A\n",
+ "\n",
+ "#calculation\n",
+ "ish=v/rf\n",
+ "ia1=i-ish\n",
+ "ra1=r+ra\n",
+ "eb1=v-ra1*ia1\n",
+ "ia2=ia1\n",
+ "eb2=eb1*(n2/n)\n",
+ "r=(v-eb2)/ia1\n",
+ "eb2_=v-ia_*ra1\n",
+ "n2=eb2_*n/eb1\n",
+ "eb3=eb1\n",
+ "IR=v-eb3-ia2*ra\n",
+ "pd=v-IR\n",
+ "i_d=pd/rd\n",
+ "i=ia2+i_d\n",
+ "R=IR/i\n",
+ "I=solve(rd*(I-ia_)-v+R*I,I)\n",
+ "eb4=v-R*I[0]-ia_*ra\n",
+ "n4=n*(eb4/eb1)\n",
+ "\n",
+ "#result\n",
+ "print \"armature circuit resistance should be reduced by=\",ra1-r,\"ohm\"\n",
+ "print \"speed when Ia=\",n2,\"rpm\"\n",
+ "print \"value of series resistance=\",R,\"ohm\"\n",
+ "print \"speed when motor current falls to 15A=\",n4,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature circuit resistance should be reduced by= 0.2 ohm\n",
+ "speed when Ia= 668.5 rpm\n",
+ "value of series resistance= 0.344418052257 ohm\n",
+ "speed when motor current falls to 15A= 636.922222222222 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.31, Page Number:1051"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "i=15#A\n",
+ "n=600#rpm\n",
+ "\n",
+ "#calculation\n",
+ "ia2=math.sqrt(2*2**0.5*i**2)\n",
+ "n2=n*2*i/ia2\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\"\n",
+ "print \"current=\",ia2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 713.524269002 rpm\n",
+ "current= 25.2268924576 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.32, Page Number:1052"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=707#rpm\n",
+ "ia1=100#A\n",
+ "v=85#V\n",
+ "rf=0.03#ohm\n",
+ "ra=0.04#ohm\n",
+ "\n",
+ "#calculation\n",
+ "ra_total=ra+(2*rf)\n",
+ "eb1=v-ia1*ra_total\n",
+ "ia2=ia1*2**0.5\n",
+ "rf=rf/2\n",
+ "eb2=v-ia2*(ra+rf)\n",
+ "n2=n*(eb2/eb1)*(2*ia1/ia2)\n",
+ "rt=(v-((n/n2)*eb2))/ia2\n",
+ "r=rt-ra-rf\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\"\n",
+ "print \"additional resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 1029.46885374 rpm\n",
+ "additional resistance= 0.171040764009 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 44
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.33, Page Number:1052"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#varable declaration\n",
+ "v=240.0#V\n",
+ "ia=40.0#A\n",
+ "ra=0.3#ohm\n",
+ "n=1500.0#rpm\n",
+ "n2=1000.0#rpm\n",
+ "#calculation\n",
+ "R=v/ia-ra\n",
+ "eb1=v-ia*ra\n",
+ "r=(v-((n2/n)*eb1))/ia-ra\n",
+ "\n",
+ "#result\n",
+ "print \"resistance to be added at starting=\",R,\"ohm\"\n",
+ "print \"resistance to be added at 1000 rpm\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance to be added at starting= 5.7 ohm\n",
+ "resistance to be added at 1000 rpm 1.9 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.34, Page Number:1053"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=600.0#rpm\n",
+ "v=250.0#V\n",
+ "ia1=20.0#A\n",
+ "ratio=2.0\n",
+ "\n",
+ "#calculations\n",
+ "ia2=ia1*2**(3.0/4.0)\n",
+ "n2=n*ratio*ia1/ia2\n",
+ "\n",
+ "#result\n",
+ "print \"current=\",ia2,\"A\"\n",
+ "print \"speed=\",n2,\"rpm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current= 33.6358566101 A\n",
+ "speed= 713.524269002 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 50
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.35, Page Number:1053"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "V=Symbol('V')\n",
+ "ra=1.0#ohm\n",
+ "v=220.0#V\n",
+ "n=350.0#rpm\n",
+ "ia=25.0#A\n",
+ "n2=500.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "ia2=ia*(n2/n)\n",
+ "eb1=v-ia*ra\n",
+ "V=solve((n2*eb1*ia2/(n*ia))+ia2-V,V)\n",
+ "\n",
+ "#result\n",
+ "print \" current=\",ia2,\"A\"\n",
+ "print \"voltage=\",V[0],\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " current= 35.7142857143 A\n",
+ "voltage= 433.673469387755 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.36, Page Number:1053"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=1000.0#rpm\n",
+ "ia=20.0#A\n",
+ "v=200.0#V\n",
+ "ra=0.5#ohm\n",
+ "rf=0.2#ohm\n",
+ "i=20.0#A\n",
+ "rd=0.2#ohm\n",
+ "i_f=10.0#A\n",
+ "ratio=0.70\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-(ra+rf)*ia\n",
+ "r_total=ra+rf/2\n",
+ "eb2=v-r_total*ia\n",
+ "n2=(eb2*n/(eb1*ratio))\n",
+ " \n",
+ "#result\n",
+ "print \"speed=\",round(n2),\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 1444.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 61
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.37, Page Number:1054"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=200.0#V\n",
+ "ia=40.0#A\n",
+ "n=700.0#rpm\n",
+ "ratio=0.50+1\n",
+ "ra=0.15#ohm\n",
+ "rf=0.1#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ia2=(ratio*2*ia**2)**0.5\n",
+ "eb1=v-ia*(ra+rf)\n",
+ "eb2=v-ia2*(ra+rf)\n",
+ "n2=(eb2/eb1)*(ia*2/ia2)*n\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\"\n",
+ "print \"speed=\",ia2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 777.147765122 rpm\n",
+ "speed= 69.2820323028 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 63
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.38, Page Number:1055"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250#V\n",
+ "ia=20#A\n",
+ "n=900#rpm\n",
+ "r=0.025#ohm\n",
+ "ra=0.1#ohm\n",
+ "rd=0.2#ohm\n",
+ "\n",
+ "#calculation\n",
+ "#when divertor is added\n",
+ "eb1=v-ia*(ra+4*r)\n",
+ "ia2=(ia**2*(ra+rd)/rd)**0.5\n",
+ "ra_=rd*ra/(ra+rd)\n",
+ "eb2=v-ia2*ra_\n",
+ "n2=(eb2/eb1)*(ia*3/(2*ia2))*n\n",
+ "\n",
+ "#rearranged field coils in two series and parallel group\n",
+ "ia2=(ia**2*2)**0.5\n",
+ "r=ra+r\n",
+ "eb2=v-ia2*r\n",
+ "n2_=(eb2/eb1)*(ia*2/(ia2))*n\n",
+ "\n",
+ "#result\n",
+ "print \"speed when divertor was added=\",n2,\"rpm\"\n",
+ "print \"speed when field coils are rearranged=\",n2_,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed when divertor was added= 1112.87640676 rpm\n",
+ "speed when field coils are rearranged= 1275.19533144 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 74
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.39, Page Number:1055"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=230.0#V\n",
+ "n=1000.0#rpm\n",
+ "i=12.0#A\n",
+ "rf=0.8#ohm\n",
+ "ra=1.0#ohm\n",
+ "il=20#A\n",
+ "ratio=0.15\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-i*(ra+rf)\n",
+ "eb2=v-il*(ra+rf/4)\n",
+ "n2=(eb2/eb1)*(1/(1-ratio))*n\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 1162.92198261 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.40, Page Number:1056"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "i2=Symbol('i2')\n",
+ "v=200.0#v\n",
+ "n=500.0#rpm\n",
+ "i=25.0#A\n",
+ "ra=0.2#ohm\n",
+ "rf=0.6#ohm\n",
+ "rd=10.0#ohm\n",
+ "\n",
+ "#calculation\n",
+ "r=ra+rf\n",
+ "eb1=v-i*r\n",
+ "i2=solve(((rd+rf)*i2**2)-(v*i2)-(i**2*rd),i2)\n",
+ "pd=v-i2[1]*rf\n",
+ "ia2=((rd+rf)*i2[1]-v)/rd\n",
+ "eb2=pd-ia2*ra\n",
+ "n2=(eb2/eb1)*(i/i2[1])*n\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 342.848235418389 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 97
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.41, Page Number:1056"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440#V\n",
+ "ra=0.3#ohm\n",
+ "i=20#A\n",
+ "n=1200#rpm\n",
+ "r=3#ohm\n",
+ "i2=15#A\n",
+ "ratio=0.80\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-i*ra\n",
+ "eb2=v-(r+ra)*i2\n",
+ "n2=n*(eb2/eb1)/ratio\n",
+ "power_ratio=(n*i)/(n2*i2*ratio)\n",
+ "\n",
+ "#result\n",
+ "print \"new speed=\",n2,\"rpm\"\n",
+ "print \"ratio of power outputs=\",power_ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new speed= 1349.65437788 rpm\n",
+ "ratio of power outputs= 1.48186086214\n"
+ ]
+ }
+ ],
+ "prompt_number": 99
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.42, Page Number:1057"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=50#A\n",
+ "v=460#V\n",
+ "ratio=1-0.25\n",
+ "\n",
+ "#calculation\n",
+ "I=(i**2*ratio**3)**0.5\n",
+ "eb2=I*ratio*v/i\n",
+ "R=(v-eb2)/I\n",
+ "pa=v*i/1000\n",
+ "power_n=pa*ratio**4\n",
+ "pa=eb2*I\n",
+ "\n",
+ "#result\n",
+ "print \"Resistance required=\",R,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resistance required= 7.26432660412 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 103
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.44, Page Number:1060"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=500#rpm\n",
+ "n2=550#rpm\n",
+ "i=50#A\n",
+ "v=500#V\n",
+ "r=0.5#ohm\n",
+ "\n",
+ "#calculation\n",
+ "eb1=v-i*r\n",
+ "kphi1=eb1/n\n",
+ "eb2=v-i*r\n",
+ "kphi2=eb2/n2\n",
+ "eb_=v-i*2*r\n",
+ "n=eb_/((eb1/n2)+(eb2/n))\n",
+ "#result\n",
+ "print \"speed=\",n,\"rpm\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 248.120300752 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 109
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.45, Page Number:1061"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=14.92#kW\n",
+ "v=250#V\n",
+ "n=1000#rpm\n",
+ "ratio1=5.0\n",
+ "ratio2=4.0\n",
+ "t=882#N-m\n",
+ "\n",
+ "#calculation\n",
+ "i=load*1000/v\n",
+ "k=v/(n*i/60)\n",
+ "I=(t/((ratio1+ratio2)*0.159*k))**0.5\n",
+ "nsh=v/((ratio1+ratio2)*k*I)\n",
+ "eb1=ratio1*k*I*nsh\n",
+ "eb2=ratio2*k*I*nsh\n",
+ "\n",
+ "#result\n",
+ "print \"current=\",I,\"A\"\n",
+ "print \"speed of shaft=\",round(nsh*60),\"rpm\"\n",
+ "print \"voltage across the motors=\",round(eb1),\"V,\",round(eb2),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current= 49.5202984449 A\n",
+ "speed of shaft= 134.0 rpm\n",
+ "voltage across the motors= 139.0 V, 111.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 117
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.46, Page Number:1063"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220#V\n",
+ "t=700#N-m\n",
+ "n=1200#rpm\n",
+ "ra=0.008#ohm\n",
+ "rf=55#ohm\n",
+ "efficiency=0.90\n",
+ "t2=375#N-m\n",
+ "n2=1050#rpm\n",
+ "\n",
+ "#calculation\n",
+ "output=2*3.14*n*t/60\n",
+ "power_m=output/efficiency\n",
+ "im=power_m/v\n",
+ "ish=v/rf\n",
+ "ia1=im-ish\n",
+ "eb1=v-ia1*ra\n",
+ "ia2=ia1*t2/t\n",
+ "eb2=eb1*n2/n\n",
+ "r=eb2/ia2-ra\n",
+ "\n",
+ "#result\n",
+ "print \"dynamic break resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "dynamic break resistance= 0.795525014538 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 118
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.47, Page Number:1064"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400.0#V\n",
+ "load=18.65#kW\n",
+ "n=450.0#rpm\n",
+ "efficiency=0.746\n",
+ "ra=0.2#ohm\n",
+ "\n",
+ "#calculations\n",
+ "I=load*1000/(efficiency*v)\n",
+ "eb=v-I*ra\n",
+ "vt=v+eb\n",
+ "i_max=2*I\n",
+ "r=vt/i_max\n",
+ "R=r-ra\n",
+ "N=n/60\n",
+ "phizp_by_a=eb/N\n",
+ "k4=phizp_by_a*v/(2*3.14*r)\n",
+ "k3=phizp_by_a**2/(2*3.14*r)\n",
+ "tb=k4+k3*N\n",
+ "tb0=k4\n",
+ "#result\n",
+ "print \"breaking resistance=\",R,\"ohm\"\n",
+ "print \"maximum breaking torque=\",tb,\"N-m\"\n",
+ "print \"maximum breaking torque when N=0 =\",tb0,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "breaking resistance= 6.1 ohm\n",
+ "maximum breaking torque= 1028.3970276 N-m\n",
+ "maximum breaking torque when N=0 = 522.360394972 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 122
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.48, Page Number:1069"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=120#V\n",
+ "ra=0.5#ohm\n",
+ "l=20*0.001#H\n",
+ "ka=0.05#V/rpm motor constant\n",
+ "ia=20#A\n",
+ "\n",
+ "#calculations\n",
+ "vt=ia*ra\n",
+ "alpha=vt/v\n",
+ "#when alpha=1\n",
+ "eb=v-ia*ra\n",
+ "N=eb/ka\n",
+ "\n",
+ "#result\n",
+ "print \"range of speed control=\",0,\"to\",N,\"rpm\"\n",
+ "print \"range of duty cycle=\",(alpha),\"to\",1"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " range of speed control= 0 to 2200.0 rpm\n",
+ "range of duty cycle= 0.0833333333333 to 1\n"
+ ]
+ }
+ ],
+ "prompt_number": 124
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.49, Page Number:1080"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=7.46#kW\n",
+ "v=200#V\n",
+ "efficiency=0.85\n",
+ "ra=0.25#ohm\n",
+ "ratio=1.5\n",
+ "\n",
+ "#calculation\n",
+ "i=load*1000/(v*efficiency)\n",
+ "i1=ratio*i\n",
+ "r1=v/i1\n",
+ "r_start=r1-ra\n",
+ "eb1=v-i*r1\n",
+ "\n",
+ "#result\n",
+ "print \"starting resistance=\",r_start,\"ohm\"\n",
+ "print \"back emf=\",eb1,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "starting resistance= 2.78842716711 ohm\n",
+ "back emf= 66.6666666667 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 125
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.50, Page Number:1080"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "ra=0.5#ohm\n",
+ "ia=40.0#A\n",
+ "n=7\n",
+ "\n",
+ "#calculations\n",
+ "r1=v/ia\n",
+ "k=(r1/ra)**(1.0/(n-1))\n",
+ "r2=r1/k\n",
+ "r3=r2/k\n",
+ "r4=r3/k\n",
+ "r5=r4/k\n",
+ "r6=r5/k\n",
+ "p1=r1-r2\n",
+ "p2=r2-r3\n",
+ "p3=r3-r4\n",
+ "p4=r4-r5\n",
+ "p5=r5-r6\n",
+ "p6=r6-ra\n",
+ "\n",
+ "#result\n",
+ "print \"resistance of 1st section=\",round(p1,3),\"ohm\"\n",
+ "print \"resistance of 2nd section=\",round(p2,3),\"ohm\"\n",
+ "print \"resistance of 3rd section=\",round(p3,3),\"ohm\"\n",
+ "print \"resistance of 4th section=\",round(p4,3),\"ohm\"\n",
+ "print \"resistance of 5th section=\",round(p5,3),\"ohm\"\n",
+ "print \"resistance of 6th section=\",round(p6,3),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of 1st section= 1.812 ohm\n",
+ "resistance of 2nd section= 1.215 ohm\n",
+ "resistance of 3rd section= 0.815 ohm\n",
+ "resistance of 4th section= 0.546 ohm\n",
+ "resistance of 5th section= 0.366 ohm\n",
+ "resistance of 6th section= 0.246 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 132
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.51, Page Number:1081"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=6\n",
+ "load=3.73#kW\n",
+ "v=200#V\n",
+ "ratio=0.50\n",
+ "i1=0.6#A\n",
+ "efficiency=0.88\n",
+ "\n",
+ "#calculation\n",
+ "output=load/efficiency\n",
+ "total_loss=output-load\n",
+ "cu_loss=total_loss*ratio\n",
+ "i=output*1000/v\n",
+ "ia=i-i1\n",
+ "ra=cu_loss*1000/ia**2\n",
+ "i_per=i*2\n",
+ "ia_per=i_per-i1\n",
+ "r1=v/ia_per\n",
+ "k=(r1/ra)**(1.0/(n-1))\n",
+ "r2=r1/k\n",
+ "r3=r2/k\n",
+ "r4=r3/k\n",
+ "r5=r4/k\n",
+ "p1=r1-r2\n",
+ "p2=r2-r3\n",
+ "p3=r3-r4\n",
+ "p4=r4-r5\n",
+ "p5=r5-ra\n",
+ "\n",
+ "\n",
+ "#result\n",
+ "print \"resistance of 1st section=\",round(p1,3),\"ohm\"\n",
+ "print \"resistance of 2nd section=\",round(p2,3),\"ohm\"\n",
+ "print \"resistance of 3rd section=\",round(p3,3),\"ohm\"\n",
+ "print \"resistance of 4th section=\",round(p4,3),\"ohm\"\n",
+ "print \"resistance of 5th section=\",round(p5,3),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of 1st section= 1.627 ohm\n",
+ "resistance of 2nd section= 1.074 ohm\n",
+ "resistance of 3rd section= 0.709 ohm\n",
+ "resistance of 4th section= 0.468 ohm\n",
+ "resistance of 5th section= 0.309 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 146
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.52, Page Number:1081"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=7\n",
+ "load=36.775#kW\n",
+ "v=400#V\n",
+ "ratio=0.05\n",
+ "rsh=200#ohm\n",
+ "efficiency=0.92\n",
+ "\n",
+ "#calculation\n",
+ "input_m=load*1000/efficiency\n",
+ "cu_loss=input_m*ratio\n",
+ "cu_loss_sh=v**2/rsh\n",
+ "cu_loss_a=cu_loss-cu_loss_sh\n",
+ "i=input_m/v\n",
+ "ish=v/rsh\n",
+ "ia=i-ish\n",
+ "ra=cu_loss_a/ia**2\n",
+ "k=(v/(ia*ra))**(1.0/(n))\n",
+ "i1=k*ia\n",
+ "r1=v/i1\n",
+ "r2=r1/k\n",
+ "r3=r2/k\n",
+ "r4=r3/k\n",
+ "r5=r4/k\n",
+ "r6=r5/k\n",
+ "r7=r5/k\n",
+ "p1=r1-r2\n",
+ "p2=r2-r3\n",
+ "p3=r3-r4\n",
+ "p4=r4-r5\n",
+ "p5=r5-r6\n",
+ "p6=r6-r7\n",
+ "p7=r7-ra\n",
+ "\n",
+ "#result\n",
+ "print \"resistance of 1st section=\",round(p1,3),\"ohm\"\n",
+ "print \"resistance of 2nd section=\",round(p2,3),\"ohm\"\n",
+ "print \"resistance of 3rd section=\",round(p3,3),\"ohm\"\n",
+ "print \"resistance of 4th section=\",round(p4,3),\"ohm\"\n",
+ "print \"resistance of 5th section=\",round(p5,3),\"ohm\"\n",
+ "print \"resistance of 6th section=\",round(p6,3),\"ohm\"\n",
+ "print \"resistance of 7th section=\",round(p7,3),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of 1st section= 0.974 ohm\n",
+ "resistance of 2nd section= 0.592 ohm\n",
+ "resistance of 3rd section= 0.36 ohm\n",
+ "resistance of 4th section= 0.219 ohm\n",
+ "resistance of 5th section= 0.133 ohm\n",
+ "resistance of 6th section= 0.0 ohm\n",
+ "resistance of 7th section= 0.081 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 157
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.53, Page Number:1082"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "n=Symbol('n')\n",
+ "v=250.0#V\n",
+ "ra=0.125#ohm\n",
+ "i2=150.0#A\n",
+ "i1=200.0#A\n",
+ "\n",
+ "#calculation\n",
+ "r1=v/i1\n",
+ "n=solve((i1/i2)**(n-1)-(r1/ra),n)\n",
+ "k=i1/i2\n",
+ "r2=r1/k\n",
+ "r3=r2/k\n",
+ "r4=r3/k\n",
+ "r5=r4/k\n",
+ "r6=r5/k\n",
+ "r7=r6/k\n",
+ "r8=r7/k\n",
+ "p1=r1-r2\n",
+ "p2=r2-r3\n",
+ "p3=r3-r4\n",
+ "p4=r4-r5\n",
+ "p5=r5-r6\n",
+ "p6=r6-r7\n",
+ "p7=r7-r8\n",
+ "p8=r8-ra\n",
+ "#result\n",
+ "print \"resistance of 1st section=\",round(p1,3),\"ohm\"\n",
+ "print \"resistance of 2nd section=\",round(p2,3),\"ohm\"\n",
+ "print \"resistance of 3rd section=\",round(p3,3),\"ohm\"\n",
+ "print \"resistance of 4th section=\",round(p4,3),\"ohm\"\n",
+ "print \"resistance of 5th section=\",round(p5,3),\"ohm\"\n",
+ "print \"resistance of 6th section=\",round(p6,3),\"ohm\"\n",
+ "print \"resistance of 7th section=\",round(p7,3),\"ohm\"\n",
+ "print \"resistance of 8th section=\",round(p8,3),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of 1st section= 0.313 ohm\n",
+ "resistance of 2nd section= 0.234 ohm\n",
+ "resistance of 3rd section= 0.176 ohm\n",
+ "resistance of 4th section= 0.132 ohm\n",
+ "resistance of 5th section= 0.099 ohm\n",
+ "resistance of 6th section= 0.074 ohm\n",
+ "resistance of 7th section= 0.056 ohm\n",
+ "resistance of 8th section= 0.042 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 163
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.54, Page Number:1083"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "n=Symbol('n')\n",
+ "v=500#V\n",
+ "z=20\n",
+ "ra=1.31#ohm\n",
+ "t=218#N-m\n",
+ "ratio=1.5\n",
+ "slot=60\n",
+ "phi=23*0.001#Wb\n",
+ "\n",
+ "#calculation\n",
+ "ia=t/(0.159*phi*slot*z)\n",
+ "i1=ia*ratio\n",
+ "i2=ia\n",
+ "k=i1/i2\n",
+ "r1=v/i1\n",
+ "n=solve(k**(n-1)-(r1/ra),n)\n",
+ "r2=r1/k\n",
+ "r3=r2/k\n",
+ "r4=r3/k\n",
+ "p1=r1-r2\n",
+ "p2=r2-r3\n",
+ "p3=r3-r4\n",
+ "p4=r4-ra\n",
+ "\n",
+ "#result\n",
+ "print \"resistance of 1st section=\",round(p1,3),\"ohm\"\n",
+ "print \"resistance of 2nd section=\",round(p2,3),\"ohm\"\n",
+ "print \"resistance of 3rd section=\",round(p3,3),\"ohm\"\n",
+ "print \"resistance of 4th section=\",round(p4,3),\"ohm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of 1st section= 2.237 ohm\n",
+ "resistance of 2nd section= 1.491 ohm\n",
+ "resistance of 3rd section= 0.994 ohm\n",
+ "resistance of 4th section= 0.678 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 164
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.55, Page Number:1084"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=37.3#kW\n",
+ "v=440#V\n",
+ "drop=0.02\n",
+ "efficiency=0.95\n",
+ "i_per=1.30\n",
+ "\n",
+ "#calculation\n",
+ "il=load*1000/(v*efficiency)\n",
+ "i1=i_per*il\n",
+ "vd=drop*v\n",
+ "rm=vd/il\n",
+ "r1=v/i1\n",
+ "r=(r1-rm)/6\n",
+ "\n",
+ "#result\n",
+ "print \"resistance of each rheostat=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance of each rheostat= 0.615721729566 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 165
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 30.56, Page Number:1085"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=55.95#kW\n",
+ "v=650.0#V\n",
+ "r=0.51#ohm\n",
+ "i1=140.0#A\n",
+ "i2=100.0#A\n",
+ "per=0.20\n",
+ "\n",
+ "#calculation\n",
+ "ratio=i1/i2\n",
+ "r1=v/i1\n",
+ "r2=((per+1)/ratio-per)*r1\n",
+ "r3=(per+1)*r2/ratio-per*r1\n",
+ "r4=((per+1)*r3/ratio)-per*r1\n",
+ "\n",
+ "p1=r1-r2\n",
+ "p2=r2-r3\n",
+ "p3=r3-r4\n",
+ "\n",
+ "#result\n",
+ "print \"number of steps=\",3\n",
+ "print \"resistance of 1st section=\",round(p1,3),\"ohm\"\n",
+ "print \"resistance of 2nd section=\",round(p2,3),\"ohm\"\n",
+ "print \"resistance of 3rd section=\",round(p3,3),\"ohm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "number of steps= 3\n",
+ "resistance of 1st section= 1.592 ohm\n",
+ "resistance of 2nd section= 1.364 ohm\n",
+ "resistance of 3rd section= 1.17 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 170
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter31.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter31.ipynb
new file mode 100644
index 00000000..aebdac51
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter31.ipynb
@@ -0,0 +1,1094 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7d0991402755fd2e3c1083bccec70e0a43143da000e9a99e70877269e1fdc43a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 31: Testing of DC Machines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.1, Page Number:1092"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "l=38.1#kg\n",
+ "d=63.53*0.01#cm\n",
+ "v=12#rps\n",
+ "i=49#A\n",
+ "V=220#V\n",
+ "\n",
+ "#calculations\n",
+ "r=d/2\n",
+ "torque=l*r*9.81\n",
+ "power=torque*2*3.14*v\n",
+ "motor_input=i*V\n",
+ "efficiency=power*100/motor_input\n",
+ "\n",
+ "#result\n",
+ "print \"Output power=\",round(power),\"W\"\n",
+ "print \"Efficiency=\",round(efficiency),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Output power= 8947.0 W\n",
+ "Efficiency= 83.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.2(a), Page Number:1093"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "spring_b1=10.0#kg\n",
+ "spring_b2=35.0#kg\n",
+ "d=40*0.01#m\n",
+ "v=950.0#rpm\n",
+ "V=200.0#V\n",
+ "i=30.0#A\n",
+ "\n",
+ "#calculations\n",
+ "F=(spring_b2-spring_b1)*9.81\n",
+ "N=v/60\n",
+ "R=d/2\n",
+ "tsh=F*R\n",
+ "omega=2*3.14*N\n",
+ "output=tsh*omega\n",
+ "motor_input=V*i\n",
+ "efficiency=output/motor_input\n",
+ "\n",
+ "#result\n",
+ "print \"output power=\",output,\"W\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output power= 4877.205 W\n",
+ "efficiency= 81.28675 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.2(b), Page Number:1093"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "t1=2.9#kg\n",
+ "t2=0.17#kg\n",
+ "r=7*0.01#m\n",
+ "i=2.0#A\n",
+ "V=230.0#V\n",
+ "n=1500.0#rpm\n",
+ "\n",
+ "#calculations\n",
+ "force=(t1-t2)*9.81\n",
+ "torque=force*r\n",
+ "output=torque*2*3.14*n/60\n",
+ "efficiency=output/(V*i)\n",
+ "\n",
+ "#result\n",
+ "print \"torque=\",torque,\"N-m\"\n",
+ "print \"output\",output,\"W\"\n",
+ "print \"efficiency\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 1.874691 N-m\n",
+ "output 294.326487 W\n",
+ "efficiency 63.984018913 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.3, Page Number:1095"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "V=220.0#V\n",
+ "i=2.5#A\n",
+ "ra=0.8#ohm\n",
+ "rsh=200.0#ohm\n",
+ "I=20.0#A\n",
+ "\n",
+ "#calculations\n",
+ "input_noload=V*i\n",
+ "ish=V/rsh\n",
+ "ia0=i-ish\n",
+ "culoss=ia0**2*ra\n",
+ "constant_loss=input_noload-culoss\n",
+ "ia=32-ish\n",
+ "cu_lossa=ia**2*ra\n",
+ "total_loss=cu_lossa+constant_loss\n",
+ "input_=V*I\n",
+ "output=input_-total_loss\n",
+ "efficiency=(output/input_)*100\n",
+ "\n",
+ "#result\n",
+ "print \"Efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency= 70.1754545455 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.4, Page Number:1096"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "V=400.0#V\n",
+ "i=5.0#A\n",
+ "ra=0.5#ohm\n",
+ "r=200.0#ohm\n",
+ "I=50.0#A\n",
+ "\n",
+ "#calculations\n",
+ "input_nl=V*i\n",
+ "ish=V/r\n",
+ "ia=i-ish\n",
+ "cu_loss=ia**2*ra\n",
+ "constant_loss=input_nl-cu_loss\n",
+ "Ia=I-ish\n",
+ "cu_lossa=Ia**2*ra\n",
+ "total_loss=constant_loss+cu_lossa\n",
+ "input_nl1=V*I\n",
+ "output=input_nl1-total_loss\n",
+ "efficiency=output/input_nl\n",
+ "Eb1=V-(ia*ra)\n",
+ "Eb2=V-(Ia*ra)\n",
+ "change=math.fabs((Eb1-Eb2)/Eb1)\n",
+ "\n",
+ "#result\n",
+ "print \"output=\",output,\"W\"\n",
+ "print \"efficiency=\",efficiency*10,\"%\"\n",
+ "print \"percentage change in speed=\",change*100,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output= 16852.5 W\n",
+ "efficiency= 84.2625 %\n",
+ "percentage change in speed= 5.64617314931 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.5, Page Number:1096"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "I=Symbol('I')\n",
+ "v=220#V\n",
+ "p=44.76#kW\n",
+ "i=13.25#A\n",
+ "ish=2.55#A\n",
+ "ra=0.032#ohm\n",
+ "bd=2#V\n",
+ "\n",
+ "#calculations\n",
+ "p_nl=v*i\n",
+ "ia=i-ish\n",
+ "cu_loss=ia**2*ra\n",
+ "bd_loss=2*ia\n",
+ "variable_loss=bd_loss+cu_loss\n",
+ "w=p_nl-variable_loss\n",
+ "ans=solve([v*(I+ish)-p*1000-w-2*I-ra*I**2],[I])\n",
+ "il=ans[0][0]+ish\n",
+ "pin=il*v\n",
+ "e=p*1000/pin\n",
+ "\n",
+ "#result\n",
+ "print \"Full load current=\",round(il),\"A\"\n",
+ "print \"Full load efficiency=\",round(e*100),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Full load current= 226.0 A\n",
+ "Full load efficiency= 90.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.6, Page Number:1097"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "I=Symbol('I')\n",
+ "v=200.0#V\n",
+ "o=17.158#kW\n",
+ "inpt=20.2#KW\n",
+ "rf=50.0#ohm\n",
+ "ra=0.06#ohm\n",
+ "o2=7.46#kW\n",
+ "\n",
+ "#calculations\n",
+ "loss1=inpt*1000.0-o*1000.0\n",
+ "ic=inpt*1000.0/v\n",
+ "ish=v/rf\n",
+ "ia=ic-ish\n",
+ "cu_loss=ia**2*ra\n",
+ "const_loss=loss1-cu_loss\n",
+ "ans=solve([v*(I+ish)-o2*1000.0-(ra*I**2)-const_loss],[I])\n",
+ "il=ans[0][0]+ish\n",
+ "pin=il*v/1000.0\n",
+ "e=o2*1000*100/(pin*1000)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",round(e,1),\"%\"\n",
+ "print \"power input=\",round(il),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 74.1 %\n",
+ "power input= 50.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.7, Page Number:1097"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "I=Symbol('I')\n",
+ "v=200.0#V\n",
+ "p=14.92#kW\n",
+ "ia=6.5#A\n",
+ "ish=2.2#A\n",
+ "i=70.0#A\n",
+ "pd=3.0#V\n",
+ "\n",
+ "#calculations\n",
+ "ic_nl=ia+ish\n",
+ "pi=v*ic_nl\n",
+ "cu_loss=v*ish\n",
+ "cu_lossa=ia**2*pd/i\n",
+ "const_loss=pi-cu_lossa\n",
+ "ans=solve([v*I+cu_loss-p*1000-const_loss-(pd/i)*I**2],[I])\n",
+ "ic=ans[0][0]+ish\n",
+ "pin=v*ic\n",
+ "e=p*1000*100/pin\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",round(e),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 88.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.8, Page Number:1098"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=200*1000.0#W\n",
+ "v=250.0#V\n",
+ "i1=36.0#A\n",
+ "I1=12.0#A\n",
+ "v1=250.0#V\n",
+ "pd=6.0#V\n",
+ "i2=400.0#A\n",
+ "\n",
+ "#calculations\n",
+ "#no load\n",
+ "ia=i1-I1\n",
+ "ra=pd/i2\n",
+ "cu_loss=ia**2*ra\n",
+ "input_nl=v*i1\n",
+ "constant_loss=input_nl-cu_loss\n",
+ "\n",
+ "#full load\n",
+ "output_i=p/v\n",
+ "ia=output_i+I1\n",
+ "cu_lossa=ia**2*ra\n",
+ "total_loss=cu_lossa+constant_loss\n",
+ "efficiency=p/(p+total_loss)\n",
+ "#result\n",
+ "print \"efficiency at full load=\",efficiency*100,\"%\"\n",
+ "\n",
+ "#half load\n",
+ "output_i=p/(2*v)\n",
+ "ia=output_i+I1\n",
+ "cu_lossa=ia**2*ra\n",
+ "total_loss=cu_lossa+constant_loss\n",
+ "efficiency=p/((p/2+total_loss)*2)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency at half load=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency at full load= 91.3736344667 %\n",
+ "efficiency at half load= 89.6559292335 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 42
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.9, Page Number:1098"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "p=14.92*1000#W\n",
+ "e=0.88\n",
+ "n=700.0#rpn\n",
+ "rsh=100.0#ohm\n",
+ "i=78.0#A\n",
+ "\n",
+ "#calculations\n",
+ "input_=0.8*p/e\n",
+ "total_loss=input_-0.8*p\n",
+ "input_i=input_/v\n",
+ "ish=v/rsh\n",
+ "ia=input_i-ish\n",
+ "ra=total_loss/(2*(ia**2))\n",
+ "Ia=i-ish\n",
+ "total_loss2=Ia**2*ra+total_loss/2\n",
+ "input__=v*i\n",
+ "efficiency=(input__-total_loss2)*100/input__\n",
+ "Eb1=v-(ia*ra)\n",
+ "Eb2=v-(Ia*ra)\n",
+ "n2=(n*Eb2)/Eb1\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\"\n",
+ "print \"speed=\",n2,\"r.p.m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 86.9450046554 %\n",
+ "speed= 678.443304738 r.p.m\n"
+ ]
+ }
+ ],
+ "prompt_number": 48
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.10(a), Page Number:1101"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "p=100*1000.0#W\n",
+ "i2=90.0#A\n",
+ "\n",
+ "#calculations\n",
+ "i1=p/v\n",
+ "efficiency=math.sqrt(i1/(i1+i2))*100\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",round(efficiency,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 91.4 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.11, Page Number:1102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=15#A\n",
+ "v=200#V\n",
+ "motor_i=100#A\n",
+ "shunt_i1=3#A\n",
+ "shunt_i2=2.5#A\n",
+ "ra=0.05#ohm\n",
+ "cu_loss=500#W\n",
+ "cu_lossa=361#W\n",
+ "ia=85#A\n",
+ "#calculations\n",
+ "mech_core_stray_loss=0.5*((v*i)-(motor_i**2*ra)-(ia**2*ra))\n",
+ "cu_motor=v*shunt_i1\n",
+ "generator_motor=v*shunt_i2\n",
+ "total_loss=mech_core_stray_loss+cu_motor+generator_motor\n",
+ "input_=v*i+cu_motor\n",
+ "output=v*ia*10**(-3)\n",
+ "loss=cu_loss*10**(-3)+1.07+0.36\n",
+ "efficiency=output*100/(output+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"eficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "eficiency= 89.8045430534 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 52
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.12, Page Number:1103"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=110#V\n",
+ "i=48#A\n",
+ "i1=3#a\n",
+ "i2=3.5#A\n",
+ "motor_i=230#A\n",
+ "ra=0.035#ohm\n",
+ "\n",
+ "#calculations\n",
+ "#motor\n",
+ "cu_loss=motor_i**2*ra\n",
+ "brush_loss=motor_i*2\n",
+ "totalarm_culoss=cu_loss+brush_loss\n",
+ "shunt_cu=v*i1\n",
+ "total_cu_lossm=totalarm_culoss+shunt_cu\n",
+ "#generator\n",
+ "arm_i=233-i+i2\n",
+ "cu_loss=arm_i**2*ra\n",
+ "brush_loss=arm_i*2\n",
+ "totalarm_culoss=cu_loss+brush_loss\n",
+ "shunt_cu=v*i2\n",
+ "total_cu_lossg=totalarm_culoss+shunt_cu\n",
+ "#set\n",
+ "totalcu_loss=total_cu_lossm+total_cu_lossg\n",
+ "total_input=v*i\n",
+ "stray_loss=total_input-totalcu_loss\n",
+ "strayloss_per=stray_loss/2\n",
+ "#motor efficiency\n",
+ "input_=233*v\n",
+ "output=input_-(total_cu_lossm+strayloss_per)\n",
+ "e=output/input_*100\n",
+ "print \"motor efficiency=\",e,\"%\"\n",
+ "#generator efficiency\n",
+ "input_=110*185\n",
+ "output=input_-(total_cu_lossg+strayloss_per)\n",
+ "e=output/input_*100\n",
+ "100\n",
+ "print \"generator efficiency=\",e,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "motor efficiency= 88.4590884705 %\n",
+ "generator efficiency= 88.5893642506 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.13, Page Number:1103"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable series\n",
+ "v=500.0#A\n",
+ "p=100*1000.0#w\n",
+ "auxiliary_i=30.0#A\n",
+ "output_i=200.0#A\n",
+ "i1=3.5#A\n",
+ "i2=1.8#A\n",
+ "ra=0.075#ohm\n",
+ "vdb=2.0#V\n",
+ "\n",
+ "#calculations\n",
+ "motor_arm=output_i+auxiliary_i\n",
+ "motorarm_culoss=(motor_arm**2*ra)+(motor_arm*2)\n",
+ "motorfield_culoss=v*i2\n",
+ "generatorarm_culoss=(output_i**2*ra)+(output_i*2)\n",
+ "generatoefield_culoss=v*i1\n",
+ "total_culoss=motorarm_culoss+motorfield_culoss+generatorarm_culoss+generatoefield_culoss\n",
+ "power=v*auxiliary_i\n",
+ "stray_loss=power-total_culoss\n",
+ "permachine=stray_loss/2\n",
+ "total_loss=generatorarm_culoss+generatoefield_culoss+permachine\n",
+ "output=v*output_i\n",
+ "e=output/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",e*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 93.1001175389 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.14, Page Number:1104"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "i=50.0#A\n",
+ "motor_i=400.0#A\n",
+ "i1=6.0#A\n",
+ "i2=5.0#A\n",
+ "ra=0.015#ohm\n",
+ "\n",
+ "#calculations\n",
+ "motora_culoss=motor_i**2*ra\n",
+ "generatora_culoss=(motor_i-i)**2*ra\n",
+ "power=v*i\n",
+ "stray_loss=power-(motora_culoss+generatora_culoss)\n",
+ "permachine=stray_loss/2\n",
+ "#motor\n",
+ "total_motor_loss=motora_culoss+(v*i2)+permachine\n",
+ "motor_input=(v*motor_i)+v*i2\n",
+ "motor_e=(motor_input-total_motor_loss)/motor_input\n",
+ "\n",
+ "#generator\n",
+ "total_gen_loss=generatora_culoss+(v*i1)+permachine\n",
+ "gen_output=v*(motor_i-i)\n",
+ "gen_e=(gen_output-total_gen_loss)/gen_output\n",
+ "\n",
+ "#result\n",
+ "print \"motor efficiency=\",motor_e*100,\"%\"\n",
+ "print \"generator efficiency\",gen_e*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "motor efficiency= 92.3148148148 %\n",
+ "generator efficiency 91.4642857143 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 77
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.15, Page Number:1105"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "i=50.0#A\n",
+ "ia=380.0#A\n",
+ "i1=5.0#A\n",
+ "i2=4.2#A\n",
+ "ra=0.2#ohm\n",
+ "\n",
+ "#calculations\n",
+ "motora_culoss=ia**2*ra\n",
+ "generatora_culoss=(ia-i)**2*ra\n",
+ "power=v*i\n",
+ "stray_loss=power-(motora_culoss+generatora_culoss)\n",
+ "permachine=stray_loss/2\n",
+ "#motor\n",
+ "total_motor_loss=motora_culoss+(v*i2)+permachine\n",
+ "motor_input=(v*ia)+v*i2\n",
+ "motor_e=(motor_input-total_motor_loss)/motor_input\n",
+ "\n",
+ "#generator\n",
+ "total_gen_loss=generatora_culoss+(v*i1)+permachine\n",
+ "gen_output=v*(ia-i)\n",
+ "gen_e=(gen_output-total_gen_loss)/gen_output\n",
+ "\n",
+ "#result\n",
+ "print \"motor efficiency=\",motor_e*100,\"%\"\n",
+ "print \"generator efficiency\",gen_e*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "motor efficiency= 88.7038001041 %\n",
+ "generator efficiency 95.2121212121 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 81
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.16, Page Number:1107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=220.0#V\n",
+ "v2=190.0#V\n",
+ "t=30#sec\n",
+ "t2=20#sec\n",
+ "i=20.0#A\n",
+ "\n",
+ "#calculations\n",
+ "avg_v=(v+v2)/2\n",
+ "avg_i=i/2\n",
+ "power=avg_v*avg_i\n",
+ "W=power*(t2/(t-t2))\n",
+ "\n",
+ "#result\n",
+ "print \"Stray loss=\",W,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stray loss= 4100.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 85
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.17, Page Number:1107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variabledeclaration\n",
+ "n1=1525.0#rpm\n",
+ "n2=1475.0#ohm\n",
+ "dt=25.0#sec\n",
+ "p=1000.0#W\n",
+ "t2=20.0#sec\n",
+ "\n",
+ "#calculations\n",
+ "N=(n1+n2)/2\n",
+ "w=p*(t2/(dt-t2))\n",
+ "dN=n1-n2\n",
+ "I=(w*dt)/((2*3.14/60)**2*N*dN)\n",
+ "\n",
+ "#result\n",
+ "print \"Moment of Inertia=\",I,\"kg-m2\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Moment of Inertia= 121.708791432 kg-m2\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.18, Page Number:1108"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=240.0#V\n",
+ "v2=225.0#V\n",
+ "dt=25.0#sec\n",
+ "t2=6.0#ohm\n",
+ "iavg=10.0#A\n",
+ "i2=25.0#A\n",
+ "v3=250.0#V\n",
+ "ra=0.4#ohm\n",
+ "r=250.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "avg_v=(v+v2)/2\n",
+ "w_=avg_v*iavg\n",
+ "W=w_*(t2/(dt-t2))\n",
+ "ish=v3/r\n",
+ "ia=i2-ish\n",
+ "cu_loss=ia**2*ra\n",
+ "cu_shunt=v3*ia\n",
+ "total_loss=W+cu_loss+v3\n",
+ "e=((v*i2)-total_loss)/(v*i2)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",e*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "734.210526316\n",
+ "efficiency= 79.7564912281 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 97
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.19, Page Number:1108"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=1000#rpm\n",
+ "n1=1030#rpm\n",
+ "n2=970#rpm\n",
+ "t1=36#sec\n",
+ "t2=15#sec\n",
+ "t3=9#sec\n",
+ "i=10#A\n",
+ "v=219#V\n",
+ "\n",
+ "#calculations\n",
+ "W=v*i*(t2/(dt-t2))\n",
+ "dN=n1-n2\n",
+ "I=(W*t2)/((2*3.14/60)**2*n*dN)\n",
+ "Wm=W*t2/t1\n",
+ "iron_loss=W-Wm\n",
+ "\n",
+ "#result\n",
+ "print \"i)moment of inertia=\",I,\"kg.m2\"\n",
+ "print \"ii)iron loss=\",iron_loss,\"W\"\n",
+ "print \"iii)mechanical losses=\",Wm,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)moment of inertia= 74.9650087225 kg.m2\n",
+ "ii)iron loss= 1916.25 W\n",
+ "iii)mechanical losses= 1368.75 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 99
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 31.20, Page Number:1110"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "iam=56.0#A\n",
+ "vam=590.0#V\n",
+ "vdm=40.0#V\n",
+ "iag=44.0#A\n",
+ "vag=400.0#V\n",
+ "vdg=40.0#V\n",
+ "r=0.3#ohm\n",
+ "\n",
+ "#calculations\n",
+ "input_total=(vdm+vam)*iam\n",
+ "output=vag*iag\n",
+ "total_loss=input_total-output\n",
+ "rse=vdg/iam\n",
+ "cu_loss=((r+2*rse)*iam**2)+(iag**2*r)\n",
+ "strayloss=total_loss-cu_loss\n",
+ "permachine=strayloss/2\n",
+ "#motor\n",
+ "inputm=vam*iam\n",
+ "culossm=(r+rse)*iam**2\n",
+ "totallossm=culossm+permachine\n",
+ "output=inputm-totallossm\n",
+ "em=output*100/inputm\n",
+ "#generator\n",
+ "inputg=vag*iag\n",
+ "culossg=(r)*iag**2\n",
+ "totalloss=culossg+permachine+(vdm*iam)\n",
+ "output=vag*iag\n",
+ "eg=output*100/(output+totalloss)\n",
+ "\n",
+ "print \n",
+ "#result\n",
+ "print \"motor efficiency=\",em,\"%\"\n",
+ "print \"generator efficiency=\",eg,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "motor efficiency= 72.6997578692 %\n",
+ "generator efficiency= 67.0220868241 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 115
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter32.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter32.ipynb
new file mode 100644
index 00000000..461e0178
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter32.ipynb
@@ -0,0 +1,5438 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:bf02debec619fa2bf22f89d2133812e8ca761e7db78760c620e2f933509732ff"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 32: Transformer"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.1, Page Number:1123"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=250.0#V\n",
+ "v2=3000.0#V\n",
+ "f=50.0#Hz\n",
+ "phi=1.2#Wb-m2\n",
+ "e=8.0#V\n",
+ "\n",
+ "#calculations\n",
+ "n1=v1/e\n",
+ "n2=v2/e\n",
+ "a=v2/(4.44*f*n2*phi)\n",
+ "\n",
+ "#result\n",
+ "print \"primary turns=\",n1\n",
+ "print \"secondary turns=\",n2\n",
+ "print \"area of core=\",round(a,2),\"m2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary turns= 31.25\n",
+ "secondary turns= 375.0\n",
+ "area of core= 0.03 m2\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.2, Page Number:1123"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100#KVA\n",
+ "v1=11000#V\n",
+ "v2=550#V\n",
+ "f=50#Hz\n",
+ "bm=1.3#Tesla\n",
+ "sf=0.9\n",
+ "per=10#%\n",
+ "a=20*20*sf/10000#m2\n",
+ "\n",
+ "#calculation\n",
+ "n1=v1/(4.44*f*bm*a)\n",
+ "n2=v2/(4.44*f*bm*a)\n",
+ "e_per_turn=v1/n1\n",
+ "\n",
+ "#result\n",
+ "print \"HV TURNS=\",round(n1)\n",
+ "print \"LV TURNS=\",round(n2)\n",
+ "print \"EMF per turns=\",round(e_per_turn,1),\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "HV TURNS= 1059.0\n",
+ "LV TURNS= 53.0\n",
+ "EMF per turns= 10.4 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.3, Page Number:1123"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n1=400.0\n",
+ "n2=1000.0\n",
+ "a=60.0/10000.0#cm2\n",
+ "f=50.0#Hz\n",
+ "e1=520.0#V\n",
+ "\n",
+ "#calculations\n",
+ "k=n2/n1\n",
+ "e2=k*e1\n",
+ "bm=e1/(4.44*f*n1*a)\n",
+ "\n",
+ "#result\n",
+ "print \"peak value of flux density=\",bm,\"WB/m2\"\n",
+ "print \"voltage induced in the secondary winding=\",e2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "peak value of flux density= 0.975975975976 WB/m2\n",
+ "voltage induced in the secondary winding= 1300.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.4, Page Number:1124"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=25.0#kVA\n",
+ "n1=500.0\n",
+ "n2=50.0\n",
+ "v=3000.0#V\n",
+ "f=50.0#Hz\n",
+ "\n",
+ "#calculations\n",
+ "k=n2/n1\n",
+ "i1=load*1000/v\n",
+ "i2=i1/k\n",
+ "e1=v/n1\n",
+ "e2=e1*n2\n",
+ "phim=v/(4.44*f*n1)\n",
+ "\n",
+ "#result\n",
+ "print \"primary and secondary currents=\",i1,\"A\", i2,\"A\"\n",
+ "print \"secondary emf=\",e2,\"V\"\n",
+ "print \"flux=\",phim*1000,\"mWB\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary and secondary currents= 8.33333333333 A 83.3333333333 A\n",
+ "secondary emf= 300.0 V\n",
+ "flux= 27.027027027 mWB\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.5, Page Number:1123"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50#Hz\n",
+ "v1=11000#V\n",
+ "v2=550#V\n",
+ "load=300#kVA\n",
+ "phim=0.05#Wb\n",
+ "\n",
+ "#calculation\n",
+ "e=4.44*f*phim\n",
+ "e2=v2/1.732\n",
+ "t1=v1/e\n",
+ "t2=e2/e\n",
+ "output=load/3\n",
+ "HV=100*1000/v1\n",
+ "LV=100*1000/e2\n",
+ "\n",
+ "#result\n",
+ "print \"HV turns=\",t1\n",
+ "print \"LV turns=\",t2\n",
+ "print \"emf per turn=\",e2\n",
+ "print \"full load HV=\",HV\n",
+ "print \"full load LV=\",LV"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "HV turns= 990.990990991\n",
+ "LV turns= 28.6082849593\n",
+ "emf per turn= 317.551963048\n",
+ "full load HV= 9\n",
+ "full load LV= 314.909090909\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.6, Page Number:1124"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n1=500.0\n",
+ "n2=1200.0\n",
+ "a=80.0/10000.0#m2\n",
+ "f=50.0#Hz\n",
+ "v=500.0#V\n",
+ "\n",
+ "#calculation\n",
+ "phim=n1/(4.44*f*n1)\n",
+ "bm=phim/a\n",
+ "v2=n2*v/n1\n",
+ "\n",
+ "#result\n",
+ "print \"peak flux-density=\",bm,\"Wb\"\n",
+ "print \"voltage induced in the secondary=\",v2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "peak flux-density= 0.563063063063 Wb\n",
+ "voltage induced in the secondary= 1200.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.7, Page Number:1125"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#varible declaration\n",
+ "load=25.0#kVA\n",
+ "n1=250.0\n",
+ "n2=40.0\n",
+ "v=1500.0#V\n",
+ "f=50.0#Hz\n",
+ "\n",
+ "#calculation\n",
+ "v2=n2*v/n1\n",
+ "i1=load*1000/v\n",
+ "i2=load*1000/v2\n",
+ "phim=v/(4.44*f*n1)\n",
+ "\n",
+ "#result\n",
+ "print \"i)primary current an secondary current=\",i1,\"A\",i2,\"A\"\n",
+ "print \"ii)seconary emf=\",v2,\"V\"\n",
+ "print \"iii)maximum flux=\",phim*1000,\"mWb\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)primary current an secondary current= 16.6666666667 A 104.166666667 A\n",
+ "ii)seconary emf= 240.0 V\n",
+ "iii)maximum flux= 27.027027027 mWb\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.8, Page Number:1125"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "a=20.0*20.0/10000#m2\n",
+ "phim=1.0#Wbm2\n",
+ "v1=3000.0#V\n",
+ "v2=220.0#V\n",
+ "\n",
+ "#calculation\n",
+ "t2=v2/(4.44*f*phim*a)\n",
+ "t1=t2*v1/v2\n",
+ "n1=t1/2\n",
+ "n2=t2/2\n",
+ "\n",
+ "#result\n",
+ "print \"HV turns=\",n1\n",
+ "print \"LV turns=\",n2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "HV turns= 168.918918919\n",
+ "LV turns= 12.3873873874\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.9, Page Number:1126"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=2200.0#V\n",
+ "v2=200.0#V\n",
+ "i1=0.6#A\n",
+ "p=400.0#W\n",
+ "v3=250.0#V\n",
+ "i0=0.5#A\n",
+ "pf=0.3\n",
+ "\n",
+ "#calculation\n",
+ "il=p/v1\n",
+ "imu=(i1**2-il**2)**0.5\n",
+ "iw=i0*pf\n",
+ "imu2=(i0**2-iw**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"magnetising currents=\",imu,\"A\"\n",
+ "print \"iron loss current=\",il,\"A\"\n",
+ "print \"magnetising components of no load primary current=\",imu2,\"A\"\n",
+ "print \"working components of no-load primary current=\",iw,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "magnetising currents= 0.571788552492 A\n",
+ "iron loss current= 0.181818181818 A\n",
+ "magnetising components of no load primary current= 0.476969600708 A\n",
+ "working components of no-load primary current= 0.15 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.10, Page Number:1127"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n1=500.0\n",
+ "n2=40.0\n",
+ "l=150.0#cm\n",
+ "airgap=0.1#mm\n",
+ "e1=3000.0#V\n",
+ "phim=1.2#Wb/m2\n",
+ "f=50.0#Hz\n",
+ "d=7.8#grma/cm3\n",
+ "loss=2.0#watt/kg\n",
+ "\n",
+ "#calculation\n",
+ "a=e1/(4.44*f*n1*phim)\n",
+ "k=n2/n1\n",
+ "v2=k*e1\n",
+ "iron=l*5\n",
+ "air=phim*airgap/(1000*4*3.14*10**(-7))\n",
+ "bmax=iron+air\n",
+ "imu=bmax/(n1*2**0.5)\n",
+ "volume=l*a\n",
+ "im=volume*d*10\n",
+ "total_i=im*2\n",
+ "iw=total_i/(e1)\n",
+ "i0=(imu**2+iw**2)**0.5\n",
+ "pf=iw/i0\n",
+ "\n",
+ "#result\n",
+ "print \"a)cross sectional area=\",a*10000,\"cm2\"\n",
+ "print \"b)no load secondary voltage=\",v2,\"V\"\n",
+ "print \"c)no load current=\",imu,\"A\"\n",
+ "print \"d)power factor=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)cross sectional area= 225.225225225 cm2\n",
+ "b)no load secondary voltage= 240.0 V\n",
+ "c)no load current= 1.19577611723 A\n",
+ "d)power factor= 0.145353269536\n"
+ ]
+ }
+ ],
+ "prompt_number": 42
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.11, Page Number:1127"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "n1=1000\n",
+ "n2=200\n",
+ "i=3#A\n",
+ "pf=0.2\n",
+ "i2=280#A\n",
+ "pf2=0.8\n",
+ "\n",
+ "#calculations\n",
+ "phi1=math.acos(pf2)\n",
+ "i2_=i2/5\n",
+ "phi2=math.acos(pf)\n",
+ "sinphi=math.sin(phi2)\n",
+ "sinphi2=math.sin(math.acos(phi1))\n",
+ "i1=i*complex(pf,-sinphi)+i2_*complex(pf2,-sinphi2)\n",
+ "\n",
+ "#result\n",
+ "print \"primary current=\",abs(i1),\"/_\",math.degrees(phi1),\"degrees\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary current= 64.4918252531 /_ 36.8698976458 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 51
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.12, Page Number:1130"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=440.0#v\n",
+ "v2=110.0#V\n",
+ "i0=5.0#A\n",
+ "pf=0.2\n",
+ "i2=120.0#A\n",
+ "pf2=0.8\n",
+ "\n",
+ "#calculation\n",
+ "phi2=math.acos(pf2)\n",
+ "phi0=math.acos(pf)\n",
+ "k=v2/v1\n",
+ "i2_=k*i2\n",
+ "angle=phi2-phi0\n",
+ "i1=(i0**2+i2_**2+(2*i0*i2_*math.cos(angle)))**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"current taken by the primary=\",i1,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current taken by the primary= 33.9022604184 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 53
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.13, Page Number:1130"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n1=800.0\n",
+ "n2=200.0\n",
+ "pf=0.8\n",
+ "i1=25.0#A\n",
+ "pf2=0.707\n",
+ "i2=80.0#A\n",
+ "#calculations\n",
+ "k=n2/n1\n",
+ "i2_=i2*k\n",
+ "phi2=math.acos(pf)\n",
+ "phi1=math.acos(pf2)\n",
+ "i0pf2=i1*pf2-i2_*pf\n",
+ "i0sinphi=i1*pf2-i2_*math.sin(math.acos(pf))\n",
+ "phi0=math.atan(i0sinphi/i0pf2)\n",
+ "i0=i0sinphi/math.sin(phi0)\n",
+ "\n",
+ "#result\n",
+ "print \"no load current=\",i0,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "no load current= 5.91703050525 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 59
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.14, Page Number:1131"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=10#A\n",
+ "pf=0.2\n",
+ "ratio=4\n",
+ "i2=200#A\n",
+ "pf=0.85\n",
+ "\n",
+ "#calculations\n",
+ "phi0=math.acos(pf)\n",
+ "phil=math.acos(pf)\n",
+ "i0=complex(2,-9.8)\n",
+ "i2_=complex(42.5,-26.35)\n",
+ "i1=i0+i2_\n",
+ "phi=math.acos(i1.real/57.333)\n",
+ "\n",
+ "#result\n",
+ "print \"primary current=\",i1,\"A\"\n",
+ "print \"power factor=\",math.degrees(phi),\"degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary current= (44.5-36.15j) A\n",
+ "power factor= 39.0890154959 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.15, Page Number:1136"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable decaration\n",
+ "load=30.0#KVA\n",
+ "v1=2400.0#V\n",
+ "v2=120.0#V\n",
+ "f=50.0#Hz\n",
+ "r1=0.1#ohm\n",
+ "x1=0.22#ohm\n",
+ "r2=0.034#ohm\n",
+ "x2=0.012#ohm\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "r01=r1+r2/k**2\n",
+ "x01=x1+x2/k**2\n",
+ "z01=(r01**2+x01**2)**0.5\n",
+ "r02=r2+r1*k**2\n",
+ "x02=x2+x1*k**2\n",
+ "z02=(r02**2+x02**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"high voltage side:\"\n",
+ "print \"equivalent winding resistance=\",r01,\"ohm\"\n",
+ "print \"reactance=\",x01,\"ohm\"\n",
+ "print \"impedence=\",z01,\"ohm\"\n",
+ "print \"low voltage side:\"\n",
+ "print \"equivalent winding resistance=\",r02,\"ohm\"\n",
+ "print \"reactance=\",x02,\"ohm\"\n",
+ "print \"impedence=\",z02,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "high voltage side:\n",
+ "equivalent winding resistance= 13.7 ohm\n",
+ "reactance= 5.02 ohm\n",
+ "impedence= 14.5907642021 ohm\n",
+ "low voltage side:\n",
+ "equivalent winding resistance= 0.03425 ohm\n",
+ "reactance= 0.01255 ohm\n",
+ "impedence= 0.0364769105051 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 64
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.16, Page Number:1136"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=50.0#KVA\n",
+ "v1=4400.0#V\n",
+ "v2=220.0#V\n",
+ "r1=3.45#ohm\n",
+ "r2=0.009#ohm\n",
+ "x1=5.2#ohm\n",
+ "x2=0.015#ohm\n",
+ "\n",
+ "#calculations\n",
+ "i1=load*1000/v1\n",
+ "i2=load*1000/v2\n",
+ "k=v2/v1\n",
+ "r01=r1+r2/k**2\n",
+ "r02=r2+k**2*r1\n",
+ "x01=x1+x2/k**2\n",
+ "x02=x2+x1*k**2\n",
+ "z01=(r01**2+x01**2)**0.5\n",
+ "z02=(r02**2+x02**2)**0.5\n",
+ "cu_loss=i1**2*r01\n",
+ "\n",
+ "#result\n",
+ "print \"i)resistance=\"\n",
+ "print \"primary=\",r01,\"ohm\"\n",
+ "print \"secondary=\",r02,\"ohm\"\n",
+ "print \"iii)reactance=\"\n",
+ "print \"primary=\",x01,\"ohm\"\n",
+ "print \"secondary=\",x02,\"ohm\"\n",
+ "print \"iv)impedence=\"\n",
+ "print \"primary=\",z01,\"ohm\"\n",
+ "print \"secondary=\",z02,\"ohm\"\n",
+ "print \"v)copper loss=\",cu_loss,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance=\n",
+ "primary= 7.05 ohm\n",
+ "secondary= 0.017625 ohm\n",
+ "reactance=\n",
+ "primary= 11.2 ohm\n",
+ "secondary= 0.028 ohm\n",
+ "impedence=\n",
+ "primary= 13.2341414531 ohm\n",
+ "secondary= 0.0330853536327 ohm\n",
+ "copper loss= 910.382231405 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 68
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.17, Page Number:1137"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ratio=10.0\n",
+ "load=50.0#KVA\n",
+ "v1=2400.0#V\n",
+ "v2=240.0#V\n",
+ "f=50.0#Hz\n",
+ "v=240.0#V\n",
+ "\n",
+ "#calculation\n",
+ "i2=load*1000/v\n",
+ "z2=v/(i2)\n",
+ "k=v2/v1\n",
+ "z2_=z2/k**2\n",
+ "i2_=k*i2\n",
+ "\n",
+ "#result\n",
+ "print \"a)load impedence=\",z2,\"ohm\"\n",
+ "print \"b)impedence referred to high tension side=\",z2_,\"ohm\"\n",
+ "print \"c)the value of current referred to the high tension side=\",i2_,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)load impedence= 1.152 ohm\n",
+ "b)impedence referred to high tension side= 115.2 ohm\n",
+ "c)the value of current referred to the high tension side= 20.8333333333 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 70
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.18, Page Number:1137"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100.0#kVA\n",
+ "v1=11000.0#V\n",
+ "v2=317.0#V\n",
+ "load2=0.62#kW\n",
+ "lvload=0.48#kW\n",
+ "\n",
+ "#calculations\n",
+ "k=v1/v2\n",
+ "i1=load*1000/v1\n",
+ "i2=load*1000/v2\n",
+ "r1=load2*1000/i**2\n",
+ "r2=lvload*1000/i2**2\n",
+ "r2_=r2*k**2\n",
+ "x01=4*v1/(i1*100)\n",
+ "x2_=x01*r2_/(r1+r2_)\n",
+ "x1=x01-x2_\n",
+ "x2=x2_*10/k**2\n",
+ "\n",
+ "#result\n",
+ "print \"i)r1=\",r1,\"ohm\"\n",
+ "print \"r2=\",r2,\"ohm\"\n",
+ "print \"r2_=\",r2_,\"ohm\"\n",
+ "print \"ii)reactance=\",x01,\"ohm\"\n",
+ "print \"x1=\",x1,\"ohm\"\n",
+ "print \"x2=\",x2,\"ohm\"\n",
+ "print \"x2_=\",x2_,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)r1= 7.502 ohm\n",
+ "r2= 0.004823472 ohm\n",
+ "r2_= 5.808 ohm\n",
+ "ii)reactance= 48.4 ohm\n",
+ "x1= 27.28 ohm\n",
+ "x2= 0.175398981818 ohm\n",
+ "x2_= 21.12 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 76
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.19, Page Number:1137"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declarations\n",
+ "k=19.5\n",
+ "r1=25.0#ohm\n",
+ "x1=100.0#ohm\n",
+ "r2=0.06#ohm\n",
+ "x2=0.25#ohm\n",
+ "i=1.25#A\n",
+ "angle=30#degrees\n",
+ "i2=200#A\n",
+ "v=50#V\n",
+ "pf2=0.8\n",
+ "\n",
+ "#calculations\n",
+ "v2=complex(500,0)\n",
+ "i2=i2*complex(0.8,-0.6)\n",
+ "z2=complex(r2,x2)\n",
+ "e2=v2+i2*z2\n",
+ "beta=math.atan(e2.imag/e2.real)\n",
+ "e1=e2*k\n",
+ "i2_=i2/k\n",
+ "angle=beta+math.radians(90)+math.radians(angle)\n",
+ "i0=i*complex(math.cos(angle),math.sin(angle))\n",
+ "i1=-i2_+i0\n",
+ "v2=-e1+i1*complex(r1,x1)\n",
+ "phi=math.atan(v2.imag/v2.real)-math.atan(i1.imag/i1.real)\n",
+ "pf=math.cos(phi)\n",
+ "power=abs(v2)*i*math.cos(math.radians(60))\n",
+ "r02=r2+r1/k**2\n",
+ "cu_loss=abs(i2)**2*r02\n",
+ "output=500*abs(i2)*pf2\n",
+ "loss=cu_loss+power\n",
+ "inpt=output+loss\n",
+ "efficiency=output*100/inpt\n",
+ "\n",
+ "#result\n",
+ "print \"primary applied voltage=\",v2,\"V\"\n",
+ "print \"primary pf=\",pf\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary applied voltage= (-11464.2126901-1349.15424294j) V\n",
+ "primary pf= 0.698572087114\n",
+ "efficiency= 86.7261056254 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 94
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.20, Page Number:1138"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable description\n",
+ "load=100#KVA\n",
+ "v1=1100#V\n",
+ "v2=220#V\n",
+ "f=50#Hz\n",
+ "zh=complex(0.1,0.4)\n",
+ "zl=complex(0.006,0.015)\n",
+ "\n",
+ "#calculations\n",
+ "k=v1/v2\n",
+ "#HV \n",
+ "r1=zh.real+zl.real*k**2\n",
+ "x1=zh.imag+zl.imag*k**2\n",
+ "z1=(r1**2+x1**2)**0.5\n",
+ "#LV\n",
+ "r2=r1/k**2\n",
+ "x2=x1/k**2\n",
+ "z2=z1/k**2\n",
+ "\n",
+ "#result\n",
+ "print \"HV:\"\n",
+ "print \"resistance=\",r1,\"ohm\"\n",
+ "print \"reactance=\",x1,\"ohm\"\n",
+ "print \"impedence=\",z1,\"ohm\"\n",
+ "print \"LV:\"\n",
+ "print \"resistance=\",r2,\"ohm\"\n",
+ "print \"reactance=\",x2,\"ohm\"\n",
+ "print \"impedence=\",z2,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "HV:\n",
+ "resistance= 0.25 ohm\n",
+ "reactance= 0.775 ohm\n",
+ "impedence= 0.814324873745 ohm\n",
+ "LV:\n",
+ "resistance= 0.01 ohm\n",
+ "reactance= 0.031 ohm\n",
+ "impedence= 0.0325729949498 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 96
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.21, Page Number:1141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=230#V\n",
+ "v2=460#V\n",
+ "r1=0.2#ohm\n",
+ "x1=0.5#ohm\n",
+ "r2=0.75#ohm\n",
+ "x2=1.8#ohm\n",
+ "i=10#A\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "k=v2/v1\n",
+ "r02=r2+k**2*r1\n",
+ "x02=x2+k**2*x1\n",
+ "vd=i*(r02*pf+x02*math.sin(math.acos(pf)))\n",
+ "vt2=v2-vd\n",
+ "\n",
+ "#result\n",
+ "print \"secondary terminal voltage=\",vt2,\"V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "secondary terminal voltage= 424.8 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 97
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.22, Page Number:1141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r=1.0#%\n",
+ "x=5.0#%\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "mu=r*pf+x*math.sin(math.acos(pf))\n",
+ "mu2=r**2+x*0\n",
+ "mu3=r*pf-x*math.sin(math.acos(pf))\n",
+ "\n",
+ "#result\n",
+ "print \"regulation at pf=0.8 lag:\",mu,\"%\"\n",
+ "print \"regulation at pf=1:\",mu2,\"%\"\n",
+ "print \"regulation at pf=0.8 lead:\",mu3,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation at pf=0.8 lag: 3.8 %\n",
+ "regulation at pf=1: 1.0 %\n",
+ "regulation at pf=0.8 lead: -2.2 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 98
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.23, Page Number:1141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "x=5#%\n",
+ "r=2.5#%\n",
+ "\n",
+ "#calculation\n",
+ "phi=math.atan(x/r)\n",
+ "cosphi=math.cos(phi)\n",
+ "sinphi=math.sin(phi)\n",
+ "regn=r*cosphi+x*sinphi\n",
+ "\n",
+ "#result\n",
+ "print \"regulation=\",regn,\"%\"\n",
+ "print \"pf=\",cosphi"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 5.59016994375 %\n",
+ "pf= 0.4472135955\n"
+ ]
+ }
+ ],
+ "prompt_number": 100
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.24, Page Number:1142"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r=2.5#%\n",
+ "x=5#%\n",
+ "load1=500#KVA\n",
+ "load2=400#KVA\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "kw=load2*pf\n",
+ "kvar=load2*math.sin(math.acos(pf))\n",
+ "drop=(r*kw/load1)+(x*kvar/load1)\n",
+ "\n",
+ "#result\n",
+ "print \"percentage voltage drop=\",drop,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage voltage drop= 4.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 102
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.25, Page Number:1144"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "v1=2300.0#V\n",
+ "v2=230.0#V\n",
+ "r1=0.286#ohm\n",
+ "r2_=0.319#ohm\n",
+ "ro=250.0#ohm\n",
+ "x1=0.73#ohm\n",
+ "x2_=0.73#ohm\n",
+ "xo=1250.0#ohm\n",
+ "z1=complex(r1,x1)\n",
+ "z2_=complex(r2_,x2_)\n",
+ "zl=complex(0.387,0.29)\n",
+ "ym=complex(0.004,-0.0008)\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "zl_=zl/(k**2)\n",
+ "zm=1/ym\n",
+ "x=zm+zl_+z2_\n",
+ "i1=v1/(z1+(zm*(z2_+zl_))/(zm+z2_+zl_))\n",
+ "i2_=i1*zm/(zm+z2_+zl_)\n",
+ "io=i1*(z2_+zl_)/(zm+z2_+zl_)\n",
+ "pf=i1.real/abs(i1)\n",
+ "pi=v1*abs(i1)*pf/1000\n",
+ "po=abs(i2_)**2*zl_.real/1000\n",
+ "cu_loss=abs(i1)**2*r1\n",
+ "cu_loss2=abs(i2_)**2*r2_\n",
+ "core_loss=io.real**2*240\n",
+ "e=po*100/pi\n",
+ "v2_=i2_*zl_\n",
+ "reg=(v1-v2_.real)*100/v2_.real\n",
+ "\n",
+ "#result\n",
+ "print \"Power input=\",round(pi.real,1),\"kW\"\n",
+ "print \"Power output=\",round(po,1),\"kW\"\n",
+ "print \"Primary Cu loss=\",round(cu_loss),\"W\"\n",
+ "print \"Secondary Cu loss=\",round(cu_loss2),\"W\"\n",
+ "print \"Efficiency=\",round(e.real,2),\"%\"\n",
+ "print \"Regulation=\",round(reg.real),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power input= 104.6 kW\n",
+ "Power output= 82.5 kW\n",
+ "Primary Cu loss= 854.0 W\n",
+ "Secondary Cu loss= 680.0 W\n",
+ "Efficiency= 78.91 %\n",
+ "Regulation= 3.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 42
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.26, Page Number:1145"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v1=600#V\n",
+ "v2=1080#V\n",
+ "v=720#V\n",
+ "load=8#W\n",
+ "load2=10#kVA\n",
+ "\n",
+ "#calculation\n",
+ "ir2=load*1000/v2\n",
+ "il2=load*1000/v\n",
+ "ir2_=ir2*v2/v1\n",
+ "il2_=il2*v/v1\n",
+ "ir2=math.sqrt(ir2_**2+il2_**2)\n",
+ "s=complex(load,load2)\n",
+ "s=abs(s)\n",
+ "pf=load/s\n",
+ "i=s*load2*100/v1\n",
+ "\n",
+ "#result\n",
+ "print \"primary current=\",i,\"A\"\n",
+ "print \"power factor=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary current= 21.3437474581 A\n",
+ "power factor= 0.624695047554\n"
+ ]
+ }
+ ],
+ "prompt_number": 103
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.27, Page Number:1046"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=220#V\n",
+ "v1=110#V\n",
+ "i=0.5#A\n",
+ "p=30#W\n",
+ "r=0.6#ohm\n",
+ "\n",
+ "#calculation\n",
+ "ratio=v/v1\n",
+ "pf=p/(i*v)\n",
+ "sinphi=math.sqrt(1-pf**2)\n",
+ "ip=i*sinphi\n",
+ "iw=i*pf\n",
+ "cu_loss=i**2*r\n",
+ "iron_loss=p-cu_loss\n",
+ "\n",
+ "#result\n",
+ "print \"i)turns ratio=\",ratio\n",
+ "print \"ii)magnetising component of no-load current=\",ip,\"A\"\n",
+ "print \"iii)working component of no-load current=\",iw,\"A\"\n",
+ "print \"iv)the iron loss=\",iron_loss,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)turns ratio= 2\n",
+ "ii)magnetising component of no-load current= 0.481045692921 A\n",
+ "iii)working component of no-load current= 0.136363636364 A\n",
+ "iv)the iron loss= 29.85 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 104
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.28, Page Number:1047"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=5.0#kVA\n",
+ "v1=200.0#V\n",
+ "v2=1000.0#V\n",
+ "f=50.0#Hz\n",
+ "vo=2000.0#V\n",
+ "io=1.2#A\n",
+ "po=90.0#W\n",
+ "vs=50.0#V\n",
+ "i_s=5.0#A\n",
+ "ps=110.0#W\n",
+ "p=3.0#kW\n",
+ "pf=0.8\n",
+ "v=200.0#V\n",
+ "\n",
+ "#calculation\n",
+ "r0=v**2/po\n",
+ "ia0=v/r0\n",
+ "ip=math.sqrt(io**2-ia0**2)\n",
+ "xm=v/ip\n",
+ "z=vs/i_s\n",
+ "r=ps/25\n",
+ "x=math.sqrt(z**2-r**2)\n",
+ "r1=r*(v1/v2)**2\n",
+ "x1=x*(v1/v2)**2\n",
+ "i_lv1=load*1000/v\n",
+ "i_lv=(p*1000/pf)/v\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "reg=i_lv*(r1*pf+x1*sinphi)/v\n",
+ "vt=v2-reg*1000/v\n",
+ "\n",
+ "#result\n",
+ "print \"LV crrent at rated load=\",i_lv1,\"A\"\n",
+ "print \"LV current at 3kW at 0.8 lagging pf\",i_lv,\"A\"\n",
+ "print \"output secondary voltage=\",vt,\"V\"\n",
+ "print \"percentage regulation=\",reg*100,\"%\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "LV crrent at rated load= 25.0 A\n",
+ "LV current at 3kW at 0.8 lagging pf 18.75 A\n",
+ "output secondary voltage= 999.832975251 V\n",
+ "percentage regulation= 3.34049498886 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 105
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.29, Page Number:1048"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "A=Symbol('A')\n",
+ "B=Symbol('B')\n",
+ "loss1=52.0#W\n",
+ "f1=40.0#Hz\n",
+ "loss2=90.0#W\n",
+ "f2=60.0#Hz\n",
+ "f=50.0#Hz\n",
+ "\n",
+ "#calculation\n",
+ "ans=solve([(loss1/f1)-(A+f1*B),(loss2/f2)-(A+f2*B)],[A,B])\n",
+ "wh=ans[A]*f\n",
+ "we=ans[B]*f**2\n",
+ "\n",
+ "#result\n",
+ "print \"hysteresis=\",round(wh),\"W\"\n",
+ "print \"eddy current=\",round(we),\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "hysteresis= 45.0 W\n",
+ "eddy current= 25.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 107
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.30, Page Number:1048"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "%matplotlib inline\n",
+ "import matplotlib.pyplot as plt\n",
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "A=Symbol('A')\n",
+ "B=Symbol('B')\n",
+ "m=10#kg\n",
+ "f=50.0#Hz\n",
+ "f1=25.0\n",
+ "f2=40.0\n",
+ "f3=50.0\n",
+ "f4=60.0\n",
+ "f5=80.0\n",
+ "l1=18.5/f1\n",
+ "l2=36.0/f2\n",
+ "l3=50.0/f3\n",
+ "l4=66.0/f4\n",
+ "l5=104.0/f5\n",
+ "#calculation\n",
+ "ans=solve([l1/f1-(A+f1*B),l2/f2-(A+f2*B)],[A,B])\n",
+ "eddy_loss_per_kg=ans[B]*f**2/m\n",
+ "\n",
+ "#result\n",
+ "print\"eddy current loss per kg at 50 Hz=\",eddy_loss_per_kg,\"W\"\n",
+ "\n",
+ "#plot\n",
+ "F=[f1,f2,f3,f4,f5]\n",
+ "L=[l1,l2,l3,l4,l5]\n",
+ "plt.plot(F,L)\n",
+ "plt.xlabel(\"f -->\") \n",
+ "plt.ylabel(\"Wi/f\") \n",
+ "plt.xlim((0,100))\n",
+ "plt.ylim((0.74,2))\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "eddy current loss per kg at 50 Hz= -0.118333333333333 W\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAEPCAYAAACp/QjLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGNpJREFUeJzt3XmUXVWZ9/HvIwQUI4OCKIMrvhLmgIBDEJoUwsIAEscG\nQdoBlSwHyIuCTC0ppWlEYYmKAw4gL0q6XWILUURRrBZRQIRAIAOTGkI0ICAC3QFCnvePfUNCnVSl\nqqhT51bd72etWrnDrnufOqmqX+2zhxOZiSRJq3te0wVIktqP4SBJqjAcJEkVhoMkqcJwkCRVGA6S\npIrawiEito6IX0XE7RFxW0Qc20e7L0XEnRFxS0TsVlc9kqSBW7fG134KOC4z50TEeOAPEXFVZs5f\n2SAiDgK2ycyJEfF64GvA5BprkiQNQG09h8z8a2bOad1+DJgPbNGr2TTgolab64GNI2LzumqSJA3M\niIw5RMQEYDfg+l5PbQncu9r9xcBWI1GTJKlvtYdD65TSD4AZrR5EpUmv++7nIUkNq3PMgYgYB1wK\nfDczf7SGJvcBW692f6vWY71fx8CQpCHIzN5/gA9InbOVAvg2MC8zz+2j2eXAe1rtJwN/z8yla2qY\nmX5kMnPmzMZraJcPj4XHwmPR/8dzUWfPYS/gSODWiLi59dgpwCsAMvP8zLwiIg6KiLuAx4H311iP\n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YDj0VE7EoZmF8PuBt4P+VnpBOPRTfl\nD8flwE3AB4EX0QHHIiJmAVOATSnjC6cBl9HH1x4RpwBHUY7VjMz8Wb+v387hIElqRjufVpIkNcRw\nkCRVGA6SpArDQZJUYThIkioMB0lSheEg9SEijm1tiX1x07VII811DlIfImI+sF9mLhnk522Smb13\ny5RGFXsO0hpExNeB/wNcGRH/d5Cf/vuI+G5E7Nva1kEadew5SH1obfS3R2Y+NMjPex5wIGWrgh2A\ni4HvZOZfhr9KqR72HKRhlpkrMvMnmfkOYB/gVcCiiHhNw6VJA2Y4SIPUunbvzRHx44jYKiLmtO4f\nvVqbjSJiOmU3zFdRNseb29drSu3G00pSH57DaaXvUq77/X3KbsJ311GfVKd1my5AamND/cvpP4H3\nZOaKtbaU2pQ9B0lShWMOkqQKw0GSVGE4SJIqDAdJUoXhIEmqMBwkSRWGgySpwnCQJFX8fyk/juvE\nTvrvAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f4da5922310>"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.31, Page Number:1148"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "A=Symbol('A')\n",
+ "B=Symbol('B')\n",
+ "v1=440#V\n",
+ "f1=50#Hz\n",
+ "p1=2500#W\n",
+ "v2=220#V\n",
+ "f2=25#Hz\n",
+ "p2=850#z\n",
+ "\n",
+ "#calculation\n",
+ "ans=solve([(p1/f1)-(A+f1*B),(p2/f2)-(A+f2*B)],[A,B])\n",
+ "wh=ans[A]*f\n",
+ "we=ans[B]*f**2\n",
+ "\n",
+ "#result\n",
+ "print \"hysteresis=\",round(wh),\"W\"\n",
+ "print \"eddy current=\",round(we),\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "hysteresis= 900.0 W\n",
+ "eddy current= 1600.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.32, Page Number:1149"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=1000.0#V\n",
+ "f1=50.0#Hz\n",
+ "core=1000.0#W\n",
+ "wh=650.0#W\n",
+ "we=350.0#W\n",
+ "v2=2000.0#V\n",
+ "f2=100.0#Hz\n",
+ "\n",
+ "#calculation\n",
+ "a=wh/f1\n",
+ "b=we/f1**2\n",
+ "wh=a*f2\n",
+ "we=b*f2**2\n",
+ "new_core=wh+we\n",
+ "\n",
+ "#result\n",
+ "print \"new core loss=\",new_core,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " new core loss= 2700.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 111
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.33, Page Number:1149"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "phi=1.4#Wb/m2\n",
+ "we=1000.0#W\n",
+ "wh=3000.0#W\n",
+ "per=10.0#%\n",
+ "\n",
+ "#calculation\n",
+ "wh1=wh*1.1**1.6\n",
+ "we1=we*1.1**2\n",
+ "wh2=wh*0.9**(-0.6)\n",
+ "wh3=wh*1.1**1.6*1.1**(-0.6)\n",
+ "#result\n",
+ "print \"a)wh and we when applied voltage is increased by 10%=\",wh1,\"W\",\"and\",we1,\"W\"\n",
+ "print \"b)wh when frequency is reduced by 10%=\",wh2,\"W\"\n",
+ "print \"c)wh and we when both voltage and frequency are increased y 10%=\",wh3,\"W\",\"and\",we1,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)wh and we when applied voltage is increased by 10%= 3494.21441464 W and 1210.0 W\n",
+ "b)wh when frequency is reduced by 10%= 3195.77171838 W\n",
+ "c)wh and we when both voltage and frequency are increased y 10%= 3300.0 W and 1210.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 119
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.34, Page Number:1150"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=2200.0#V\n",
+ "f=40.0#Hz\n",
+ "loss=800.0#W\n",
+ "wh=600.0#W\n",
+ "we=loss-wh\n",
+ "v2=3300.0#V\n",
+ "f2=60.0#Hz\n",
+ "\n",
+ "#calculations\n",
+ "a=wh/f\n",
+ "b=we/f**2\n",
+ "core_loss=a*f2+b*f2**2\n",
+ "\n",
+ "#result\n",
+ "print \"core loss at 60 Hz=\",core_loss,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "core loss at 60 Hz= 1350.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 122
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.35, Page Number:1151"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=30.0#KvA\n",
+ "v1=6000.0#V\n",
+ "v2=230.0#V\n",
+ "r1=10.0#ohm\n",
+ "r2=0.016#ohm\n",
+ "x01=34.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "r01=r1+r2/k**2\n",
+ "z01=(r01**2+x01**2)**0.5\n",
+ "i1=load*1000/v1\n",
+ "vsc=i1*z01\n",
+ "pf=r01/z01\n",
+ "\n",
+ "#result\n",
+ "print \"primary voltage=\",vsc,\"V\"\n",
+ "print \"pf=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary voltage= 199.519931911 V\n",
+ "pf= 0.523468222173\n"
+ ]
+ }
+ ],
+ "prompt_number": 124
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.36, Page Number:1152"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=200.0#V\n",
+ "v2=400.0#V\n",
+ "f=50.0#Hz\n",
+ "vo=200.0#V\n",
+ "io=0.7#A\n",
+ "po=70.0#W\n",
+ "vs=15.0#v\n",
+ "i_s=10.0#A\n",
+ "ps=85.0#W\n",
+ "load=5.0#kW\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "cosphi0=po/(vo*io)\n",
+ "sinphi0=math.sin(math.acos(cosphi0))\n",
+ "iw=io*cosphi0\n",
+ "imu=io*sinphi0\n",
+ "r0=v1/iw\n",
+ "x0=v1/imu\n",
+ "z02=vs/i_s\n",
+ "k=v2/v1\n",
+ "z01=z02/k**2\n",
+ "r02=ps/i_s**2\n",
+ "r01=r02/k**2\n",
+ "x01=(z01**2-r01**2)**0.5\n",
+ "output=load/pf\n",
+ "i2=output*1000/v2\n",
+ "x02=(z02**2-r02**2)**0.5\n",
+ "drop=i2*(r02*pf+x02*math.sin(math.acos(pf)))\n",
+ "v2=v2-drop\n",
+ "print z02\n",
+ "#result\n",
+ "print \"secondary voltage=\",v2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "1.5\n",
+ "secondary voltage= 377.788243349 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 130
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.37, Page Number:1152"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "k=1.0/6\n",
+ "r1=0.9#ohm\n",
+ "x1=5.0#ohm\n",
+ "r2=0.03#ohm\n",
+ "x2=0.13#ohm\n",
+ "vsc=330.0#V\n",
+ "f=50.0#Hz\n",
+ "\n",
+ "#calculations\n",
+ "r01=r1+r2/k**2\n",
+ "x01=x1+x2/k**2\n",
+ "z01=(r01**2+x01**2)**0.5\n",
+ "i1=vsc/z01\n",
+ "i2=i1/k\n",
+ "cosphisc=i1**2*r01/(vsc*i1)\n",
+ "\n",
+ "#result\n",
+ "print \"current in low voltage winding=\",i2,\"A\"\n",
+ "print \"pf=\",round(cosphisc,1)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current in low voltage winding= 200.396236149 A\n",
+ "pf= 0.2\n"
+ ]
+ }
+ ],
+ "prompt_number": 132
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.38, Page Number:1153"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "v1=500.0#V\n",
+ "v2=250.0#V\n",
+ "f=50.0#Hz\n",
+ "r1=0.2#ohm\n",
+ "x1=0.4#ohm\n",
+ "r2=0.5#ohm\n",
+ "x2=0.1#ohm\n",
+ "r0=1500.0#ohm\n",
+ "x0=750.0#ohm\n",
+ "\n",
+ "#calculation\n",
+ "k=v2/v1\n",
+ "imu=v1/x0\n",
+ "iw=v1/r0\n",
+ "i0=(iw**2+imu**2)**0.5\n",
+ "pi=v1*iw\n",
+ "r01=r1+r2/k**2\n",
+ "x01=x1+x2/k**2\n",
+ "z01=(r01**2+x01**2)**0.5\n",
+ "i1=load*1000/v1\n",
+ "vsc=i1*z01\n",
+ "power=i1**2*r01\n",
+ "\n",
+ "#result\n",
+ "print \"reading of instruments=\",vsc,\"V,\",i1,\"A,\",power,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "reading of instruments= 46.8187996429 V, 20.0 A, 880.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 140
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.39, Page Number:1153"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "x=Symbol('x')\n",
+ "y=Symbol('y')\n",
+ "load=1000#kVA\n",
+ "v1=110#V\n",
+ "v2=220#V\n",
+ "f=50#Hz\n",
+ "per1=98.5#%\n",
+ "pf=0.8\n",
+ "per2=98.8#%\n",
+ "\n",
+ "#calculaions\n",
+ "output=load*1\n",
+ "inpt=output*100/per2\n",
+ "loss=inpt-output\n",
+ "inpt_half=(load/2)*pf*100/per1\n",
+ "loss2=inpt_half-400\n",
+ "ans=solve([x+y-loss,(x/4)+y-loss2],[x,y])\n",
+ "kva=load*(ans[y]/ans[x])*0.5\n",
+ "output=kva*1\n",
+ "cu_loss=ans[y]\n",
+ "total_loss=2*cu_loss\n",
+ "efficiency=output/(output+total_loss)\n",
+ "#result\n",
+ "print \"full load copper loss=\",cu_loss,\"kW\"\n",
+ "print \"maximum efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full load copper loss= 4.07324441521606 kW\n",
+ "maximum efficiency= 0.968720013059872 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 148
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.40, Page Number:1154"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=200.0#v\n",
+ "v2=400.0#V\n",
+ "r01=0.15#ohm\n",
+ "x01=0.37#ohm\n",
+ "r0=600.0#ohm\n",
+ "x0=300.0#ohm\n",
+ "i2=10.0#A\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "imu=v1/x0\n",
+ "iw=v1/r0\n",
+ "i0=(imu**2+iw**2)**0.5\n",
+ "tantheta=iw/imu\n",
+ "theta=math.atan(tantheta)\n",
+ "theta0=math.radians(90)-theta\n",
+ "angle=theta0-math.acos(pf)\n",
+ "k=v2/v1\n",
+ "i2_=i2*k\n",
+ "i1=(i0**2+i2_**2+2*i0*i2_*math.cos(angle))**0.5\n",
+ "r02=k**2*r01\n",
+ "x02=x01*k**2\n",
+ "vd=i2*(r02*pf+x02*math.sin(math.acos(pf)))\n",
+ "v2=v2-vd\n",
+ "\n",
+ "#result\n",
+ "print \"i)primary current=\",i1,\"A\"\n",
+ "print \"ii)secondary terminal voltage=\",v2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)primary current= 20.6693546639 A\n",
+ "ii)secondary terminal voltage= 386.32 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 149
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.43, Page Number:1158"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100.0#kVA\n",
+ "n1=400.0\n",
+ "n2=80.0\n",
+ "r1=0.3#ohm\n",
+ "r2=0.01#ohm\n",
+ "x1=1.1#ohm\n",
+ "x2=0.035#ohm\n",
+ "v1=2200.0#V\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "k=n2/n1\n",
+ "r01=r1+r2/k**2\n",
+ "x01=x1+x2/k**2\n",
+ "z01=complex(r01,x01)\n",
+ "z02=k**2*z01\n",
+ "v2=k*v1\n",
+ "i2=load*1000/v2\n",
+ "vd=i2*(z02.real*pf-z02.imag*math.sin(math.acos(pf)))\n",
+ "regn=vd*100/v2\n",
+ "v2=v2-vd\n",
+ "\n",
+ "#result\n",
+ "print \"i)equivalent impedence=\",z02,\"ohm\"\n",
+ "print \"ii)voltage regulation=\",regn,\"%\"\n",
+ "print \"secondary terminal voltage=\",v2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)equivalent impedence= (0.022+0.079j) ohm\n",
+ "ii)voltage regulation= -1.53925619835 %\n",
+ "secondary terminal voltage= 446.772727273 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 158
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.44, Page Number:1158"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "va=450.0#V\n",
+ "vb=120.0#V\n",
+ "v1=120.0#V\n",
+ "i1=4.2#A\n",
+ "w1=80.0#W\n",
+ "v2=9.65#V\n",
+ "i2=22.2#A\n",
+ "w2=120.0#W\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "k=vb/va\n",
+ "i0=i1*k\n",
+ "cosphi0=w1/(va*i0)\n",
+ "phi0=math.acos(cosphi0)\n",
+ "sinphi0=math.sin(phi0)\n",
+ "iw=i0*cosphi0\n",
+ "imu=i0*sinphi0\n",
+ "r0=va/iw\n",
+ "x0=va/imu\n",
+ "z01=v2/i2\n",
+ "r01=vb/i2**2\n",
+ "x01=(z01**2-r01**2)**0.5\n",
+ "i1=load*1000/va\n",
+ "drop=i1*(r01*pf+x01*math.sin(math.acos(pf)))\n",
+ "regn=drop*100/va\n",
+ "loss=w1+w2\n",
+ "output=load*1000*pf\n",
+ "efficiency=output/(output+loss)\n",
+ "iron_loss=w1\n",
+ "cu_loss=(0.5**2)*w2\n",
+ "total_loss=iron_loss+cu_loss\n",
+ "output=load*1000*pf/2\n",
+ "efficiency2=output/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"i)equivalent circuit constants=\"\n",
+ "print \"z01=\",z01,\"ohm\"\n",
+ "print \"x01=\",x01,\"ohm\"\n",
+ "print \"r01=\",r01,\"ohm\"\n",
+ "print \"ii)efficiency and voltage regulation at pf=0.8=\",efficiency*100,\"%\",regn,\"%\"\n",
+ "print \"iii)efficiency at half load and pf=0.8=\",efficiency2*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)equivalent circuit constants=\n",
+ "z01= 0.434684684685 ohm\n",
+ "x01= 0.360090249002 ohm\n",
+ "r01= 0.243486729973 ohm\n",
+ "ii)efficiency and voltage regulation at pf=0.8= 97.5609756098 % 2.02885695496 %\n",
+ "iii)efficiency at half load and pf=0.8= 97.3236009732 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 162
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.45, Page Number:1159"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=20.0#kVA\n",
+ "va=2200.0#V\n",
+ "vb=220.0#V\n",
+ "f=50.0#Hz\n",
+ "v1=220.0#V\n",
+ "i1=4.2#A\n",
+ "w1=148.0#W\n",
+ "v2=86.0#V\n",
+ "i2=10.5#A\n",
+ "w2=360.0#W\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "z01=v2/i2\n",
+ "r01=w2/i2**2\n",
+ "x01=(z01**2-r01**2)**0.5\n",
+ "i1=load*1000/va\n",
+ "drop=i1*(r01*pf+x01*math.sin(math.acos(pf)))\n",
+ "regn=drop*100/va\n",
+ "pf=r01/z01\n",
+ "\n",
+ "#result\n",
+ "print \"regulation=\",regn,\"%\"\n",
+ "print \"pf=\",round(pf,1),\"lag\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 2.94177963326 %\n",
+ "pf= 0.4 lag\n"
+ ]
+ }
+ ],
+ "prompt_number": 172
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.46, Page Number:1159"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "v1=2000.0#V\n",
+ "v2=400.0#V\n",
+ "v=60.0#V\n",
+ "i=4.0#A\n",
+ "w=100.0#W\n",
+ "pf=0.8\n",
+ "v_=400.0#V\n",
+ "\n",
+ "#calculations\n",
+ "z01=v/i\n",
+ "r01=w/i**2\n",
+ "x01=(z01**2-r01**2)**0.5\n",
+ "i1=load*1000/v1\n",
+ "vd=i1*(r01*pf+x01*math.sin(math.acos(pf)))\n",
+ "\n",
+ "#result\n",
+ "print \"voltage applied to hv side=\",v1+vd,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage applied to hv side= 2065.90767043 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 182
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.47, Page Number:1159"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=250.0#V\n",
+ "v2=500.0#V\n",
+ "vs=20.0#V\n",
+ "i_s=12.0#A\n",
+ "ws=100.0#W\n",
+ "vo=250.0#V\n",
+ "io=1.0#A\n",
+ "wo=80.0#W\n",
+ "i2=10#A\n",
+ "v2=500#V\n",
+ "pg=0.8\n",
+ "\n",
+ "#calculation\n",
+ "cosphi0=wo/(vo*io)\n",
+ "iw=io*cosphi0\n",
+ "imu=(1-iw**2)**0.5\n",
+ "r0=v1/iw\n",
+ "x0=v1/imu\n",
+ "r02=ws/i_s**2\n",
+ "z02=vs/i_s\n",
+ "x02=(z02**2-r02**2)**0.5\n",
+ "k=v2/v1\n",
+ "r01=r02/k**2\n",
+ "x01=x02/k**2\n",
+ "z01=z02/k**2\n",
+ "cu_loss=i2**2*r02\n",
+ "iron_loss=wo\n",
+ "total_loss=iron_loss+cu_loss\n",
+ "efficiency=i2*v2*pf/(i2*v2*pf+total_loss)\n",
+ "v1_=((vo*pf+x01)**2+(vo*math.sin(math.acos(pf))+i1*x01)**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"applied voltage=\",v1_,\"V\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "applied voltage= 251.442641983 V\n",
+ "efficiency= 96.3984469139 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 190
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.48, Page Number:1160"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=230.0#V\n",
+ "v2=230.0#V\n",
+ "load=3.0#kVA\n",
+ "vo=230.0#V\n",
+ "io=2.0#A\n",
+ "wo=100.0#W\n",
+ "vs=15.0#V\n",
+ "i_s=13.0#A\n",
+ "ws=120.0#W\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "i=load*1000/v1\n",
+ "cu_loss=ws\n",
+ "core_loss=wo\n",
+ "output=load*1000*pf\n",
+ "efficiency=output*100/(output+cu_loss+core_loss)\n",
+ "z=vs/i_s\n",
+ "r=ws/(vs**2)\n",
+ "x=(z**2-r**2)**0.5\n",
+ "regn=i*(r*pf+x*math.sin(math.acos(pf)))*100/v1\n",
+ "\n",
+ "#result\n",
+ "print \"regulation=\",regn,\"%\"\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 5.90121149256 %\n",
+ "efficiency= 91.6030534351 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 194
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.49, Page Number:1161"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "v1=500.0#V\n",
+ "v2=250.0#V\n",
+ "efficiency=0.94\n",
+ "per=0.90\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "output=per*load*1000\n",
+ "inpt=output/efficiency\n",
+ "loss=inpt-output\n",
+ "core_loss=loss/2\n",
+ "pc=core_loss/per**2\n",
+ "output=load*1000*pf\n",
+ "cu_loss=pc\n",
+ "efficiency=output/(output+cu_loss+core_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 92.5728354534 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 196
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.50, Page Number:1161"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "f=50.0#Hz\n",
+ "v1=2300.0#V\n",
+ "v2=230.0#V\n",
+ "r1=3.96#ohm\n",
+ "r2=0.0396#ohm\n",
+ "x1=15.8#ohm\n",
+ "x2=0.158#ohm\n",
+ "pf=0.8\n",
+ "v=230.0#V\n",
+ "\n",
+ "#calculations\n",
+ "i=load*1000/v\n",
+ "r=r2+r1*(v2/v1)**2\n",
+ "x=x1*(v2/v1)**2+x2\n",
+ "v1_=v2+i*(r*pf+x*math.sin(math.acos(pf)))\n",
+ "v1=v1_*(v1/v2)\n",
+ "phi=math.atan(r/x)\n",
+ "pf=math.cos(phi)\n",
+ "#result\n",
+ "print \"a)HV side voltage necessary=\",v1,\"V\"\n",
+ "print \"b)pf=\",round(pf,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)HV side voltage necessary= 2409.9826087 V\n",
+ "b)pf= 0.97\n"
+ ]
+ }
+ ],
+ "prompt_number": 199
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.51, Page Number:1162"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=5.0#kVA\n",
+ "v1=2200.0#V\n",
+ "v2=220.0#v\n",
+ "r1=3.4#ohm\n",
+ "x1=7.2#ohm\n",
+ "r2=0.028#ohm\n",
+ "x2=0.060#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "i=load*1000/v2\n",
+ "r=r1*(v2/v1)**2+r2\n",
+ "x=x1*(v2/v1)**2+x2\n",
+ "ad=i*r*pf\n",
+ "dc=i*x*math.sin(math.acos(pf))\n",
+ "oc=v2+ad+dc\n",
+ "bd=i*r*math.sin(math.acos(pf))\n",
+ "b_f=x*pf\n",
+ "cf=b_f-bd\n",
+ "v1_=(oc**2+cf**2)**0.5\n",
+ "v1=v1_*(v1/v2)\n",
+ "\n",
+ "#result\n",
+ "print \"terminal voltage on hv side=\",v1,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "terminal voltage on hv side= 2229.28500444 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 200
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.52, Page Number:1163"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=4.0#kVA\n",
+ "v1=200.0#V\n",
+ "v2=400.0#V\n",
+ "i1=0.7#A\n",
+ "w1=65.0#W\n",
+ "v=15.0#V\n",
+ "i2=10.0#A\n",
+ "w2=75.0#W\n",
+ "pf=0.80\n",
+ "#calculation\n",
+ "il=load*1000/v1\n",
+ "ih=load*1000/v2\n",
+ "cu_loss=w2\n",
+ "constant_loss=w1\n",
+ "z=v/i2\n",
+ "r=w2/i2**2\n",
+ "x=(z**2-r**2)**0.5\n",
+ "efficiency=load*100000/(load*1000+cu_loss+constant_loss)\n",
+ "regn=i2*(r*pf+x*math.sin(math.acos(pf)))\n",
+ "\n",
+ "#result\n",
+ "print \"full load efficiency=\",efficiency,\"%\"\n",
+ "print \"full load regulation=\",regn,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full load efficiency= 96.6183574879 %\n",
+ "full load regulation= 13.7942286341 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 209
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.53, Page Number:1164"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=3300.0#V\n",
+ "v2=230.0#V\n",
+ "load=50.0#kVA\n",
+ "z=4\n",
+ "cu_loss=1.8\n",
+ "\n",
+ "#calculations\n",
+ "x=(z**2-cu_loss**2)**0.5\n",
+ "i1=load*1000/v1\n",
+ "r01=cu_loss*v1/(100*i1)\n",
+ "x01=x*v1/(100*i1)\n",
+ "z01=z*v1/(100*i1)\n",
+ "isc=i1*100/z\n",
+ "print \n",
+ "#result\n",
+ "print \"%x=\",x,\"%\"\n",
+ "print \"resistance=\",r01,\"ohm\"\n",
+ "print \"reactance=\",x01,\"ohm\"\n",
+ "print \"impedence=\",z01,\"ohm\"\n",
+ "print \"primary sc current=\",isc,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "%x= 3.5721142199 %\n",
+ "resistance= 3.9204 ohm\n",
+ "reactance= 7.78006477094 ohm\n",
+ "impedence= 8.712 ohm\n",
+ "primary sc current= 378.787878788 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 214
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.54, Page Number:1164"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=20.0#kVA\n",
+ "v1=2200.0#V\n",
+ "v2=220.0#V\n",
+ "f=50.0#Hz\n",
+ "vo=220.0#V\n",
+ "i_o=4.2#A\n",
+ "wo=148.0#W\n",
+ "vs=86.0#V\n",
+ "i_s=10.5#A\n",
+ "ws=360.0#W\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "r01=ws/i_s**2\n",
+ "r02=k**2*r01\n",
+ "z10=vs/i_s\n",
+ "x01=(z10**2-r01**2)**0.5\n",
+ "x02=k**2*x01\n",
+ "i1=load*1000/v1\n",
+ "v1_=((v1*pf+i1*r01)**2+(v1*math.sin(math.acos(pf))+i1*x01)**2)**0.5\n",
+ "regn1=(v1_-v1)/v1\n",
+ "i2=i1/k\n",
+ "core_loss=wo\n",
+ "cu_loss=i1**2*r01\n",
+ "cu_loss_half=(i1/2)**2*r01\n",
+ "efficiency=load*1000*pf*100/(load*1000*pf+core_loss+cu_loss)\n",
+ "efficiency_half=(load/2)*1000*pf*100/((load/2)*1000*pf+core_loss+cu_loss)\n",
+ "print v1_ \n",
+ "#result\n",
+ "print \"a)core loss=\",wo,\"W\"\n",
+ "print \"b)equivalent resistance primary=\",r01,\"ohm\"\n",
+ "print \"c)equivalent resistance secondary=\",r02,\"ohm\"\n",
+ "print \"d)equivalent reactance primary=\",x01,\"ohm\"\n",
+ "print \"e)equivalent reactance secondary=\",x02,\"ohm\"\n",
+ "print \"f)regulation=\",regn1*100,\"%\"\n",
+ "print \"g)efficiency at full load=\",efficiency,\"%\"\n",
+ "print \"h)efficiency at half load=\",efficiency_half,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "2265.01840886\n",
+ "a)core loss= 148.0 W\n",
+ "b)equivalent resistance primary= 3.26530612245 ohm\n",
+ "c)equivalent resistance secondary= 0.0326530612245 ohm\n",
+ "d)equivalent reactance primary= 7.51143635755 ohm\n",
+ "e)equivalent reactance secondary= 0.0751143635755 ohm\n",
+ "f)regulation= 2.95538222101 %\n",
+ "g)efficiency at full load= 97.4548448466 %\n",
+ "h)efficiency at half load= 95.0360304208 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 222
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.55, Page Number:1165"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "er=1.0/100\n",
+ "ex=5.0/100\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "regn=er*pf+ex*math.sin(math.acos(pf))\n",
+ "regn2=er*1\n",
+ "regn3=er*pf-ex*math.sin(math.acos(pf))\n",
+ "\n",
+ "#result\n",
+ "print \"i)regulation with pf=0.8 lag=\",regn*100,\"%\"\n",
+ "print \"ii)regulation with pf=1=\",regn2*100,\"%\"\n",
+ "print \"iii)regulation with pf=0.8 lead=\",regn3*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)regulation with pf=0.8 lag= 3.8 %\n",
+ "ii)regulation with pf=1= 1.0 %\n",
+ "iii)regulation with pf=0.8 lead= -2.2 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 223
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.56, Page Number:1165"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=500#kVA\n",
+ "v1=3300#V\n",
+ "v2=500#V\n",
+ "f=50#Hz\n",
+ "per=0.97\n",
+ "ratio=3.0/4\n",
+ "zper=0.10\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "output=load*ratio*1\n",
+ "x=0.75\n",
+ "pi=0.5*(output*(1/per-1))\n",
+ "pc=pi/x**2\n",
+ "i1=load*1000/v1\n",
+ "r=pc*1000/i1**2\n",
+ "er=i1*r/v1\n",
+ "ez=zper\n",
+ "ex=(ez**2-er**2)**0.5\n",
+ "regn=er*pf+ex*math.sin(math.acos(pf))\n",
+ "\n",
+ "#result\n",
+ "print \"regulation=\",regn*100,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 7.52529846012 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 225
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.57, Page Number:1166"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "cu_loss=1.5#%\n",
+ "xdrop=3.5#%\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "pur=cu_loss/100\n",
+ "pux=xdrop/100\n",
+ "regn2=pur*pf+pux*math.sin(math.acos(pf))\n",
+ "regn1=pur*1\n",
+ "regn3=pur*pf-pux*math.sin(math.acos(pf))\n",
+ "\n",
+ "#result\n",
+ "print \"i)regulation at unity pf=\",regn1*100,\"%\"\n",
+ "print \"ii)regulation at 0.8 lag=\",regn2*100,\"%\"\n",
+ "print \"iii)regulation at 0.8 lead=\",regn3*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)regulation at unity pf= 1.5 %\n",
+ "ii)regulation at 0.8 lag= 3.3 %\n",
+ "iii)regulation at 0.8 lead= -0.9 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 226
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.58, Page Number:1168"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=250#KVA\n",
+ "w1=5.0#kW\n",
+ "w2=7.5#kW\n",
+ "efficiency=0.75\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "total_loss=w1+w2\n",
+ "loss=total_loss/2\n",
+ "cu_loss=efficiency**2*w2/2\n",
+ "output=load*efficiency*pf\n",
+ "efficiency=output*100/(output+cu_loss+2.5)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 97.0186963113 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 229
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.59, Page Number:1170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=25.0#kVA\n",
+ "v1=2000.0#V\n",
+ "v2=200.0#V\n",
+ "w1=350.0#W\n",
+ "w2=400.0#W\n",
+ "\n",
+ "#calculation\n",
+ "total_loss=w1+w2\n",
+ "output=load*1000*1\n",
+ "efficiency=output/(output+total_loss)\n",
+ "cu_loss=w2*(0.5)**2\n",
+ "total_loss=cu_loss+w1\n",
+ "efficiency2=(load*1000/2)/((load*1000/2)+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"i)efficiency at full load=\",efficiency*100,\"%\"\n",
+ "print \"ii)efficiency at half load=\",efficiency2*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)efficiency at full load= 97.0873786408 %\n",
+ "ii)efficiency at half load= 96.5250965251 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 232
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.60, Page Number:1170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "efficiency=0.75\n",
+ "\n",
+ "#calculation\n",
+ "ratio=efficiency**2\n",
+ "\n",
+ "#result\n",
+ "print \"ratio of P1 and P2=\",ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio of P1 and P2= 0.5625\n"
+ ]
+ }
+ ],
+ "prompt_number": 233
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.61, Page Number:1170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=11000.0#V\n",
+ "v2=230.0#V\n",
+ "load1=150.0#KVA\n",
+ "f=50.0#Hz\n",
+ "loss=1.4#kW\n",
+ "cu_loss=1.6#kW\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "load=load1*(cu_loss/loss)**0.5\n",
+ "total_loss=loss*2\n",
+ "output=load*1\n",
+ "efficiency=output/(output+total_loss)\n",
+ "cu_loss=cu_loss*(0.5)**2\n",
+ "total_loss=total_loss+cu_loss\n",
+ "output2=(load/2)*pf\n",
+ "efficiency2=output2/(output2+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"i)kVA load for max efficiency=\",load1,\"kVA\"\n",
+ "print \"max efficiency=\",efficiency*100,\"%\"\n",
+ "print \"ii)efficiency at half load=\",efficiency2*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)kVA load for max efficiency= 150.0 kVA\n",
+ "max efficiency= 98.283858876 %\n",
+ "ii)efficiency at half load= 95.2481856352 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 237
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.62, Page Number:1171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "%matplotlib inline\n",
+ "import matplotlib.pyplot as plt\n",
+ "#variable declaration\n",
+ "load=5#kVA\n",
+ "v1=2300#V\n",
+ "v2=230#V\n",
+ "f=50#Hz\n",
+ "iron_loss=40#W\n",
+ "cu_loss=112#W\n",
+ "pf=0.8\n",
+ "#calculations\n",
+ "def e(k):\n",
+ " e=k*pf*1000*100/(k*pf*1000+(cu_loss*(k/5)**2+40))\n",
+ " return(e)\n",
+ "\n",
+ "e1=e(1.25)\n",
+ "e2=e(2.5)\n",
+ "e3=e(3.75)\n",
+ "e4=e(5.0)\n",
+ "e5=e(6.25)\n",
+ "e6=e(7.5)\n",
+ "\n",
+ "K=[1.25,2.5,3.75,5.0,6.25,7.5]\n",
+ "E=[e1,e2,e3,e4,e5,e6]\n",
+ "plt.plot(K,E)\n",
+ "plt.xlabel(\"load,kVA\") \n",
+ "plt.ylabel(\"Efficiency\") \n",
+ "plt.xlim((0,8))\n",
+ "plt.ylim((92,98))\n",
+ "plt.show()\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEPCAYAAABFpK+YAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAG69JREFUeJzt3XuUXFWd9vHvQxoIIQgGuQoRRCUy3CEEMyQ0vKAYIzcD\nyAveGODFMJiFLG/ga9phgQO+6oy4RlEECQKDtFyEKAGUDkHkTggBuS4Qwi0wIQmEBDrJ7/1jn6Y7\nTXV3dbpOn+o6z2etXl116pyq3wr0s0/ts8/eigjMzKw81im6ADMzG1wOfjOzknHwm5mVjIPfzKxk\nHPxmZiXj4DczK5lcg1/SNEkPS5ovaVq2bXdJd0l6UNK9ksbmWYOZma0pt+CXtDNwIjAW2A2YLGkH\n4HxgekTsAXwve25mZoOkKcf3HgPcHRErACTNBo4EVgEbZ/tsAryQYw1mZtaN8rpzV9IY4HrgE8AK\n4M/APcDPgVmASN84PhERz+dShJmZvUduwQ8g6QRgKrAMeAR4mxT2bRFxraSjgJMj4uDcijAzszXk\nGvxrfJB0DrAA+EFEbJJtE7A4IjausL8nETIzWwsRod5ez3tUz+bZ79Gk/v0rgBcl7Z/tciDwRE/H\nR0Td/0yfPr3wGhqhRtfpOuv9Z6jUWY08L+4CtEraFGgHpkbEEkknAf8pqQlYDpyccw1mZtZFrsEf\nERMrbPsrsHeen2tmZj3znbsD1NzcXHQJfRoKNYLrrDXXWVtDpc5qDNrF3f6SFPVam5lZvZJEFHlx\n18zM6o+D38ysZBz8ZmYl4+A3MysZB7+ZWck4+M3MSsbBb2ZWMg5+M7OScfCbmZWMg9/MrGQc/GZm\nJePgNzMrGQe/mVnJOPjNzErGwW9mVjIOfjOzknHwm5mVjIPfzKxkHPxmZiXj4DczKxkHv5lZyTj4\nzcxKxsFvZlYyDn4zs5Jx8JuZlYyD38ysZHINfknTJD0sab6kadm2q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S5gFfIFsHIFtp66ps/z8C93R5zzHAa10/IyJa\ngV+Rrg8Mz7a3AjvR2Yc/gbT4yMtdjp0D7JR1L5kNCk/LbNZPkm4gXRBeWXQtZmvDwW9mVjLu6jEz\nKxkHv5lZyTj4zcxKxsFvZlYyDn4zs5Jx8JuZlYyD38ysZP4/yRihRWdm7REAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7f4da73a6050>"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.63, Page Number:1171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=200.0#kVA\n",
+ "efficiency=0.98\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "output=load*pf\n",
+ "inpt=output/efficiency\n",
+ "loss=inpt-output\n",
+ "x=loss*1000/(1+9.0/16)\n",
+ "y=(9.0/16)*x\n",
+ "cu_loss=x*(1.0/2)**2\n",
+ "total_loss=cu_loss+y\n",
+ "output=load*pf*0.5\n",
+ "efficiency=output/(output+total_loss/1000)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency at hald load=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency at hald load= 97.9216626699 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.64, Page Number:1172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=25.0#kVA\n",
+ "v1=2200.0#V\n",
+ "v2=220.0#V\n",
+ "r1=1.0#ohm\n",
+ "r2=0.01#ohm\n",
+ "pf=0.8\n",
+ "loss=0.80\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "r02=r2+k**2*r1\n",
+ "i2=load*1000/v2\n",
+ "cu_loss=i2**2*r02\n",
+ "iron_loss=loss*cu_loss\n",
+ "total_loss=cu_loss+iron_loss\n",
+ "output=load*pf*1000\n",
+ "efficiency=output/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"secondary resistance=\",r02,\"ohm\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "secondary resistance= 0.02 ohm\n",
+ "efficiency= 97.7284199899 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.65, Page Number:1172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=4.0#kVA\n",
+ "v1=200.0#V\n",
+ "v2=400.0#V\n",
+ "r01=0.5#ohm\n",
+ "x01=1.5#ohm\n",
+ "ratio=3.0/4\n",
+ "pf=0.8\n",
+ "v=220.0#V\n",
+ "loss=100.0#W\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "r02=k**2*r01\n",
+ "x02=k**2*x01\n",
+ "i2=1000*load*ratio/v2\n",
+ "drop=i2*(r02*pf+x02*math.sin(math.acos(pf)))\n",
+ "v2=v2-drop\n",
+ "cu_loss=i2**2*r02\n",
+ "total_loss=loss+cu_loss\n",
+ "output=load*ratio*pf\n",
+ "inpt=output*1000+total_loss\n",
+ "efficiency=output*1000/(inpt)\n",
+ "#result\n",
+ "print \"output=\",output,\"w\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output= 2.4 w\n",
+ "efficiency= 91.8660287081 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.66, Page Number:1172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=20.0#KVA\n",
+ "v1=440.0#V\n",
+ "v2=220.0#V\n",
+ "f=50.0#Hz\n",
+ "loss=324.0#W\n",
+ "cu_loss=100.0#W\n",
+ "pf=0.8\n",
+ "#calculations\n",
+ "cu_loss=4*cu_loss\n",
+ "efficiency=load*pf/(load*pf+cu_loss/1000+loss/1000)\n",
+ "per=(loss/cu_loss)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"i)efficiency=\",efficiency*100,\"%\"\n",
+ "print \"ii)percent of full-load=\",per*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)efficiency= 95.6708921311 %\n",
+ "ii)percent of full-load= 90.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.67, Page Number:1173"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=4.0#kVA\n",
+ "v1=200.0#V\n",
+ "v2=400.0#V\n",
+ "pf=0.8\n",
+ "vo=200.0#V\n",
+ "io=0.8#A\n",
+ "wo=70.0#W\n",
+ "vs=20.0#V\n",
+ "i_s=10.0#A\n",
+ "ws=60.0#W\n",
+ "\n",
+ "#calculation\n",
+ "i2=load*1000/v2\n",
+ "loss=ws+wo\n",
+ "output=load*pf\n",
+ "efficiency=output/(output+loss/1000)\n",
+ "z02=vs/i_s\n",
+ "r02=ws/i2**2\n",
+ "x02=(z02**2-r02**2)**0.5\n",
+ "drop=i2*(r02*pf+x02*math.sin(math.acos(pf)))\n",
+ "v2=v2-drop\n",
+ "i1=load*1000/v1\n",
+ "load=load*(wo/ws)**0.5\n",
+ "load=load*1\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\"\n",
+ "print \"secondary voltage=\",v2,\"V\"\n",
+ "print \"current=\",i1,\"A\"\n",
+ "print \"load at unity pf=\",load,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 96.0960960961 %\n",
+ "secondary voltage= 383.752729583 V\n",
+ "current= 20.0 A\n",
+ "load at unity pf= 4.32049379894 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.68, Page Number:1173"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "Wi=Symbol('Wi')\n",
+ "Wcu=Symbol('Wcu')\n",
+ "P=600.0#kVA\n",
+ "e=0.92#efficiency\n",
+ "pf=0.8\n",
+ "x=0.6\n",
+ "\n",
+ "#calculations\n",
+ "ans=solve([(e*(1*P*1+Wi+1**2*Wcu))-(1*P*1),(e*(0.5*P*1+Wi+0.5*0.5*Wcu))-(0.5*P*1)],[Wi,Wcu])\n",
+ "e2=(x*P*pf*100)/((x*P*pf)+ans[Wi]+(x**2*ans[Wcu]))\n",
+ "\n",
+ "#result\n",
+ "print \"Efficiency=\",round(e2,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency= 90.6 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.69, Page Number:1174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "x=Symbol('x')\n",
+ "y=Symbol('y')\n",
+ "load=600.0#KVA\n",
+ "efficiency=0.92\n",
+ "per=0.60\n",
+ "\n",
+ "#calculation\n",
+ "inpt=load/efficiency\n",
+ "loss1=inpt-load\n",
+ "inpt2=load/(2*efficiency)\n",
+ "loss2=inpt2-load/2\n",
+ "ans=solve([x+y-loss1,x+y/4-loss2],[x,y])\n",
+ "cu_loss=ans[y]*0.36\n",
+ "loss=cu_loss+ans[x]\n",
+ "output=load*per\n",
+ "efficiency=output/(output+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "389.913043478261\n",
+ "efficiency= 92.3282783229260 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.70, Page Number:1174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100#kVA\n",
+ "e1=0.98\n",
+ "e2=0.80\n",
+ "pf=8\n",
+ "z=0.05\n",
+ "pf1=0.8\n",
+ "\n",
+ "#calculations\n",
+ "output=load*pf1*e2\n",
+ "inpt=output/e1\n",
+ "loss=-output+inpt\n",
+ "cu_loss=loss/2\n",
+ "cu_loss_full=cu_loss/pf1**2\n",
+ "r=round(cu_loss_full*100/load)\n",
+ "sin=math.sin(math.acos(pf1))\n",
+ "regn=(r*pf1+5*sin)+(1.0/200)*(5*pf1-r*sin)**2\n",
+ "#result\n",
+ "print \"voltage regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage regulation= 3.8578 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.71, Page Number:1174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#KVA\n",
+ "v1=5000.0#V\n",
+ "v2=440.0#V\n",
+ "f=25.0#Hz\n",
+ "cu_loss=1.5\n",
+ "we=0.5\n",
+ "wh=0.6\n",
+ "v2=10000.0\n",
+ "#calculations\n",
+ "cu_loss1=cu_loss*load/100\n",
+ "we1=we*load/100\n",
+ "wh1=wh*load/100\n",
+ "cu_loss2=cu_loss1\n",
+ "we2=(we1*(50.0/25.0)**2)\n",
+ "wh2=(wh1*(50.0/25))\n",
+ "e1=load*100/(load+cu_loss1+we1+wh1)\n",
+ "e2=load*2*100/(load*2+cu_loss2+we2+wh2)\n",
+ "\n",
+ "#result\n",
+ "print \"full load efficiency in first case=\",e1,\"%\"\n",
+ "print \"full load efficiency in second case=\",e2,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "20.47 0.06 0.05\n",
+ "full load efficiency in first case= 97.4658869396 %\n",
+ "full load efficiency in second case= 97.7039570103 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 47
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.72, Page Number:1175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=300#KVA\n",
+ "r=1.5#%\n",
+ "load1=173.2#kVA\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "cu_loss=r*load*1000/100\n",
+ "iron_loss=(load1/load)**2*cu_loss\n",
+ "total_loss=cu_loss+iron_loss\n",
+ "efficiency=(load*pf)*100/((load*pf)+(total_loss/1000))\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 97.5610105096 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 53
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.73, Page Number:1175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100#kVA\n",
+ "v1=2300#V\n",
+ "v2=230.0#V\n",
+ "f=50#Hz\n",
+ "phim=1.2#Wb/m2\n",
+ "a=0.04#m2\n",
+ "l=2.5#m\n",
+ "bm=1200\n",
+ "inpt=1200#W\n",
+ "pi=400#W\n",
+ "efficiency=0.75\n",
+ "pf=0.8\n",
+ "f2=100#Hz\n",
+ "\n",
+ "#calculation\n",
+ "n1=v1/(4.44*f*phim*a)\n",
+ "k=v2/v1\n",
+ "n2=k*n1\n",
+ "i=1989/n1\n",
+ "cu_loss=efficiency**2*inpt\n",
+ "total_loss=pi+cu_loss\n",
+ "output=load*efficiency*pf\n",
+ "efficiency=output*100/(output+total_loss/1000)\n",
+ "\n",
+ "#result\n",
+ "print \"a)n1=\",round(n1)\n",
+ "print \" n2=\",round(n2)\n",
+ "print \"b)magnetising current=\",i,\"A\"\n",
+ "print \"c)efficiency=\",efficiency,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.00643416423287\n",
+ "a)n1= 216.0\n",
+ " n2= 22.0\n",
+ "b)magnetising current= 9.21512347826 A\n",
+ "c)efficiency= 98.2398690135 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.74, Page Number:1176"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r=1.8\n",
+ "x=5.4\n",
+ "\n",
+ "#calculation\n",
+ "pf=r/x\n",
+ "phi=math.atan(pf)\n",
+ "phi2=math.atan(x/r)\n",
+ "regn=r*math.cos(phi2)+x*math.sin(phi2)\n",
+ "efficiency=100/(100+r*2)\n",
+ "\n",
+ "#result\n",
+ "print \"a)i)phi=\",math.degrees(phi),\"degrees\"\n",
+ "print \" ii)regulation=\",regn,\"%\"\n",
+ "print \"b)efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)i)phi= 18.4349488229 degrees\n",
+ " ii)regulation= 5.6920997883 %\n",
+ "b)efficiency= 96.5250965251 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.75, Page Number:1176"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "f=50.0#Hz\n",
+ "v1=500.0#V\n",
+ "v2=250.0#V\n",
+ "vo=250.0#V\n",
+ "io=3.0#A\n",
+ "wo=200.0#W\n",
+ "vsc=15.0#V\n",
+ "isc=30.0#A\n",
+ "wsc=300.0#W\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "i=load*1000/v2\n",
+ "cu_loss=(i/isc)**2*wsc\n",
+ "output=load*1000*pf\n",
+ "efficiency=output*100/(output+cu_loss+wo)\n",
+ "z=vsc/isc\n",
+ "r=wsc/isc**2\n",
+ "x=(z**2-r**2)**0.5\n",
+ "regn=(i/v2)*(r*pf-x*math.sin(math.acos(pf)))*v2\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\"\n",
+ "print \"regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 91.6030534351 %\n",
+ "regulation= 1.72239475667 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 64
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.76, Page Number:1177"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=40.0#kVA\n",
+ "loss=400.0#W\n",
+ "cu_loss=800.0#W\n",
+ "\n",
+ "#calculation\n",
+ "x=(loss/cu_loss)**0.5\n",
+ "output=load*x*1\n",
+ "efficiency=output/(output+load*2/100)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 97.2493723732 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 71
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.77, Page Number:1178"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10#kVA\n",
+ "v1=500#V\n",
+ "v2=250#V\n",
+ "vsc=60#V\n",
+ "isc=20#A\n",
+ "wsc=150#W\n",
+ "per=1.2\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "i=load*1000/v1\n",
+ "cu_loss=per**2*wsc\n",
+ "output=per*load*1.0\n",
+ "efficiency=output*100/(output+cu_loss*2/1000)\n",
+ "output=load*1000*pf\n",
+ "e2=output*100/(output+cu_loss+wsc)\n",
+ "\n",
+ "#result\n",
+ "print \"maximum efficiency=\",efficiency,\"%\"\n",
+ "print \"full-load efficiency=\",e2,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum efficiency= 96.5250965251 %\n",
+ "full-load efficiency= 95.6251494143 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.78, Page Number:1181"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=500.0#kVA\n",
+ "cu_loss=4.5#kW\n",
+ "iron_loss=3.5#kW\n",
+ "t1=6.0#hrs\n",
+ "t2=10.0#hrs\n",
+ "t3=4.0#hrs\n",
+ "t4=4.0#hrs\n",
+ "load1_=400.0#kW\n",
+ "load2_=300.0#kW\n",
+ "load3_=100.0#kW\n",
+ "pf1=0.8\n",
+ "pf2=0.75\n",
+ "pf3=0.8\n",
+ "\n",
+ "#calculations\n",
+ "load1=load1_/pf1\n",
+ "load2=load2_/pf2\n",
+ "load3=load3_/pf3\n",
+ "wc1=cu_loss\n",
+ "wc2=cu_loss*(load2/load1)**2\n",
+ "wc3=cu_loss*(load3/load1)**2\n",
+ "twc=(t1*wc1)+(t2*wc2)+(t3*wc3)+(t4*0)\n",
+ "iron_loss=24*iron_loss\n",
+ "total_loss=twc+iron_loss\n",
+ "output=(t1*load1_)+(t2*load2_)+(t3*load3_)\n",
+ "efficiency=output*100/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",round(efficiency,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 97.6 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 86
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.79, Page Number:1182"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100.0#kVA\n",
+ "loss=3.0#kW\n",
+ "tf=3.0#hrs\n",
+ "th=4.0#hrs\n",
+ "\n",
+ "#calculation\n",
+ "iron_loss=loss*24/2\n",
+ "wcf=loss*tf/2\n",
+ "wch=loss/8\n",
+ "wch=wch*4\n",
+ "total_loss=iron_loss+wch+wcf\n",
+ "output=load*tf+load*th/2\n",
+ "efficiency=output*100/(output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 92.2509225092 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 89
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.80, Page Number:1182"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=100.0#KW\n",
+ "efficiency=0.98\n",
+ "tf=4.0#hrs\n",
+ "th=6.0#hrs\n",
+ "t10=14.0#hrs\n",
+ "\n",
+ "#calculations\n",
+ "#1st transformer\n",
+ "inpt=load/efficiency\n",
+ "tloss=inpt-load\n",
+ "y=tloss/2\n",
+ "x=y\n",
+ "iron_loss=x*24\n",
+ "cu_loss=x*tf+th*(x/2**2)+t10*(x/10**2)\n",
+ "loss=iron_loss+cu_loss\n",
+ "output=tf*load+th*load/2+t10*10\n",
+ "e1=output/(output+loss)\n",
+ "#2nd transformer\n",
+ "y=tloss/(1+1.0/4)\n",
+ "x=(tloss-y)\n",
+ "iron_loss=x*24\n",
+ "wc=tf*y+th*(y/2**2)+t10*(y/10**2)\n",
+ "loss=iron_loss+wc\n",
+ "e2=output/(output+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency of forst transformer=\",e1*100,\"%\"\n",
+ "print \"efficiency ofsecond transformer=\",e2*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.408163265306 1.63265306122\n",
+ "efficiency of forst transformer= 96.5245532574 %\n",
+ "efficiency ofsecond transformer= 97.7876610788 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 96
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.81, Page Number:1183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=5.0#kVA\n",
+ "efficiency=0.95\n",
+ "nl=10.0#hrs\n",
+ "ql=7.0#hrs\n",
+ "hl=5.0#hrs\n",
+ "fl=2.0#hrs\n",
+ "\n",
+ "#calculations\n",
+ "inpt=load/efficiency\n",
+ "loss=inpt-load\n",
+ "wc_fl=loss/2\n",
+ "iron_loss=loss/2\n",
+ "wc_fl_4=(1.0/4)**2*wc_fl\n",
+ "wc_fl_2=(1.0/2)**2*wc_fl\n",
+ "wc_ql=ql*wc_fl_4\n",
+ "wc_hl=hl*wc_fl_2\n",
+ "wc_fl_2=fl*wc_fl\n",
+ "wc=wc_ql+wc_hl+wc_fl_2\n",
+ "wh=wc\n",
+ "loss=wh+24*iron_loss\n",
+ "output=load*1\n",
+ "half_output=(output/2)\n",
+ "q_load=(load/4)\n",
+ "output=ql*q_load+hl*half_output+fl*output\n",
+ "e=output*100/(output+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",e,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 89.5592740985 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 115
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.82, Page Number:1183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "efficiency=0.98\n",
+ "load=15#kVA\n",
+ "t1=12.0#hrs\n",
+ "t2=6.0#hrs\n",
+ "t3=6.0#hrs\n",
+ "pf1=0.5\n",
+ "pf2=0.8\n",
+ "k1=2#kW\n",
+ "k2=12#kW\n",
+ "\n",
+ "#calculations\n",
+ "output=load*1\n",
+ "inpt=output/efficiency\n",
+ "loss=inpt-output\n",
+ "wc=loss/2\n",
+ "wi=loss/2\n",
+ "w1=k1/pf1\n",
+ "w2=k2/pf2\n",
+ "wc1=wc*(4/load)\n",
+ "wc2=wc\n",
+ "wc12=t1*wc1\n",
+ "wc6=t2*wc2\n",
+ "wc=(wc12+wc6)\n",
+ "wi=24*wi\n",
+ "output=(k1*t1)+(t2*k2)\n",
+ "inpt=output+wc+wi\n",
+ "e=output*100/inpt\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",e,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.918367346939 3.67346938776\n",
+ "efficiency= 95.4351795496 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 120
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.83, Page Number:1184"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=150.0#KVA\n",
+ "l1_=100.0#kVA\n",
+ "t=3.0#hrs\n",
+ "loss=1.0#KW\n",
+ "\n",
+ "#calculations\n",
+ "l1=l1_/2\n",
+ "l2=l1_\n",
+ "output=load*1\n",
+ "loss=loss*2\n",
+ "e1=output/(output+loss)\n",
+ "wc1=t*(1.0/3)**2*1\n",
+ "wc2=8*(2.0/3)**2*1\n",
+ "wc=wc1+wc2\n",
+ "wi=24*1\n",
+ "loss=wc+wi\n",
+ "output=3*(l1*1)+8*(l2*1)\n",
+ "e2=(output*100)/(output+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"ordinary efficiency=\",e1*100,\"%\"\n",
+ "print \"all day efficiency=\",e2,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ordinary efficiency= 98.6842105263 %\n",
+ "all day efficiency= 97.1480513578 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 127
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.84, Page Number:1184"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=50#KVA\n",
+ "efficiency=0.94#%\n",
+ "nl=10\n",
+ "hl=5.0\n",
+ "ql=6.0\n",
+ "fl=3.0\n",
+ "\n",
+ "#calculations\n",
+ "pi=0.5*(load*1000)*(1-efficiency)/efficiency\n",
+ "wch=(0.5)**2*pi\n",
+ "eh=wch*hl/1000\n",
+ "wcq=(0.25)**2*pi\n",
+ "eq=ql*wcq/1000\n",
+ "e3=pi*3/1000\n",
+ "e2=pi*24/1000\n",
+ "e=25*hl+12.5*ql+50*fl\n",
+ "efficiency=e/(e+e2+eh+eq+e3)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 88.4557217274 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 129
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.85, Page Number:1185"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "t1=7.0#hrs\n",
+ "t2=4.0#hrs\n",
+ "t3=8.0#hrs\n",
+ "t4=5.0#hrs\n",
+ "k1=3.0#kW\n",
+ "k2=8.0#kW\n",
+ "pf1=0.6\n",
+ "pf2=0.8\n",
+ "\n",
+ "#calculations\n",
+ "x1=k1/(pf1*load)\n",
+ "x2=k2/(pf2*load)\n",
+ "x3=load/(1*load)\n",
+ "pc1=(0.5)**2*0.1\n",
+ "pc2=pc3=0.10\n",
+ "o1=k1*t1\n",
+ "o2=k2*t2\n",
+ "o3=k2*load\n",
+ "output=o1+o2+o3\n",
+ "wc1=pc1*t1\n",
+ "wc2=pc2*t2\n",
+ "wc3=pc3*t3\n",
+ "cu_loss=wc1+wc2+wc3\n",
+ "loss=400.0*24/10000\n",
+ "efficiency=output/(output+loss+cu_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficency= 98.27465179 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 142
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.86, Page Number:1185"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "efficiency=.98\n",
+ "load=15.0#kVA\n",
+ "t1=12.0\n",
+ "t2=6.0\n",
+ "t3=6.0\n",
+ "pf1=0.8\n",
+ "pf2=0.8\n",
+ "pf3=0.9\n",
+ "k1=2.0\n",
+ "k2=12.0\n",
+ "k3=18.0\n",
+ "#calculations\n",
+ "output=load*1000\n",
+ "inpt=output/efficiency\n",
+ "loss=inpt-output\n",
+ "cu_loss=loss/2\n",
+ "x1=k1/(0.5*load)\n",
+ "x2=k2/(pf2*load)\n",
+ "x3=k3/(pf3*load)\n",
+ "wc1=0.131\n",
+ "wc2=0.918\n",
+ "wc3=1.632\n",
+ "o1=t1*k1\n",
+ "o2=t2*k2\n",
+ "o3=t3*k3\n",
+ "output=o1+o2+o3\n",
+ "loss=wc1+wc2+wc3+0.153*24\n",
+ "efficiency=(output*100)/(output+loss)\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 96.9798386522 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 143
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.87, Page Number:1188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=3.0#kW\n",
+ "v1=115.0#V\n",
+ "v2=230.0#V\n",
+ "\n",
+ "#calculation\n",
+ "k=v1/v2\n",
+ "power=load*(1-k)\n",
+ "power2=k*load\n",
+ "\n",
+ "#result\n",
+ "print \"a)power transferred inductively=\",power,\"kW\"\n",
+ "print \"b)power transferred conductively=\",power2,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)power transferred inductively= 1.5 kW\n",
+ "b)power transferred conductively= 1.5 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 145
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.88, Page Number:1188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=500.0#V\n",
+ "v2=400.0#V\n",
+ "i=100.0#A\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "i1=k*i\n",
+ "saving=k*100\n",
+ "\n",
+ "#result\n",
+ "print \"economy of cu=\",saving"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "economy of cu= 80.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 147
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.89, Page Number:1188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=500.0#KVA\n",
+ "f=50.0#Hz\n",
+ "v1=6600.0#V\n",
+ "v2=5000.0#V\n",
+ "e=8.0#V\n",
+ "phim1=1.3#Wb/m2\n",
+ "\n",
+ "#calculations\n",
+ "phim=e/(4.44*f)\n",
+ "area=phim/phim1\n",
+ "n1=v1/e\n",
+ "n2=v2/e\n",
+ "\n",
+ "#result\n",
+ "print \"core area=\",area*10000,\"m2\"\n",
+ "print \"number of turns on the hv side=\",n1\n",
+ "print \"number of turns on the lv side=\",n2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "core area= 277.2002772 m2\n",
+ "number of turns on the hv side= 825.0\n",
+ "number of turns on the lv side= 625.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 150
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.90, Page Number:1189"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=20.0#KVA\n",
+ "v1=2400.0#V\n",
+ "v2=240.0#V\n",
+ "\n",
+ "#calculation\n",
+ "i1=round(load*1000/v1,1)\n",
+ "k=v2/v1\n",
+ "i2=i1/k\n",
+ "kva=2640*i2*0.001\n",
+ "kva_per=kva*100/load\n",
+ "i1_=kva*1000/v1\n",
+ "ic=i1_-i2\n",
+ "over=ic*100/i1\n",
+ "\n",
+ "#result\n",
+ "print \"i)i1=\",i1,\"A\"\n",
+ "print \"ii)i2=\",i2,\"A\"\n",
+ "print \"iii)kVA rating=\",kva,\"kVA\"\n",
+ "print \"iv)per cent increase in kVA=\",kva_per,\"%\"\n",
+ "print \"v)I1=\",i1_,\"A\"\n",
+ "print \" Ic=\",ic,\"A\"\n",
+ "print \"vi)per cent overload=\",over,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)i1= 8.3 A\n",
+ "ii)i2= 83.0 A\n",
+ "iii)kVA rating= 219.12 kVA\n",
+ "iv)per cent increase in kVA= 1095.6 %\n",
+ "v)I1= 91.3 A\n",
+ " Ic= 8.3 A\n",
+ "vi)per cent overload= 100.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 159
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.91, Page Number:1190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=20.0#KVA\n",
+ "v1=2400.0#V\n",
+ "v2=240.0#V\n",
+ "\n",
+ "#calculation\n",
+ "i1=round(load*1000/v1,1)\n",
+ "k=v2/v1\n",
+ "i2=i1/k\n",
+ "kva=2160*i2*0.001\n",
+ "kva_per=kva*100/load\n",
+ "i1_=kva*1000/v1\n",
+ "ic=i2-i1_\n",
+ "over=ic*100/i1\n",
+ "\n",
+ "#result\n",
+ "print \"i)i1=\",i1,\"A\"\n",
+ "print \"ii)i2=\",i2,\"A\"\n",
+ "print \"iii)kVA rating=\",kva,\"kVA\"\n",
+ "print \"iv)per cent increase in kVA=\",kva_per,\"%\"\n",
+ "print \"v)I1=\",i1_,\"A\"\n",
+ "print \" Ic=\",ic,\"A\"\n",
+ "print \"vi)per cent overload=\",over,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)i1= 8.3 A\n",
+ "ii)i2= 83.0 A\n",
+ "iii)kVA rating= 179.28 kVA\n",
+ "iv)per cent increase in kVA= 896.4 %\n",
+ "v)I1= 74.7 A\n",
+ " Ic= 8.3 A\n",
+ "vi)per cent overload= 100.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 160
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.92, Page Number:1190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=5.0#kVA\n",
+ "v1=110.0#V\n",
+ "v2=110.0#V\n",
+ "f=50.0#Hz\n",
+ "efficiency=0.95\n",
+ "iron_loss=50.0#W\n",
+ "v=220.0#V\n",
+ "\n",
+ "#calculations\n",
+ "cu_loss=load*1000/efficiency-load*1000-iron_loss\n",
+ "efficiency=load*1000/(load*1000+cu_loss/4+iron_loss)\n",
+ "i2=(load*1000+cu_loss/4+iron_loss)/v\n",
+ "\n",
+ "#result\n",
+ "print \"efficiency=\",efficiency*100,\"%\"\n",
+ "print \"current drawn on hv side=\",i2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "efficiency= 97.9760216579 %\n",
+ "current drawn on hv side= 23.1967703349 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 163
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.93, Page Number:1191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=11500#V\n",
+ "v2=2300#V\n",
+ "\n",
+ "#calculations\n",
+ "kva=(v1+v2)*50*0.001\n",
+ "\n",
+ "#result\n",
+ "print \"voltage output=\",v1+v2,\"V\"\n",
+ "print \"kVA rating of auto transformer=\",kva,\"kVA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage output= 13800 V\n",
+ "kVA rating of auto transformer= 690.0 kVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 164
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.94, Page Number:1191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=11500.0#V\n",
+ "v2=2300.0#V\n",
+ "load=100.0#KVA\n",
+ "\n",
+ "#calculations\n",
+ "i1=load*100/v1\n",
+ "i2=load*100/v2\n",
+ "kva1=(v1+v2)*i1/(100)\n",
+ "kva2=(v1+v2)*i2/(100)\n",
+ "#result\n",
+ "print \"voltage ratios=\",(v1+v2)/v1,\"or\",(v1+v2)/v2\n",
+ "print \"kVA rating in first case=\",kva1\n",
+ "print \"kVA rating in second case=\",kva2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage ratios= 1.2 or 6.0\n",
+ "kVA rating in first case= 120.0\n",
+ "kVA rating in second case= 600.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 167
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.95, Page Number:1192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=2400.0#v\n",
+ "v2=240.0#V\n",
+ "load=50.0#kVA\n",
+ "\n",
+ "#calculations\n",
+ "i1=load*1000/v1\n",
+ "i2=load*1000/v2\n",
+ "output=2640*i2\n",
+ "i=i2*2640/v1\n",
+ "k=2640/v1\n",
+ "poweri=v1*i1*0.001\n",
+ "power=output/1000-poweri\n",
+ "\n",
+ "#result\n",
+ "print \"rating of the auto-transformer=\",output/1000,\"kVA\"\n",
+ "print \"inductively transferred powers=\",poweri,\"kW\"\n",
+ "print \"conductively transferred powers=\",power,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rating of the auto-transformer= 550.0 kVA\n",
+ "inductively transferred powers= 50.0 kW\n",
+ "conductively transferred powers= 500.0 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 169
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.96, Page Number:1196"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "za=complex(0.5,3)\n",
+ "zb=complex(0.,10)\n",
+ "load=100#KW\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "s=load/pf*complex(pf,math.sin(math.acos(pf)))\n",
+ "sa=s*zb/(za+zb)\n",
+ "sb=s*za/(za+zb)\n",
+ "\n",
+ "#result\n",
+ "print \"SA=\",abs(sa)*math.cos(math.atan(sa.imag/sa.real)),\"kW\"\n",
+ "print \"SB=\",abs(sb)*math.cos(math.atan(sb.imag/sb.real)),\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "96.082805253\n",
+ "SA= 74.5937961595 kW\n",
+ "SB= 25.4062038405 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 174
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.97, Page Number:1197"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r1=0.005#ohm\n",
+ "r2=0.01#ohm\n",
+ "x1=0.05#ohm\n",
+ "x2=0.04#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "za=complex(r1,x1)\n",
+ "zb=complex(r2,x2)\n",
+ "pf=math.cos(math.degrees((-1)*math.acos(pf))*math.degrees(math.atan((za/zb).imag/(za/zb).real)))\n",
+ "\n",
+ "#result\n",
+ "print \"load of B=\",abs(za/zb)\n",
+ "print \"pf of B=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load of B= 1.21872643265\n",
+ "pf of B= 0.613584256393\n"
+ ]
+ }
+ ],
+ "prompt_number": 202
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.98, Page Number:1197"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=250#kVA\n",
+ "za=complex(1,6)\n",
+ "zb=complex(1.2,4.8)\n",
+ "load1=500#kVA\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "s=load1*complex(-pf,math.sin(math.acos(pf)))\n",
+ "sa=s*zb/(za+zb)\n",
+ "sb=s*za/(za+zb)\n",
+ "\n",
+ "#result\n",
+ "print \"SA=\",abs(sa),math.degrees(math.atan(sa.imag/sa.real)),\"degrees\"\n",
+ "print \"SB=\",abs(sb),math.degrees(math.atan(sb.imag/sb.real)),\"degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "SA= 224.451917244 -39.3923099293\n",
+ "SB= 275.942423833 -34.8183886694\n"
+ ]
+ }
+ ],
+ "prompt_number": 205
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.99, Page Number:1197"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variabledeclaration\n",
+ "load=100.0#KW\n",
+ "r1=0.5\n",
+ "x1=8.0\n",
+ "r2=0.75\n",
+ "x2=4.0\n",
+ "load1=180.0#kW\n",
+ "pf=0.9\n",
+ "\n",
+ "#calculations\n",
+ "load=load1/pf\n",
+ "s=load*complex(pf,-math.sin(math.acos(pf)))\n",
+ "z1=complex(r1,x1)\n",
+ "z2=complex(r2,x2)\n",
+ "s1=s*z2/(z1+z2)\n",
+ "s2=s*z1/(z1+z2)\n",
+ "kw1=abs(s1)*math.cos(math.atan(s1.imag/s1.real))\n",
+ "kw2=abs(s2)*math.cos(math.atan(s2.imag/s2.real))\n",
+ "\n",
+ "#result\n",
+ "print \"kW1=\",kw1,\"kW\"\n",
+ "print \"kW2=\",kw2,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(1.25+12j)\n",
+ "kW1= 58.119626171 kW\n",
+ "kW2= 121.880373829 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 214
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.100, Page Number:1197"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=200.0#kW\n",
+ "pf=0.85\n",
+ "za=complex(1,5)\n",
+ "zb=complex(2,6)\n",
+ "\n",
+ "#calculations\n",
+ "s=load/pf*complex(0.85,-0.527)\n",
+ "sa=s*zb/(za+zb)\n",
+ "sb=s*za/(za+zb)\n",
+ "\n",
+ "#result\n",
+ "print \"kVA for A=\",abs(sa),math.cos(math.atan(sa.imag/sa.real)),\"lag\"\n",
+ "print \"kVA for B=\",abs(sb),math.cos(math.atan(sb.imag/sb.real)),\"lag\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kVA for A= 130.53263665 0.819364787986 lag\n",
+ "kVA for B= 105.238776124 0.884143252833 lag\n"
+ ]
+ }
+ ],
+ "prompt_number": 216
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.101, Page Number:1198"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=2200.0#V\n",
+ "v2=110.0#V\n",
+ "load=125.0#kVA\n",
+ "pf=0.8\n",
+ "za=complex(0.9,10)\n",
+ "zb=(100/50)*complex(1.0,5)\n",
+ "\n",
+ "#calculation\n",
+ "s=load*complex(pf,-math.sin(math.acos(pf)))\n",
+ "sa=s*zb/(za+zb)\n",
+ "sb=s*za/(za+zb)\n",
+ "\n",
+ "#result\n",
+ "print \"SA=\",abs(sa),math.degrees(math.atan(sa.imag/sa.real)),\"degrees\"\n",
+ "print \"SB=\",abs(sb),math.degrees(math.atan(sb.imag/sb.real)),\"degrees\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "SA= 63.0780848499 -39.929442891 degrees\n",
+ "SB= 62.1031510961 -33.7622749748 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 218
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.102, Page Number:1199"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load1=500#kVA\n",
+ "za=complex(1,5)\n",
+ "load2=250#kVA\n",
+ "zb=complex(1.5,4)\n",
+ "v2=400#V\n",
+ "load=750#kVA\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "zb=(500/load2)*zb\n",
+ "s=load*complex(pf,-math.sin(math.acos(pf)))\n",
+ "sa=s*zb/(za+zb)\n",
+ "sb=s*za/(za+zb)\n",
+ "\n",
+ "#result\n",
+ "print \"SA=\",abs(sa),math.degrees(math.atan(sa.imag/sa.real)),\"degrees\"\n",
+ "print \"SB=\",abs(sb),math.degrees(math.atan(sb.imag/sb.real)),\"degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "SA= 471.125736359 -40.3232138964 degrees\n",
+ "SB= 281.165527855 -31.0771011508 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 219
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.103, Page Number:1199"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=1000#A\n",
+ "pf=0.8\n",
+ "za=complex(2,3)\n",
+ "zb=complex(2.5,5)\n",
+ "\n",
+ "#calculations\n",
+ "i=i*complex(pf,-math.sin(math.acos(pf)))\n",
+ "ratio=zb/za\n",
+ "ib=i/(1+ratio)\n",
+ "ia=i-ib\n",
+ "ratio=ia.real/ib.real\n",
+ "\n",
+ "#result\n",
+ "print \"IA=\",ia\n",
+ "print \"IB=\",ib\n",
+ "print \"ratio of output=\",ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "IA= (504.451038576-341.246290801j)\n",
+ "IB= (295.548961424-258.753709199j)\n",
+ "ratio of output= 1.70682730924\n"
+ ]
+ }
+ ],
+ "prompt_number": 220
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.104, Page Number:1200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v1=1000.0#V\n",
+ "v2=500.0#V\n",
+ "load=100.0#kVA\n",
+ "za=complex(1.0,5.0)\n",
+ "zb=complex(2.0,2.0)\n",
+ "load1=300.0#kVA\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "zb=(100.0/250)*zb\n",
+ "s=load1*complex(pf,-math.sin(math.acos(pf)))\n",
+ "sa=s*zb/(za+zb)\n",
+ "sb=s*za/(za+zb)\n",
+ "zab=za*zb/(za+zb)\n",
+ "drop=zab.real*240/100+zab.imag*180/100\n",
+ "v2=v2-v2*drop/100\n",
+ "\n",
+ "#result\n",
+ "print \"SA=\",abs(sa),math.degrees(math.atan(sa.imag/sa.real)),\"degrees\"\n",
+ "print \"SB=\",abs(sb),math.degrees(math.atan(sb.imag/sb.real)),\"degrees\"\n",
+ "print \"secondary voltage=\",v2,\"V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "SA= 55.8895719399 -64.6284382469 degrees\n",
+ "SB= 251.890896741 -30.9383707209 degrees\n",
+ "secondary voltage= 486.177874187 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 223
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.105, Page Number:1200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n11=5000.0\n",
+ "n12=440.0\n",
+ "load1=200#kVA\n",
+ "n21=5000.0\n",
+ "n22=480.0\n",
+ "load2=350#kVA\n",
+ "x=3.5\n",
+ "\n",
+ "#calculation\n",
+ "i1=load1*1000/n12\n",
+ "i2=load2*1000/n22\n",
+ "x1=x*n12/(100*i1)\n",
+ "x2=x*n22/(100*i2)\n",
+ "ic=(n22-n12)/0.057\n",
+ "\n",
+ "#result\n",
+ "print \"no-load circulation current=\",ic/i1,\"times the normal current of 200 kVA unit\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "no-load circulation current= 1.54385964912 times the normal current of 200 kVA unit\n"
+ ]
+ }
+ ],
+ "prompt_number": 225
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.106, Page Number:1203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variabe declaration\n",
+ "ea=6600#V\n",
+ "eb=6400#V\n",
+ "za=complex(0.3,3)\n",
+ "zb=complex(0.2,1)\n",
+ "zl=complex(8.0,6.0)\n",
+ "ia=(ea*zb+(ea-eb)*zl)/(za*zb+zl*(za+zb))\n",
+ "ib=(eb*za-(ea-eb)*zl)/(za*zb+zl*(za+zb))\n",
+ "\n",
+ "#result\n",
+ "print \"IA=\",abs(ia),\"A\"\n",
+ "print \"IB=\",abs(ib),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "IA= 195.492387533 A\n",
+ "IB= 422.567795916 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 227
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.107, Page Number:1204"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load1=100.0#kVA\n",
+ "load2=50.0#kVA\n",
+ "v1=1000.0#V\n",
+ "v2=950.0#V\n",
+ "r1=2.0\n",
+ "r2=2.5\n",
+ "x1=8.0\n",
+ "x2=6.0\n",
+ "\n",
+ "#calculations\n",
+ "ia=load1*1000/v1\n",
+ "ra=v1*r1/(100*ia)\n",
+ "xa=v1*x1/(100*ia)\n",
+ "ib=load2*1000/v2\n",
+ "rb=v2*r2/(100*ib)\n",
+ "xb=v2*x2/(100*ib)\n",
+ "z=((ra+rb)**2+(xa+xb)**2)**0.5\n",
+ "ic=(v1-v2)/z\n",
+ "alpha=math.atan((xa+xb)/(ra+rb))\n",
+ "\n",
+ "#result\n",
+ "print \"no load circulating current=\",ic,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "no load circulating current= 25.0948635944 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 231
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example Number 32.108, Page Number:1204"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load1=1000.0#KVA\n",
+ "load2=500.0#kVA\n",
+ "v1=500.0#V\n",
+ "v2=510.0#V\n",
+ "z1=3.0\n",
+ "z2=5.0\n",
+ "r=0.4\n",
+ "\n",
+ "#calculation\n",
+ "ia=load1*1000/480\n",
+ "ib=load2*1000/480\n",
+ "za=z1*v1/(100*ia)\n",
+ "zb=z2*v2/(100*ib)\n",
+ "ic=(v2-v1)/(za+zb)\n",
+ "\n",
+ "#result\n",
+ "print \"cross current=\",ic,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "cross current= 315.656565657 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 233
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.109, Page Number:1204"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "loada=500.0#KVA\n",
+ "loadb=250.0#kVA\n",
+ "load=750.0#KVA\n",
+ "pf=0.8\n",
+ "v1=405.0#V\n",
+ "v2=415.0#V\n",
+ "ra=1.0\n",
+ "rb=1.5\n",
+ "xa=5.0\n",
+ "xb=4.0\n",
+ "\n",
+ "#calculations\n",
+ "ia=loada*1000/400\n",
+ "ra=400/(100*ia)\n",
+ "xa=xa*400/(100*ia)\n",
+ "ib=loadb*1000/400\n",
+ "rb=rb*400/(100*ib)\n",
+ "xb=xb*400/(100*ib)\n",
+ "za=complex(ra,xa)\n",
+ "zb=complex(rb,xb)\n",
+ "zl=400**2*0.001/load*complex(pf,math.sin(math.acos(pf)))\n",
+ "ic=(v1-v2)/(za+zb)\n",
+ "ia=(v1*zb+(v1-v2)*zl)/(za*zb+zl*(za+zb))\n",
+ "ib=(v2*za-(v1-v2)*zl)/(za*zb+zl*(za+zb))\n",
+ "sa=400*ia/1000\n",
+ "sb=400*ib/1000\n",
+ "pf1=math.cos(math.atan(sa.imag/sa.real))\n",
+ "pf2=math.cos(math.atan(sb.imag/sb.real))\n",
+ "\n",
+ "#result\n",
+ "print \"a)cross current=\",-abs(ic),math.degrees(math.atan(ic.imag/ic.real))\n",
+ "print \"b)SA=\",abs(sa),pf1,\"lag\"\n",
+ "print \" SB=\",abs(sb),pf2,\"lag\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)cross current= -229.754569404 -72.8972710309\n",
+ "b)SA= 387.844943528 0.820048560714 lag\n",
+ " SB= 351.964386212 0.738709225528 lag\n"
+ ]
+ }
+ ],
+ "prompt_number": 243
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.110, Page Number:1205"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "zl=complex(2.0,1.5)\n",
+ "za=complex(0.15,0.5)\n",
+ "zb=complex(0.1,0.6)\n",
+ "ea=207#V\n",
+ "eb=205#V\n",
+ "\n",
+ "#calculations\n",
+ "ia=(ea*zb+(ea-eb)*zl)/(za*zb+zl*(za+zb))\n",
+ "ib=(eb*za-(ea-eb)*zl)/(za*zb+zl*(za+zb))\n",
+ "v2_=(ia+ib)*zl\n",
+ "angle=math.atan(v2_.imag/v2_.real)-math.atan(ia.imag/ia.real)\n",
+ "pfa=math.cos(angle)\n",
+ "angle=math.atan(v2_.imag/v2_.real)-math.atan(ib.imag/ib.real)\n",
+ "pfb=math.cos(angle)\n",
+ "pa=abs(v2_)*abs(ia)*pfa\n",
+ "pb=abs(v2_)*abs(ib)*pfb\n",
+ "\n",
+ "#result\n",
+ "print \"power output:\"\n",
+ "print \" A:\",pa,\"W\"\n",
+ "print \" B:\",pb,\"W\"\n",
+ "print \"power factor:\"\n",
+ "print \" A:\",pfa\n",
+ "print \" B:\",pfb\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "power output:\n",
+ " A: 6535.37583042 W\n",
+ " B: 4925.36941503 W\n",
+ "power factor:\n",
+ " A: 0.818428780129\n",
+ " B: 0.775705655277\n"
+ ]
+ }
+ ],
+ "prompt_number": 248
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 32.111, Page Number:1206"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ia=200.0#A\n",
+ "ib=600.0#A\n",
+ "ra=0.02#ohm\n",
+ "rb=0.025#ohm\n",
+ "xa=0.05#ohm\n",
+ "xb=0.06#ohm\n",
+ "ea=245.0#V\n",
+ "eb=240.0#V\n",
+ "zl=complex(0.25,0.1)\n",
+ "\n",
+ "#calculation\n",
+ "za=(ea/ia)*complex(ra,xa)\n",
+ "zb=(eb/ib)*complex(rb,xb)\n",
+ "i=(ea*zb+eb*za)/(za*zb+zl*(za+zb))\n",
+ "v2=i*zl\n",
+ "\n",
+ "#result\n",
+ "print \"terminal voltage=\",round(abs(v2)),round(math.degrees(math.atan(v2.imag/v2.real))),\"degrees\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "terminal voltage= 230.0 -3.0 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 251
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter33.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter33.ipynb
new file mode 100644
index 00000000..495cee05
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter33.ipynb
@@ -0,0 +1,1433 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:62e227cc38186a0706017dd159987c82bd21be1d7e8602e20c55cf079ab30efe"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 33: Transformer:Three Phase"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.1, Page Number:1216"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=3\n",
+ "f=50.0#Hz\n",
+ "vd=22000.0#V\n",
+ "vs=400.0#V\n",
+ "phi=0.8\n",
+ "i=5.0#A\n",
+ "\n",
+ "#calcuations\n",
+ "v_phase_secondary=vs/math.sqrt(3)\n",
+ "K=(vs/vd)/math.sqrt(3)\n",
+ "i_primary=i/math.sqrt(3)\n",
+ "i_secondary=i_primary/K\n",
+ "il=i_secondary\n",
+ "output=math.sqrt(3)*il*vs*phi\n",
+ "\n",
+ "#result\n",
+ "print \"Output=\",output/10000,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Output= 15.2420471066 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.2, Page Number:1217"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "w=500.0#kVA\n",
+ "f=50.0#Hz\n",
+ "vls=11.0#kV\n",
+ "vld=33.0#kV\n",
+ "rh=35.0#ohm\n",
+ "rl=0.876#ohm\n",
+ "iron_loss=3050.0#W\n",
+ "phi1=1.0\n",
+ "phi2=0.8\n",
+ "\n",
+ "#calculations\n",
+ "\n",
+ "K=(vls*1000)/(math.sqrt(3)*vld*1000)\n",
+ "r02=rl+K**2*rh\n",
+ "i_Secondary=(w*1000)/(math.sqrt(3)*vls*1000)\n",
+ "#full load\n",
+ "fl_culoss=3*((w/(vls*math.sqrt(3)))**2)*r02\n",
+ "fl_totalloss=fl_culoss+iron_loss\n",
+ "fl_efficiency1=w*1000/(w*1000+fl_totalloss)\n",
+ "fl_efficiency2=(phi2*w*1000)/(w*phi2*1000+fl_totalloss)\n",
+ "#half load\n",
+ "cu_loss=.5**2*fl_culoss\n",
+ "totalloss=cu_loss+iron_loss\n",
+ "efficiency1=(w*1000/2)/((w*1000/2)+totalloss)\n",
+ "efficiency2=(w*1000*phi2/2)/((phi2*w*1000/2)+totalloss)\n",
+ "#result\n",
+ "print \"full load efficiency at p.f. 1=\",fl_efficiency1*100,\"%\"\n",
+ "print \"full load efficiency at p.f. 0.8=\",fl_efficiency2*100,\"%\"\n",
+ "print \"half load efficiency at p.f. 1=\",efficiency1*100,\"%\"\n",
+ "print \"half load efficiency at p.f. 0.8=\",round(efficiency2*100),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full load efficiency at p.f. 1= 98.5147491838 %\n",
+ "full load efficiency at p.f. 0.8= 98.1503046336 %\n",
+ "half load efficiency at p.f. 1= 98.3585709725 %\n",
+ "half load efficiency at p.f. 0.8= 98.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.3, Page Number:1218"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r=0.02\n",
+ "va=2000\n",
+ "reactance=0.1\n",
+ "pf=0.8\n",
+ "phi=math.acos(pf)\n",
+ "#calculation\n",
+ "cu_loss=r*100*va/100\n",
+ "regn=r*100*math.cos(phi)+reactance*100*math.sin(phi)\n",
+ "\n",
+ "#result\n",
+ "print \"Cu loss=\",cu_loss,\"kW\"\n",
+ "print \"Regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cu loss= 40.0 kW\n",
+ "Regulation= 7.6 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.4, Page Number:1218"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "w=120.0#kVA\n",
+ "v1=6000.0\n",
+ "v2=400.0\n",
+ "f=50.0#Hz\n",
+ "iron_loss=1600.0#W\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "cu_loss_fl=iron_loss*((4/3)**2)\n",
+ "fl_output=w*pf*1000\n",
+ "total_loss=iron_loss+cu_loss_fl\n",
+ "efficiency1=fl_output/(fl_output+total_loss)\n",
+ "cu_loss_hl=0.5**2*cu_loss_fl\n",
+ "total_loss2=cu_loss_hl+iron_loss\n",
+ "efficiency2=(w*1000/2)/((w*1000/2)+total_loss2)\n",
+ "total_loss3=2*iron_loss\n",
+ "output=(3.0/4)*w*1000\n",
+ "inpt=output+total_loss3\n",
+ "efficiency=output/inpt\n",
+ "\n",
+ "\n",
+ "#result\n",
+ "print \"full load efficiency=\",efficiency1*100,\"%\"\n",
+ "print \"half load efficiency=\",efficiency2*100,\"%\"\n",
+ "print \"3/4 load efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full load efficiency= 96.7741935484 %\n",
+ "half load efficiency= 96.7741935484 %\n",
+ "3/4 load efficiency= 96.5665236052 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 46
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.5, Page Number:1218"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "rp=8.0#ohm\n",
+ "rs=0.08#ohm\n",
+ "z=0.07\n",
+ "pf=0.75\n",
+ "v1=33.0\n",
+ "v2=6.6\n",
+ "w=2*10.0**6\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "fl_i=w/(math.sqrt(3)*v2*10**3)\n",
+ "K=v2/(math.sqrt(3)*v1)\n",
+ "r02=rs+(rp*(K*K))\n",
+ "z_drop=z*v2*1000/math.sqrt(3)\n",
+ "z02=z_drop/fl_i\n",
+ "x02=math.sqrt((z02*z02)-(r02*r02))\n",
+ "drop=fl_i*(r02*math.cos(phi)+x02*math.sin(phi))\n",
+ "secondary_v=v2*1000/math.sqrt(3)\n",
+ "V2=secondary_v-drop\n",
+ "line_v=V2*math.sqrt(3)\n",
+ "regn=drop*100/secondary_v\n",
+ "\n",
+ "#result\n",
+ "print \"secondary voltage\",line_v,\"V\"\n",
+ "print \"regulation=\",regn,\"%\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "secondary voltage 6254.29059005 V\n",
+ "regulation= 5.23802136291 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 59
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.6, Page Number:1219"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "w=100.0#kWA\n",
+ "f=50.0#Hz\n",
+ "v1=3300.0#V\n",
+ "v2=400.0#V\n",
+ "rh=3.5#ohm\n",
+ "rl=0.02#ohm\n",
+ "pf=0.8\n",
+ "efficiency=0.958\n",
+ "\n",
+ "#calculations\n",
+ "output=0.8*100\n",
+ "inpt=output/efficiency\n",
+ "total_loss=(inpt-output)*1000\n",
+ "K=v2/(math.sqrt(3)*v1)\n",
+ "r02=rl+K**2*rh\n",
+ "i2=((w*1000)/math.sqrt(3))/v2\n",
+ "cu_loss=3*i2**2*r02\n",
+ "iron_loss=total_loss-cu_loss\n",
+ "#result\n",
+ "print \"ironloss=\",iron_loss,\"W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.0371411080502\n",
+ "2321.31925314\n",
+ "ironloss= 1185.98763622 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.7, Page Number:1219"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "w=5000.0#kVA\n",
+ "v1=6.6#kV\n",
+ "v2=33.0#kV\n",
+ "nl=15.0#kW\n",
+ "fl=50.0#kW\n",
+ "drop=0.07\n",
+ "load=3200.0#kw\n",
+ "pf=0.8\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "i2=w*1000/(math.sqrt(3)*v2*1000)\n",
+ "impedence_drop=drop*(v2/math.sqrt(3))*1000\n",
+ "z02=impedence_drop/i2\n",
+ "cu_loss=fl-nl\n",
+ "r02=cu_loss*1000/(3*i2**2)\n",
+ "x02=math.sqrt(z02**2-r02**2)\n",
+ "print \"full-load x02:\",x02\n",
+ "\n",
+ "#when load=3200#kW\n",
+ "i2=load/(math.sqrt(3)*v2*0.8)\n",
+ "drop_=drop*1000*(r02*math.cos(phi)+z02*math.sin(phi))\n",
+ "regn=(drop_*100)/(v2*1000/math.sqrt(3))\n",
+ "vp=v1+regn/100*v1\n",
+ "print \"Primary voltage=\",vp*1000,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full-load x02: 15.1695784661\n",
+ "Primary voltage= 6851.39317975 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 95
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.8, Page Number:1219"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "r=1\n",
+ "x=6\n",
+ "v=6600#V\n",
+ "v2=4800#V\n",
+ "pf=0.8\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "regn=(r*math.cos(phi)+z*math.sin(phi))\n",
+ "secondary_v=v2+regn/100*v2\n",
+ "secondary_vp=secondary_v/math.sqrt(3)\n",
+ "K=secondary_vp/v\n",
+ "\n",
+ "#result\n",
+ "print \"Transformation Ratio=\",K"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Transformation Ratio= 0.423426587968\n"
+ ]
+ }
+ ],
+ "prompt_number": 96
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.9, Page Number:1220"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "w=2000#kVA\n",
+ "v1=6600#V\n",
+ "v2=400#V\n",
+ "pf=0.8\n",
+ "scv=400#V\n",
+ "sci=175#A\n",
+ "scw=17#kW\n",
+ "ocv=400#V\n",
+ "oci=150#A\n",
+ "ocw=15#kW\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "i1=sci/math.sqrt(3)\n",
+ "z01=scv/i1\n",
+ "r01=scw*1000/(3*i1*i1)\n",
+ "x01=math.sqrt(z01**2-r01**2)\n",
+ "r=i1*r01*100/v1\n",
+ "x=i1*x01*100/v1\n",
+ "regn=(r*math.cos(phi)-x*math.sin(phi))\n",
+ "I1=w*1000/(math.sqrt(3)*v1)\n",
+ "total_loss=scw+ocw\n",
+ "fl_output=w*pf\n",
+ "efficiency=fl_output/(fl_output+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"% resistance=\",r,\"%\"\n",
+ "print \"% reactance=\",x,\"%\"\n",
+ "print \"% efficiency=\",efficiency*100,\"%\"\n",
+ "print \"%regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "% resistance= 0.849779616989 %\n",
+ "% reactance= 6.00073499035 %\n",
+ "% efficiency= 98.0392156863 %\n",
+ "%regulation= -2.92061730062 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 109
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.10, Page Number:1220"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v1=11000.0#V\n",
+ "v2=440.0#V\n",
+ "i=5.0#A\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "secondary_rating=v2/math.sqrt(3)\n",
+ "primary_i=i/math.sqrt(3)\n",
+ "voltsamps=v1*5/math.sqrt(3)\n",
+ "i2=voltsamps/secondary_rating\n",
+ "output=pf*voltsamps/1000\n",
+ "\n",
+ "#result\n",
+ "print \"Each coil current=\",i2,\"A\"\n",
+ "print \"Total output=\",output,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Each coil current= 125.0 A\n",
+ "Total output= 25.4034118443 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 116
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.12, Page Number:1224"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=40#kVA\n",
+ "\n",
+ "#calculations\n",
+ "kVA_per_transformer=load/2*1.15\n",
+ "delta_delta_rating=kVA_per_transformer*3\n",
+ "increase=(delta_delta_rating-load)*100/load\n",
+ "\n",
+ "#result\n",
+ "print \"increase=\",increase,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "increase= 72.5 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 126
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.13, Page Number:1224"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "w=20#kVA\n",
+ "v1=2300#v\n",
+ "v2=230#V\n",
+ "load=40#kVA\n",
+ "\n",
+ "#calculations\n",
+ "kva_load=load/math.sqrt(3)\n",
+ "percent_rated=kva_load*100/w\n",
+ "kvarating_vv=2*w*0.866\n",
+ "vv_delta=kvarating_vv*100/60\n",
+ "percentage_increase=kva_load/(load/3)\n",
+ "\n",
+ "#result\n",
+ "print \"i)kVA load of each transformer=\",kva_load,\"kVA\"\n",
+ "print \"ii)per cent of rated load carried by each transformer=\",percent_rated,\"%\"\n",
+ "print \"iii)total kVA rating of the V-V bank\",kvarating_vv,\"kVA\"\n",
+ "print \"iv)ratio of the v-v bank to delta-delta bank\",vv_delta,\"%\"\n",
+ "print \"v)percent increase in load=\",percentage_increase*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)kVA load of each transformer= 23.0940107676 kVA\n",
+ "ii)per cent of rated load carried by each transformer= 115.470053838 %\n",
+ "iii)total kVA rating of the V-V bank 34.64 kVA\n",
+ "iv)ratio of the v-v bank to delta-delta bank 57.7333333333 %\n",
+ "v)percent increase in load= 177.646236674 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 130
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.14, Page Number:1225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=150.0#kW\n",
+ "v1=1000.0#V\n",
+ "pf=0.866\n",
+ "v=2000.0#V\n",
+ "\n",
+ "#calculations\n",
+ "il=load*1000/(pf*math.sqrt(3)*1000)\n",
+ "ip=il/math.sqrt(3)\n",
+ "ratio=v1/v\n",
+ "ip=ip*ratio\n",
+ "I=il\n",
+ "Ip=I*ratio\n",
+ "pf=86.6/100*pf\n",
+ "\n",
+ "#result\n",
+ "print \"delta-delta:current in the windings=\",ip,\"A\"\n",
+ "print \"v-v:current in the windings=\",Ip,\"A\"\n",
+ "print \"Power factor\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "delta-delta:current in the windings= 28.8683602771 A\n",
+ "v-v:current in the windings= 50.0014667312 A\n",
+ "Power factor 0.749956\n"
+ ]
+ }
+ ],
+ "prompt_number": 133
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.15, Page Number:1225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=3000#kW\n",
+ "v=11#kV\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "I=load*1000/(math.sqrt(3)*v*1000*pf)\n",
+ "transformer_pf=86.6/100*pf\n",
+ "additional_load=72.5/100*load\n",
+ "total_load=additional_load+load\n",
+ "il=total_load*1000/(math.sqrt(3)*v*1000*pf)\n",
+ "\n",
+ "#result\n",
+ "print \"Il=\",il,\"A\"\n",
+ "print \"phase current=\",il/math.sqrt(3),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Il= 339.521323075 A\n",
+ "phase current= 196.022727273 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 134
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.16, Page Number:1225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=400#kVA\n",
+ "pf=0.866\n",
+ "v=440#V\n",
+ "\n",
+ "#calculations\n",
+ "kVA_each=(load/2)/pf\n",
+ "phi=math.acos(pf)\n",
+ "p1=kVA_each*math.cos(math.radians(30-phi))\n",
+ "p2=kVA_each*math.cos(math.radians(30+phi))\n",
+ "p=p1+p2\n",
+ "\n",
+ "#result\n",
+ "print \"kVA supplied by each transformer=\",kVA_each,\"kVA\"\n",
+ "print \"kW supplied by each transformer=\",p,\"kW\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kVA supplied by each transformer= 230.946882217 kVA\n",
+ "kW supplied by each transformer= 399.995027715 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 136
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.17, Page Number:1228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400.0#V\n",
+ "load=33.0#kVA\n",
+ "v2=3300.0#V\n",
+ "\n",
+ "#calculations\n",
+ "vl=0.866*v2\n",
+ "ilp=load*1000/(math.sqrt(3)*v2)\n",
+ "ils=ilp/(440/v2)\n",
+ "main_kva=v2*ilp*0.001\n",
+ "teaser_kva=0.866*main_kva\n",
+ "\n",
+ "#result\n",
+ "print \"voltage rating of each coil=\",vl\n",
+ "print \"current rating of each coil=\",ils\n",
+ "print \"main kVA=\",main_kva,\"kVA\"\n",
+ "print \"teaser kVA=\",teaser_kva,\"kVA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage rating of each coil= 2857.8\n",
+ "current rating of each coil= 43.3012701892\n",
+ "main kVA= 19.0525588833 kVA\n",
+ "teaser kVA= 16.4995159929 kVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 139
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.18, Page Number:1231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440.0#V\n",
+ "v2=200.0#V\n",
+ "output=150.0#kVA\n",
+ "\n",
+ "#calculations\n",
+ "ratio=v2/v\n",
+ "i2=output*1000/(2*v2)\n",
+ "i1=i2*ratio\n",
+ "primary_volts=(math.sqrt(3)*v)/2\n",
+ "ratio=v2/primary_volts\n",
+ "\n",
+ "#result\n",
+ "print \"primary current=\",i1,\"A\"\n",
+ "print \"turns ratio\",ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "primary current= 170.454545455 A\n",
+ "turns ratio 0.524863881081\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.19, Page Number:1231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=100.0#V\n",
+ "v2=3300.0#V\n",
+ "p=400.0#kW\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "K=v/v2\n",
+ "i2=p*1000/(pf*v)\n",
+ "ip=1.15*K*i2\n",
+ "I2m=K*i2\n",
+ "i2=ip/2\n",
+ "i1m=math.sqrt(I2m**2+i2**2)\n",
+ "\n",
+ "#reslult\n",
+ "print \"Current=\",i1m,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current= 174.77684841 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 150
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.20, Page Number:1232"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "w1=300#kW\n",
+ "w2=450#kW\n",
+ "v1=100#V\n",
+ "pf=0.707\n",
+ "v2=3300#V\n",
+ "\n",
+ "#calculations\n",
+ "K=v/v2\n",
+ "i2t=(w2*1000)/(100*pf)\n",
+ "i1t=1.15*K*i2t\n",
+ "I2m=(K*w1*1000)/(100*pf)\n",
+ "i2=i1t/2\n",
+ "i1m=math.sqrt(I2m**2+i2**2)\n",
+ "\n",
+ "#result\n",
+ "print \"Current=\",i1m,\"A\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Current= 169.804606659 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 163
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.21, Page Number:1233"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v1=80.0#V\n",
+ "v2=11000.0#V\n",
+ "w1=500.0#kW\n",
+ "w2=800.0#kW\n",
+ "pf=0.5\n",
+ "\n",
+ "#calculations\n",
+ "K=v1/v2\n",
+ "#unity pf\n",
+ "i2t=w1*1000/v1\n",
+ "i1t=1.15*K*i2t\n",
+ "i2m=K*w2*1000/v1\n",
+ "i1t_half=i1t/2\n",
+ "ip=math.sqrt(i2m**2+i1t_half**2)\n",
+ "\n",
+ "print \"unity pf\"\n",
+ "print \"one 3 phase line carries\",i1t,\"A whereas the other 2 carry\",ip,\"A each\"\n",
+ "#0.5 pf\n",
+ "i2t=w1*1000/(v1*pf)\n",
+ "i1t=1.15*K*i2t\n",
+ "i2m=K*w2*1000/(v1*pf)\n",
+ "i1t_half=i1t/2\n",
+ "ip=math.sqrt(i2m**2+i1t_half**2)\n",
+ "print \"0.5 pf\"\n",
+ "print \"one 3 phase line carries\",i1t,\"A whereas the other 2 carry\",ip,\"A each\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "unity pf\n",
+ "one 3 phase line carries 52.2727272727 A whereas the other 2 carry 77.281082436 A each\n",
+ "0.5 pf\n",
+ "one 3 phase line carries 104.545454545 A whereas the other 2 carry 154.562164872 A each\n"
+ ]
+ }
+ ],
+ "prompt_number": 171
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.22, Page Number:1234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v1=50#V\n",
+ "v2=4.6*1000#V\n",
+ "load=350#kW\n",
+ "w=200#kW\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "K=v1/v2\n",
+ "i2t=w*1000/(v1*pf)\n",
+ "i1t=1.15*K*i2t\n",
+ "i2m=load*1000/(v1*pf)\n",
+ "Ki2m=K*i2m\n",
+ "i1t_half=i1t/2\n",
+ "i1m=math.sqrt(Ki2m**2+i1t_half**2)\n",
+ "\n",
+ "#result\n",
+ "print \"current in line A=\",i1t\n",
+ "print \"current in line B=\",i1m\n",
+ "print \"current in line C=\",i1m"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current in line A= 62.5\n",
+ "current in line B= 100.11107076\n",
+ "current in line C= 100.11107076\n"
+ ]
+ }
+ ],
+ "prompt_number": 173
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.23, Page Number:1234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=231#V\n",
+ "v2=6600#v\n",
+ "volt_induced=8#v\n",
+ "\n",
+ "#calculations\n",
+ "hv=v2/volt_induced\n",
+ "vl=v*math.sqrt(3)\n",
+ "n_lv1=vl/volt_induced\n",
+ "n_lv2=math.sqrt(3)*n_lv1/2\n",
+ "n=2*n_lv2/3\n",
+ "\n",
+ "#result\n",
+ "print \"neutral point is located on the\",math.ceil(n),\"th turn from A downwards\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "neutral point is located on the 29.0 th turn from A downwards\n"
+ ]
+ }
+ ],
+ "prompt_number": 176
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.24, Page Number:1235"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=6000.0#V\n",
+ "v2=440.0#V\n",
+ "f=50.0#Hz\n",
+ "area=300.0#cm2\n",
+ "flux=1.2#Wb/m2\n",
+ "\n",
+ "#calculations\n",
+ "n1=v/(4.44*f*flux*area*0.0001*0.9)\n",
+ "K=v2/v\n",
+ "n2=n1*K\n",
+ "n_lv=math.sqrt(3)*n2/2\n",
+ "turns=n_lv*2/3\n",
+ "\n",
+ "#result\n",
+ "print \"NUmber of turns in AN=\",math.floor(turns)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " NUmber of turns in AN= 35.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 183
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.25, Page Number:1235"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=250.0#V\n",
+ "load=30.0#kVA\n",
+ "v2=250.0#V\n",
+ "\n",
+ "#calculations\n",
+ "il=load*1000/(math.sqrt(3)*v2)\n",
+ "vl=0.866*v2\n",
+ "kva=il*vl*(0.001)\n",
+ "\n",
+ "#result\n",
+ "print \"Voltage=\",vl,\"V\"\n",
+ "print \"kVA rating\",kva,\"kVA\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage= 216.5 V\n",
+ "kVA rating 14.9995599935 kVA\n"
+ ]
+ }
+ ],
+ "prompt_number": 185
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.26, Page Number:1237"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import cmath\n",
+ "#vaiable declaration\n",
+ "load=500#kVA\n",
+ "pf=0.8\n",
+ "za=complex(2,6)\n",
+ "zb=complex(2,5)\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "s=load*complex(math.cos(phi),math.sin(phi))\n",
+ "z1=za/zb\n",
+ "z2=zb/za\n",
+ "sa=s/(1+z1)\n",
+ "sb=s/(1+z2)\n",
+ "pfa=cmath.phase(sa)\n",
+ "pfb=cmath.phase(sb)\n",
+ "#result\n",
+ "print \"sa=\",abs(sa)\n",
+ "print \"sb=\",abs(sb)\n",
+ "print \"cos phi_a=\",pfa\n",
+ "print \"cos phi_b=\",pfb"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sa= 230.042839552\n",
+ "sb= 270.171613479\n",
+ "cos phi_a= 0.611765735265\n",
+ "cos phi_b= 0.670521557981\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.27, Page Number:1237"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import cmath\n",
+ "#variable declaration\n",
+ "w=2000#kVA\n",
+ "w1=4000#kVA\n",
+ "w2=5000#kVA\n",
+ "pf=0.8\n",
+ "za=complex(2,8)\n",
+ "zb=complex(1.6,3)\n",
+ "\n",
+ "#calculations\n",
+ "za_per=(w1/w)*za\n",
+ "zb_per=zb\n",
+ "z=za_per+zb_per\n",
+ "s=complex(w1,w-w2)\n",
+ "sb=s*(za/z)\n",
+ "sa=s-sb\n",
+ "\n",
+ "#result\n",
+ "print \"sa=\",sa\n",
+ "print \"sb=\",sb"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sa= (2284.2287695-1821.49046794j)\n",
+ "sb= (1715.7712305-1178.50953206j)\n"
+ ]
+ }
+ ],
+ "prompt_number": 211
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.28, Page Number:1237"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import cmath\n",
+ "#variable declaration\n",
+ "load=1400#kVA\n",
+ "pf=0.866\n",
+ "w1=1000#kVA\n",
+ "w2=500#kVA\n",
+ "v1=6600\n",
+ "v2=400\n",
+ "za=complex(0.001,0.003)\n",
+ "zb=complex(0.0028,0.005)\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "zb=(w1/w2)*zb\n",
+ "z=za/(za+zb)\n",
+ "x=math.cos(-phi)\n",
+ "y=math.sin(-phi)*1j\n",
+ "s=load*(x+y)\n",
+ "sb=s*z\n",
+ "sa=s-sb\n",
+ "\n",
+ "#result\n",
+ "print \"sa=\",sa\n",
+ "print \"sb=\",sb"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sa= (929.911014012-588.664867724j)\n",
+ "sb= (282.488985988-111.396729565j)\n"
+ ]
+ }
+ ],
+ "prompt_number": 240
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.29, Page Number:1238"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import cmath\n",
+ "#variable declaration\n",
+ "load=750#kVA\n",
+ "pf=0.707\n",
+ "w1=500#kVA\n",
+ "w2=250#kVA\n",
+ "v1=3300\n",
+ "v2=400\n",
+ "za=complex(2,3)\n",
+ "zb=complex(1.5,4)\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "zb=(w1/w2)*zb\n",
+ "z=za/(za+zb)\n",
+ "x=math.cos(-phi)\n",
+ "y=math.sin(-phi)*1j\n",
+ "s=load*(x+y)\n",
+ "sb=s*z\n",
+ "sa=s-sb\n",
+ "per_r=za.real*(sa.real)/w1\n",
+ "per_x=(za.imag)*(sa.imag)/w1\n",
+ "total_per=per_r+per_x\n",
+ "vl=v2-(total_per*4)\n",
+ "#result\n",
+ "print \"sa=\",sa\n",
+ "print \"sb=\",sb"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sa= (399.511103547-348.770523615j)\n",
+ "sb= (130.738896453-181.639636072j)\n"
+ ]
+ }
+ ],
+ "prompt_number": 242
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.30, Page Number:1240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ratio=100/5\n",
+ "i=5#A\n",
+ "i1=3.5#A\n",
+ "\n",
+ "#calculations\n",
+ "il=i1*ratio\n",
+ "\n",
+ "#result\n",
+ "print \"Line current=\",il,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Line current= 70.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 214
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 33.31, Page Number:1240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i1=2000#A\n",
+ "i2=2500#A\n",
+ "i=5#A\n",
+ "\n",
+ "#calculations\n",
+ "ratio1=i1/i\n",
+ "ratio2=i2/i\n",
+ "\n",
+ "#result\n",
+ "print \"ratio in first case=\",ratio1\n",
+ "print \"ratio in second case=\",ratio2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio in first case= 400\n",
+ "ratio in second case= 500\n"
+ ]
+ }
+ ],
+ "prompt_number": 216
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter34.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter34.ipynb
new file mode 100644
index 00000000..d43ac823
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter34.ipynb
@@ -0,0 +1,3109 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6eddcd87c5c220a184bc6a72a3af06c45a444c1fd08c6f0e5d7d854e3ce98ba8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 34:Induction Motors"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.1, Page Number:1255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=290.0#rpm\n",
+ "f=50.0#Hz\n",
+ "Ns=300.0#rpm(considered)\n",
+ "#calculation\n",
+ "P=120*f/Ns\n",
+ "s=(Ns-n)/Ns\n",
+ "\n",
+ "#result\n",
+ "print \"no. of poles=\",P\n",
+ "print \"slip=\",s*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "no. of poles= 20.0\n",
+ "slip= 3.33333333333 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.2, Page Number:1255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=3\n",
+ "slot=3\n",
+ "f=50#Hz\n",
+ "\n",
+ "#calculation\n",
+ "P=2*n\n",
+ "slots_total=slot*P*n\n",
+ "Ns=120*f/P\n",
+ "\n",
+ "#result\n",
+ "print \"No. of stator poles=\",P\n",
+ "print \"Total number of slots=\",slots_total\n",
+ "print \"Speed=\",Ns,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " No. of stator poles= 6\n",
+ "Total number of slots= 54\n",
+ "Speed= 1000 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.3, Page Number:1255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "n=3\n",
+ "f=50#Hz\n",
+ "slip1=0.04\n",
+ "slip2=0.03\n",
+ "\n",
+ "#calculation\n",
+ "Ns=120*f/p\n",
+ "N=Ns*(1-slip1)\n",
+ "f1=slip2*f*60\n",
+ "#at standstill s=1\n",
+ "f2=1*f\n",
+ "\n",
+ "#calculation\n",
+ "print \"speed at which magnetic field of the stator is rotating=\",Ns,\"rpm\"\n",
+ "print \"speed of the rotor when the slip is 0.04=\",N\n",
+ "print \"frequency of rotor current=\",f1,\"rpm\"\n",
+ "print \"frequency of the rotor current at standstill=\",f2,\"Hz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at which magnetic field of the stator is rotating= 1500 rpm\n",
+ "speed of the rotor when the slip is 0.04= 1440.0\n",
+ "frequency of rotor current= 90.0 rpm\n",
+ "frequency of the rotor current at standstill= 50 Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.4, Page Number:1255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=3.0\n",
+ "p=4.0\n",
+ "f=50.0#Hz\n",
+ "slip=0.04\n",
+ "n=600.0#rpm\n",
+ "\n",
+ "#calculations\n",
+ "Ns=120*f/p\n",
+ "N=Ns*(1-slip)\n",
+ "s=(Ns-n)/Ns\n",
+ "f1=s*f\n",
+ "\n",
+ "#result\n",
+ "print \"the synchronous speed=\",Ns,\"rpm\"\n",
+ "print \"the rotor speed=\",N,\"rpm\"\n",
+ "print \"the rotor frequency when n=600 rpm=\",f1,\"Hz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the synchronous speed= 1500.0 rpm\n",
+ "the rotor speed= 1440.0 rpm\n",
+ "the rotor frequency when n=600 rpm= 30.0 Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.5, Page Number:1256"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=12\n",
+ "n=3\n",
+ "N=500#rpm\n",
+ "p2=8\n",
+ "slip=0.03\n",
+ "\n",
+ "#calculation\n",
+ "f=p*N/120\n",
+ "Ns=120*f/p2\n",
+ "N=Ns-slip*Ns\n",
+ "\n",
+ "#result\n",
+ "print \"full load speed of the motor=\",N,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full load speed of the motor= 727.5 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.6, Page Number:1258"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "e=80#V\n",
+ "r=1#ohm\n",
+ "x=4#ohm\n",
+ "rheo=3#ohm\n",
+ "\n",
+ "#calculation\n",
+ "E=e/(3)**0.5\n",
+ "z=(r**2+x**2)**0.5\n",
+ "i=E/z\n",
+ "pf=r/z\n",
+ "R=rheo+r\n",
+ "z2=(R**2+x**2)**0.5\n",
+ "i2=E/z2\n",
+ "\n",
+ "pf2=R/z2\n",
+ "\n",
+ "#result\n",
+ "print \"slip rings are short circuited:\"\n",
+ "print \"current/phase\",i,\"A\"\n",
+ "print \"pf=\",pf\n",
+ "print \"slip rings are onnected to a star-connected rheostat of 3 ohm\",\n",
+ "print \"current/phase\",i2,\"A\"\n",
+ "print \"pf=\",pf2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip rings are short circuited:\n",
+ "current/phase 11.2022406722 A\n",
+ "pf= 0.242535625036\n",
+ "slip rings are onnected to a star-connected rheostat of 3 ohm current/phase 8.16496580928 A\n",
+ "pf= 0.707106781187\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.7, Page Number:1258"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=3\n",
+ "v=400#V\n",
+ "ratio=6.5\n",
+ "r=0.05#ohm\n",
+ "x=0.25#ohm\n",
+ "\n",
+ "#calculations\n",
+ "k=1/ratio\n",
+ "e2=v*k/(3**0.5)\n",
+ "R=x-r\n",
+ "r2=x\n",
+ "z=(x**2+r2**2)**0.5\n",
+ "i2=e2/z\n",
+ "\n",
+ "#result\n",
+ "print \"external resistance=\",R,\"ohm\"\n",
+ "print \"starting current=\",i2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "external resistance= 0.2 ohm\n",
+ "starting current= 100.491886883 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.8, Page Number:1259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=1100#V\n",
+ "f=50#Hz\n",
+ "ratio=3.8\n",
+ "r=0.012#ohm\n",
+ "x=0.25#ohm\n",
+ "s=0.04\n",
+ "#calculation\n",
+ "e=v/ratio\n",
+ "z=(r**2+x**2)**0.5\n",
+ "i=e/z\n",
+ "pf=r/z\n",
+ "xr=s*x\n",
+ "zr=(r**2+xr**2)**0.5\n",
+ "er=s*e\n",
+ "i2=er/zr\n",
+ "pf2=r/zr\n",
+ "i2=100*ratio\n",
+ "z2=e/i2\n",
+ "r2=(z2**2-x**2)**0.5\n",
+ "R=r2-r\n",
+ "\n",
+ "#result\n",
+ "print \"current with slip rings shorted=\",i,\"A\"\n",
+ "print \"pf with slip rings shorted=\",pf\n",
+ "print \"current with slip=4% and slip rings shorted=\",i2\n",
+ "print \"pf withslip=4% and slip rings shorted=\",pf2\n",
+ "print \"external resistance=\",R,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current with slip rings shorted= 1156.56314266 A\n",
+ "pf with slip rings shorted= 0.0479447993684\n",
+ "current with slip=4% and slip rings shorted= 380.0\n",
+ "pf withslip=4% and slip rings shorted= 0.768221279597\n",
+ "external resistance= 0.70758173952 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 41
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.9, Page Number:1259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=15#kW\n",
+ "v=3000#V\n",
+ "f=50#Hz\n",
+ "p=6\n",
+ "ratio=3.6\n",
+ "r=0.13#ohm\n",
+ "l=3.61*0.001#H\n",
+ "\n",
+ "#calculation\n",
+ "v=v/3**0.5\n",
+ "x2=2*3.14*l*f\n",
+ "k=1/ratio\n",
+ "r2_=0.1/k**2\n",
+ "x2_=ratio**2*x2\n",
+ "is1=v/((r**2+x2_**2)**0.5)\n",
+ "ns=120*f/p\n",
+ "ts=(3*3/(2*3.14*f))*((v**2)*r2_)/(r2_**2+x2_**2)\n",
+ "\n",
+ "#result\n",
+ "print \"starting current=\",is1,\"A\"\n",
+ "print \"ts=\",ts,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "starting current= 117.896733436 A\n",
+ "ts= 512.375725888 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.10, Page Number:1261"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "zs=complex(0.4,4)\n",
+ "zr=complex(6,2)\n",
+ "v=80#V\n",
+ "s=0.03\n",
+ "\n",
+ "#calculation\n",
+ "e2=v/3**0.5\n",
+ "i=e2/abs(zr+zs)\n",
+ "er=s*e2\n",
+ "xr=s*zs.imag\n",
+ "ir=er/abs(complex(zs.real,xr))\n",
+ "\n",
+ "#result\n",
+ "print \"rotor current at standstill=\",i,\"A\"\n",
+ "print \"rotor current when slip-rings are short-circuited=\",ir,\"A\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rotor current at standstill= 5.26498126493 A\n",
+ "rotor current when slip-rings are short-circuited= 3.31800758166 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 51
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.11, Page Number:1261"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=3\n",
+ "e=120#V\n",
+ "r2=0.3#ohm\n",
+ "x2=1.5#ohm\n",
+ "s=0.04\n",
+ "\n",
+ "#calculations\n",
+ "e2=e/3**0.5\n",
+ "er=s*e2\n",
+ "xr=s*x2\n",
+ "zr=(r2**2+xr**2)**0.5\n",
+ "i=er/zr\n",
+ "s=r2/x2\n",
+ "xr=s*x2\n",
+ "zr=(xr**2+r2**2)**0.5\n",
+ "er=s*e2\n",
+ "i2=er/zr\n",
+ "\n",
+ "#result\n",
+ "print \"rotor when running short-circuited=\",i,\"A\"\n",
+ "print \"slip=\",s\n",
+ "print \"current when torque is maximum=\",i2,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rotor when running short-circuited= 9.05821627316 A\n",
+ "slip= 0.2\n",
+ "current when torque is maximum= 32.6598632371 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 54
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.12, Page Number:1264"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=8\n",
+ "f=50.0#Hz\n",
+ "s=0.04\n",
+ "tb=150.0#kg-m\n",
+ "n=660.0#rpm\n",
+ "r=0.5#ohm\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "sb=(ns-n)/ns\n",
+ "x2=r/sb\n",
+ "t=tb*(2/((sb/s)+s/sb))\n",
+ "\n",
+ "#result\n",
+ "print \"torque=\",t,\"kg-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 90.0 kg-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.13(a), Page Number:1266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variablde declaration\n",
+ "n=3\n",
+ "vd=0.90\n",
+ "\n",
+ "#calculation\n",
+ "ratio_s=(1/vd)**2\n",
+ "ratio_i=ratio_s*vd\n",
+ "cu_loss_increase=ratio_i**2\n",
+ "\n",
+ "#result\n",
+ "print \"increase in motor copper losses=\",cu_loss_increase"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "increase in motor copper losses= 1.23456790123\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.13(b), Page Number:1264"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=230.0#V\n",
+ "p=6\n",
+ "f=50.0#Hz\n",
+ "p1=15.0#kW\n",
+ "n=980.0#rpm\n",
+ "efficiency=0.93\n",
+ "vd=0.10\n",
+ "fd=0.05\n",
+ "\n",
+ "#calculation\n",
+ "v2=(1-vd)*v\n",
+ "f2=(1-fd)*f\n",
+ "n1=120*f/p\n",
+ "n2=120*f2/p\n",
+ "s1=(n1-n)/n1\n",
+ "ratio_f=s1*(v*(1-vd)/v)**2*f2/f\n",
+ "n2=n2*(1-ratio_f)\n",
+ "p2=p1*n2/n1\n",
+ "#result\n",
+ "print \"the new operating speed=\",n2,\"rpm\"\n",
+ "print \"the new output power=\",p2,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the new operating speed= 935.3795 rpm\n",
+ "the new output power= 14.0306925 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.14(a), Page Number:1267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=3\n",
+ "v1=400#V\n",
+ "v2=200#V\n",
+ "r=0.06#ohm\n",
+ "x=0.3#ohm\n",
+ "a=1\n",
+ "#calculations\n",
+ "r=x-r\n",
+ "\n",
+ "#result\n",
+ "print \"additional resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "additional resistance= 0.24 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.14(b), Page Number:1267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=3\n",
+ "f=50#Hz\n",
+ "p=8\n",
+ "s=0.02\n",
+ "r=0.001#ohm\n",
+ "x=0.005#ohm\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "a=r/x\n",
+ "n2=(1-s)*ns\n",
+ "ratio=2*s**2*a/(a**2+s**2)\n",
+ "\n",
+ "#result\n",
+ "print \"ratio of the maximum to full-load torque=\",ratio*1000,\"10^-3\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio of the maximum to full-load torque= 3.9603960396 10^-3\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.14(c), Page Number:1267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=12\n",
+ "v=600#V\n",
+ "f=50#Hz\n",
+ "r=0.03#ohm\n",
+ "x=0.5#ohm\n",
+ "n=495#rpm\n",
+ "s=0.01\n",
+ "#calculation\n",
+ "Ns=120*f/p\n",
+ "a=r/x\n",
+ "n=Ns*(1-a)\n",
+ "ratio=2*a*s/(a**2+s**2)\n",
+ "\n",
+ "#result\n",
+ "print \"speed of max torque=\",n,\"rpm\"\n",
+ "print \"ratio of torques=\",ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed of max torque= 470.0 rpm\n",
+ "ratio of torques= 0.324324324324\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.15, Page Number:1267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=746.0#kW\n",
+ "f=50.0#Hz\n",
+ "p=16\n",
+ "zr=complex(0.02,0.15)\n",
+ "n=360.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "s=(ns-n)/ns\n",
+ "a=zr.real/zr.imag\n",
+ "ratio=2*a*s/(a**2+s**2)\n",
+ "N=ns*(1-a)\n",
+ "R=zr.imag-zr.real\n",
+ "\n",
+ "#result\n",
+ "print \"ratio of torques=\",ratio\n",
+ "print \"speed at maximum torque=\",N,\"rpm\"\n",
+ "print \"rotor resistance=\",R,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio of torques= 0.550458715596\n",
+ "speed at maximum torque= 325.0 rpm\n",
+ "rotor resistance= 0.13 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.16, Page Number:1268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "a=Symbol('a')\n",
+ "p=4\n",
+ "f=50.0#Hz\n",
+ "r=0.025#ohm\n",
+ "x=0.12#ohm\n",
+ "ratio=3.0/4.0\n",
+ "\n",
+ "#calculations\n",
+ "s=r/x\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "a=solve(ratio-(2*a/(1+a**2)),a)\n",
+ "r=a[0]*x-r\n",
+ "\n",
+ "#result\n",
+ "print \"speed at maximum torque=\",n,\"rpm\"\n",
+ "print \"additional resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed at maximum torque= 1187.5 rpm\n",
+ "additional resistance= 0.0291699475574164 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.17, Page Number:1268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50#Hz\n",
+ "s=0.04\n",
+ "r=0.01#ohm\n",
+ "x=0.1#ohm\n",
+ "p=8\n",
+ "#calculation\n",
+ "a=r/x\n",
+ "t_ratio=2*a*s/(a**2+s**2)\n",
+ "ns=120*f/p\n",
+ "n=(1-a)*ns\n",
+ "\n",
+ "#result\n",
+ "print \"ratio of torques=\",1/t_ratio\n",
+ "print \"speed=\",n,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio of torques= 1.45\n",
+ "speed= 675.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.18, Page Number:1268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "a=Symbol('a')\n",
+ "a2=Symbol('a2')\n",
+ "p=3\n",
+ "t_ratio=2.5\n",
+ "t_ratio2=1.5\n",
+ "s=0.03\n",
+ "\n",
+ "#calculation\n",
+ "t_ratio3=t_ratio2/t_ratio\n",
+ "a=solve(t_ratio3-(2*a/(1+a**2)),a)\n",
+ "a2=solve(a2**2-0.15*a2+0.0009,a2)\n",
+ "r_red=(a[0]-a2[1])/a[0]\n",
+ "#result\n",
+ "print \"percentage reduction in rotor circuit resistance=\",r_red*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage reduction in rotor circuit resistance= 56.8784093726987 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 46
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.19, Page Number:1269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=8\n",
+ "f=50#Hz\n",
+ "r=0.08#ohm\n",
+ "n=650.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "sb=(ns-n)/ns\n",
+ "x2=r/sb\n",
+ "a=1\n",
+ "r=a*x2-r\n",
+ "#result\n",
+ "print \"extra resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "extra resistance= 0.52 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 51
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.20, Page Number:1269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "R=Symbol('R')\n",
+ "p=4\n",
+ "f=50.0#Hz\n",
+ "t=162.8#N-m\n",
+ "n=1365.0#rpm\n",
+ "r=0.2#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ns=120*f/p\n",
+ "sb=(ns-n)/ns\n",
+ "x2=r/sb\n",
+ "R=solve(1.0/(4*x2)-((r+R)/((r+R)**2+x2**2)),R)\n",
+ "\n",
+ "#result\n",
+ "print \"resistance to be added=\",round(R[0],1),\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance to be added= 0.4 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.21, Page Number:1270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4.0\n",
+ "f=50.0#Hz\n",
+ "load=7.46#kW\n",
+ "t_ratios=1.60\n",
+ "t_ratiom=2.0\n",
+ "\n",
+ "#calcualtion\n",
+ "t_ratio=t_ratios/t_ratiom\n",
+ "#0.8a2-2*a+0.8 a=0.04\n",
+ "#0.5=2*a*sf/a2+sf2 sf=0.01\n",
+ "a=0.04\n",
+ "sf=0.01\n",
+ "ns=120*f/p\n",
+ "n=ns-sf*ns\n",
+ "N=ns-a*ns\n",
+ "\n",
+ "#result\n",
+ "print \"full-load speed=\",n,\"rpm\"\n",
+ "print \"speed at maximum torque=\",N,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "full-load speed= 1485.0 rpm\n",
+ "speed at maximum torque= 1440.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.22, Page Number:1270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6\n",
+ "v=240#V\n",
+ "f=50#Hz\n",
+ "r=0.12#ohm\n",
+ "x=0.85#ohm\n",
+ "ratio=1.8\n",
+ "s=0.04\n",
+ "\n",
+ "#calculations\n",
+ "k=1/ratio\n",
+ "e2=k*(v/3**0.5)\n",
+ "ns=120*f/p\n",
+ "tf=(3/(2*3.14*f/3))*(s*e2*e2*r/(r**2+(s*x)**2))\n",
+ "s=r/x\n",
+ "tmax=(3/(2*3.14*f/3))*(s*e2*e2*r/(r**2+(s*x)**2))\n",
+ "n=ns*(1-s)\n",
+ "\n",
+ "#result\n",
+ "print \"developed torque=\",tf,\"N-m\"\n",
+ "print \"maximum torque=\",tmax,\"N-m\"\n",
+ "print \"speed at maximum torque=\",n,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "developed torque= 52.4097855621 N-m\n",
+ "maximum torque= 99.9125764956 N-m\n",
+ "speed at maximum torque= 858.823529412 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.23, Page Number:1270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "r=0.015#ohm\n",
+ "x=0.09#ohm\n",
+ "s=0.03\n",
+ "\n",
+ "#calculation\n",
+ "ns=100#rpm considered\n",
+ "n=(1-s)*ns\n",
+ "n2=n/2\n",
+ "s2=(ns-n2)/ns\n",
+ "ratio=((s2/s)*(r**2+(s*x)**2)/(r**2+(s2*x)**2))**0.5\n",
+ "per=1-1/ratio\n",
+ "phi=math.atan(s2*x/r)\n",
+ "pf=math.cos(phi)\n",
+ "\n",
+ "#result\n",
+ "print \"percentage reduction=\",per*100,\"%\"\n",
+ "print \"pf=\",pf\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage reduction= 22.8528060715 %\n",
+ "pf= 0.307902262948\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.26, Page Number:1272"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440#V\n",
+ "f=50#Hz\n",
+ "p=4\n",
+ "t=100#N-m\n",
+ "n=1200#rpm\n",
+ "\n",
+ "#calculation\n",
+ "e2=v/2\n",
+ "ns=120*f/p\n",
+ "n=ns-n\n",
+ "n2=n+ns/2\n",
+ "\n",
+ "#result\n",
+ "print \"stator supply voltage=\",e2,\"V\"\n",
+ "print \"new speed=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "stator supply voltage= 220 V\n",
+ "new speed= 1050 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.24, Page Number:1274"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable delclaration\n",
+ "v=400.0#V\n",
+ "f=60.0#Hz\n",
+ "p=8.0\n",
+ "n=1140.0#rpm\n",
+ "e=440.0#V\n",
+ "e2=550.0#V\n",
+ "\n",
+ "#calculations\n",
+ "ns=120*f/p\n",
+ "s1=(ns-n)/ns\n",
+ "s2=s1*(e/e2)**2\n",
+ "n2=ns*(1-s2)\n",
+ "\n",
+ "#result\n",
+ "print \"speed=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed= 1053.6 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.25, Page Number:1274"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=450.0#V\n",
+ "f=60.0#Hz\n",
+ "p=8.0\n",
+ "n=873.0#rpm\n",
+ "t=23.0#degrees\n",
+ "n2=864.0#rpm\n",
+ "alpha=1.0/234.0#per degrees centrigrade\n",
+ "\n",
+ "#calculation\n",
+ "s1=(900-n)/900\n",
+ "s2=(900-n2)/900\n",
+ "ratio=s2/s1-1\n",
+ "t2=(s2/s1-1)/alpha+23 \n",
+ "\n",
+ "#result\n",
+ "print \"increase in rotor resistance=\",ratio*100,\"%\"\n",
+ "print \"approx temperature=\",t2,\"degrees centigrade\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "increase in rotor resistance= 33.3333333333 %\n",
+ "approx temperature= 101.0 degrees centigrade\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.27, Page Number:1283"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440.0#V\n",
+ "f=500.0#Hz\n",
+ "p=6.0\n",
+ "load=80.0#kW\n",
+ "alt=100.0\n",
+ "ns=120.0*f/60.0\n",
+ "#calculation\n",
+ "s=alt/(60.0*f)\n",
+ "n=(1-s)*ns\n",
+ "cu_loss=(1.0/3.0)*load*1000/3.0\n",
+ "\n",
+ "#result\n",
+ "print \"slip=\",s*1000,\"%\"\n",
+ "print \"rotor speed=\",n,\"rpm\"\n",
+ "print \"rotor copper loss=\",cu_loss/10000,\"kW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 3.33333333333 %\n",
+ "rotor speed= 996.666666667 rpm\n",
+ "rotor copper loss= 0.888888888889 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.28, Page Number:1283"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440.0#V\n",
+ "f=50.0#Hz\n",
+ "p=4.0\n",
+ "n=1425.0#rpm\n",
+ "z=complex(0.4,4)\n",
+ "ratio=0.8\n",
+ "loss=500.0#W\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "s=75/ns\n",
+ "e1=v/3**0.5\n",
+ "tf=(3*2/(2*3.14*f))*(((e1*ratio)**2)*z.real*s)/(z.real**2+(s*z.imag)**2)\n",
+ "ir=s*ratio*e1/(z.real**2+(s*z.imag)**2)**0.5\n",
+ "cu_loss=3*ir**2*z.real\n",
+ "pm=2*3.4*(n/60)*tf\n",
+ "pout=pm-loss\n",
+ "s=z.real/z.imag\n",
+ "tmax=(3*2/(2*3.14*f))*(((e1*ratio)**2)*z.real*s)/(z.real**2+(s*z.imag)**2)\n",
+ "nmax=ns-s*ns\n",
+ "i=ratio*e1/abs(z)\n",
+ "tst=(3*2/(2*3.14*f))*(((e1*ratio)**2)*z.real)/(z.real**2+(z.imag)**2)\n",
+ "\n",
+ "#result\n",
+ "print \" full load torque=\",tf,\"N-m\"\n",
+ "print \"rotor current=\",ir,\"A\"\n",
+ "print \"cu_loss=\",cu_loss,\"W\"\n",
+ "print \"power output=\",pout,\"W\"\n",
+ "print \"max torque=\",tmax,\"N-m\"\n",
+ "print \"speed at max torque=\",nmax,\"rpm\"\n",
+ "print \"starting current=\",i,\"A\"\n",
+ "print \"starting torque=\",tst,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " full load torque= 78.9197452229 N-m\n",
+ "rotor current= 22.7215022978 A\n",
+ "cu_loss= 619.52 W\n",
+ "power output= 12245.5388535 W\n",
+ "max torque= 98.6496815287 N-m\n",
+ "speed at max torque= 1350.0 rpm\n",
+ "starting current= 50.5546790867 A\n",
+ "starting torque= 19.5345904017 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 47
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.29, Page Number:1285"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "P=23#kW\n",
+ "p=4\n",
+ "e=0.92\n",
+ "n=1440#r.p.m\n",
+ "loss=0.25\n",
+ "\n",
+ "#calculations\n",
+ "motor_input=P/e\n",
+ "total_loss=motor_input-P\n",
+ "friction_loss=total_loss/p\n",
+ "Pm=P+friction_loss\n",
+ "Psw=Pm*1500/n\n",
+ "ws=2*3.14*1500/60\n",
+ "Tsw=Psw*1000/ws\n",
+ "\n",
+ "#result\n",
+ "print \"Synchronous torque=\",round(Tsw),\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Synchronous torque= 156.0 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.30, Page Number:1286"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=60#kW\n",
+ "loss=1#kW\n",
+ "s=0.03\n",
+ "\n",
+ "#calculations\n",
+ "p2=load-loss\n",
+ "pm=(1-s)*p2\n",
+ "cu_loss=s*p2\n",
+ "rotor_loss=cu_loss*1000/3\n",
+ "\n",
+ "#result\n",
+ "print \"mechanical power developed=\",pm,\"kW\"\n",
+ "print \"rotor copper loss=\",rotor_loss,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mechanical power developed= 57.23 kW\n",
+ "rotor copper loss= 590.0 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 52
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.31, Page Number:1287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400#V\n",
+ "f=50#Hz\n",
+ "p=6\n",
+ "load=20#KW\n",
+ "s=0.03\n",
+ "i=60#A\n",
+ "\n",
+ "#calculation\n",
+ "fr=s*f\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "cu_loss=s*load*1000\n",
+ "r2=cu_loss/(3*i**2)\n",
+ "\n",
+ "#result\n",
+ "print \"frequency of rotor current=\",fr,\"Hz\"\n",
+ "print \"rotor copper loss=\",cu_loss,\"W\"\n",
+ "print \"rotor resistance=\",r2,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "frequency of rotor current= 1.5 Hz\n",
+ "rotor copper loss= 600.0 W\n",
+ "rotor resistance= 0.0555555555556 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 54
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.32, Page Number:1287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6\n",
+ "f=50#Hz\n",
+ "load=3.73#KW\n",
+ "n=960#rpm\n",
+ "loss=280#W\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "input_r=load*1000*ns/n\n",
+ "input_s=input_r+loss\n",
+ "\n",
+ "#result\n",
+ "print \"stator input=\",input_s,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "stator input= 4165.41666667 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 55
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.33, Page Number:1287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400.0#V\n",
+ "f=50.0#Hz\n",
+ "p=6.0\n",
+ "p2=75.0#KW\n",
+ "alt=100.0\n",
+ "\n",
+ "#calculations\n",
+ "f1=alt/60\n",
+ "s=f1/f\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "cu_loss_r_per_phase=s*p2/3\n",
+ "pm=(1-s)*p2\n",
+ "\n",
+ "#result\n",
+ "print \"slip=\",s*100,\"%\"\n",
+ "print \"rotor speed=\",n,\"rpm\"\n",
+ "print \"rotor copper loss per phase=\",cu_loss_r_per_phase,\"kW\"\n",
+ "print \"mechancal power=\",pm,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 3.33333333333 %\n",
+ "rotor speed= 966.666666667 rpm\n",
+ "rotor copper loss per phase= 0.833333333333 kW\n",
+ "mechancal power= 72.5 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 57
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.34, Page Number:1287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=500.0#V\n",
+ "f=50.0#Hz\n",
+ "p=6.0\n",
+ "n=975.0#rpm\n",
+ "p1=40.0#KW\n",
+ "loss_s=1.0#kW\n",
+ "loss=2.0#KW\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "s=(ns-n)/ns\n",
+ "p2=p1-loss_s\n",
+ "cu_loss=s*p2\n",
+ "pm=p2-cu_loss\n",
+ "pout=pm-loss\n",
+ "efficiency=pout/p1\n",
+ "\n",
+ "#result\n",
+ "print \"slip=\",s*100,\"%\"\n",
+ "print \"rotor copper loss=\",cu_loss,\"kW\"\n",
+ "print \"shaft power=\",pout,\"kW\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 2.5 %\n",
+ "rotor copper loss= 0.975 kW\n",
+ "shaft power= 36.025 kW\n",
+ "efficiency= 90.0625 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 59
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.35, Page Number:1287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "output=100#KW\n",
+ "v=3300#V\n",
+ "f=50#Hz\n",
+ "n=500#rpm\n",
+ "s=0.018\n",
+ "pf=0.85\n",
+ "cu_loss=2440#W\n",
+ "iron_loss=3500#W\n",
+ "rotational_loss=1200#W\n",
+ "\n",
+ "#calculations\n",
+ "pm=output+rotational_loss/1000\n",
+ "cu_loss_r=(s/(1-s))*pm\n",
+ "p2=pm+cu_loss_r\n",
+ "input_s=p2+cu_loss/1000+iron_loss/1000\n",
+ "il=input_s*1000/(3**0.5*v*pf)\n",
+ "efficiency=output/input_s\n",
+ "\n",
+ "#result\n",
+ "print \"rotor copper loss=\",cu_loss_r,\"kW\"\n",
+ "print \"line current=\",il,\"A\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rotor copper loss= 1.85132382892 kW\n",
+ "line current= 22.1989272175 A\n",
+ "efficiency= 92.7202341611 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.36, Page Number:1288"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440.0#V\n",
+ "f=50.0#Hz\n",
+ "p=6.0\n",
+ "p2=100.0#W\n",
+ "c=120.0\n",
+ "\n",
+ "#calculations\n",
+ "s=c/(f*60)\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "pm=(1-s)*p2\n",
+ "cu_loss=s*p2/3\n",
+ "n2=ns-n\n",
+ "\n",
+ "#result\n",
+ "print \"slip=\",s*100,\"%\"\n",
+ "print \"rotor speed=\",n,\"rpm\"\n",
+ "print \"mechanical power=\",pm,\"kW\"\n",
+ "print \"copper loss=\",cu_loss,\"kW\"\n",
+ "print \"speed of stator field with respect to rotor=\",n2,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 4.0 %\n",
+ "rotor speed= 960.0 rpm\n",
+ "mechanical power= 96.0 kW\n",
+ "copper loss= 1.33333333333 kW\n",
+ "speed of stator field with respect to rotor= 40.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 69
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.37, Page Number:1288"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "efficiency=0.9\n",
+ "output=37#kW\n",
+ "ratio=1.0/3.0\n",
+ "\n",
+ "#calculation\n",
+ "input_m=output*1000/efficiency\n",
+ "total_loss=input_m-output*1000\n",
+ "x=total_loss/(3+0.5)\n",
+ "input_r=output*1000+x/2+x\n",
+ "s=x/input_r\n",
+ "\n",
+ "#result\n",
+ "print \"slip=\",s*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 3.0303030303 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 74
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.38, Page Number:1289"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400#V\n",
+ "f=50#Hz\n",
+ "p=6\n",
+ "load=45#KW\n",
+ "i=75#A\n",
+ "s=0.03\n",
+ "iron_loss=1200#kW\n",
+ "loss=900#kW\n",
+ "r=0.12#ohm\n",
+ "\n",
+ "#calculations\n",
+ "pf=load*1000/(3**0.5*v*i)\n",
+ "r=r*3/2\n",
+ "cu_loss=3*(i/3**0.5)**2*r\n",
+ "cu_loss_r=s*42788\n",
+ "pm=42788-cu_loss_r\n",
+ "output_s=pm-loss\n",
+ "efficiency=output_s/(load*1000)\n",
+ "t=(output_s*60)/(2*3.14*970)\n",
+ "\n",
+ "#result\n",
+ "print \"pf=\",pf\n",
+ "print \"rotor cu loss=\",cu_loss_r,\"W\"\n",
+ "print \"p out=\",output_s,\"W\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\"\n",
+ "print \"torque=\",t,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pf= 0.866025403784\n",
+ "rotor cu loss= 1283.64 W\n",
+ "p out= 40604.36 W\n",
+ "efficiency= 90.2319111111 %\n",
+ "torque= 399.937881673 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 78
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.39(a), Page Number:1287"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4.0\n",
+ "v=220.0#V\n",
+ "f=50.0#Hz\n",
+ "r=0.1#ohm\n",
+ "x=0.9#ohm\n",
+ "ratio=1.75\n",
+ "s=0.05\n",
+ "\n",
+ "#calculations\n",
+ "k=1/ratio\n",
+ "e1=v/3**0.5\n",
+ "e2=k*e1\n",
+ "z=(r**2+(s*x)**2)**0.5\n",
+ "i2=s*e2/z\n",
+ "pcr=3*i2**2*r\n",
+ "pm=pcr*(1-s)/s\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "tg=9.55*pm/n\n",
+ "sm=r/x\n",
+ "n=ns*(1-sm)\n",
+ "e3=sm*e2\n",
+ "\n",
+ "#result\n",
+ "print \"load torque=\",tg/9.81,\"kg-m\"\n",
+ "print \"speed at maximum torque=\",n,\"rpm\"\n",
+ "print \"rotor emf at max torque=\",e3,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load torque= 4.26478644041 kg-m\n",
+ "speed at maximum torque= 1333.33333333 rpm\n",
+ "rotor emf at max torque= 8.06457518868 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 88
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.39(b), Page Number:1290"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400#V\n",
+ "f=50#Hz\n",
+ "p=4\n",
+ "i=10#A\n",
+ "pf=0.86\n",
+ "loss=0.05\n",
+ "cu_r=0.04\n",
+ "m_loss=0.03\n",
+ "\n",
+ "#calculation\n",
+ "input_m=3**0.5*v*i*pf\n",
+ "loss_s=loss*input_m\n",
+ "input_r=input_m-loss_s\n",
+ "cu_lossr=cu_r*input_r\n",
+ "mec_loss=m_loss*input_r\n",
+ "output_shaft=input_r-cu_lossr-mec_loss\n",
+ "s=cu_lossr/input_r\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "wr=2*3.14*n/60\n",
+ "output_r=input_r-cu_lossr\n",
+ "tr=output_r/wr\n",
+ "tin=output_shaft/wr\n",
+ "\n",
+ "#result\n",
+ "print \"slip=\",s*100,\"%\"\n",
+ "print \"rotor speed=\",n,\"rpm\"\n",
+ "print \"torque developed in the rotor=\",tr,\"Nw-m\"\n",
+ "print \"shaft torque=\",tin,\"Nw-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 4.0 %\n",
+ "rotor speed= 1440.0 rpm\n",
+ "torque developed in the rotor= 36.0531340072 Nw-m\n",
+ "shaft torque= 34.9264735695 Nw-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 91
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.40, Page Number:1291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440.0#V\n",
+ "p=40.0\n",
+ "f=50.0#Hz\n",
+ "r=0.1#ohm\n",
+ "x=0.9#ohm\n",
+ "ratio=3.5\n",
+ "s=0.05\n",
+ "\n",
+ "#calculation\n",
+ "e1=v/3**0.5\n",
+ "k=1/ratio\n",
+ "e2=k*e1\n",
+ "er=s*e2\n",
+ "z=(r**2+(s*x)**2)**0.5\n",
+ "i2=er/z\n",
+ "cu_loss=3*i2**2*r\n",
+ "output=cu_loss*(1-s)/s\n",
+ "sm=r/x\n",
+ "er=sm*e2\n",
+ "zr=(r**2+(x*sm)**2)**0.5\n",
+ "i2=er/zr\n",
+ "cu_loss=3*i2**2*r\n",
+ "input_r=cu_loss/sm\n",
+ "\n",
+ "#result\n",
+ "print \"gross output at 5% slip=\",output,\"W\"\n",
+ "print \"maximum torque=\",input_r,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "gross output at 5% slip= 6242.77652849 W\n",
+ "maximum torque= 8780.04535147 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 107
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.41, Page Number:1291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "pout=18.65#kW\n",
+ "p=4.0\n",
+ "f=50.0#Hz\n",
+ "loss=0.025\n",
+ "s=0.04\n",
+ "\n",
+ "#calculations\n",
+ "pw=loss*pout*1000\n",
+ "pm=pout*1000+pw\n",
+ "cu_loss=s*pm/(1-s)\n",
+ "p2=cu_loss/s\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "tsh=9.55*pout*1000/n\n",
+ "tg=9.55*pm/n\n",
+ "\n",
+ "#result\n",
+ "print \"rotor cu loss=\",cu_loss,\"W\"\n",
+ "print \"rotor input=\",p2,\"W\"\n",
+ "print \"shaft torque=\",tsh,\"N-m\"\n",
+ "print \"gross electromagnetic torque=\",tg,\"N-m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rotor cu loss= 796.510416667 W\n",
+ "rotor input= 19912.7604167 W\n",
+ "shaft torque= 123.685763889 N-m\n",
+ "gross electromagnetic torque= 126.777907986 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 109
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.42, Page Number:1291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=8\n",
+ "f=50.0#Hz\n",
+ "n=710#rpm\n",
+ "load=35#kW\n",
+ "loss=1200#W\n",
+ "loss_r=600#W\n",
+ "\n",
+ "#calculation\n",
+ "p2=load*1000-loss\n",
+ "ns=120*f/p\n",
+ "s=(ns-n)/ns\n",
+ "cu_loss=s*p2\n",
+ "pm=p2-cu_loss\n",
+ "tg=9.55*pm/n\n",
+ "pout=pm-loss_r\n",
+ "tsh=9.55*pout/n\n",
+ "\n",
+ "#result\n",
+ "print \"rotor copper loss=\",cu_loss/1000,\"kW\"\n",
+ "print \"gross torque=\",tg,\"N-m\"\n",
+ "print \"mechanical power=\",pm,\"W\"\n",
+ "print \"net torque=\",tsh,\"N-m\"\n",
+ "print \"mechanical power output=\",pout,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "rotor copper loss= 1.80266666667 kW\n",
+ "gross torque= 430.386666667 N-m\n",
+ "mechanical power= 31997.3333333 W\n",
+ "net torque= 422.316244131 N-m\n",
+ "mechanical power output= 31397.3333333 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 113
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.43, Page Number:1292"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6\n",
+ "f=50.0#Hz\n",
+ "s=0.04\n",
+ "tsh=149.3#N-m\n",
+ "loss=200#W\n",
+ "cu_loss=1620#W\n",
+ "\n",
+ "#calculations\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "pout=tsh*2*3.14*(n/60)\n",
+ "output=pout+loss\n",
+ "p2=output*ns/n\n",
+ "cu_lossr=p2-output\n",
+ "p1=p2+cu_loss\n",
+ "efficiency=pout*100/p1\n",
+ "\n",
+ "#result\n",
+ "print \"output power=\",pout/1000,\"kW\"\n",
+ "print \"rotor cu loss=\",cu_lossr,\"W\"\n",
+ "print \"the efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output power= 15.001664 kW\n",
+ "rotor cu loss= 633.402666667 W\n",
+ "the efficiency= 85.9444669361 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 116
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.44, Page Number:1291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "pout=18.65#kW\n",
+ "p=6\n",
+ "f=50.0#Hz\n",
+ "n=960#rpm\n",
+ "i2=35#A\n",
+ "loss=1#kW\n",
+ "\n",
+ "#calculation\n",
+ "pm=pout+loss\n",
+ "ns=120*f/p\n",
+ "s=(ns-n)/ns\n",
+ "cu_lossr=pm*s*1000/(1-s)\n",
+ "r2=cu_lossr/(3*i2**2)\n",
+ "\n",
+ "#result\n",
+ "print \"resistane per phase=\",r2,\"ohm/phase\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistane per phase= 0.222789115646 ohm/phase\n"
+ ]
+ }
+ ],
+ "prompt_number": 120
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.45, Page Number:1291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "sf=Symbol('sf')\n",
+ "v=400#V\n",
+ "p=4\n",
+ "f=50#Hz\n",
+ "r=0.01#ohm\n",
+ "x=0.1#ohm\n",
+ "ratio=4\n",
+ "\n",
+ "#calculation\n",
+ "e1=v/3**0.5\n",
+ "e2=e1/ratio\n",
+ "sm=r/x\n",
+ "ns=120*f/p\n",
+ "tmax=(3/(2*3.14*25))*(e2**2/(2*x))\n",
+ "a=r/x\n",
+ "sf=solve(0.5*(a**2+sf**2)-2*a*sf,sf)\n",
+ "n=ns*(1-sf[0])\n",
+ "tf=tmax/2\n",
+ "output=2*3.14*n*tf/60\n",
+ "\n",
+ "#result\n",
+ "print \"maximum torque=\",tmax,\"N-m\"\n",
+ "print \"full load slip=\",sf[0]\n",
+ "print \"power output=\",output,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum torque= 318.47133758 N-m\n",
+ "full load slip= 0.0267949192431123\n",
+ "power output= 24330.1270189222 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 129
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.46, Page Number:1291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "f=50.0#Hz\n",
+ "v=200.0#V\n",
+ "r=0.1#ohm\n",
+ "x=0.9#ohm\n",
+ "k=0.67\n",
+ "s=0.04\n",
+ "#calculations\n",
+ "e1=v/3**0.5\n",
+ "e2=e1*k\n",
+ "z=(r**2+(s*x)**2)**0.5\n",
+ "i2=s*e2/z\n",
+ "cu_loss=3*i2**2*r\n",
+ "pm=cu_loss*(1-s)/s\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "tg=9.55*pm/n\n",
+ "sm=r/x\n",
+ "er=sm*e2\n",
+ "zr=(r**2+(sm*x)**2)**0.5\n",
+ "i2=er/zr\n",
+ "cu_lossr=3*i2**2*r\n",
+ "output=cu_lossr*(1-sm)/sm\n",
+ "n=(1-sm)*ns\n",
+ "tmax=9.55*output/n\n",
+ "\n",
+ "#result\n",
+ "print \"torque=\",tg,\"N-m\"\n",
+ "print \"maximum torque=\",tmax,\"N-m\"\n",
+ "print \"speed at max torque=\",n,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 40.4815391879 N-m\n",
+ "maximum torque= 63.511037037 N-m\n",
+ "speed at max torque= 1333.33333333 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 143
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.47, Page Number:1293"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r=0.015#ohm\n",
+ "x=0.09#ohm\n",
+ "f=50#Hz\n",
+ "s=0.04\n",
+ "p=4\n",
+ "e2=110#V\n",
+ "\n",
+ "#calculations\n",
+ "z=(r**2+x**2)**0.5\n",
+ "pf=r/z\n",
+ "xr=s*x\n",
+ "zr=(r**2+xr**2)**0.5\n",
+ "pf2=r/zr\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "er=s*e2\n",
+ "i2=er/zr\n",
+ "cu_loss=3*i2**2*r\n",
+ "pm=cu_loss*(1-s)/s\n",
+ "tg=9.55*pm/n\n",
+ "\n",
+ "#result\n",
+ "print \"pf of motor at start=\",pf\n",
+ "print \"pf of motor at s=4%\",pf2\n",
+ "print \"full load torque=\",tg,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pf of motor at start= 0.164398987305\n",
+ "pf of motor at s=4% 0.972387301981\n",
+ "full load torque= 582.728189612 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 144
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.48, Page Number:1294"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6.0\n",
+ "f=50.0#Hz\n",
+ "tsh=162.84#N-m\n",
+ "c=90.0\n",
+ "t=20.36#N-m\n",
+ "loss=830.0#W\n",
+ "\n",
+ "#calculation\n",
+ "ns=120*f/p\n",
+ "fr=c/60\n",
+ "s=fr/f\n",
+ "n=ns*(1-s)\n",
+ "output=2*3.14*n*tsh/60\n",
+ "tg=tsh+t\n",
+ "p2=tg*ns/9.55\n",
+ "cu_lossr=s*p2\n",
+ "p1=p2+cu_lossr\n",
+ "efficiency=output*100/p1\n",
+ "\n",
+ "#result\n",
+ "print \"motor output=\",output,\"W\"\n",
+ "print \"cu loss=\",cu_lossr,\"W\"\n",
+ "print \"motor input\",p1,\"W\"\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "motor output= 16532.6024 W\n",
+ "cu loss= 575.497382199 W\n",
+ "motor input 19758.7434555 W\n",
+ "efficiency= 83.6723369441 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 146
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.49, Page Number:1294"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=18.65#kW\n",
+ "v=420.0#V\n",
+ "p=6\n",
+ "f=50.0#Hz\n",
+ "r=1.0#ohm\n",
+ "z=complex(0.25,0.75)\n",
+ "zr=complex(0.173,0.52)\n",
+ "v1=420.0#V\n",
+ "v2=350.0#V\n",
+ "\n",
+ "#calculations\n",
+ "k=v2/v1\n",
+ "r02=zr.real+k**2*z.real\n",
+ "x02=zr.imag+k**2*z.imag\n",
+ "z02=((r+r02)**2+x02**2)**0.5\n",
+ "i2=v2/(3**0.5*z02)\n",
+ "cu_loss=i2**2*(r+zr.real)\n",
+ "p2=cu_loss*3\n",
+ "ns=120*f/p\n",
+ "tst=9.55*p2/(ns*9.81)\n",
+ "#result\n",
+ "print \"torque=\",tst,\"kg-m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 48.2909354778 kg-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 157
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.50, Page Number:1295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=8\n",
+ "load=37.3#ohm\n",
+ "v=280#V\n",
+ "f=50.0#Hz\n",
+ "i=200#A\n",
+ "pf=0.25\n",
+ "r=0.15#ohm\n",
+ "k=1.0/3\n",
+ "#calculation\n",
+ "wsc=2*v*i*pf\n",
+ "power_phase=v*i*pf\n",
+ "R=power_phase/i**2\n",
+ "r2_=R-r\n",
+ "r2=k**2*r2_\n",
+ "p2=3*i**2*r2_\n",
+ "ns=120*f/p\n",
+ "t=9.55*p2/ns\n",
+ "\n",
+ "#result\n",
+ "print \"resistance perphaseof therotor winding=\",r2,\"ohm\"\n",
+ "print \"startingtorque=\",t,\"N-m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistance perphaseof therotor winding= 0.0222222222222 ohm\n",
+ "startingtorque= 305.6 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 158
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.51, Page Number:1295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ratios=1.6\n",
+ "ratiom=2.0\n",
+ "sf=0.01\n",
+ "sb=0.04\n",
+ "#calculation\n",
+ "i=(ratios/sf)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"slip at full load=\",sf\n",
+ "print \"slip at maximum torque=\",sb\n",
+ "print \"rotor current=\",i"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip at full load= 0.01\n",
+ "slip at maximum torque= 0.04\n",
+ "rotor current= 12.6491106407\n"
+ ]
+ }
+ ],
+ "prompt_number": 159
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.52, Page Number:1297"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=200#km/h\n",
+ "f=100#Hz\n",
+ "\n",
+ "#calculation\n",
+ "w=v*5.0/18/(2*f)\n",
+ "\n",
+ "#result\n",
+ "print \"pole pitch=\",w*1000,\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pole pitch= 277.777777778 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 162
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.53, Page Number:1297"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "w=6#mm\n",
+ "f=25#Hz\n",
+ "p=6#kW\n",
+ "loss=1.2#kW\n",
+ "v=2.4#m/s\n",
+ "\n",
+ "#calculation\n",
+ "vs=2*f*w/100\n",
+ "s=(vs-v)/vs\n",
+ "p2=p-loss\n",
+ "pcr=s*p2\n",
+ "pm=p2-pcr\n",
+ "f=p2*1000/vs\n",
+ "\n",
+ "#result\n",
+ "print \"synchronous speed=\",vs,\"m/s\"\n",
+ "print \"slip=\",s\n",
+ "print \"cu loss=\",pcr,\"kW\"\n",
+ "print \"mechanical power=\",pm,\"kW\"\n",
+ "print \"thrust=\",f/1000,\"kN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "synchronous speed= 3 m/s\n",
+ "slip= 0.2\n",
+ "cu loss= 0.96 kW\n",
+ "mechanical power= 3.84 kW\n",
+ "thrust= 1.6 kN\n"
+ ]
+ }
+ ],
+ "prompt_number": 163
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.54, Page Number:1304"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "s=0.12\n",
+ "r=0.08#ohm/phase\n",
+ "pg=9000.0#W\n",
+ "\n",
+ "#calculations\n",
+ "rl=r*(1/s-1)\n",
+ "v=(pg*rl/3)**0.5\n",
+ "il=v/rl\n",
+ "\n",
+ "#result\n",
+ "print \"load resistance=\",rl,\"ohm\"\n",
+ "print \"load voltage=\",v,\"V\"\n",
+ "print \"load current=\",il,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load resistance= 0.586666666667 ohm\n",
+ "load voltage= 41.9523539268 V\n",
+ "load current= 71.5096941934 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 166
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.55, Page Number:1305"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400.0#V\n",
+ "f=50.0#Hz\n",
+ "p=4\n",
+ "r1=0.15#ohm\n",
+ "x1=0.45#ohm\n",
+ "r2_=0.12#ohm\n",
+ "x2_=0.45#ohm\n",
+ "xm=complex(0,28.5)#ohm\n",
+ "s=0.04\n",
+ "#calculations\n",
+ "rl_=r2_*(1/s-1)\n",
+ "i2_=(v/3**0.5)/complex(r1+rl_,x1)\n",
+ "i0=(v/3**0.5)/xm\n",
+ "i1=i0+i2_\n",
+ "pf=math.cos(math.atan(i1.imag/i1.real))\n",
+ "\n",
+ "#result\n",
+ "print \"stator current=\",i1,\"A\"\n",
+ "print \"power factor=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "stator current= (74.5730253701-19.1783634605j) A\n",
+ "power factor= 0.968485280755\n"
+ ]
+ }
+ ],
+ "prompt_number": 177
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.56, Page Number:1305"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=220#V\n",
+ "p=4\n",
+ "f=50#Hz\n",
+ "power=3.73#kW\n",
+ "r1=0.45#ohm\n",
+ "x1=0.8#ohm\n",
+ "r2_=0.4#ohm\n",
+ "x2_=0.8#ohm\n",
+ "b0=-1.0/30\n",
+ "loss=50#W\n",
+ "lossr=150#W\n",
+ "s=0.04\n",
+ "\n",
+ "#calculations\n",
+ "zab=complex(30*complex(r2_/s,x2_))/complex(r2_/s,x2_-1/b0)\n",
+ "z01=complex(r1,x1)+zab\n",
+ "vph=v/3**0.5\n",
+ "i1=v1/z01\n",
+ "pf=math.cos(math.atan(i1.imag/i1.real))\n",
+ "p2=3*i1.real**2*zab.real\n",
+ "pm=(1-s)*p2\n",
+ "ns=120*f/p\n",
+ "n=ns*(1-s)\n",
+ "tg=9.55*pm/n\n",
+ "power_o=pm-lossr\n",
+ "cu_loss=3*i1.real**2*r1\n",
+ "cu_lossr=s*p2\n",
+ "total_loss=loss+cu_loss+cu_lossr+lossr\n",
+ "efficiency=power_o/(power_o+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"input current=\",i1,\"A\"\n",
+ "print \"pf=\",pf\n",
+ "print \"air gap power=\",p2,\"W\"\n",
+ "print \"mechanical power=\",pm,\"W\"\n",
+ "print \"electro magnetic torque=\",tg,\"N-m\"\n",
+ "print \"output power=\",power_o,\"W\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "input current= (21.9914486234+42.6194245913j) A\n",
+ "pf= 0.45854949826\n",
+ "air gap power= 5173.46132109 W\n",
+ "mechanical power= 4966.52286825 W\n",
+ "electro magnetic torque= 32.9377037443 N-m\n",
+ "output power= 4816.52286825 W\n",
+ "efficiency= 81.9644851937 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 184
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.57, Page Number:1306"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=440#V\n",
+ "f=50#Hz\n",
+ "load=37.3#kW\n",
+ "r1=0.1#ohm\n",
+ "x1=0.4#ohm\n",
+ "r2_=0.15#ohm\n",
+ "x2_=0.44#ohm\n",
+ "loss=1250#W\n",
+ "lossr=1000#W\n",
+ "i=20#A\n",
+ "pf=0.09\n",
+ "s=0.03\n",
+ "\n",
+ "#calculation\n",
+ "v1=v/3**0.5\n",
+ "i2_=v1/complex(r1+r2_/s,x1+x2_)\n",
+ "i1=i2_+complex(1.78,19.9)\n",
+ "pf=math.cos(math.atan(i1.imag/i1.real))\n",
+ "p2=3*i2_.real**2*r2_/s\n",
+ "ns=120*f/p\n",
+ "tg=9.55*p2/ns\n",
+ "pm=p2*(1-s)\n",
+ "pout=pm-1000\n",
+ "cu_losss=3*i1.real**2*r1\n",
+ "cu_lossr=s*p2\n",
+ "total_loss=loss+cu_losss+cu_lossr+lossr\n",
+ "efficiency=pout/(pout+total_loss)\n",
+ "\n",
+ "#result\n",
+ "print \"line current=\",i1,\"A\"\n",
+ "print \"pf=\",pf\n",
+ "print \"electromagnetic torque=\",tg,\"N-m\"\n",
+ "print \"output=\",pout,\"W\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line current= (50.2750367599+11.9125821807j) A\n",
+ "pf= 0.973057118792\n",
+ "electromagnetic torque= 224.593900377 N-m\n",
+ "output= 33218.2329894 W\n",
+ "efficiency= 89.0932246577 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 186
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.58, Page Number:1306"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400#V\n",
+ "z=complex(0.06,0.2)\n",
+ "zr=complex(0.06,0.22)\n",
+ "\n",
+ "#calculation\n",
+ "r01=z.real+zr.real\n",
+ "x01=z.imag+zr.imag\n",
+ "z01=(r01**2+x01**2)**0.5\n",
+ "s=z.real/(z.real+z01)\n",
+ "v1=v/3**0.5\n",
+ "pmax=3*v1**2/(2*(r01+z01))\n",
+ "\n",
+ "#result\n",
+ "print \"maximum gross power=\",pmax,\"W\"\n",
+ "print \"slip=\",s"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum gross power= 143676.459572 W\n",
+ "slip= 0.120771344025\n"
+ ]
+ }
+ ],
+ "prompt_number": 188
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.59, Page Number:1307"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v1=115#V\n",
+ "f=60.0#Hz\n",
+ "p=6\n",
+ "z=complex(0.07,0.3)\n",
+ "zr=complex(0.08,0.3)\n",
+ "gd=0.022#mho\n",
+ "bo=0.158#mho\n",
+ "s=0.02\n",
+ "\n",
+ "#calculation\n",
+ "rl_=1/bo*(1/s-1)\n",
+ "z=complex(z.real+zr.real+rl_,0.6)\n",
+ "v=v1/3**0.5\n",
+ "i2=complex(16,-2.36)\n",
+ "io=v*complex(gd,-bo)\n",
+ "i1=io+i2\n",
+ "pf=math.cos(math.atan(i1.imag/i1.real))\n",
+ "pg=3*abs(i2)**2*rl_/100\n",
+ "ns=120*f/p\n",
+ "n=(1-s)*ns\n",
+ "tg=9.55*pg/n\n",
+ "p2=3**0.5*v1*abs(i1)*pf\n",
+ "efficiency=pg*100/p2\n",
+ "\n",
+ "#result\n",
+ "print \"secondary current=\",i2,\"A\"\n",
+ "print \"primary current=\",i1,\"A\"\n",
+ "print \"pf=\",pf\n",
+ "print \"power output=\",pg,\"W\"\n",
+ "print \"torque=\",tg,\"N-m\"\n",
+ "print \"input=\",p2,\"W\"\n",
+ "print \"efficiency=\",efficiency,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "secondary current= (16-2.36j) A\n",
+ "primary current= (17.460696181-12.8504543912j) A\n",
+ "pf= 0.805393212665\n",
+ "power output= 2433.59058228 W\n",
+ "torque= 19.7625765823 N-m\n",
+ "input= 3477.92348593 W\n",
+ "efficiency= 69.9725164204 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 34.60, Page Number:1308"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=400.0#V\n",
+ "z=complex(0.4,1)\n",
+ "zr=complex(0.6,1)\n",
+ "zm=complex(10.0,50.0)\n",
+ "s=0.05\n",
+ "\n",
+ "#calculation\n",
+ "sm=zr.real/(z.real**2+(z.imag+zr.imag)**2)**0.5\n",
+ "v1=v/3**0.5\n",
+ "i2=v1/((z.real+zr.real)**2+(zr.imag+z.imag)**2)**0.5\n",
+ "tgmax=3*i2**2*z.real*60.0/(sm*2*3.14*1500)\n",
+ "#result\n",
+ "print \"maximum torque=\",tgmax,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum torque= 277.144160399 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter35.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter35.ipynb
new file mode 100644
index 00000000..99cfc3c1
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter35.ipynb
@@ -0,0 +1,1258 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:add10f49c90b647cf79b01d40fd4e1ca71068a8e9a13aad0c70f06cfeaabeda4"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 35: Computations and Circle Diagrams"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.1, Page Number:1316"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "i=10#A\n",
+ "p=450#W\n",
+ "v=110#V\n",
+ "r=0.05#ohm\n",
+ "loss=135#w\n",
+ "\n",
+ "#calculations\n",
+ "cu_loss=3*i**2*r\n",
+ "core_loss=p-loss-cu_loss\n",
+ "volt=v/math.sqrt(3)\n",
+ "g=core_loss/(3*(v/math.sqrt(3))**2)\n",
+ "y=i*math.sqrt(3)/v\n",
+ "b=math.sqrt(y**2-g**2)\n",
+ "\n",
+ "#result\n",
+ "print \"exciting conductance=\",g,\"seimens/phase\"\n",
+ "print \"susceptance/phase=\",b,\"seimens/phase\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "exciting conductance= 0.0247933884298 seimens/phase\n",
+ "susceptance/phase= 0.155494939853 seimens/phase\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.2, Page Number:1317"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=110.0#V\n",
+ "i=25.0#A\n",
+ "v2=30.0#V\n",
+ "inpt=440.0#W\n",
+ "loss=40.0#W\n",
+ "r=0.1#ohm\n",
+ "ratio=1.6\n",
+ "\n",
+ "#calculations\n",
+ "vs=v2/math.sqrt(3)\n",
+ "z01=vs/i\n",
+ "losses=inpt-loss\n",
+ "r01=losses/(3*i**2)\n",
+ "x01=math.sqrt(z01**2-r01**2)\n",
+ "dc_r=r/2.0\n",
+ "ac_r=dc_r*ratio\n",
+ "effective_r=r01-ac_r\n",
+ "\n",
+ "#result\n",
+ "print \"x01=\",x01,\"ohm\"\n",
+ "print \"r1=\",ac_r,\"ohm\"\n",
+ "print \"r2=\",effective_r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "x01= 0.659157711696 ohm\n",
+ "r1= 0.08 ohm\n",
+ "r2= 0.133333333333 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.10, Page Number:1333"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "ratio=1/4.0\n",
+ "slip=3.0\n",
+ "ratio2=4.0\n",
+ "\n",
+ "#calculations\n",
+ "K=math.sqrt(ratio/((ratio2**2)*0.01*slip))\n",
+ "\n",
+ "#result\n",
+ "print \"Percentage Tapping=\",K*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percentage Tapping= 72.1687836487 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.11, Page Number:1333"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=14.92#kW\n",
+ "v1=400#V\n",
+ "n=950#rpm\n",
+ "f=50.0#Hz\n",
+ "v2=400#V\n",
+ "ratio=1.8\n",
+ "i=30#A\n",
+ "\n",
+ "#calculations\n",
+ "v=v1/math.sqrt(ratio)\n",
+ "If=6*v*i/v1\n",
+ "K=v/v1\n",
+ "kisc=K**2*6*i\n",
+ "ts_tf=(1/6.0)*6**2*(f/1000.0)\n",
+ "\n",
+ "#result\n",
+ "print \"a)voltage=\",v,\"V\"\n",
+ "print \"b)current=\",If,\"A\"\n",
+ "print \"c)line current=\",kisc,\"A\"\n",
+ "print \"d)percentage=\",ts_tf*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)voltage= 298.142397 V\n",
+ "b)current= 134.16407865 A\n",
+ "c)line current= 100.0 A\n",
+ "d)percentage= 30.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.12, Page Number:1334"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "ratio=5.0\n",
+ "per=5\n",
+ "\n",
+ "#calculations\n",
+ "k=math.sqrt(ratio/3)\n",
+ "tst_tf=(3.0/5)*5**2*0.01*per*100\n",
+ "\n",
+ "#result\n",
+ "print \"auto-transformation ratio=\",tst_tf,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "auto-transformation ratio= 75.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.13, Page Number:1334"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400.0#V\n",
+ "per=3.5\n",
+ "v2=92.0#V\n",
+ "\n",
+ "#calculations\n",
+ "k=math.sqrt(2/(v/v2))\n",
+ "ts_tf=k**2*(v/v2)**2*0.01*per\n",
+ "\n",
+ "#result\n",
+ "print \"auto-transformation ratio=\",ts_tf*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "auto-transformation ratio= 30.4347826087 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.14, Page Number:1336"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=12.0#kW\n",
+ "v=440.0#V\n",
+ "efficiency=0.85\n",
+ "pf=0.8\n",
+ "i=45.0#A\n",
+ "v2=220.0#V\n",
+ "\n",
+ "#calculations\n",
+ "isc=i*v/v2\n",
+ "if_=load*1000/(efficiency*math.sqrt(3)*pf*v)\n",
+ "ist=isc/math.sqrt(3)\n",
+ "ratio=ist/if_\n",
+ "\n",
+ "#result\n",
+ "print \"ratio=\",ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio= 2.244\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.15, Page Number:1336"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "i=60.0#A\n",
+ "n1=940.0#rpm\n",
+ "t=150.0#N-m\n",
+ "i2=300.0#A\n",
+ "\n",
+ "#calculations\n",
+ "sf=(1000-n1)/1000\n",
+ "tst=t*(i2/i)**2*sf\n",
+ "s_i=i2/3\n",
+ "sd_tst=tst/3\n",
+ "\n",
+ "#result\n",
+ "print \"Starting torque=\",tst,\"N-m\"\n",
+ "print\"when star/delta is used:\"\n",
+ "print \"starting current=\",s_i,\"A\"\n",
+ "print \"starting torque=\",sd_tst,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Starting torque= 225.0 N-m\n",
+ "when star/delta is used:\n",
+ "starting current= 100.0 A\n",
+ "starting torque= 75.0 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.16, Page Number:1336"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "tapping=70.7\n",
+ "ratio=6.0\n",
+ "slip=4.0\n",
+ "\n",
+ "#calculation\n",
+ "tst_tf=(1.0/3.0)*ratio**2.0*slip*0.01\n",
+ "tst_tf2=(1.0/2)*ratio**2.0*slip*0.01\n",
+ "\n",
+ "#result\n",
+ "print \"star-delta switch:starting torque=\",tst_tf*100,\"%\"\n",
+ "print \"auto-transformer switch:starting torque=\",tst_tf2*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "star-delta switch:starting torque= 48.0 %\n",
+ "auto-transformer switch:starting torque= 72.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 48
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.17, Page Number:1337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=11.2#W\n",
+ "f=50.0#Hz\n",
+ "v=400.0#V\n",
+ "n=960.0#rpm\n",
+ "i=86.4#A\n",
+ "efficiency=0.88\n",
+ "pf=0.85\n",
+ "\n",
+ "#calculations\n",
+ "isc=i/math.sqrt(3)\n",
+ "ist=isc/math.sqrt(3)\n",
+ "il=load*1000/(efficiency*pf*math.sqrt(3)*v)\n",
+ "iph=il/math.sqrt(3)\n",
+ "tst_tf=(ist*math.sqrt(3)/il)**2*0.05\n",
+ "\n",
+ "#result\n",
+ "print \"starting torque=\",tst_tf*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "starting torque= 26.6369577796 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.18, Page Number:1337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "output=10.0#kW\n",
+ "v=400.0#V\n",
+ "pf=0.85\n",
+ "efficiency=0.88\n",
+ "v2=200.0#V\n",
+ "i=40.0#A\n",
+ "\n",
+ "#calculations\n",
+ "il=load*1000/(efficiency*math.sqrt(3)*v*pf)\n",
+ "isc=i*v/v2\n",
+ "iscp=isc/math.sqrt(3)\n",
+ "ist=iscp/math.sqrt(3)\n",
+ "ratio=ist/il\n",
+ "\n",
+ "#result\n",
+ "print \"ratio=\",ratio"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio= 1.23388000387\n"
+ ]
+ }
+ ],
+ "prompt_number": 53
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.19, Page Number:1337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=3.73*1000#W\n",
+ "v=400.0#V\n",
+ "f=50.0#Hz\n",
+ "slip=4.5\n",
+ "t=250.0\n",
+ "i=650.0\n",
+ "tap=60.0\n",
+ "\n",
+ "#calculation\n",
+ "il=i/3\n",
+ "im=i/3\n",
+ "tst=t/3\n",
+ "ilm=(tap/100)**2*i\n",
+ "imk=(tap/100)*i\n",
+ "tstk=(tap/100)**2*t\n",
+ "\n",
+ "#result\n",
+ "print \"star/delta:\"\n",
+ "print \"line current=\",il,\"%\"\n",
+ "print \"motor current=\",im,\"%\"\n",
+ "print \"starting torque=\",tst,\"%\"\n",
+ "print \"60% taps:\"\n",
+ "print \"line current=\",ilm,\"%\"\n",
+ "print \"motor current=\",imk,\"%\"\n",
+ "print \"starting torque=\",tstk,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " star/delta:\n",
+ "line current= 216.666666667 %\n",
+ "motor current= 216.666666667 %\n",
+ "starting torque= 83.3333333333 %\n",
+ "60% taps:\n",
+ "line current= 234.0 %\n",
+ "motor current= 390.0 %\n",
+ "starting torque= 90.0 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 55
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.20, Page Number:1338"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=180.0\n",
+ "flt=35.0\n",
+ "tap=75.0\n",
+ "\n",
+ "#calculations\n",
+ "isc=load*3.0/100\n",
+ "isck=tap**2*isc/100\n",
+ "sf=flt*3\n",
+ "tst_tf=tap**2*sf/100\n",
+ "#result\n",
+ "print \"starting current=\",isck,\"%\"\n",
+ "print \"starting torque=\",tst_tf/100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "starting current= 303.75 %\n",
+ "starting torque= 59.0625 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 68
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.21, Page Number:1338"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "#variable declaration\n",
+ "w=7.46#kW\n",
+ "ic=1.7\n",
+ "t=35.0\n",
+ "ratio=60.0\n",
+ "\n",
+ "#calculations\n",
+ "sf=t*3/100\n",
+ "il1=ic*3\n",
+ "tst=(ratio/1000)**2*sf*10000\n",
+ "il2=(ratio/100)*3*ic\n",
+ "\n",
+ "#results\n",
+ "print \"auto-starter:\"\n",
+ "print \"line-current=\",il1,\"%\"\n",
+ "print \"torque=\",tst,\"%\"\n",
+ "print \"voltage decreased to 60%\"\n",
+ "print \"line-current\",il2,\"%\"\n",
+ "print \"torque=\",tst,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "auto-starter:\n",
+ "line-current= 5.1 %\n",
+ "torque= 37.8 %\n",
+ "voltage decreased to 60%\n",
+ "line-current 3.06 %\n",
+ "torque= 37.8 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 71
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.22, Page Number:1342"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "slip=2.0\n",
+ "r=0.02#ohm\n",
+ "n=6.0\n",
+ "#calculations\n",
+ "smax=r2=slip/100.0\n",
+ "R1=r2/smax\n",
+ "K=math.pow(smax,1.0/5)\n",
+ "R2=K*R1\n",
+ "R3=K*R2\n",
+ "R4=K*R3\n",
+ "R5=K*R4\n",
+ "p1=R1-R2\n",
+ "p2=R2-R3\n",
+ "p3=R3-R4\n",
+ "p4=R4-R5\n",
+ "p5=R5-r2\n",
+ "\n",
+ "#result\n",
+ "print \"resistances of various starter sections:\"\n",
+ "print \"p1=\",p1,\"ohm\"\n",
+ "print \"p2=\",p2,\"ohm\"\n",
+ "print \"p3=\",p3,\"ohm\"\n",
+ "print \"p4=\",p4,\"ohm\"\n",
+ "print \"p5=\",p5,\"ohm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resistances of various starter sections:\n",
+ "p1= 0.542694948073 ohm\n",
+ "p2= 0.248177141409 ohm\n",
+ "p3= 0.113492660539 ohm\n",
+ "p4= 0.0519007670213 ohm\n",
+ "p5= 0.0237344829577 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 107
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.23, Page Number:1345"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "primary=complex(1,3)\n",
+ "outer=complex(3,1)\n",
+ "inner=complex(0.6,5)\n",
+ "s=4\n",
+ "outer2=complex(3/(s*0.01),1)\n",
+ "inner2=complex(0.6/(s*0.01),5)\n",
+ "v=440#V\n",
+ "\n",
+ "\n",
+ "#calculations\n",
+ "#s=1\n",
+ "z01=primary+1/((1/outer)+(1/inner))\n",
+ "current_per_phase=v/abs(z01)\n",
+ "torque=3*current_per_phase**2*(z01.real-1)\n",
+ "\n",
+ "print \"s=1: torque=\",torque,\"synch watt\"\n",
+ "\n",
+ "#s=4\n",
+ "z01=primary+1/((1/outer2)+(1/inner2))\n",
+ "current_per_phase=v/abs(z01)\n",
+ "torque=3*current_per_phase**2*(z01.real-1)\n",
+ "\n",
+ "print \"s=4: torque=\",torque,\"synch watt\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "s=1: torque= 35065.3642462 synch watt\n",
+ "s=4: torque= 32129.9449695 synch watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.24, Page Number:1346"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "inner=complex(0.4,2)\n",
+ "outer=complex(2,0.4)\n",
+ "s=5\n",
+ "inner2=complex(0.4/(s*0.01),2)\n",
+ "outer2=complex(2/(s*0.01),0.4)\n",
+ "print \n",
+ "#calculations\n",
+ "#s=1\n",
+ "zi=abs(inner)\n",
+ "zo=abs(outer)\n",
+ "r_ratio=inner.imag/outer.imag\n",
+ "to_ti=r_ratio*(zo/zi)**2\n",
+ "print \"Ratio of torques when s=1:\",to_ti\n",
+ "\n",
+ "#s=5\n",
+ "zi=abs(inner2)\n",
+ "zo=abs(outer2)\n",
+ "print zi\n",
+ "r_ratio=inner2.imag/outer2.imag\n",
+ "to_ti=r_ratio*(zi/zo)**2\n",
+ "\n",
+ "print \"Ratio of torques when s=5:\",to_ti"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "Ratio of torques when s=1: 5.0\n",
+ "8.24621125124\n",
+ "Ratio of torques when s=5: 0.212478752125\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.25, Page Number:1346"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "s=5\n",
+ "zi=complex(0.05,0.4)\n",
+ "zo=complex(0.5,0.1)\n",
+ "v=100#V\n",
+ "\n",
+ "#calculations\n",
+ "#s=1\n",
+ "z=zo*zi/(zo+zi)\n",
+ "r2=z.real\n",
+ "z=abs(z)\n",
+ "i2=v/z\n",
+ "t=i2**2*r2\n",
+ "print \"s=1:torque=\",t,\"synch watts\"\n",
+ "\n",
+ "#s=0.01\n",
+ "zi=complex(0.05/(s*0.01),0.4)\n",
+ "zo=complex(0.5/(s*0.01),0.1)\n",
+ "z=zo*zi/(zo+zi)\n",
+ "r2=z.real\n",
+ "z=abs(z)\n",
+ "i2=v/z\n",
+ "t=i2**2*r2\n",
+ "print \"s=5:torque=\",t,\"synch watts\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "s=1:torque= 22307.6923077 synch watts\n",
+ "s=5:torque= 9620.58966517 synch watts\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.26, Page Number:1348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "s=Symbol('s')\n",
+ "z2=complex(2,1.2)\n",
+ "z1=complex(0.5,3.5)\n",
+ "#Z1=((2/s)^2+1.2^2)^0.5\n",
+ "#Z2=((0.5/s)^2+3.5^2)^0.5\n",
+ "#T1=T2\n",
+ "ans=solve([(((2**2)/(s**2))+1.2**2)-((((0.5**2)/(s**2))+3.5**2)*4)],[s])\n",
+ "print \"slip=\",round(ans[1][0]*100,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "slip= 25.1 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.27, Page Number:1347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "zo=complex(1,0)\n",
+ "zi=complex(0.15,3)\n",
+ "v=250#V\n",
+ "n=1000#rpm\n",
+ "\n",
+ "#calculations\n",
+ "z2=zo*zi/(zo+zi)\n",
+ "stator=complex(0.25,3.5)\n",
+ "z01=z2+stator\n",
+ "i=complex(v,0)/z01\n",
+ "i=abs(i)\n",
+ "cu_loss=i**2*z01.real\n",
+ "T=cu_loss*3/(2*math.pi*(n/60))\n",
+ "#result\n",
+ "print \"torque=\",T,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 135.560320318 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.28, Page Number:1348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "z1=complex(1,2.8)\n",
+ "zo=complex(3,1)\n",
+ "zi=complex(0.5,5)\n",
+ "v=440#V\n",
+ "s=0.04\n",
+ "\n",
+ "#calculations\n",
+ "#s=1\n",
+ "z2=zo*zi/(zo+zi)\n",
+ "z01=z1+z2\n",
+ "i2=v/z01\n",
+ "r2=z2.real\n",
+ "t=abs(i2)**2*r2\n",
+ "\n",
+ "print \"s=1:torque=\",t,\"synch. watt\"\n",
+ "\n",
+ "#s=0.04\n",
+ "zo=complex(3.0/s,1.0)\n",
+ "zi=complex(0.5/s,5.0)\n",
+ "z2=zo*zi/(zo+zi)\n",
+ "z01=z1+z2\n",
+ "i2=v/z01\n",
+ "r2=z2.real\n",
+ "t=abs(i2)**2*r2\n",
+ "print \"s=4:torque=\",t,\"synch. watt\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "s=1:torque= 12388.3258184 synch. watt\n",
+ "s=4:torque= 11489.1141244 synch. watt\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.29, Page Number:1351"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "r=0.30#ohm\n",
+ "n1=1440.0#rpm\n",
+ "n2=1320.0#rpm\n",
+ "ns=120.0*f/4.0\n",
+ "#calculations\n",
+ "s1=(ns-n1)/ns\n",
+ "s2=(ns-n2)/ns\n",
+ "r=s2*r/s1-r\n",
+ "\n",
+ "#result\n",
+ "print \"external resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "external resistance= 0.6 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.30, Page Number:1348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "s=0.03\n",
+ "ratio=10.0\n",
+ "r=0.2\n",
+ "\n",
+ "#calculations\n",
+ "ns=120*f/6\n",
+ "s1=s\n",
+ "n1=ns*(1-s1)\n",
+ "n2=n1-10*n1/100\n",
+ "s2=(ns-n2)/ns\n",
+ "r=s2*r/s1-r\n",
+ "\n",
+ "#result\n",
+ "print \"external resistance=\",r,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "external resistance= 0.646666666667 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 61
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.31, Page Number:1354"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Variable declaration\n",
+ "f=50#Hz\n",
+ "s=0.02\n",
+ "\n",
+ "#calculations\n",
+ "nsc=120*f/10\n",
+ "n=(1-s)*nsc\n",
+ "nsa=120*f/6\n",
+ "sa=(nsa-n)/nsa\n",
+ "f_=sa*f\n",
+ "n_=(120*f_)/4\n",
+ "sb=(n_-n)/n_\n",
+ "f__=sb*f_\n",
+ "\n",
+ "#resu;t\n",
+ "print \"f_=\",f_,\"Hz\"\n",
+ "print \"f_ _=\",f__,\"Hz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "f_= 20.6 Hz\n",
+ "f_ _= 1.0 Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 69
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.32, Page Number:1354"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "f2=1.0#Hz\n",
+ "\n",
+ "#calculations\n",
+ "nsc=120*f/10\n",
+ "s=f2/f\n",
+ "n=nsc-s*nsc\n",
+ "nsa=120*f/4\n",
+ "sa=(nsa-n)/nsa\n",
+ "f1=sa*f\n",
+ "n2=120*f1/6\n",
+ "sb=(n2-n)/n2\n",
+ "\n",
+ "#result\n",
+ "print \"sa=\",sa*100,\"%\"\n",
+ "print \"sb=\",sb*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sa= 60.8 %\n",
+ "sb= 3.28947368421 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.33, Page Number:1354"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50#Hz\n",
+ "load=74.6#kW\n",
+ "\n",
+ "#calculations\n",
+ "nsc=120*f/10\n",
+ "output=load*4/10\n",
+ "\n",
+ "#result\n",
+ "print \"speed of set=\",nsc,\"rpm\"\n",
+ "print \"electric power transferred=\",output,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed of set= 600 rpm\n",
+ "electric power transferred= 29.84 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 79
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 35.34, Page Number:1355"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50#Hz\n",
+ "load=25#kW\n",
+ "\n",
+ "#calculations\n",
+ "nsc=120*f/10\n",
+ "output=load*4/10\n",
+ "\n",
+ "#result\n",
+ "print \"speed of set=\",nsc,\"rpm\"\n",
+ "print \"electric power transferred=\",output,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "speed of set= 600 rpm\n",
+ "electric power transferred= 10 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 78
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter36.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter36.ipynb
new file mode 100644
index 00000000..95eb9b1e
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter36.ipynb
@@ -0,0 +1,391 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:cd727f10a4caede23f6dcd22be7261834b049d15aeb309766271ec0c03a024c2"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 36: Single-Phase Motors"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 36.1, Page Number:1374"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "R1=1.86\n",
+ "X1=2.56\n",
+ "R2=3.56\n",
+ "X2=2.56\n",
+ "Xm=53.5\n",
+ "r1=R1/2\n",
+ "x1=X1/2\n",
+ "r2=R2/2\n",
+ "x2=X2/2\n",
+ "xm=Xm/2\n",
+ "v=110\n",
+ "f=60\n",
+ "s=0.05\n",
+ "\n",
+ "#calculations\n",
+ "xo=xm+x2\n",
+ "\n",
+ "zf=(((r2/s)*xm)/(((r2/s)*(r2/s))+(xo*xo)))*xm\n",
+ "jf=(((r2/s)*(r2/s)+(x2*xo))/(((r2/s)*(r2/s))+(xo*xo)))*xm\n",
+ "Jf=math.degrees(math.atan(jf/zf))\n",
+ "\n",
+ "zb=(((r2/(2-s))*xm)/(((r2/s)*(r2/(2-s)))+(xo*xo)))*xm\n",
+ "jb=(((r2/(2-s))*(r2/(2-s))+(x2*xo))/(((r2/(2-s))*(r2/(2-s)))+(xo*xo)))*xm\n",
+ "Jb=math.degrees(math.atan(jb/zb))\n",
+ "\n",
+ "Z1=R1\n",
+ "J1=X1\n",
+ "z01=Z1+zf+zb\n",
+ "j01=jf+jb+J1\n",
+ "J01=math.degrees(math.atan(j01/z01))\n",
+ "\n",
+ "i1=v/z01\n",
+ "vf=i1*zf\n",
+ "vb=i1*zb\n",
+ "z3=math.sqrt(((r2/s)*(r2/s))+(x2*x2))\n",
+ "z5=math.sqrt(((r2/(2-s))*(r2/(2-s)))+(x2*x2))\n",
+ "\n",
+ "i3=vf/z3\n",
+ "i5=vb/z5\n",
+ "tf=(i3*i3*r2)/s\n",
+ "tb=t5=(i5*i5*r2)/(2-s)\n",
+ "t=tf-tb\n",
+ "output=t*(1-s)\n",
+ "\n",
+ "#result\n",
+ "print \"output = \",output"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output = 206.798750547\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example Number 36.2, Page Number:1375"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "p=185\n",
+ "v=110\n",
+ "f=50\n",
+ "s=0.05\n",
+ "R1=1.86\n",
+ "X1=2.56\n",
+ "Xo=53.5\n",
+ "R2=3.56\n",
+ "X2=2.56\n",
+ "Xm=53.5\n",
+ "cl=3.5#core loss\n",
+ "fl=13.5#friction loss\n",
+ "vf=(82.5/100)*v\n",
+ "ic=(cl*100)/vf\n",
+ "r1=R1/2\n",
+ "x1=X1/2\n",
+ "r2=R2/2\n",
+ "x2=X2/2\n",
+ "xm=Xm/2\n",
+ "rc=vf/ic\n",
+ "\n",
+ "#calculations\n",
+ "\n",
+ "#motor 1\n",
+ "c=1/rc #conductance of corebranch\n",
+ "s=-(1/xm)#susceptance\n",
+ "a1=(r2/s)/(((r2/s)*r2/s)+(x2*x2))#admittance\n",
+ "a1j=-x2/(((r2/s)*r2/s)+(x2*x2))#admittance j\n",
+ "yf=c+a1\n",
+ "yfj=s+a1j\n",
+ "zf=(yf*yf)+(yfj*yfj)\n",
+ "zfr=yf/zf\n",
+ "zfj=yfj/zf\n",
+ "\n",
+ "#motor 2\n",
+ "a2=(r2/2-s)/(((r2/(2-s))*(r2/(2-s)))+(x2*x2))\n",
+ "a2j=-x2/(((r2/(2-s))*(r2/(2-s)))+(x2*x2))\n",
+ "Z1=R1\n",
+ "J1=X1\n",
+ "yb=yf+a2\n",
+ "ybj=yfj+a2j\n",
+ "zb1=(yb*yb)+(ybj*ybj)\n",
+ "zbr=yb/zb1\n",
+ "zbj=ybj/zb1\n",
+ "z01=Z1+zf+zbr\n",
+ "z01j=J1+zfj+zbj\n",
+ "\n",
+ "i1=v/z01\n",
+ "vf=i1*zf\n",
+ "vb=i1*zbr\n",
+ "z3=math.sqrt(((r2/s)*(r2/s))+(x2*x2))\n",
+ "z5=math.sqrt(((r2/(2-s))*(r2/(2-s)))+(x2*x2))\n",
+ "\n",
+ "i3=vf/z3\n",
+ "i5=vb/z5\n",
+ "tf=(i3*i3*r2)/s\n",
+ "tb=t5=(i5*i5*r2)/(2-s)\n",
+ "t=tf-tb\n",
+ "watt=t*(1-s)\n",
+ "net_output=watt-fl\n",
+ "\n",
+ "#result\n",
+ "print \"Net output = \",net_output"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Net output = -446.423232085\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 36.3, Page Number:1376"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "w=250\n",
+ "v=230\n",
+ "f=50\n",
+ "zm=4.5\n",
+ "zmj=3.7\n",
+ "za=9.5\n",
+ "zaj=3.5\n",
+ "\n",
+ "#calculations\n",
+ "zma=math.degrees(math.atan(zmj/zm))\n",
+ "ialeadv=90-zma\n",
+ "x=za*(math.tan(math.radians(ialeadv)))\n",
+ "xc=x+zaj\n",
+ "c=1000000/(xc*2*50*3.14)\n",
+ "\n",
+ "#result\n",
+ "print \"C= \",c,\" uf\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "C= 211.551875951 uf\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 36.4, Page Number:1393"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "#variable declaration\n",
+ "\n",
+ "p=250\n",
+ "f=50\n",
+ "v=220\n",
+ "ndc=2000\n",
+ "ia=1\n",
+ "ra=20\n",
+ "la=0.4\n",
+ "\n",
+ "#calculations\n",
+ "ebdc=v-(ia*ra)\n",
+ "#ac\n",
+ "xa=2*3.14*f*la\n",
+ "ebac=-(ia*ra)+math.sqrt((v*v)-((ia*xa)*(ia*xa)))\n",
+ "nac=(ebac*ndc)/ebdc\n",
+ "cos_phi=(ebac+(ia*ra))/v\n",
+ "pmech=ebac*ia\n",
+ "T=(pmech*9.55)/nac\n",
+ "\n",
+ "#result\n",
+ "print \"Speed= \",nac,\" rpm\"\n",
+ "print \"Torque= \",T,\" N-m\"\n",
+ "print \"Power Factor= \",cos_phi,\" lag\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Speed= 1606.22922133 rpm\n",
+ "Torque= 0.955 N-m\n",
+ "Power Factor= 0.821013282424 lag\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 36.5, Page Number:1394"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "r=30\n",
+ "l=0.5\n",
+ "v=250\n",
+ "idc=0.8\n",
+ "ndc=2000\n",
+ "f=50\n",
+ "ia=0.8\n",
+ "\n",
+ "#calculations\n",
+ "\n",
+ "xa=2*3.14*f*l\n",
+ "ra=r\n",
+ "ebac=-(ia*ra)+math.sqrt((v*v)-((ia*xa)*(ia*xa)))\n",
+ "ebdc=v-(r*idc)\n",
+ "nac=(ndc*ebac)/ebdc\n",
+ "cos_phi=(ebac+(ia*ra))/v\n",
+ "\n",
+ "#result\n",
+ "print \"Speed= \",nac,\" rpm\"\n",
+ "print \"Power Factor= \",cos_phi,\" lag\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Speed= 1700.52062383 rpm\n",
+ "Power Factor= 0.864635321971 lag\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 36.6, Page Number:1396"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "f=50\n",
+ "a=30\n",
+ "w=8\n",
+ "v=220\n",
+ "v2=205\n",
+ "pole=4\n",
+ "\n",
+ "#calculations\n",
+ "\n",
+ "ns=(120*f)/pole\n",
+ "tsh=(9.55*w*1000)/ns\n",
+ "alpha=0.5*(math.degrees(math.asin((v*v*math.sin(math.radians(2*a)))/(v2*v2))))\n",
+ "\n",
+ "#result\n",
+ "print \"Torque angle if voltage drops to 205 V = \",alpha,\" degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Torque angle if voltage drops to 205 V = 42.9327261097 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter37.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter37.ipynb
new file mode 100644
index 00000000..7862658a
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter37.ipynb
@@ -0,0 +1,3137 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:3a9b903871f8bdf2f971bf001fa7cff3dbf47aad5e657d5bfcea016f9756d9ac"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 37: Alternators"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.1, Page Number:1412"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "s1=36.0\n",
+ "p1=4.0\n",
+ "span1=8.0\n",
+ "s2=72.0\n",
+ "p2=6.0\n",
+ "span2=10.0\n",
+ "s3=96.0\n",
+ "p3=6.0\n",
+ "span3=12.0\n",
+ "\n",
+ "#calculations\n",
+ "alpha1=2*p1*180/s1\n",
+ "alpha2=3*p2*180/s2\n",
+ "alpha3=5*p3*180/s3\n",
+ "kc1=math.cos(math.radians(alpha1/2))\n",
+ "kc2=math.cos(math.radians(alpha2/2))\n",
+ "kc3=math.cos(math.radians(alpha3/2))\n",
+ "\n",
+ "#result\n",
+ "print \"a)kc=\",kc1\n",
+ "print \"b)kc=\",kc2\n",
+ "print \"c)kc=\",kc3"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)kc= 0.939692620786\n",
+ "b)kc= 0.923879532511\n",
+ "c)kc= 0.881921264348\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.2, Page Number:1414"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "s=36.0\n",
+ "p=4.0\n",
+ "\n",
+ "#calculations\n",
+ "n=s/p\n",
+ "beta=180/n\n",
+ "m=s/(p*3)\n",
+ "kd=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "\n",
+ "#result\n",
+ "print \"distribution factor=\",kd"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "distribution factor= 0.959795080524\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.3, Page Number:1414"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=10.0#V\n",
+ "beta=30.0#degrees\n",
+ "m=6.0\n",
+ "\n",
+ "#calculations\n",
+ "kd=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "arith_sum=6*v\n",
+ "vector_sum=kd*arith_sum\n",
+ "\n",
+ "#calculation\n",
+ "print \"emf of six coils in series=\",vector_sum,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "emf of six coils in series= 38.6370330516 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.4, Page Number:1414"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "beta=180/9\n",
+ "ratio=2.0/3.0\n",
+ "m1=9\n",
+ "m2=6\n",
+ "m3=3\n",
+ "\n",
+ "#calculation\n",
+ "kd1=math.sin(m1*math.radians(beta/2))/(m1*math.sin(math.radians(beta/2)))\n",
+ "kd2=math.sin(m2*math.radians(beta/2))/(m2*math.sin(math.radians(beta/2)))\n",
+ "kd3=math.sin(m3*math.radians(beta/2))/(m3*math.sin(math.radians(beta/2)))\n",
+ "\n",
+ "#result\n",
+ "print \"i) kd=\",kd1\n",
+ "print \"ii)kd=\",kd2\n",
+ "print \"iii)kd=\",kd3"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i) kd= 0.639863387016\n",
+ "ii)kd= 0.831206922161\n",
+ "iii)kd= 0.959795080524\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.5, Page Number:1416"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "slot=18.0\n",
+ "s=16.0\n",
+ "m1=3.0\n",
+ "m2=5.0\n",
+ "m3=7.0\n",
+ "\n",
+ "#calculations\n",
+ "span=(s-1)\n",
+ "alpha=180*3/slot\n",
+ "kc1=math.cos(math.radians(alpha/2))\n",
+ "kc3=math.cos(math.radians(m1*alpha/2))\n",
+ "kc5=math.cos(math.radians(m2*alpha/2))\n",
+ "kc7=math.cos(math.radians(m3*alpha/2))\n",
+ "\n",
+ "#result\n",
+ "print \"kc1=\",kc1\n",
+ "print \"kc3=\",kc3\n",
+ "print \"kc5=\",kc5\n",
+ "print \"kc7=\",kc7"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kc1= 0.965925826289\n",
+ "kc3= 0.707106781187\n",
+ "kc5= 0.258819045103\n",
+ "kc7= -0.258819045103\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.6, Page Number:1416"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=16.0\n",
+ "s=144.0\n",
+ "z=10.0\n",
+ "phi=0.03#Wb\n",
+ "n=375.0#rpm\n",
+ "\n",
+ "#calculation\n",
+ "f=p*n/120\n",
+ "n=s/p\n",
+ "beta=180/9\n",
+ "m=s/(p*3)\n",
+ "kd=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "t=s*z/(3*2)\n",
+ "eph=4.44*1*0.96*f*phi*t\n",
+ "el=3**0.5*eph\n",
+ "#result\n",
+ "print \"frequency=\",f,\"Hz\"\n",
+ "print \"phase emf=\",eph,\"V\"\n",
+ "print \"line emf=\",el,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "frequency= 50.0 Hz\n",
+ "phase emf= 1534.464 V\n",
+ "line emf= 2657.76961039 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.7, Page Number:1416"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=6\n",
+ "s=54\n",
+ "phi=0.1#Wb\n",
+ "n=1200#rpm\n",
+ "t=8\n",
+ "#calculations\n",
+ "beta=180/9\n",
+ "kc=math.cos(beta/2)\n",
+ "f=p*n/120\n",
+ "n=s/p\n",
+ "m=s/(p*3)\n",
+ "kd=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "z=s*8/3\n",
+ "t=z/2\n",
+ "eph=4.44*0.98*0.96*f*phi*t\n",
+ "el=3**0.*eph\n",
+ "\n",
+ "#result\n",
+ "print \"eph=\",eph,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "eph= 1804.529664 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.8, Page Number:1416"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=16.0\n",
+ "slots=144.0\n",
+ "z=4.0\n",
+ "n=375.0\n",
+ "airgap=5*0.01\n",
+ "theta=150.0\n",
+ "\n",
+ "#calculation\n",
+ "kf=1.11\n",
+ "alpha=(180-theta)\n",
+ "kc=math.cos(math.radians(alpha/2))\n",
+ "beta=180/9\n",
+ "m=slots/(p*3)\n",
+ "kd=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "f=p*n/120\n",
+ "s=slots/3\n",
+ "eph=4*kf*kc*kd*f*airgap*s*4/2\n",
+ "\n",
+ "#result\n",
+ "print \"emf per phase=\",eph,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "emf per phase= 987.908016392 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.9, Page Number:1417"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=10\n",
+ "f=50#Hz\n",
+ "n=600#rpm\n",
+ "slots=180\n",
+ "s=15\n",
+ "d=1.2#m\n",
+ "l=0.4#m\n",
+ "m=6\n",
+ "beta=180/18\n",
+ "#calculations\n",
+ "area=(1.2*3.14/p)*l\n",
+ "phi1=area*0.637\n",
+ "vr=1.1*2*f*phi1\n",
+ "vp=2**0.5*vr\n",
+ "v3=0.4*vp\n",
+ "v5=0.2*vp\n",
+ "vf=6*vp*0.966\n",
+ "vf3=6*v3*0.707\n",
+ "vf5=6*v5*0.259\n",
+ "kd1=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "kd2=math.sin(math.radians(3*m*beta/2))/(6*math.sin(3*math.radians(beta/2)))\n",
+ "kd3=math.sin(math.radians(5*m*beta/2))/(6*math.sin(5*math.radians(beta/2)))\n",
+ "vph=vf*2**0.5*60*kd1\n",
+ "vph3=vf3*2**0.5*60*kd2\n",
+ "vph5=vf5*2**0.5*60*kd3\n",
+ "rmsv=(vph**2+vph3**2+vph5**2)**0.5\n",
+ "rmsvl=3**0.5*(vph**2+vph5**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"i)e=\",vp,\"sin theta+\",v3,\"sin 3theta+\",v5,\"sin 5theta\"\n",
+ "print \"ii)e=\",vf,\"sin theta+\",vf3,\"sin 3theta+\",vf5,\"sin 5theta\"\n",
+ "print \"iii)rms value of phase voltage=\",rmsv,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i)e= 14.9354392872 sin theta+ 5.97417571489 sin 3theta+ 2.98708785745 sin 5theta\n",
+ "ii)e= 86.5658061088 sin theta+ 25.3424533826 sin 3theta+ 4.64193453047 sin 5theta\n",
+ "iii)rms value of phase voltage= 7158.83679423 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 33
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.10, Page Number:1418"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=4\n",
+ "f=50.0#Hz\n",
+ "slot=60.0\n",
+ "z=4.0\n",
+ "s=3.0\n",
+ "theta=60.0\n",
+ "phi=0.943#Wb\n",
+ "\n",
+ "#calculation\n",
+ "m=slot/(p*s)\n",
+ "beta=slot/5\n",
+ "kd=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "alpha=(s/15)*180\n",
+ "kc=math.cos(math.radians(alpha/2))\n",
+ "z=slot*z/s\n",
+ "t=z/2\n",
+ "kf=1.11\n",
+ "eph=z*kf*kc*kd*f*phi*t/2\n",
+ "el=3**0.5*eph*0.1\n",
+ "\n",
+ "#result\n",
+ "print \"line voltage=\",el,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line voltage= 13196.4478482 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.11, Page Number:1418"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4.0\n",
+ "f=50.0#Hz\n",
+ "slot=15.0\n",
+ "z=10.0\n",
+ "kd=0.95\n",
+ "e=1825#v\n",
+ "kc=1\n",
+ "kf=1.11\n",
+ "#calculations\n",
+ "slots=p*slot\n",
+ "slotsp=slots/3\n",
+ "turnp=20*z/2\n",
+ "phi=e/(3**0.5*p*kc*kf*kd*f*turnp)\n",
+ "z=slots*z\n",
+ "n=120*f/p\n",
+ "eg=(phi*0.001*z*n)/slots\n",
+ "\n",
+ "#result\n",
+ "print \"emf=\",eg*1000,\"V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "emf= 749.405577006 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 47
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.12, Page Number:1419"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=360#V\n",
+ "f=60.0#Hz\n",
+ "i=3.6#A\n",
+ "f2=40#Hz\n",
+ "i2=2.4#A\n",
+ "\n",
+ "#calculations\n",
+ "e2=v*i2*f2/(f*i)\n",
+ "\n",
+ "#result\n",
+ "print \"e2=\",e2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "e2= 160.0 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.13, Page Number:1418"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=0\n",
+ "f=50.0#Hz\n",
+ "slot=2\n",
+ "z=4\n",
+ "theta=150#degrees\n",
+ "phi=0.12#Wb\n",
+ "per=20#%\n",
+ "\n",
+ "#calculations\n",
+ "alpha=180-theta\n",
+ "slotp=6\n",
+ "m=2\n",
+ "beta=180/slotp\n",
+ "kd1=math.sin(m*math.radians(beta/2))/(m*math.sin(math.radians(beta/2)))\n",
+ "z=10*slot*z\n",
+ "t=z/2\n",
+ "e1=4.44*kd1*kd1*f*0.12*t\n",
+ "kc3=math.cos(3*math.radians(alpha/2))\n",
+ "f2=f*3\n",
+ "phi3=(1.0/3)*per*0.12\n",
+ "e3=4.44*kd3*kd3*theta*0.008*40\n",
+ "e=(e1**2+e3**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"e=\",e,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "e= 994.25286629 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 50
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.14, Page Number:1419"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=230.0#V\n",
+ "per=10.0#%\n",
+ "per2=6.0#%\n",
+ "f=50.0#Hz\n",
+ "r=10.0#ohm\n",
+ "\n",
+ "#calculation\n",
+ "#star connection\n",
+ "e5=per*v/100\n",
+ "e=(v**2+e5**2)**0.5\n",
+ "eph=3**0.5*e\n",
+ "\n",
+ "#delta\n",
+ "e3=10*v/100\n",
+ "f3=10*3\n",
+ "i=e3/f3\n",
+ "\n",
+ "#result\n",
+ "print \"line voltage for star=\",eph,\"V\"\n",
+ "print \"line voltage for delta=\",e3,\"V\"\n",
+ "print \"current=\",i,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line voltage for star= 400.358589267 V\n",
+ "line voltage for delta= 23.0 V\n",
+ "current= 0.766666666667 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 55
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.15(a), Page Number:1420"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=10.0\n",
+ "p1=24.0\n",
+ "f=25#Hz\n",
+ "p3=6.0\n",
+ "s=0.05\n",
+ "\n",
+ "#calculation\n",
+ "n=120*f/p\n",
+ "f1=p1*n/120\n",
+ "n2=120*f1/6\n",
+ "n3=(1-s)*n2\n",
+ "f2=s*f1p\n",
+ "\n",
+ "\n",
+ "#result\n",
+ "print \"frequency=\",f1,\"Hz\"\n",
+ "print \"speed=\",n3,\"rpm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "frequency= 60.0 Hz\n",
+ "speed= 1140.0 rpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.15(b), Page Number:1420"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "p=4\n",
+ "phi=0.12#Wb\n",
+ "slotsp=4\n",
+ "cp=4\n",
+ "theta=150#degrees\n",
+ "\n",
+ "#calculation\n",
+ "slots=slotsp*3*p\n",
+ "c=cp*slots\n",
+ "turns=32\n",
+ "kb=math.sin(math.radians(60/2))/(p*math.sin(math.radians(7.5)))\n",
+ "kp=math.cos(math.radians(15))\n",
+ "eph=4.44*50*0.12*kb*0.966*turns\n",
+ "el=eph*3**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"line voltage\",el,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line voltage 1365.94840977 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.16, Page Number:1426"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10#MW\n",
+ "pf=0.85\n",
+ "v=11#kV\n",
+ "r=0.1#ohm\n",
+ "x=0.66#ohm\n",
+ "\n",
+ "#calculation\n",
+ "i=load*10**6/(3**0.5*v*1000*pf)\n",
+ "iradrop=i*r\n",
+ "ixsdrop=i*x\n",
+ "vp=v*1000/3**0.5\n",
+ "phi=math.acos(pf)\n",
+ "sinphi=math.sin(phi)\n",
+ "e0=((vp*pf+i*r)**2+(vp*sinphi+i*x)**2)**0.5\n",
+ "el=3**0.5*e0\n",
+ "\n",
+ "#result\n",
+ "print \"linevalue of emf=\",el,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "linevalue of emf= 11475.6408913 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 69
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.17(a), Page Number:1428"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=2200.0#V\n",
+ "f=50.0#Hz\n",
+ "load=440.0#KVA\n",
+ "r=0.5#ohm\n",
+ "i=40.0#A\n",
+ "il=200.0#A\n",
+ "vf=1160.0#V\n",
+ "\n",
+ "#calculations\n",
+ "zs=vf/200\n",
+ "xs=(zs**2-r**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"synchronous impedence=\",zs,\"ohm\"\n",
+ "print \"synchronous reactance=\",xs,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "synchronous impedence= 5.8 ohm\n",
+ "synchronous reactance= 5.77840808528 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 71
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.17(b), Page Number:1428"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=60.0#kVA\n",
+ "v=220.0#V\n",
+ "f=50.0#Hz\n",
+ "r=0.016#ohm\n",
+ "x=0.07#ohm\n",
+ "pf=0.7\n",
+ "\n",
+ "#calculations\n",
+ "i=load*1000/v\n",
+ "ira=i*r\n",
+ "ixl=i*x\n",
+ "#unity pf\n",
+ "e=((v+ira)**2+(ixl)**2)**0.5\n",
+ "#pf of 0.7 lag\n",
+ "e2=((v*pf+ira)**2+(v*pf+ixl)**2)**0.5\n",
+ "#pf of 0.7 lead\n",
+ "e3=((v*pf+ira)**2+(v*pf-ixl)**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"voltage with pf=1\",e,\"V\"\n",
+ "print \"voltage with pf=0.7 lag\",e2,\"V\"\n",
+ "print \"voltage with pf=0.7 lead\",e3,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage with pf=1 225.174386048 V\n",
+ "voltage with pf=0.7 lag 234.604995966 V\n",
+ "voltage with pf=0.7 lead 208.03726621 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.18(a), Page Number:1429"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=50.0#KVA\n",
+ "v1=440.0#V\n",
+ "f=50.0#Hz\n",
+ "r=0.25#ohm\n",
+ "x=3.2#ohm\n",
+ "xl=0.5#ohm\n",
+ "\n",
+ "#calculation\n",
+ "v=v1/3**0.5\n",
+ "i=load*1000/(3**0.5*v1)\n",
+ "rd=i*r\n",
+ "ixl=i*xl\n",
+ "ea=((v+rd)**2+(ixl)**2)**0.5\n",
+ "el=3**0.5*ea\n",
+ "e0=((v+rd)**2+(i*x)**2)**0.5\n",
+ "e0l=e0*3**0.5\n",
+ "per=(e0-v)/v\n",
+ "xa=x-xl\n",
+ "#result\n",
+ "print \"internal emf Ea=\",el,\"V\"\n",
+ "print \"no load emf=\",e0l,\"V\"\n",
+ "print \"percentage regulation=\",per*100,\"%\"\n",
+ "print \"valueof synchronous reactance=\",xa,\"ohm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "internal emf Ea= 471.842539659 V\n",
+ "no load emf= 592.991130967 V\n",
+ "percentage regulation= 34.7707115833 %\n",
+ "valueof synchronous reactance= 2.7 ohm\n"
+ ]
+ }
+ ],
+ "prompt_number": 87
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.19, Page Number:1432"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "i=200.0#A\n",
+ "v=50.0#V\n",
+ "r=0.1#ohm\n",
+ "il=100.0#A\n",
+ "pf=0.8\n",
+ "vt=200.0#V\n",
+ "\n",
+ "#calculation\n",
+ "zs=v/vt\n",
+ "xs=(zs**2-r**2)**0.5\n",
+ "ira=il*r\n",
+ "ixs=il*xs\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "e0=((vt*pf+ira)**2+(vt*sinphi+ixs)**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"induced voltage=\",e0,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "induced voltage= 222.090276316 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.20, Page Number:1433"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=2000.0#V\n",
+ "i=100.0#A\n",
+ "pf=0.8\n",
+ "pf2=0.71\n",
+ "i2=2.5#A\n",
+ "v2=500.0#V\n",
+ "r=0.8#ohm\n",
+ "\n",
+ "#calculations\n",
+ "sinphi1=math.sin(math.acos(pf))\n",
+ "sinphi2=math.sin(math.acos(pf2))\n",
+ "zs=v2/i\n",
+ "xs=(zs**2-r**2)**.5\n",
+ "#unity pf\n",
+ "e01=((v+r*i)**2+(i*xs)**2)**0.5\n",
+ "reg1=(e01-v)*100/v\n",
+ "#at pf=0.8\n",
+ "e02=((v*pf+r*i)**2+(v*sinphi1-i*xs)**2)**0.5\n",
+ "reg2=(e02-v)*100/v\n",
+ "#at pf=0.71\n",
+ "e03=((v*pf2+r*i)**2+(v*sinphi2+i*xs)**2)**0.5\n",
+ "reg3=(e03-v)*100/v\n",
+ "\n",
+ "#result\n",
+ "print \"voltage regulation unity pf=\",reg1,\"%\"\n",
+ "print \"voltage regulation 0.8 lag pf=\",reg2,\"%\"\n",
+ "print \"voltage regulation 0.71 lead pf=\",reg3,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.6\n",
+ "voltage regulation unity pf= 6.88779163216 %\n",
+ "voltage regulation 0.8 lag pf= -8.875640156 %\n",
+ "voltage regulation 0.71 lead pf= 21.1141910671 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 100
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.21, Page Number:1433"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=3000.0#V\n",
+ "load=100.0#kVA\n",
+ "f=50.0#Hz\n",
+ "r=0.2\n",
+ "i1=40.0#A\n",
+ "i2=200.0#A\n",
+ "v2=1040.0#V\n",
+ "pf=0.8\n",
+ "v1=v/3**0.5\n",
+ "#calculations\n",
+ "sinphi1=math.sin(math.acos(pf))\n",
+ "zs=v2/(3**0.5*i2)\n",
+ "xs=(zs**2-r**2)**.5\n",
+ "i=load*1000/(3**0.5*v)\n",
+ "\n",
+ "\n",
+ "#at pf=0.8 lag\n",
+ "e01=((v1*pf+r*i)**2+(v1*sinphi1+i*xs)**2)**0.5\n",
+ "reg1=(e01-v1)*100/v1\n",
+ "#at pf=0.8 lead\n",
+ "e02=((v1*pf+r*i)**2+(v1*sinphi1-i*xs)**2)**0.5\n",
+ "reg2=(e02-v1)*100/v1\n",
+ "\n",
+ "#result\n",
+ "print \"voltage regulation 0.8 lag pf=\",reg1,\"%\"\n",
+ "print \"voltage regulation 0.8 lag pf=\",reg2,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage regulation 0.8 lag pf= 2.20611574348 %\n",
+ "voltage regulation 0.8 lag pf= -1.77945143824 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 112
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.22, Page Number:1434"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=1600.0#kVA\n",
+ "v=13500.0#V\n",
+ "r=1.5#ohm\n",
+ "x=30.0#ohm\n",
+ "load1=1280.0#kW\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "sinphi1=math.sin(math.acos(pf))\n",
+ "i=load1*1000/(3**0.5*v*pf)\n",
+ "ira=i*r\n",
+ "ixs=i*x\n",
+ "vp=v/3**0.5\n",
+ "e0=((vp*pf+ira)**2+(vp*sinphi1-ixs)**2)**0.5\n",
+ "regn=(e0-vp)*100/vp\n",
+ "\n",
+ "#result\n",
+ "print \"percentage regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage regulation= -11.9909032489 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 122
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.23, Page Number:1435"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#kVA\n",
+ "v=400.0#V\n",
+ "f=50.0#Hz\n",
+ "pf=0.8\n",
+ "r=0.5#ohm\n",
+ "x=10.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "i=load*1000/(3**0.5*v)\n",
+ "ira=i*r\n",
+ "ixs=i*x\n",
+ "vp=v/3**0.5\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "e0=((vp*pf+ira)**2+(vp*sinphi+ixs)**2)**0.5\n",
+ "regn=(e0-vp)/vp\n",
+ "thetadel=math.atan((vp*sinphi+ixs)/(vp*pf+ira))\n",
+ "delta=math.degrees(thetadel)-math.degrees(math.acos(pf))\n",
+ "\n",
+ "#result\n",
+ "print \"voltage regulation=\",regn*100,\"%\"\n",
+ "print \"power angle=\",delta,\"degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "voltage regulation= 48.0405877623 %\n",
+ "power angle= 18.9704078085 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 127
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.24, Page Number:1435"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=6000.0#KVA\n",
+ "v=6600.0#V\n",
+ "p=2.0\n",
+ "f=50.0#Hz\n",
+ "i2=125.0#A\n",
+ "v1=8000.0#V\n",
+ "i3=800.0#A\n",
+ "d=0.03\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "zs=v1/(3**0.5*i3)\n",
+ "vp=v/3**0.5\n",
+ "rd=d*vp\n",
+ "il=load*1000/(3**0.5*v)\n",
+ "ira=rd\n",
+ "ra=ira/il\n",
+ "xs=(zs**2-ra**2)**0.5\n",
+ "e0=((vp*pf+ira)**2+(vp*sinphi+il*xs)**2)**0.5\n",
+ "reg=(e0-vp)/vp\n",
+ "\n",
+ "#result\n",
+ "print \"percentage regulation=\",reg*100,\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "percentage regulation= 62.2972136768 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 133
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.25, Page Number:1435"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "load=2000#KVA\n",
+ "v=2300#V\n",
+ "i=600#A\n",
+ "v2=900#V\n",
+ "r=0.12#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "zs=v2/(3**0.5*i)\n",
+ "rp=r/2\n",
+ "re=rp*1.5\n",
+ "xs=(zs**2-re**2)**0.5\n",
+ "il=load*1000/(3**0.5*v)\n",
+ "ira=il*rp\n",
+ "ixs=il*xs\n",
+ "vp=v/3**0.5\n",
+ "e0=((vp+ira)**2+(ixs)**2)**0.5\n",
+ "reg1=(e0-vp)/vp\n",
+ "e0=((vp*pf+ira)**2+(vp*sinphi+ixs)**2)**0.5\n",
+ "reg2=(e0-vp)/vp\n",
+ "#result\n",
+ "print \"regulation at pf=1\",reg1*100,\"%\"\n",
+ "print \"regulation at pf=0.8\",reg2*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation at pf=1 7.32796146323 %\n",
+ "regulation at pf=0.8 23.8398862235 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 134
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.26, Page Number:1436"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "v=Symbol('v')\n",
+ "load=2000#KVA\n",
+ "load1=11#KV\n",
+ "r=0.3#ohm\n",
+ "x=5#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "i=load*1000/(3**0.5*load1*1000)\n",
+ "vt=load1*1000/3**0.5\n",
+ "ira=i*r\n",
+ "ixs=i*x\n",
+ "e0=((vt*pf+ira)**2+(vt*sinphi+ixs)**2)**0.5\n",
+ "v=solve(((pf*v+ira)**2+(sinphi*v-ixs)**2)**0.5-e0,v)\n",
+ "\n",
+ "#result\n",
+ "print \"terminal voltage=\",v[1],\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "terminal voltage= 6978.31767618569 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 150
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.27, Page Number:1436"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=1200#KVA\n",
+ "load1=3.3#KV\n",
+ "f=50#Hz\n",
+ "r=0.25#ohm\n",
+ "i=35#A\n",
+ "i2=200#A\n",
+ "v=1.1#kV\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "zs=v*1000/(3**0.5*i2)\n",
+ "xs=(zs**2-r**2)**0.5\n",
+ "v=load1*1000/3**0.5\n",
+ "theta=math.atan(xs/r)\n",
+ "ia=load*1000/(3**0.5*load1*1000)\n",
+ "e=v+ia*zs\n",
+ "change=(e-v)/v\n",
+ "\n",
+ "#result\n",
+ "print \"per unit change=\",change"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "per unit change= 0.349909254054\n"
+ ]
+ }
+ ],
+ "prompt_number": 151
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.28, Page Number:1437"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50#Hz\n",
+ "v1=11#kV\n",
+ "load=3#MVA\n",
+ "i=100#A\n",
+ "v2=12370#V\n",
+ "vt=11000#V\n",
+ "pf=0.8\n",
+ "r=0.4#ohm\n",
+ "\n",
+ "#calculation\n",
+ "E0=v1*1000/3**0.5\n",
+ "v=v2/3**0.5\n",
+ "pf=0\n",
+ "sinphi=1\n",
+ "xs=(v-(E0**2-(i*r)**2)**0.5)/i\n",
+ "il=load*10**6/(3**0.5*v1*1000)\n",
+ "ira=il*r\n",
+ "ixs=il*xs\n",
+ "e0=((E0*pf+ira)**2+(E0*sinphi+ixs)**2)**0.5\n",
+ "regn=(e0-E0)*100/E0\n",
+ "#result\n",
+ "print \"regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 19.6180576177 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 175
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.29, Page Number:1437"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "pf=0.8\n",
+ "vt=3500#v\n",
+ "load=2280#KW\n",
+ "v1=3300#V\n",
+ "r=8#ohm\n",
+ "x=6#ohm\n",
+ "\n",
+ "#calculation\n",
+ "vl=vt/3**0.5\n",
+ "vp=v1/3**0.5\n",
+ "il=load*1000/(3**0.5*v1*pf)\n",
+ "drop=vl-vp\n",
+ "z=(r**2+x**2)**0.5\n",
+ "x=vl/(z+drop/il)\n",
+ "vtp=vl-x*drop/il\n",
+ "vtpl=vtp*3**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"terminal voltage=\",vtpl,\"V\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "terminal voltage= 3420.781893 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 176
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.30, Page Number:1441"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=3.5#MVA\n",
+ "v=4160#V\n",
+ "f=50#Hz\n",
+ "i=200#A\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "il=load*10**6/(3**0.5*v)\n",
+ "zs=4750/(3**0.5*il)\n",
+ "ra=0\n",
+ "ixs=il*zs\n",
+ "vp=v/3**0.5\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "e0=((vp*pf)**2+(vp*sinphi+ixs)**2)**0.5\n",
+ "regn=(e0-vp)*100/vp\n",
+ "#result\n",
+ "print \"regulation=\",round(regn,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 91.7 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.31, Page Number:1441"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "i_f1=20#A\n",
+ "i_f=37.5#A\n",
+ "pf=0.8\n",
+ "v=6600#V\n",
+ "eo=7600#V\n",
+ "\n",
+ "#calculations\n",
+ "ob=math.sqrt(i_f**2+i*math.cos(math.radians(53.8)))\n",
+ "reg=(eo-v)*100/v\n",
+ "i=100*i_f/i_f1\n",
+ "zs=100*100/i\n",
+ "Eo=math.sqrt((100+zs*0.6)**2+(zs*pf)**2)\n",
+ "reg2=(Eo-100)*100/100\n",
+ "\n",
+ "#result\n",
+ "print \"regulation:\"\n",
+ "print \"by ampere turn method=\",reg,\"%\"\n",
+ "print \"by synchronous impedence method=\",reg2,\"%\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation:\n",
+ "by ampere turn method= 15 %\n",
+ "by synchronous impedence method= 38.7243469779 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.32, Page Number:1442"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "r=0.2#ohm\n",
+ "p=1000000#VA\n",
+ "v=2000#V\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "vp=v*math.sqrt(3)\n",
+ "i=p/(math.sqrt(3)*v)\n",
+ "V=v/math.sqrt(3)+(i*r**pf)\n",
+ "reg=(1555-(v/math.sqrt(3)))*100/(v/math.sqrt(3))\n",
+ "reg2=(1080-(v/math.sqrt(3)))*100/(v/math.sqrt(3))\n",
+ "\n",
+ "#result\n",
+ "print \"regulation when pf=0.8 lagging:\",round(reg,1),\"%\"\n",
+ "print \"regulation when pf=0.8 leading:\",round(reg2,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation when pf=0.8 lagging: 34.7 %\n",
+ "regulation when pf=0.8 leading: -6.5 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.33, Page Number:1443"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "x_drop=0.1\n",
+ "r_drop=0.02\n",
+ "pf=0.8\n",
+ "v=3300#V\n",
+ "p=800000#VA\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "ir_drop=r_drop*vp\n",
+ "leakage=x_drop*vp\n",
+ "E=math.sqrt((vp*pf+ir_drop)**2+(vp*0.6+leakage)**2)\n",
+ "i=p/(math.sqrt(3)*v)\n",
+ "\n",
+ "#result\n",
+ "print \"I=\",round(i),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "I= 140.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.34, Page Number:1444"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "i_f1=17#A\n",
+ "p=2000000.0#VA\n",
+ "i_f2=42.5#A\n",
+ "v=6000.0/math.sqrt(3)#V\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "e=math.sqrt((v*pf)**2+(v*0.6+450)**2)\n",
+ "#corresponding i=26.5 A\n",
+ "#field amperes required for balancing armature reaction=14.5A\n",
+ "i_f=math.sqrt(26.5**2+14.5**2+2*26.5*14.4*math.cos(math.radians(53.8)))\n",
+ "\n",
+ "#result\n",
+ "print \"resulting field current=\",round(i_f,1),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "resulting field current= 36.9 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.35, Page Number:1446"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=11000#V\n",
+ "p=1000000#VA\n",
+ "r=2#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "i=p/(math.sqrt(3)*v)\n",
+ "vp=v/math.sqrt(3)\n",
+ "e=math.sqrt((vp*pf+i*2)**2+(vp*0.6+p/1000)**2)\n",
+ "i1=math.sqrt(108**2+30**2+2*108*30*math.cos(math.radians(53.8)))\n",
+ "#corresponding emf=7700V\n",
+ "reg=(7700-vp)*100/vp\n",
+ "\n",
+ "#result\n",
+ "print \"Voltage regulation=\",round(reg,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Voltage regulation= 21.2 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.36, Page Number:1448"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declarations\n",
+ "p=275000.0#W\n",
+ "v=6600.0#V\n",
+ "stator_i=35.0#A\n",
+ "exciting_i=50.0#A\n",
+ "x=0.08\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "x_drop=v*x/math.sqrt(3)\n",
+ "vp=v/math.sqrt(3)\n",
+ "i=p/(math.sqrt(3)*v*pf)\n",
+ "ia=i*exciting_i/stator_i\n",
+ "ob=math.sqrt(vp**2+x_drop**2)\n",
+ "oc=59.8#field current corresponding tothe voltage\n",
+ "i_fl=p/(math.sqrt(3)*v)\n",
+ "ia2=exciting_i*i_fl/stator_i\n",
+ "ei=math.sqrt(ia2**2+oc**2)\n",
+ "\n",
+ "#result\n",
+ "print \"Exciting current=\",round(ei),\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Exciting current= 69.0 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.37, Page Number:1449"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=600000.0#VA\n",
+ "v=3300.0#V\n",
+ "pf=0.8\n",
+ "l_drop=7\n",
+ "\n",
+ "#calculations\n",
+ "i=p/(math.sqrt(3)*v)\n",
+ "amp_turns=1.06*i*200.0/8\n",
+ "vp=v/math.sqrt(3)\n",
+ "x_drop=vp*l_drop/100\n",
+ "oa=1910.0#V\n",
+ "reg=(2242.0-oa)*100/oa\n",
+ "\n",
+ "#result\n",
+ "print \"regulation=\",round(reg,1),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 17.4 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.38, Page Number:1450"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=15000000#VA\n",
+ "v=11000#V\n",
+ "pf=0.8\n",
+ "v1=8400\n",
+ "\n",
+ "#calculations\n",
+ "i=p/(math.sqrt(3)*v)\n",
+ "xl=640/i\n",
+ "zs=(v1/math.sqrt(3))/i\n",
+ "vp=v/math.sqrt(3)\n",
+ "eo=7540\n",
+ "reg=(eo-vp)*100/vp\n",
+ "\n",
+ "#result\n",
+ "print \"regulation=\",round(reg,1),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "regulation= 18.7 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.39, Page Number:1455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "xd=0.7\n",
+ "xq=0.4\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "v=1\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "ia=1\n",
+ "tandelta=ia*xq*pf/(v+xq*sinphi)\n",
+ "delta=math.atan(tandelta)\n",
+ "i_d=ia*math.sin(math.radians(36.9)+delta)\n",
+ "e0=v*math.cos(delta)+i_d*xd\n",
+ "\n",
+ "#result\n",
+ "print \"load angle=\",math.degrees(delta),\"degrees\"\n",
+ "print \"no load voltage=\",e0,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load angle= 14.4702941001 degrees\n",
+ "no load voltage= 1.51511515874 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 185
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.40, Page Number:1455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "f=50.0#Hz\n",
+ "xd=0.6\n",
+ "xq=0.45\n",
+ "ra=0.015\n",
+ "pf=0.8\n",
+ "ia=1\n",
+ "v=1\n",
+ "sinphi=math.sin(math.acos(pf))\n",
+ "#calculation\n",
+ "tanpsi=(v*sinphi+ia*xq)/(v*pf+ia*ra)\n",
+ "psi=math.atan(tanpsi)\n",
+ "delta=psi-math.acos(pf)\n",
+ "i_d=ia*math.sin(psi)\n",
+ "iq=ia*math.cos(psi)\n",
+ "e0=v*math.cos(delta)+iq*ra+i_d*xd\n",
+ "regn=(e0-v)*100/v\n",
+ "\n",
+ "#result\n",
+ "print \"open circuit voltage=\",e0,\"V\"\n",
+ "print \"regulation=\",regn,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "open circuit voltage= 1.44767600311 V\n",
+ "regulation= 44.7676003107 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 187
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.41, Page Number:1455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "ia=10#A\n",
+ "phi=math.radians(20)\n",
+ "v=400#V\n",
+ "xd=10#ohm\n",
+ "xq=6.5#ohm\n",
+ "\n",
+ "#calculations\n",
+ "pf=math.cos(phi)\n",
+ "sinphi=math.sin(phi)\n",
+ "tandelta=ia*xq*pf/(v+ia*xq*sinphi)\n",
+ "delta=math.atan(tandelta)\n",
+ "i_d=ia*math.sin(phi+delta)\n",
+ "iq=ia*math.cos(phi+delta)\n",
+ "e0=v*math.cos(delta)+i_d*xd\n",
+ "regn=(e0-v)/v\n",
+ "\n",
+ "#result\n",
+ "print \"load angle=\",math.degrees(delta),\"degrees\"\n",
+ "print \"id=\",i_d,\"A\"\n",
+ "print \"iq=\",iq,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load angle= 8.23131209115 degrees\n",
+ "id= 4.7303232581 A\n",
+ "iq= 8.81045071911 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 189
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.42, Page Number:1459"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "e1=220#V\n",
+ "f1=60#Hz\n",
+ "e2=222#V\n",
+ "f2=59#Hz\n",
+ "\n",
+ "#calculation\n",
+ "emax=(e1+e2)/2\n",
+ "emin=(e2-e1)/2\n",
+ "f=(f1-f2)\n",
+ "epeak=emax/0.707\n",
+ "pulse=(f1-f2)*60\n",
+ "\n",
+ "#result\n",
+ "print \"max voltage=\",emax,\"V\"\n",
+ "print \"min voltage=\",emin,\"V\"\n",
+ "print \"frequency=\",f,\"Hz\"\n",
+ "print \"peak value of voltage=\",epeak,\"V\"\n",
+ "print \"number of maximum light pulsations/minute=\",pulse"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "max voltage= 221 V\n",
+ "min voltage= 1 V\n",
+ "frequency= 1 Hz\n",
+ "peak value of voltage= 312.588401697 V\n",
+ "number of maximum light pulsations/minute= 60\n"
+ ]
+ }
+ ],
+ "prompt_number": 190
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.43, Page Number:1462"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "power=1500#kVA\n",
+ "v=6.6#kV\n",
+ "r=0.4#ohm\n",
+ "x=6#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "i=power*1000/(3**0.5*v*1000)\n",
+ "ira=i*r\n",
+ "ixs=i*x\n",
+ "vp=v*1000/3**0.5\n",
+ "phi=math.acos(pf)\n",
+ "tanphialpha=(vp*math.sin(phi)+ixs)/(vp*pf+ira)\n",
+ "phialpha=math.atan(tanphialpha)\n",
+ "alpha=phialpha-phi\n",
+ "\n",
+ "#result\n",
+ "print \"power angle=\",math.degrees(alpha)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "power angle= 7.87684146241\n"
+ ]
+ }
+ ],
+ "prompt_number": 198
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.44, Page Number:1464"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=3000#KVA\n",
+ "p=6\n",
+ "n=1000#rpm\n",
+ "v=3300#v\n",
+ "x=0.25\n",
+ "\n",
+ "#calculation\n",
+ "vp=v/3**0.5\n",
+ "i=load*1000/(3**0.5*v)\n",
+ "ixs=x*vp\n",
+ "xs=x*vp/i\n",
+ "alpha=1*p/2\n",
+ "psy=3*3.14*vp**2/(60*xs*n)\n",
+ "tsy=9.55*psy/n\n",
+ "\n",
+ "#result\n",
+ "print \"synchronizing power=\",psy,\"kW\"\n",
+ "print \"torque=\",tsy*1000,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "synchronizing power= 628.0 kW\n",
+ "torque= 5997.4 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 202
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.45, Page Number:1465"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=3#MVA\n",
+ "n=1000#rpm\n",
+ "v1=3.3#kV\n",
+ "r=0.25\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "vp=v1*1000/3**0.5\n",
+ "i=load*1000000/(3**0.5*v1*1000)\n",
+ "ixs=complex(0,r*vp)\n",
+ "xs=ixs/i\n",
+ "v=vp*complex(pf,math.sin(math.acos(pf)))\n",
+ "e0=v+ixs\n",
+ "alpha=math.atan(e0.imag/e0.real)-math.acos(pf)\n",
+ "p=6/2\n",
+ "psy=abs(e0)*vp*math.cos(alpha)*math.sin(math.radians(3))/xs\n",
+ "tsy=9.55*3*psy*100/n\n",
+ "\n",
+ "#result\n",
+ "print \"synchronous power=\",-psy*3/1000,\"kW\"\n",
+ "print \"toque=\",-tsy/100,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "synchronous power= 722.236196153j kW\n",
+ "toque= 6897.35567326j N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 221
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.46, Page Number:1465"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=750#KVA\n",
+ "v=11#kV\n",
+ "p=4\n",
+ "r=1#%\n",
+ "x=15#%\n",
+ "pf=0.8\n",
+ "#calculation\n",
+ "i=load*1000/(3**0.5*v*1000)\n",
+ "vph=v*1000/3**0.5\n",
+ "ira=r*vph/1000\n",
+ "ra=ira/i\n",
+ "xs=x*vph/(100*i)\n",
+ "zs=(ra**2+xs**2)**0.5\n",
+ "#no load\n",
+ "alpha=p/2\n",
+ "psy=math.radians(alpha)*vph**2/xs\n",
+ "#fl 0.8 pf\n",
+ "e=((vph*pf+i*ra)**2+(vph*math.sin(math.acos(pf)+i*xs))**2)**0.5\n",
+ "psy2=math.radians(alpha)*e*vph/xs\n",
+ "\n",
+ "#result\n",
+ "print \"Synchronous power at:\"\n",
+ "print \"no load=\",psy,\"W\"\n",
+ "print \"at pf of 0.8=\",psy2,\"w\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Synchronous power at:\n",
+ "no load= 58177.6417331 W\n",
+ "at pf of 0.8= 73621.2350169 w\n"
+ ]
+ }
+ ],
+ "prompt_number": 225
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.47, Page Number:1466"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=2000#KVA\n",
+ "p=8\n",
+ "n=750#rpm\n",
+ "v1=6000#V\n",
+ "pf=0.8\n",
+ "r=6#ohm\n",
+ "\n",
+ "#calculations\n",
+ "alpha=math.radians(4)\n",
+ "v=v1/3**0.5\n",
+ "i=load*1000/(3**0.5*v1)\n",
+ "e0=((v*pf)**2+(v*math.sin(math.acos(pf))+i*r)**2)**0.5\n",
+ "psy=alpha*e0*v*3/r\n",
+ "tsy=9.55*psy/n\n",
+ "\n",
+ "#result\n",
+ "print \"synchronous power=\",psy,\"W\"\n",
+ "print \"synchronous torque=\",tsy,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "synchronous power= 514916.500204 W\n",
+ "synchronous torque= 6556.60343593 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 226
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.48, Page Number:1467"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=5000#KVA\n",
+ "v=10000#V\n",
+ "n=1500#rpm\n",
+ "f=50#Hz\n",
+ "r=20#%\n",
+ "pf=0.8\n",
+ "phi=0.5\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/3**0.5\n",
+ "i=load*1000/(3**0.5*v)\n",
+ "xs=r*vp/(1000*i)\n",
+ "p=120*f/n\n",
+ "alpha=math.radians(2)\n",
+ "#no load\n",
+ "psy=3*alpha*vp**2/(p*1000)\n",
+ "tsy=9.55*psy*1000/(n*2)\n",
+ "#pf=0.8\n",
+ "v2=vp*complex(pf,math.sin(math.acos(pf)))\n",
+ "ixs=complex(0,i*4)\n",
+ "e0=v+ixs\n",
+ "psy2=abs(e0)*vp*math.cos(math.radians(8.1))*math.sin(math.radians(2))*3/4\n",
+ "tsy2=9.55*psy2/(n*20)\n",
+ "\n",
+ "#result\n",
+ "print \"synchronous power:\"\n",
+ "print \"atno load=\",psy,\"w\"\n",
+ "print \"at 0.8 pf=\",psy2,\"w\"\n",
+ "print \"torque:\"\n",
+ "print \"at no load=\",tsy,\"N-m\"\n",
+ "print \"at pf=0.8=\",tsy2,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "synchronous power:\n",
+ "atno load= 872.664625997 w\n",
+ "at 0.8 pf= 1506057.44405 w\n",
+ "torque:\n",
+ "at no load= 2777.98239276 N-m\n",
+ "at pf=0.8= 479.428286357 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 229
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.49, Page Number:1468"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=6.6#kW\n",
+ "load1=3000#kW\n",
+ "pf=0.8\n",
+ "xa=complex(0.5,10)\n",
+ "xb=complex(0.4,12)\n",
+ "i0=150#A\n",
+ "\n",
+ "#calculation\n",
+ "v=complex(load*1000/3**0.5,0)\n",
+ "cosphi1=1500*1000/(load*1000*i0*3**0.5)\n",
+ "phi1=math.acos(cosphi1)\n",
+ "sinphi1=math.sin(phi1)\n",
+ "i=328*complex(pf,-math.sin(math.acos(pf)))\n",
+ "i1=i0*complex(cosphi1,-sinphi1)\n",
+ "i2=i-i1\n",
+ "coshi2=i2.real/181\n",
+ "ea=v+i1*xa\n",
+ "eal=3**0.5*abs(ea)\n",
+ "eb=v+i2*xb\n",
+ "ebl=3**0.5*abs(eb)\n",
+ "alpha1=(ea.imag/ea.real)\n",
+ "alpha2=(eb.imag/eb.real)\n",
+ "#result\n",
+ "print \"Ea=\",ea,\"V\"\n",
+ "print \"Eb=\",eb,\"V\"\n",
+ "print \"alpha1=\",math.degrees(alpha1),\"degrees\"\n",
+ "print \"alpha2=\",math.degrees(alpha2),\"degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ea= (4602.91884998+1275.81974829j) V\n",
+ "Eb= (5352.42648271+1524.56032028j) V\n",
+ "alpha1= 15.8810288383 degrees\n",
+ "alpha2= 16.3198639435 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 245
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.50, Page Number:1468"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declration\n",
+ "e1=complex(230,0)\n",
+ "e2=230*complex(0.985,0.174)\n",
+ "z1=complex(0,2)\n",
+ "z2=complex(0,3)\n",
+ "z=6\n",
+ "i1=((e1-e2)*z+e1*z2)/(z*(z1+z2)+z1*z2)\n",
+ "i2=((e2-e1)*z+e2*z1)/(z*(z1+z2)+z1*z2)\n",
+ "i=i1+i2\n",
+ "v=i*z\n",
+ "p1=abs(v)*abs(i1)*math.cos(math.atan(i1.imag/i1.real))\n",
+ "p2=abs(v)*abs(i2)*math.cos(math.atan(i2.imag/i2.real))\n",
+ "\n",
+ "#result\n",
+ "print \"terminal voltage=\",v,\"V\"\n",
+ "print \"current\",i,\"A\"\n",
+ "print \"power 1=\",p1,\"W\"\n",
+ "print \"power 2=\",p2,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "terminal voltage= (222.905384615-28.5730769231j) V\n",
+ "current (37.1508974359-4.76217948718j) A\n",
+ "power 1= 3210.60292765 W\n",
+ "power 2= 5138.29001053 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 249
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.51, Page Number:1471"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=1500#kW\n",
+ "v=11#KV\n",
+ "pf=0.867\n",
+ "x=50#ohm\n",
+ "r=4#ohm\n",
+ "i=50#A\n",
+ "\n",
+ "#calculations\n",
+ "il=load*1000/(3**0.5*v*1000*pf)\n",
+ "phi=math.acos(pf)\n",
+ "sinphi=math.sin(phi)\n",
+ "iwatt=il*pf\n",
+ "iwattless=il*sinphi\n",
+ "i1=il/2\n",
+ "i2=iwatt/2\n",
+ "iw1=(i**2-i1**2)**0.5\n",
+ "iw2=i2-iw1\n",
+ "ia=(i2**2+iw2**2)**0.5\n",
+ "vt=v*1000/3**0.5\n",
+ "ir=i*r\n",
+ "ix=x*i\n",
+ "cosphi=i2/i\n",
+ "sinphi=math.sin(math.acos(cosphi))\n",
+ "e=((vt*cosphi+ir)**2+(vt*sinphi+ix)**2)**0.5\n",
+ "el=3**0.5*e\n",
+ "\n",
+ "#result\n",
+ "print \"armature current=\",ia,\"A\"\n",
+ "print \"line voltage=\",el,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 43.4628778514 A\n",
+ "line voltage= 14304.0798593 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 251
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.52, Page Number:1472"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10#MW\n",
+ "pf=0.8\n",
+ "output=6000#kW\n",
+ "pfa=0.92\n",
+ "\n",
+ "#calculations\n",
+ "phi=math.acos(pf)\n",
+ "phia=math.acos(pfa)\n",
+ "tanphi=math.tan(phi)\n",
+ "tanphia=math.tan(phia)\n",
+ "loadkvar=load*1000*tanphi\n",
+ "akvar=output*tanphia\n",
+ "kwb=(load*1000-output)\n",
+ "kvarb=loadkvar-akvar\n",
+ "kvab=complex(kwb,kvarb)\n",
+ "pfb=math.cos(math.atan(kvab.imag/kvab.real))\n",
+ "kvarb=kwb*pfb\n",
+ "kvara=-loadkvar-kvarb\n",
+ "kvaa=complex(output,kvara)\n",
+ "pfa=math.cos(math.atan(kvaa.imag/kvaa.real))\n",
+ "\n",
+ "#result\n",
+ "print \"new pfb=\",pfb\n",
+ "print \"new pfa=\",pfa"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new pfb= 0.628980253433\n",
+ "new pfa= 0.513894032194\n"
+ ]
+ }
+ ],
+ "prompt_number": 253
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.54, Page Number:1473"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=6600#V\n",
+ "load=1000#KVA\n",
+ "x=20#%\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculation\n",
+ "i=87.5\n",
+ "x=8.7\n",
+ "vp=3810\n",
+ "e0=4311\n",
+ "ir=70\n",
+ "ix=52.5\n",
+ "IX=762\n",
+ "vb1=(e0**2-vp**2)**0.5\n",
+ "i1x=vb1\n",
+ "i1=i1x/x\n",
+ "output=3**0.5*v*i1/1000\n",
+ "b2v=(vp**2+e0**2)**0.5\n",
+ "i2z=b2v\n",
+ "i2=b2v/x\n",
+ "i2rx=e0\n",
+ "i2r=i2rx/x\n",
+ "i2x=vp/x\n",
+ "tanphi2=i2x/i2r\n",
+ "phi2=math.atan(tanphi2)\n",
+ "cosphi2=math.cos(phi2)\n",
+ "output1=3**0.5*v*i2*cosphi2/1000\n",
+ "\n",
+ "#result\n",
+ "print \"power output at unity pf=\",output,\"kW\"\n",
+ "print \"max power output=\",output1,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " power output at unity pf= 2650.38477722 kW\n",
+ "max power output= 5664.52285143 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 255
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.55, Page Number:1474"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "x=10.0#ohm\n",
+ "i=220.0#A\n",
+ "load=11.0#kV\n",
+ "per=25.0#%\n",
+ "\n",
+ "#calculations\n",
+ "oa1=load*1000/3**0.5\n",
+ "a1c1=i*x\n",
+ "e0=(oa1**2+a1c1**2)**0.5\n",
+ "emf=(1+per/100)*e0\n",
+ "a1a2=(emf**2-a1c1**2)**0.5-oa1\n",
+ "ix=a1a2/x\n",
+ "i1=(i**2+ix**2)**0.5\n",
+ "pf=i/i1\n",
+ "bv=(oa1**2+emf**2)**0.5\n",
+ "imax=bv/x\n",
+ "ir=emf/x\n",
+ "ix=oa1/x\n",
+ "pfmax=ir/imax\n",
+ "output=3**0.5*load*1000*imax*pfmax*0.001\n",
+ "#result\n",
+ "print \"new current=\",i1,\"A\"\n",
+ "print \"new power factor=\",pf\n",
+ "print \"max power output=\",output,\"kW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new current= 281.573453399 A\n",
+ "new power factor= 0.781323655849\n",
+ "max power output= 16006.7954319 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 258
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.56, Page Number:1475"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=20.0#MVA\n",
+ "load1=35.0#MVA\n",
+ "pf=0.8\n",
+ "output=25.0#MVA\n",
+ "cosphi1=0.9\n",
+ "\n",
+ "#calculations\n",
+ "loadmw=load1*pf\n",
+ "loadmvar=load1*0.6\n",
+ "sinphi=math.sin(math.acos(cosphi))\n",
+ "mva1=25\n",
+ "mw1=mva1*cosphi1\n",
+ "mvar1=25*sinphi1\n",
+ "mw2=loadmw-mw1\n",
+ "mvar2=loadmvar-mvar1\n",
+ "mva2=(mw2**2+mvar2**2)**0.5\n",
+ "cosphi2=mw2/mva2\n",
+ "\n",
+ "#result\n",
+ "print \"output=\",mva2\n",
+ "print \"pf=\",cosphi2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "output= 10.4509862952\n",
+ "pf= 0.52626611926\n"
+ ]
+ }
+ ],
+ "prompt_number": 260
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.57, Page Number:1475"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declarations\n",
+ "load=600#KW\n",
+ "loadm=707#kW\n",
+ "pf=0.707\n",
+ "output=900#kW\n",
+ "pf1=0.9\n",
+ "\n",
+ "#calculation\n",
+ "kva=1000\n",
+ "kvar=kva*(1-pf1**2)**0.5\n",
+ "active_p=1307-output\n",
+ "reactive_p=loadm-kvar\n",
+ "\n",
+ "#result\n",
+ "print \"active power shared by second machine=\",active_p,\"kW\"\n",
+ "print \"reactive power shared by second machine=\",reactive_p,\"kVAR\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "active power shared by second machine= 407 kW\n",
+ "reactive power shared by second machine= 271.110105646 kVAR\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.58, Page Number:1476"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "l1=500#kW\n",
+ "l2=1000#kW\n",
+ "pf1=0.9\n",
+ "l3=800#kW\n",
+ "pf2=0.8\n",
+ "l4=500#kW\n",
+ "pf3=0.9\n",
+ "output=1500#kW\n",
+ "pf=0.95\n",
+ "\n",
+ "#calculation\n",
+ "kw1=l1\n",
+ "kw2=l2\n",
+ "kw3=l3\n",
+ "kw4=500\n",
+ "kvar2=kw2*0.436/pf1\n",
+ "kvar3=kw3*0.6/pf2\n",
+ "kvar4=kw4*0.436/pf3\n",
+ "kvar=output/pf\n",
+ "kw=kw1+kw2+kw3+kw4-output\n",
+ "kvar=kvar2+kvar3+kvar4-kvar\n",
+ "cosphi=math.cos(math.atan(kvar/kw))\n",
+ "\n",
+ "#result\n",
+ "print \"kW output=\",kw\n",
+ "print \"pf=\",cosphi"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kW output= 1300\n",
+ "pf= 0.981685651341\n"
+ ]
+ }
+ ],
+ "prompt_number": 264
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.59, Page Number:1476"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "z=complex(0.2,2)\n",
+ "ze=complex(3,4)\n",
+ "emf1=complex(2000,0)\n",
+ "emf2=complex(22000,100)\n",
+ "\n",
+ "#calculations\n",
+ "i1=complex(68.2,-102.5)\n",
+ "i2=complex(127,-196.4)\n",
+ "i=i1+i2\n",
+ "v=i*ze\n",
+ "pva1=v*i1\n",
+ "kw1=pva1.real*3\n",
+ "a11=math.atan(-i1.imag/i1.real)\n",
+ "a12=math.atan(-v.imag/v.real)\n",
+ "pf1=math.cos(a11-a12)\n",
+ "pva2=v*i2\n",
+ "kw2=pva2.real*3\n",
+ "a21=math.atan(-i2.imag/i2.real)\n",
+ "a22=math.atan(-v.imag/v.real)\n",
+ "pf2=math.cos(a21-a22)\n",
+ "\n",
+ "#result\n",
+ "print \"kw output 1=\",kw1/1000\n",
+ "print \"pf 1=\",pf1\n",
+ "print \"kw output 2=\",kw2/1000\n",
+ "print \"pf 2=\",pf2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kw output 1= 328.79427\n",
+ "pf 1= 0.606839673468\n",
+ "kw output 2= 610.34892\n",
+ "pf 2= 0.596381892841\n"
+ ]
+ }
+ ],
+ "prompt_number": 273
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.63, Page Number:1481"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=5000#KVA\n",
+ "v=10000#V\n",
+ "f=50#Hz\n",
+ "ns=1500#rpm\n",
+ "j=1.5*10**4#khm2\n",
+ "ratio=5\n",
+ "\n",
+ "#calculation\n",
+ "t=0.0083*ns*(j/(load*ratio*f))**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"natural time period of oscillation=\",round(t,3),\"s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "natural time period of oscillation= 1.364 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 275
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.64, Page Number:1481"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10000#KVA\n",
+ "p=4\n",
+ "v=6600#V\n",
+ "f=50#Hz\n",
+ "xs=25#%\n",
+ "pf=1.5\n",
+ "\n",
+ "#calculations\n",
+ "ratio=100/xs\n",
+ "ns=120*f/p\n",
+ "j=(pf/(0.0083*ns))**2*load*ratio*f\n",
+ "\n",
+ "#result\n",
+ "print \"moment of inertia=\",j/1000,\"x10^4 kg-m2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "moment of inertia= 29.0317898098 x10^4 kg-m2\n"
+ ]
+ }
+ ],
+ "prompt_number": 277
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.65, Page Number:1481"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=10.0#MVA\n",
+ "v=10.0#kV\n",
+ "f=50.0#Hz\n",
+ "ns=1500.0#rpm\n",
+ "j=2.0*10**5#kgm2\n",
+ "x=40.0\n",
+ "\n",
+ "#calculation\n",
+ "ratio=100.0/x\n",
+ "t=0.0083*ns*(j/(load*1000*ratio*f))**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"frequency of oscillation of the rotor=\",round(1/t,1),\"Hz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "frequency of oscillation of the rotor= 0.2 Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 283
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.66, Page Number:1483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "v=11#kV\n",
+ "z=complex(1,10)\n",
+ "emf=14#kV\n",
+ "\n",
+ "#calculations\n",
+ "e=emf*1000/3**0.5\n",
+ "v=v*1000/3**0.5\n",
+ "costheta=z.real/abs(z)\n",
+ "pmax=e*v*3/(z.imag*1000)\n",
+ "pmax_per_phase=(v/abs(z))*(e-(v/abs(z)))*3\n",
+ "\n",
+ "#result\n",
+ "print \"max output =\",pmax_per_phase/1000,\"kW\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "max output = 14125.5529273 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 285
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 37.67, Page Number:1484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "load=11#kVA\n",
+ "load1=10#MW\n",
+ "z=complex(0.8,8.0)\n",
+ "v=14#kV\n",
+ "\n",
+ "#calculations\n",
+ "pmax=(load*1000/3**0.5)*(v*1000/3**0.5)*3/z.imag\n",
+ "imax=((v*1000/3**0.5)**2+(load*1000/3**0.5)**2)**0.5/z.imag\n",
+ "pf=(v/3**0.5)*1000/((v*1000/3**0.5)**2+(load*1000/3**0.5)**2)**0.5\n",
+ "\n",
+ "#result\n",
+ "print \"maximum output=\",pmax/1000000,\"MW\"\n",
+ "print \"current=\",imax,\"A\"\n",
+ "print \"pf=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum output= 19.25 MW\n",
+ "current= 1284.92866209 A\n",
+ "pf= 0.786318338822\n"
+ ]
+ }
+ ],
+ "prompt_number": 289
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter38.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter38.ipynb
new file mode 100644
index 00000000..90e078d2
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter38.ipynb
@@ -0,0 +1,1739 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4fa0d818a53ec5608949c7725a11f84c78952680d73d506e4179ac596da192fb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 38: Synchronous Motor"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.1, Page Number:1495"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=75#kW\n",
+ "f=50#Hz\n",
+ "v=440#V\n",
+ "pf=0.8\n",
+ "loss=0.95\n",
+ "xs=2.5#ohm\n",
+ "\n",
+ "#calculations\n",
+ "ns=120*f/4\n",
+ "pm=p*1000/loss\n",
+ "ia=pm/(math.sqrt(3)*v*pf)\n",
+ "vol_phase=v/math.sqrt(3)\n",
+ "\n",
+ "#calculations\n",
+ "print \"mechanical power=\",pm,\"W\"\n",
+ "print \"armature current=\",ia,\"A\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mechanical power= 78947.3684211 W\n",
+ "armature current= 129.489444346 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.2, Page Number:1498"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import cmath\n",
+ "#variable declaration\n",
+ "p=20\n",
+ "vl=693#V\n",
+ "r=10#ohm\n",
+ "lag=0.5#degrees\n",
+ "\n",
+ "#calculations\n",
+ "#lag=0.5\n",
+ "alpha=p*lag/2\n",
+ "eb=vp=vl/math.sqrt(3)\n",
+ "er=complex(vp-eb*math.cos(math.radians(alpha)),eb*math.sin(math.radians(alpha)))\n",
+ "zs=complex(0,10)\n",
+ "ia=er/zs\n",
+ "power_input=3*vp*abs(ia)*math.cos(math.radians(cmath.phase(ia)))\n",
+ "print \"displacement:0.5%\"\n",
+ "print \"alpha=\",alpha,\"degrees\"\n",
+ "print \"armature emf/phase=\",eb,\"V\"\n",
+ "print \"armature current/phase=\",ia,\"A\"\n",
+ "print \"power drawn=\",power_input,\"W\"\n",
+ "print \"\"\n",
+ "\n",
+ "#lag=5\n",
+ "lag=5\n",
+ "alpha=p*lag/2\n",
+ "eb=vp=vl/math.sqrt(3)\n",
+ "er=complex(vp-eb*math.cos(math.radians(alpha)),eb*math.sin(math.radians(alpha)))\n",
+ "zs=complex(0,10)\n",
+ "ia=er/zs\n",
+ "power_input=3*vp*abs(ia)*math.cos(math.radians(cmath.phase(ia)))\n",
+ "\n",
+ "print \"displacement:5%\"\n",
+ "print \"alpha=\",alpha,\"degrees\"\n",
+ "print \"armature emf/phase=\",eb,\"V\"\n",
+ "print \"armature current/phase=\",ia,\"A\"\n",
+ "print \"power drawn=\",power_input,\"W\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "displacement:0.5%\n",
+ "alpha= 5.0 degrees\n",
+ "armature emf/phase= 400.103736548 V\n",
+ "armature current/phase= (3.4871338335-0.152251551219j) A\n",
+ "power drawn= 4189.63221768 W\n",
+ "\n",
+ "displacement:5%\n",
+ "alpha= 50 degrees\n",
+ "armature emf/phase= 400.103736548 V\n",
+ "armature current/phase= (30.6497244054-14.2922012106j) A\n",
+ "power drawn= 40591.222447 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.3, Page Number:1499"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400.0#V/ph\n",
+ "i=32.0#A/ph\n",
+ "xs=10.0#ohm\n",
+ "\n",
+ "#calculations\n",
+ "e=math.sqrt(v**2+(i*xs)**2)\n",
+ "delta=math.atan((i*xs)/v)\n",
+ "power=3*v*i\n",
+ "power_other=3*(v*e/10)*math.sin(delta)*0.001\n",
+ "\n",
+ "#result\n",
+ "print \"E=\",e,\"V\"\n",
+ "print \"delta=\",math.degrees(delta),\"degrees\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "E= 512.249938995 V\n",
+ "delta= 38.6598082541 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.4, Page Number:1506"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "w=150#kW\n",
+ "f=50#Hz\n",
+ "v=2300#V\n",
+ "n=1000#rpm\n",
+ "xd=32#ohm\n",
+ "xq=20#ohm\n",
+ "alpha=16#degrees\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "eb=2*vp\n",
+ "ex_power=eb*vp*math.sin(math.radians(alpha))/xd\n",
+ "rel_power=(vp**2*(xd-xq)*math.sin(math.radians(2*alpha)))/(2*xd*xq)\n",
+ "pm=3*(ex_power+rel_power)\n",
+ "tg=9.55*pm/1000\n",
+ "\n",
+ "#result\n",
+ "print \"torque=\",tg,\"N-m\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque= 1121.29686485 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.5, Page Number:1506"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "x=Symbol('x')\n",
+ "v=3300.0#V\n",
+ "P=1.5#MW\n",
+ "phi=3.0\n",
+ "xd=4.0#ohm per phase\n",
+ "xq=3.0#ohm per phase\n",
+ "sin_phi=0\n",
+ "cos_phi=1\n",
+ "phi=0\n",
+ "#calculations\n",
+ "v1=v/math.sqrt(3)\n",
+ "ia=P*math.pow(10,6)/(math.sqrt(3)*v*cos_phi)\n",
+ "tan_sigma=(v1*sin_phi-ia*xq)/(v1*cos_phi)\n",
+ "sigma=math.atan(tan_sigma)\n",
+ "alpha=phi-sigma\n",
+ "i_d=ia*math.sin(sigma)\n",
+ "iq=ia*math.cos(sigma)\n",
+ "eb=v1*math.cos(alpha)-i_d*xd\n",
+ "#eb=1029sin(alpha)+151sin(2*alpha)\n",
+ "#dPm/d(alpha)=1029sin(alpha)+151sin(2*alpha)=0\n",
+ "ans=solve([(604.0*x**2+1029.0*x-302.0)],[x])\n",
+ "alpha2=math.acos(math.radians(ans[1][0]))\n",
+ "Pm=1029*math.sin(alpha2)+151*math.sin(alpha2)\n",
+ "max_P=Pm*3\n",
+ "\n",
+ "#result\n",
+ "print \"Maximum mechanical power which the motor would develop=\",round(max_P),\"kW\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum mechanical power which the motor would develop= 3540.0 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.6, Page Number:1506"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=11000#V\n",
+ "ia=60#A\n",
+ "r=1#ohm\n",
+ "x=30#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "p2=math.sqrt(3)*v*ia*pf\n",
+ "cu_loss=ia**2*3\n",
+ "pm=p2-cu_loss\n",
+ "vp=v/math.sqrt(3)\n",
+ "phi=math.acos(pf)\n",
+ "theta=math.atan(x/r)\n",
+ "zs=x\n",
+ "z_drop=ia*zs\n",
+ "eb=math.sqrt((vp**2+z_drop**2-(2*vp*z_drop*math.cos(theta+phi))))*math.sqrt(3)\n",
+ "\n",
+ "#result\n",
+ "print \"power supplied=\",p2/1000,\"kW\"\n",
+ "print \"mechanical power=\",pm/1000,\"KW\"\n",
+ "print \"induced emf=\",eb,\"V\"\n",
+ "\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "power supplied= 914.522826396 kW\n",
+ "mechanical power= 903.722826396 KW\n",
+ "induced emf= 13039.2734763 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.7, Page Number:1507"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "i=32#A\n",
+ "pf=1\n",
+ "xd=10#ohm\n",
+ "xq=6.5#ohm\n",
+ "\n",
+ "#calculations\n",
+ "e=math.sqrt(v**2+(i*xq)**2)+((xd-xq)*14.8)\n",
+ "delta=math.atan((i*xq)/v)\n",
+ "power=3*v*i\n",
+ "power_other=3*(v*e/10)*math.sin(delta)*0.001\n",
+ "\n",
+ "#result\n",
+ "print \"E=\",e,\"V\"\n",
+ "print \"delta=\",math.degrees(delta),\"degrees\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "E= 502.648089715 V\n",
+ "delta= 27.4744316263 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 60
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.8, Page Number:1508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=500#V\n",
+ "output=7.46#kW\n",
+ "pf=0.9\n",
+ "r=0.8#ohm\n",
+ "loss=500#W\n",
+ "ex_loss=800#W\n",
+ "\n",
+ "#calculations\n",
+ "pm=output*1000+loss+ex_loss\n",
+ "ia=(v*pf-math.sqrt(v**2*pf**2-4*r*pm))/(2*r)\n",
+ "m_input=loss*ia*pf\n",
+ "efficiency=output*1000/m_input\n",
+ "\n",
+ "#result\n",
+ "print \"commercial efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "commercial efficiency= 82.1029269497 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.9, Page Number:1509"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=2300#V\n",
+ "r=0.2#ohm\n",
+ "x=2.2#ohm\n",
+ "pf=0.5\n",
+ "il=200#A\n",
+ "\n",
+ "#calculations\n",
+ "phi=math.acos(pf)\n",
+ "theta=math.atan(x//r)\n",
+ "v=v/math.sqrt(3)\n",
+ "zs=math.sqrt(r**2+x**2)\n",
+ "eb=math.sqrt(v**2+(il*zs)**2-(2*v*il*zs*math.cos(phi+theta)))\n",
+ "\n",
+ "#result\n",
+ "print \"Eb=\",eb,\"volt/phase\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Eb= 1708.04482042 volt/phase\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.10, Page Number:1509"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "vl=6600#V\n",
+ "f=50#Hz\n",
+ "il=50#A\n",
+ "r=1#ohm\n",
+ "x=20#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "#0.8 lagging\n",
+ "power_i=math.sqrt(3)*v*f*pf\n",
+ "v=vl/math.sqrt(3)\n",
+ "phi=math.acos(pf)\n",
+ "theta=math.atan(x/r)\n",
+ "zs=math.sqrt(x**2+r**2)\n",
+ "eb=math.sqrt(v**2+(il*zs)**2-(2*v*il*zs*math.cos(phi-theta)))*math.sqrt(3)\n",
+ "\n",
+ "print \"0.8 lag: Eb=\",eb\n",
+ "\n",
+ "#0.8 leading\n",
+ "power_i=math.sqrt(3)*v*f*pf\n",
+ "v=vl/math.sqrt(3)\n",
+ "phi=math.acos(pf)\n",
+ "theta=math.atan(x/r)\n",
+ "zs=math.sqrt(x**2+r**2)\n",
+ "eb=math.sqrt(v**2+(il*zs)**2-(2*v*il*zs*math.cos(phi+theta)))*math.sqrt(3)\n",
+ "\n",
+ "print \"0.8 leading:Eb=\",eb"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.8 lag: Eb= 5651.1180113\n",
+ "0.8 leading:Eb= 7705.24623679\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.11, Page Number:1510"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "x=0.4\n",
+ "pf=0.8\n",
+ "v=100#V\n",
+ "phi=math.acos(pf)\n",
+ "#calculations\n",
+ "#pf=1\n",
+ "eb=math.sqrt(v**2+(x*v)**2)\n",
+ "#pf=0.8 lag\n",
+ "eb2=math.sqrt(v**2+(x*v)**2-(2*v*x*v*math.cos(math.radians(90)-phi)))\n",
+ "#pf=0.8 lead\n",
+ "eb3=math.sqrt(v**2+(x*v)**2-(2*v*x*v*math.cos(math.radians(90)+phi)))\n",
+ "#result\n",
+ "print \"pf=1: Eb=\",eb,\"V\"\n",
+ "print \"pf=0.8 lag:Eb=\",eb2,\"V\"\n",
+ "print \"pf=0.8 lead:Eb=\",eb3,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pf=1: Eb= 107.703296143 V\n",
+ "pf=0.8 lag:Eb= 82.4621125124 V\n",
+ "pf=0.8 lead:Eb= 128.062484749 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.12, Page Number:1510"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaraion\n",
+ "load=1000#kVA\n",
+ "v=11000#V\n",
+ "r=3.5#ohm\n",
+ "x=40#ohm\n",
+ "pf=0.8\n",
+ "\n",
+ "#calculations\n",
+ "ia=load*1000/(math.sqrt(3)*v)\n",
+ "vp=v/math.sqrt(3)\n",
+ "phi=math.acos(pf)\n",
+ "ra=ia*r\n",
+ "xa=ia*x\n",
+ "za=math.sqrt(ra**2+xa**2)\n",
+ "theta=math.atan(x/r)\n",
+ "\n",
+ "#pf=1\n",
+ "eb1=math.sqrt(vp**2+za**2-(2*vp*za*math.cos(theta)))\n",
+ "alpha1=math.asin(xa*math.sin(theta)/eb1)\n",
+ "\n",
+ "#pf=0.8 lag\n",
+ "eb2=math.sqrt(vp**2+xa**2-(2*vp*xa*math.cos(theta-phi)))*math.sqrt(3)\n",
+ "alpha2=math.asin(xa*math.sin(theta-phi)/eb2)\n",
+ "#pf=1\n",
+ "eb3=math.sqrt(vp**2+xa**2-(2*vp*xa*math.cos(theta+phi)))*math.sqrt(3)\n",
+ "alpha3=math.asin(xa*math.sin(theta+phi)/eb3)\n",
+ "\n",
+ "#result\n",
+ "print \"at pf=1\"\n",
+ "print \"Eb=\",eb1*math.sqrt(3),\"V\"\n",
+ "print \"alpha=\",math.degrees(alpha1),\"degrees\"\n",
+ "print \"at pf=0.8 lagging\"\n",
+ "print \"Eb=\",eb2,\"V\"\n",
+ "print \"alpha=\",math.degrees(alpha2),\"degrees\"\n",
+ "print \"at pf=0.8 leading\"\n",
+ "print \"Eb=\",eb3,\"V\"\n",
+ "print \"alpha=\",math.degrees(alpha3),\"degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "at pf=1\n",
+ "Eb= 11283.8105339 V\n",
+ "alpha= 18.7256601694 degrees\n",
+ "at pf=0.8 lagging\n",
+ "Eb= 8990.39249633 V\n",
+ "alpha= 10.0142654731 degrees\n",
+ "at pf=0.8 leading\n",
+ "Eb= 13283.8907748 V\n",
+ "alpha= 7.71356041367 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.14, Page Number:1513"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "z=complex(0.5,0.866)\n",
+ "v=200#V\n",
+ "output=6000#W\n",
+ "loss=500#W\n",
+ "i=50#A\n",
+ "\n",
+ "#calculations\n",
+ "cu_loss=i**2*z.real\n",
+ "motor_intake=output+loss+cu_loss\n",
+ "phi=math.acos(motor_intake/(v*i))\n",
+ "theta=math.atan(z.imag/z.real)\n",
+ "zs=abs(z)*i\n",
+ "eb1=math.sqrt(v**2+zs**2-(2*v*zs*math.cos(math.radians(60)-phi)))\n",
+ "eb2=math.sqrt(v**2+zs**2-(2*v*zs*math.cos(math.radians(60)+phi)))\n",
+ "#result\n",
+ "print \"lag:eb=\",eb1,\"V\"\n",
+ "print \"lag:eb=\",eb2,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "lag:eb= 154.286783862 V\n",
+ "lag:eb= 213.765547573 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 65
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.15, Page Number:1513"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=2200#V\n",
+ "f=50#Hz\n",
+ "z=complex(0.4,6)\n",
+ "lag=3#degrees\n",
+ "\n",
+ "#calculations\n",
+ "eb=v/math.sqrt(3)\n",
+ "alpha=lag*8/2\n",
+ "er=math.sqrt(eb**2+eb**2-(2*eb*eb*(math.cos(math.radians(alpha)))))\n",
+ "zs=abs(z)\n",
+ "ia=er/zs\n",
+ "theta=math.atan(z.imag/z.real)\n",
+ "phi=theta-(math.asin(eb*math.sin(math.radians(alpha))/er))\n",
+ "pf=math.cos(phi)\n",
+ "total_input=3*eb*ia*pf\n",
+ "cu_loss=3*ia**2*z.real\n",
+ "pm=total_input-cu_loss\n",
+ "pm_max=(eb*eb/zs)-(eb**2*z.real/(zs**2))\n",
+ "#result\n",
+ "print \"armature current=\",ia,\"A\"\n",
+ "print \"power factor=\",pf\n",
+ "print \"power of the motor=\",pm/1000,\"kW\"\n",
+ "print \"max power of motor=\",pm_max/1000,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 44.1583059199 A\n",
+ "power factor= 0.99927231631\n",
+ "power of the motor= 165.803353329 kW\n",
+ "max power of motor= 250.446734776 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 72
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.16, Page Number:1514"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "eb=250#V\n",
+ "lead=150#degrees\n",
+ "v=200#V\n",
+ "x=2.5#times resistance\n",
+ "alpha=lead/3\n",
+ "#calculations\n",
+ "er=math.sqrt(v**2+eb**2-(2*v*eb*math.cos(math.radians(alpha))))\n",
+ "theta=math.atan(x)\n",
+ "phi=math.radians(90)-theta\n",
+ "pf=math.cos(phi)\n",
+ "\n",
+ "#results\n",
+ "print \"pf at which the motor is operating=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pf at which the motor is operating= 0.928476690885\n"
+ ]
+ }
+ ],
+ "prompt_number": 73
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.17, Page Number:1514"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=6600#V\n",
+ "r=10#ohm\n",
+ "inpt=900#kW\n",
+ "e=8900#V\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "eb=e/math.sqrt(3)\n",
+ "icos=inpt*1000/(math.sqrt(3)*v)\n",
+ "bc=r*icos\n",
+ "ac=math.sqrt(eb**2-bc**2)\n",
+ "oc=ac-vp\n",
+ "phi=math.atan(oc/bc)\n",
+ "i=icos/math.cos(phi)\n",
+ "\n",
+ "#result\n",
+ "print \"Line current=\",i,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Line current= 149.188331836 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 82
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.18, Page Number:1515"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=6600#V\n",
+ "x=20#ohm\n",
+ "inpt=1000#kW\n",
+ "pf=0.8\n",
+ "inpt2=1500#kW\n",
+ "\n",
+ "#variable declaration\n",
+ "va=v/math.sqrt(3)\n",
+ "ia1=inpt*1000/(math.sqrt(3)*v*pf)\n",
+ "zs=x\n",
+ "phi=math.acos(pf)\n",
+ "ia1zs=ia1*zs\n",
+ "eb=math.sqrt(va**2+ia1zs**2-(2*va*ia1zs*math.cos(math.radians(90)+phi)))\n",
+ "ia2cosphi2=inpt2*1000/(math.sqrt(3)*v)\n",
+ "cosphi2=x*ia2cosphi2\n",
+ "ac=math.sqrt(eb**2-cosphi2*2)\n",
+ "phi2=math.atan(ac/cosphi2)\n",
+ "pf=math.cos(phi2)\n",
+ "alpha2=math.atan(cosphi2/ac)\n",
+ "\n",
+ "#results\n",
+ "print \"new power angle=\",math.degrees(alpha2),\"degrees\"\n",
+ "print \"new power factor=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new power angle= 25.8661450552 degrees\n",
+ "new power factor= 0.436270181217\n"
+ ]
+ }
+ ],
+ "prompt_number": 97
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.19, Page Number:1515"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "inpt=5472#W\n",
+ "x=10#ohm\n",
+ "\n",
+ "#calculations\n",
+ "va=v/math.sqrt(3)\n",
+ "iacosphi=inpt/(math.sqrt(3)*v)\n",
+ "zs=x\n",
+ "iazs=iacosphi*zs\n",
+ "ac=math.sqrt(va**2-iazs**2)\n",
+ "oc=va-ac\n",
+ "bc=iazs\n",
+ "phi=math.atan(oc/iazs)\n",
+ "pf=math.cos(phi)\n",
+ "ia=iacosphi/pf\n",
+ "alpha=math.atan(bc/ac)\n",
+ "#result\n",
+ "print \"load angle=\",math.degrees(alpha),\"degrees\"\n",
+ "print \"power factor=\",pf\n",
+ "print \"armature current=\",ia,\"A\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "load angle= 19.9987718079 degrees\n",
+ "power factor= 0.984809614116\n",
+ "armature current= 8.01997824686 A\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.20, Page Number:1515"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import scipy\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "i2=Symbol('i2')\n",
+ "v=2000.0#V\n",
+ "r=0.2#ohm\n",
+ "xs=2.2#ohm\n",
+ "inpt=800.0#kW\n",
+ "e=2500.0#V\n",
+ "\n",
+ "#calculations\n",
+ "i1=inpt*1000/(math.sqrt(3)*v)\n",
+ "vp=v/math.sqrt(3)\n",
+ "ep=e/math.sqrt(3)\n",
+ "theta=math.atan(xs/r)\n",
+ "i2=solve(((i1*xs+r*i2)**2+(vp+i1*r-xs*i2)**2)-ep**2,i2)\n",
+ "i=math.sqrt(i1**2+i2[0]**2)\n",
+ "pf=i1/i\n",
+ "\n",
+ "#result\n",
+ "print \"line currrent=\",i,\"A\"\n",
+ "print \"power factor=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "line currrent= 241.492937915 A\n",
+ "power factor= 0.956301702525\n"
+ ]
+ }
+ ],
+ "prompt_number": 152
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.21, Page Number:1516"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=440#V\n",
+ "f=50#Hz\n",
+ "inpt=7.46#kW\n",
+ "r=0.5#ohm\n",
+ "pf=0.75\n",
+ "loss=500#W\n",
+ "ex_loss=650#W\n",
+ "\n",
+ "#calculations\n",
+ "ia=inpt*1000/(math.sqrt(3)*v*pf)\n",
+ "cu_loss=3*ia**2*r\n",
+ "power=inpt*1000+ex_loss\n",
+ "output=inpt*1000-cu_loss-loss\n",
+ "efficiency=output/power\n",
+ "\n",
+ "#result\n",
+ "print \"armature current=\",ia,\"A\"\n",
+ "print \"power=\",power,\"W\"\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "armature current= 13.0516151762 A\n",
+ "power= 8110.0 W\n",
+ "efficiency= 82.6693343026 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 156
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.22, Page Number:1517"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "v=3300#V\n",
+ "x=18#ohm\n",
+ "pf=0.707\n",
+ "inpt=800#kW\n",
+ "\n",
+ "#calculations\n",
+ "ia=inpt*1000/(math.sqrt(3)*v*pf)\n",
+ "ip=ia/math.sqrt(3)\n",
+ "zs=x\n",
+ "iazs=ip*zs\n",
+ "phi=math.acos(pf)\n",
+ "theta=math.radians(90)\n",
+ "eb=math.sqrt(v**2+iazs**2-(2*v*iazs*(-1)*pf))\n",
+ "alpha=math.asin(iazs*math.sin(theta+phi)/eb)\n",
+ "\n",
+ "#result\n",
+ "print \"excitation emf=\",eb,\"V\"\n",
+ "print \"rotor angle=\",math.degrees(alpha),\"degrees\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "excitation emf= 4972.19098879 V\n",
+ "rotor angle= 17.0098509277 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 157
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.23, Page Number:1517"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "inpt=75#kW\n",
+ "v=400#V\n",
+ "r=0.04#ohm\n",
+ "x=0.4#ohm\n",
+ "pf=0.8\n",
+ "efficiency=0.925\n",
+ "\n",
+ "#calculations\n",
+ "input_m=inpt*1000/efficiency\n",
+ "ia=input_m/(math.sqrt(3)*v)\n",
+ "zs=math.sqrt(r**2+x**2)\n",
+ "iazs=ia*zs\n",
+ "phi=math.atan(x/r)\n",
+ "theta=math.radians(90)-phi\n",
+ "vp=v/math.sqrt(3)\n",
+ "eb=math.sqrt(vp**2+iazs**2-(2*vp*iazs*math.cos(theta+phi)))\n",
+ "cu_loss=3*ia**2*r\n",
+ "ns=120*50/40\n",
+ "pm=input_m-cu_loss\n",
+ "tg=9.55*pm/ns\n",
+ "\n",
+ "#result\n",
+ "print \"emf=\",eb,\"eb\"\n",
+ "print \"mechanical power=\",pm,\"W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "emf= 235.683320812 eb\n",
+ "mechanical power= 79437.5456538 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 158
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.24, Page Number:1517"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "f=50#Hz\n",
+ "r=0.5#ohm\n",
+ "zs=x=4#ohm\n",
+ "i=15#A\n",
+ "i2=60#A\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "iazs=i*zs\n",
+ "xs=math.sqrt(x**2-r**2)\n",
+ "theta=math.atan(xs/r)\n",
+ "eb=math.sqrt(vp**2+iazs**2-(2*vp*iazs*math.cos(theta)))\n",
+ "iazs2=i2*zs\n",
+ "phi=theta-math.acos(vp**2-vp**2+iazs2**2/(2*vp*iazs2))\n",
+ "pf=math.cos(phi)\n",
+ "input_m=math.sqrt(3)*v*i2*pf\n",
+ "cu_loss=3*i2**2*r\n",
+ "pm=input_m-cu_loss\n",
+ "ns=120*50/6\n",
+ "tg=9.55*pm/ns\n",
+ "\n",
+ "#result\n",
+ "print \"gross torque developed=\",tg,\"N-m\"\n",
+ "print \"new power factor=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "gross torque developed= 310.739709828 N-m\n",
+ "new power factor= 0.912650996943\n"
+ ]
+ }
+ ],
+ "prompt_number": 161
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.25, Page Number:1518"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "inpt=7.46#kW\n",
+ "xs=10#W/phase\n",
+ "efficiency=0.85\n",
+ "\n",
+ "#calculations\n",
+ "input_m=inpt*1000/efficiency\n",
+ "il=input_m/(math.sqrt(3)*v)\n",
+ "zs=il*xs\n",
+ "vp=v/math.sqrt(3)\n",
+ "eb=math.sqrt(vp**2+zs**2)\n",
+ "\n",
+ "#result\n",
+ "print \"minimum current=\",il,\"A\"\n",
+ "print \"inducedemf=\",eb,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "minimum current= 12.6677441416 A\n",
+ "inducedemf= 263.401798584 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 164
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.26, Page Number:1518"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "f=50#Hz\n",
+ "inpt=37.5#kW\n",
+ "efficiency=0.88\n",
+ "zs=complex(0.2,1.6)\n",
+ "pf=0.9\n",
+ "\n",
+ "#calculations\n",
+ "input_m=inpt/efficiency\n",
+ "ia=input_m*1000/(math.sqrt(3)*v*pf)\n",
+ "vp=v/math.sqrt(3)\n",
+ "er=ia*abs(zs)\n",
+ "phi=math.acos(pf)\n",
+ "theta=math.atan(zs.imag/zs.real)\n",
+ "eb=math.sqrt(vp**2+er**2-(2*vp*er*math.cos(theta+phi)))\n",
+ "alpha=math.asin(math.sin(theta+phi)*er/eb)\n",
+ "pm=3*eb*vp*math.sin(alpha)/abs(zs)\n",
+ "#result\n",
+ "print \"excitation emf=\",eb*math.sqrt(3),\"V\"\n",
+ "print \"total mechanical power developed=\",pm,\"W\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "excitation emf= 495.407915636 V\n",
+ "total mechanical power developed= 44844.4875189 W\n"
+ ]
+ }
+ ],
+ "prompt_number": 206
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.27, Page Number:1519"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import scipy\n",
+ "from sympy.solvers import solve\n",
+ "from sympy import Symbol\n",
+ "#variable declaration\n",
+ "v=6600.0#V\n",
+ "xs=20.0#ohm\n",
+ "inpt=1000.0#kW\n",
+ "pf=0.8\n",
+ "inpt2=1500.0#kW\n",
+ "phi2=Symbol('phi2')\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "ia=inpt*1000/(math.sqrt(3)*v*pf)\n",
+ "theta=math.radians(90)\n",
+ "er=ia*xs\n",
+ "zs=xs\n",
+ "phi=math.acos(pf)\n",
+ "eb=math.sqrt(vp**2+er**2-(2*vp*er*math.cos(theta+phi)))\n",
+ "alpha=math.asin(inpt2*1000*zs/(3*eb*vp))\n",
+ "#vp/eb=cos(alpha+phi2)/cos(phi2)\n",
+ "#solving we get\n",
+ "phi2=math.radians(19.39)\n",
+ "pf=math.cos(phi2)\n",
+ "#result\n",
+ "print \"new power factor=\",pf\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "new power factor= 0.943280616635\n"
+ ]
+ }
+ ],
+ "prompt_number": 228
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.28, Page Number:1519"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "x=4#ohms/phase\n",
+ "r=0.5#ohms/phase\n",
+ "ia=60#A\n",
+ "pf=0.866\n",
+ "loss=2#kW\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "zs=abs(complex(r,x))\n",
+ "phi=math.acos(pf)\n",
+ "iazs=ia*zs\n",
+ "theta=math.atan(x/r)\n",
+ "eb=math.sqrt(vp**2+iazs**2-(2*vp*iazs*math.cos(theta+phi)))\n",
+ "pm_max=(eb*vp/zs)-(eb**2*r/zs**2)\n",
+ "pm=3*pm_max\n",
+ "output=pm-loss*1000\n",
+ "\n",
+ "#result\n",
+ "print \"maximum power output=\",output/1000,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum power output= 51.3898913442 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 229
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.29, Page Number:1519"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "z=10#ohm\n",
+ "x=0.5#ohm\n",
+ "v=2000#V\n",
+ "f=25#Hz\n",
+ "eb=1600#V\n",
+ "\n",
+ "#calculations\n",
+ "pf=x/z\n",
+ "pm_max=(eb*v/z)-(eb**2*pf/zs)\n",
+ "ns=120*f/6\n",
+ "tg_max=9.55*pm_max/ns\n",
+ "\n",
+ "#result\n",
+ "print \"maximum total torque=\",tg_max,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum total torque= 5505.51976175 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 231
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.30, Page Number:1520"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variabke declaration\n",
+ "v=2000#V\n",
+ "n=1500#rpm\n",
+ "x=3#ohm/phase\n",
+ "ia=200#A\n",
+ "\n",
+ "#calculations\n",
+ "eb=vp=v/math.sqrt(3)\n",
+ "zs=ia*x\n",
+ "sinphi=(eb**2-vp**2-zs**2)/(2*zs*vp)\n",
+ "phi=math.asin(sinphi)\n",
+ "pf=math.cos(phi)\n",
+ "pi=math.sqrt(3)*v*ia*pf/1000\n",
+ "tg=9.55*pi*1000/n\n",
+ "\n",
+ "#result\n",
+ "print \"power input=\",pi,\"kW\"\n",
+ "print \"power factor=\",pf\n",
+ "print \"torque=\",tg,\"N-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "power input= 669.029147347 kW\n",
+ "power factor= 0.965660395791\n",
+ "torque= 4259.48557144 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 234
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.31, Page Number:1520"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=3300#V\n",
+ "r=2#ohm\n",
+ "x=18#ohm\n",
+ "e=3800#V\n",
+ "\n",
+ "#calculations\n",
+ "theta=math.atan(x/r)\n",
+ "vp=v/math.sqrt(3)\n",
+ "eb=e/math.sqrt(3)\n",
+ "alpha=theta\n",
+ "er=math.sqrt(vp**2+eb**2-(2*vp*eb*math.cos(theta)))\n",
+ "zs=math.sqrt(r**2+x**2)\n",
+ "ia=er/zs\n",
+ "pm_max=((eb*vp/zs)-(eb**2*r/zs**2))*3\n",
+ "cu_loss=3*ia**2*r\n",
+ "input_m=pm_max+cu_loss\n",
+ "pf=input_m/(math.sqrt(3)*v*ia)\n",
+ "\n",
+ "#result\n",
+ "print \"maximum total mechanical power=\",pm_max,\"W\"\n",
+ "print \"current=\",ia,\"A\"\n",
+ "print \"pf=\",pf\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "maximum total mechanical power= 604356.888001 W\n",
+ "current= 151.417346198 A\n",
+ "pf= 0.857248980398\n"
+ ]
+ }
+ ],
+ "prompt_number": 235
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.32, Page Number:1521"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=415#V\n",
+ "e=520#V\n",
+ "z=complex(0.5,4)\n",
+ "loss=1000#W\n",
+ "\n",
+ "#calculations\n",
+ "theta=math.atan(z.imag/z.real)\n",
+ "er=math.sqrt(v**2+e**2-(2*v*e*math.cos(theta)))\n",
+ "zs=abs(z)\n",
+ "i=er/zs\n",
+ "il=math.sqrt(3)*i\n",
+ "pm_max=((e*v/zs)-(e**2*z.real/zs**2))*3\n",
+ "output=pm_max-loss\n",
+ "cu_loss=3*i**2*z.real\n",
+ "input_m=pm_max+cu_loss\n",
+ "pf=input_m/(math.sqrt(3)*il*v)\n",
+ "efficiency=output/input_m\n",
+ "\n",
+ "#result\n",
+ "print \"power output=\",output/1000,\"kW\"\n",
+ "print \"line current=\",il,\"A\"\n",
+ "print \"power factor=\",pf\n",
+ "print \"efficiency=\",efficiency*100,\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "power output= 134.640174346 kW\n",
+ "line current= 268.015478962 A\n",
+ "power factor= 0.890508620247\n",
+ "efficiency= 78.4816159071 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 240
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.33, Page Number:1524"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "v=400#V\n",
+ "inpt=37.3#kW\n",
+ "efficiency=0.88\n",
+ "z=complex(0.2,1.6)\n",
+ "pf=0.9\n",
+ "\n",
+ "#calculations\n",
+ "vp=v/math.sqrt(3)\n",
+ "zs=abs(z)\n",
+ "il=inpt*1000/(math.sqrt(3)*v*efficiency*pf)\n",
+ "izs=zs*il\n",
+ "theta=math.atan(z.imag/z.real)\n",
+ "phi=math.acos(pf)\n",
+ "eb=math.sqrt(vp**2+izs**2-(2*vp*izs*math.cos(theta+phi)))\n",
+ "input_m=inpt*1000/efficiency\n",
+ "cu_loss=3*il**2*z.real\n",
+ "pm=input_m-cu_loss\n",
+ "\n",
+ "#result\n",
+ "print \"induced emf=\",eb*math.sqrt(3),\"V\"\n",
+ "print \"total mechanical power=\",pm/1000,\"kW\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "induced emf= 494.75258624 V\n",
+ "total mechanical power= 39.6138268735 kW\n"
+ ]
+ }
+ ],
+ "prompt_number": 243
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.34, Page Number:1525"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "inpt=48#kW\n",
+ "v=693#V\n",
+ "pf=0.8\n",
+ "ratio=0.3\n",
+ "x=2#W/phase\n",
+ "\n",
+ "#calculations\n",
+ "il=inpt*1000/(math.sqrt(3)*v*pf)\n",
+ "vp=v/math.sqrt(3)\n",
+ "zs=x\n",
+ "izs=zs*il\n",
+ "theta=math.atan(float(\"inf\"))\n",
+ "phi=math.acos(pf)\n",
+ "eb=math.sqrt(vp**2+izs**2-(2*vp*izs*math.cos(theta-phi)))\n",
+ "i_cosphi=pf*il\n",
+ "bc=i_cosphi*x\n",
+ "eb=eb+(ratio*eb)\n",
+ "ac=math.sqrt(eb**2-bc**2)\n",
+ "oc=ac-vp\n",
+ "phi2=math.atan(oc/bc)\n",
+ "pf=math.cos(phi2)\n",
+ "i2=i_cosphi/pf\n",
+ "\n",
+ "#result\n",
+ "print \"current=\",i2,\"A\"\n",
+ "print \"pf=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "current= 46.3871111945 A\n",
+ "pf= 0.862084919821\n"
+ ]
+ }
+ ],
+ "prompt_number": 251
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 38.35, Page Number:1526"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "load=60.0#kW\n",
+ "inpt=240.0#kW\n",
+ "pf=0.8\n",
+ "pf2=0.9\n",
+ "\n",
+ "#calculations\n",
+ "total_load=inpt+load\n",
+ "phi=math.acos(pf2)\n",
+ "kVAR=total_load*math.tan(phi)\n",
+ "#factory load\n",
+ "phil=math.acos(pf)\n",
+ "kVAR=inpt*math.tan(phil)\n",
+ "kVA=inpt/pf\n",
+ "kVAR1=total_load*math.sin(phil)\n",
+ "lead_kVAR=kVAR1-kVAR\n",
+ "#synchronous motor\n",
+ "phim=math.atan(lead_kVAR/load)\n",
+ "motorpf=math.cos(phim)\n",
+ "motorkVA=math.sqrt(load**2+lead_kVAR**2)\n",
+ "\n",
+ "#result\n",
+ "print \"leading kVAR supplied by the motor=\",motorkVA\n",
+ "print \"pf=\",pf"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "leading kVAR supplied by the motor= 60.0\n",
+ "pf= 0.8\n"
+ ]
+ }
+ ],
+ "prompt_number": 253
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/A Textbook of Electrical Technology AC and DC Machines/chapter39.ipynb b/A Textbook of Electrical Technology AC and DC Machines/chapter39.ipynb
new file mode 100644
index 00000000..e889465f
--- /dev/null
+++ b/A Textbook of Electrical Technology AC and DC Machines/chapter39.ipynb
@@ -0,0 +1,256 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:c262c33cbbcf1d1756b9358f8cf1d8ed92f53825858905e2598fd8e15870c7ca"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 39: Special Machines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 39.1, Page Number:1537"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable description\n",
+ "p=8.0 #number of poles\n",
+ "tp=5.0 #number of teeth for each pole\n",
+ "nr=50.0 #number of rotor teeth\n",
+ "\n",
+ "#calculation\n",
+ "ns=p*tp #number of stator teeth\n",
+ "B=((nr-ns)*360)/(nr*ns) #stepping angle\n",
+ "\n",
+ "#result\n",
+ "print \"stepping angle is \",B,\"degrees\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "stepping angle is 1.8 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 39.2, Page Number:1537"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "B=2.5\n",
+ "rn=25\n",
+ "f=3600\n",
+ "\n",
+ "#calculation\n",
+ "r=360/B\n",
+ "s=r*rn\n",
+ "n=(B*f)/360\n",
+ "\n",
+ "#result\n",
+ "print \"Resolution =\",int(r),\"steps/revolution\"\n",
+ "print \" Number of steps required for the shaft to make 25 revolutions =\",int(s)\n",
+ "print \" Shaft speed\", int(n),\"rps\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Resolution = 144 steps/revolution\n",
+ "Number of steps required for the shaft to make 25 revolutions = 3600\n",
+ "Shaft speed 25 rps\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 39.3, Page Number:1544"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "B=15 #stepping angle\n",
+ "pn=3 #number of phases\n",
+ "nr=360/(pn*B) #number of rotor teeth\n",
+ "\n",
+ "#number of stator teeth\n",
+ "ns1=((360*nr)/(360-(nr*B))) #ns>nr\n",
+ "ns2=((360*nr)/(360+(nr*B))) #nr>ns\n",
+ "\n",
+ "#result\n",
+ "print \"When ns>nr: ns= \",ns1\n",
+ "print \"When nr>ns: ns= \",ns2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "When ns>nr: ns= 12\n",
+ "When nr>ns: ns= 6\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 39.4, Page Number:1545"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "B=1.8\n",
+ "pn=4\n",
+ "\n",
+ "#calculation\n",
+ "nr=360/(pn*B) #number of rotor teeth\n",
+ "ns=nr\n",
+ "\n",
+ "#result\n",
+ "print \"Number of rotor teeth = \",int(nr)\n",
+ "print \"Number of statot teeth = \",int(ns)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of rotor teeth = 50.0\n",
+ "Number of statot teeth = 50.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example Number 39.5, Page Number:1555"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#variable declaration\n",
+ "er=20\n",
+ "\n",
+ "#calculation\n",
+ "a=40\n",
+ "e2=er*math.cos(math.radians(a))\n",
+ "e1=er*math.cos(math.radians(a-120))\n",
+ "e3=er*math.cos(math.radians(a+120))\n",
+ "\n",
+ "#result\n",
+ "print \"a) For a=40 degrees\"\n",
+ "print \" e2s=\" ,e2,\"V\"\n",
+ "print \" e1s=\" ,e1,\"V\"\n",
+ "print \" e3s=\" ,e3,\"V\"\n",
+ "\n",
+ "#calculation\n",
+ "a=(-40)\n",
+ "e2=er*math.cos(math.radians(a))\n",
+ "e1=er*math.cos(math.radians(a-120))\n",
+ "e3=er*math.cos(math.radians(a+120))\n",
+ "\n",
+ "#result\n",
+ "print \"b) For a=-40 degrees\"\n",
+ "print \" e2s=\" ,e2,\"V\"\n",
+ "print \" e1s=\" ,e1,\"V\"\n",
+ "print \" e3s=\" ,e3,\"V\"\n",
+ "\n",
+ "#calculation\n",
+ "a=30\n",
+ "e12=math.sqrt(3)*er*math.cos(math.radians(a-150))\n",
+ "e23=math.sqrt(3)*er*math.cos(math.radians(a-30))\n",
+ "e31=math.sqrt(3)*er*math.cos(math.radians(a+90))\n",
+ "\n",
+ "#result\n",
+ "print \"c) For a=30 degrees\"\n",
+ "print \" e12=\" ,e12,\"V\"\n",
+ "print \" e23=\" ,e23,\"V\"\n",
+ "print \" e31=\" ,e31,\"V\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a) For a=40 degrees\n",
+ " e2s= 15.3208888624 V\n",
+ " e1s= 3.47296355334 V\n",
+ " e3s= -18.7938524157 V\n",
+ "b) For a=-40 degrees\n",
+ " e2s= 15.3208888624 V\n",
+ " e1s= -18.7938524157 V\n",
+ " e3s= 3.47296355334 V\n",
+ "c) For a=30 degrees\n",
+ " e12= -17.3205080757 V\n",
+ " e23= 34.6410161514 V\n",
+ " e31= -17.3205080757 V\n"
+ ]
+ }
+ ],
+ "prompt_number": 41
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Engineering_Mechanics_Statics_and_Dynamics_by_Hibler_and_Gupta/index.png b/Engineering_Mechanics_Statics_and_Dynamics_by_Hibler_and_Gupta/index.png
new file mode 100644
index 00000000..491fb7a8
--- /dev/null
+++ b/Engineering_Mechanics_Statics_and_Dynamics_by_Hibler_and_Gupta/index.png
Binary files differ
diff --git a/Strength Of Materials/chapter_10.ipynb b/Strength Of Materials/chapter_10.ipynb
new file mode 100644
index 00000000..925fbffe
--- /dev/null
+++ b/Strength Of Materials/chapter_10.ipynb
@@ -0,0 +1,280 @@
+{
+ "metadata": {
+ "name": "chapter_10.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10:Theory of Failures"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.10.10.1,Page No.401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P_e=300 #N/mm**2 #Elastic Limit in tension\n",
+ "FOS=3 #Factor of safety\n",
+ "mu=0.3 #Poissoin's ratio\n",
+ "P=12*10**3 #N Pull \n",
+ "Q=6*10**3 #N #Shear force\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let d be the diameter of the shaft\n",
+ "\n",
+ "#Direct stress\n",
+ "#P_x=P*(pi*4**-1*d**3)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "#P_x=48*10**3\n",
+ "\n",
+ "#Now shear stress at the centre of bolt\n",
+ "#q=4*3**-1*q_av\n",
+ "#After substituting values and further simplifying we get\n",
+ "#q=32*10**3*(pi*d**2)**-1\n",
+ "\n",
+ "#Principal stresses are\n",
+ "#P1=P_x*2**-1+((P_x*2**-1)**2+q**2)**0.5\n",
+ "#After substituting values and further simplifying we get\n",
+ "#p1=20371.833*(d**2)**-1\n",
+ "\n",
+ "#P2=P_x*2**-1-((P_x*2**-1)**2+q**2)**0.5\n",
+ "#After substituting values and further simplifying we get\n",
+ "#P2=-5092.984*(d**2)**-1\n",
+ "\n",
+ "#q_max=((P_x*2**-1)**2+q**2)**0.5\n",
+ "\n",
+ "#From Max Principal stress theory\n",
+ "#Permissible stress in Tension\n",
+ "P1=100 #N/mm**2 \n",
+ "d=(20371.833*P1**-1)**0.5\n",
+ "\n",
+ "#Max strain theory\n",
+ "#e_max=P1*E**-1-mu*P2*E**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "#e_max=21899.728*(d**2*E)**-1\n",
+ "\n",
+ "#According to this theory,the design condition is\n",
+ "#e_max=P_e*(E*FOS)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d2=(21899.728*3*300**-1)**0.5 #mm\n",
+ "\n",
+ "#Max shear stress theory\n",
+ "#e_max=shear stress at elastic*(FOS)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d3=(12732.421*6*300**-1)**0.5 #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Diameter of Bolt by:Max Principal stress theory\",round(d,2),\"mm\"\n",
+ "print\" :Max strain theory\",round(d2,2),\"mm\"\n",
+ "print\" :Max shear stress theory\",round(d3,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Diameter of Bolt by:Max Principal stress theory 14.27 mm\n",
+ " :Max strain theory 14.8 mm\n",
+ " :Max shear stress theory 15.96 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.10.10.2.Page No.402"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "M=40*10**6 #N-mm #Bending moment\n",
+ "T=10*10**6 #N-mm #TOrque\n",
+ "mu=0.25 #Poissoin's ratio\n",
+ "P_e=200 #N/mm**2 #Stress at Elastic Limit\n",
+ "FOS=2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let d be the diameter of the shaft\n",
+ "\n",
+ "#Principal stresses are given by\n",
+ "\n",
+ "#P1=16*(pi*d**3)**-1*(M+(M**2+T**2)**0.5)\n",
+ "#After substituting values and further simplifying we get\n",
+ "#P1=4.13706*10**8*(d**3)**-1 ............................(1)\n",
+ "\n",
+ "#P2=16*(pi*d**3)**-1*(M-(M**2+T**2)**0.5)\n",
+ "#After substituting values and further simplifying we get\n",
+ "#P2=-6269718*(pi*d**3)**-1 ..............................(2)\n",
+ "\n",
+ "#q_max=(P1-P2)*2**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "#q_max=2.09988*10**8*(d**3)**-1\n",
+ "\n",
+ "#Max Principal stress theory\n",
+ "#P1=P_e*(FOS)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d=(4.13706*10**8*2*200**-1)**0.33333 #mm \n",
+ "\n",
+ "#Max shear stress theory\n",
+ "#q_max=shear stress at elastic limit*(FOS)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d2=(2.09988*10**8*4*200**-1)**0.33333\n",
+ "\n",
+ "#Max strain energy theory\n",
+ "#P_3=0\n",
+ "#P1**2+P2**2-2*mu*P1*P2=P_e**2*(FOS)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d3=(8.62444*10**12)**0.166666\n",
+ "\n",
+ "#Result\n",
+ "print\"Diameter of shaft according to:MAx Principal stress theory\",round(d,2),\"mm\"\n",
+ "print\" :Max shear stress theory\",round(d2,2),\"mm\"\n",
+ "print\" :Max strain energy theory\",round(d3,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Diameter of shaft according to:MAx Principal stress theory 160.52 mm\n",
+ " :Max shear stress theory 161.33 mm\n",
+ " :Max strain energy theory 143.2 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.10.10.3,Page No.403"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "f_x=40 #N/mm**2 #Internal Fliud Pressure\n",
+ "d1=200 #mm #Internal Diameter\n",
+ "r1=d1*2**-1 #mm #Radius\n",
+ "q=300 #N/mm**2 #Tensile stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From Lame's Equation we have,\n",
+ "\n",
+ "#Hoop Stress\n",
+ "#f_x=b*(x**2)**-1+a ..........................(1)\n",
+ "\n",
+ "#Radial Pressure\n",
+ "#p_x=b*(x**2)**-1-a .........................(2)\n",
+ "\n",
+ "#the boundary conditions are\n",
+ "x=d1*2**-1 #mm \n",
+ "#After sub values in equation 1 and further simplifying we get\n",
+ "#40=b*100**-1-a ..........................(3)\n",
+ "\n",
+ "#Max Principal stress theory\n",
+ "#q*(FOS)**-1=b*100**2+a ..................(4)\n",
+ "#After sub values in above equation and further simplifying we get\n",
+ "\n",
+ "#From Equation 3 and 4 we get\n",
+ "a=80*2**-1\n",
+ "#Sub value of a in equation 3 we get\n",
+ "b=(f_x+a)*100**2\n",
+ "\n",
+ "#At outer edge where x=r_0 pressure is zero\n",
+ "r_0=(b*a**-1)**0.5 #mm\n",
+ "\n",
+ "#thickness\n",
+ "t=r_0-r1 #mm\n",
+ "\n",
+ "#Max shear stress theory\n",
+ "P1=b*(100**2)**-1+a #Max hoop stress\n",
+ "P2=-40 #pressure at int radius (since P2 is compressive)\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(P1-P2)*2**-1\n",
+ "\n",
+ "#According max shear theory the design condition is\n",
+ "#q_max=P_e*2**-1*(FOS)**-1\n",
+ "#After sub values in equation we get and further simplifying we get\n",
+ "#80=b*(100**2)**-1+a\n",
+ "#After sub values in equation 1 and 3 and further simplifying we get\n",
+ "b2=120*100**2*2**-1\n",
+ "\n",
+ "#from equation(3)\n",
+ "a2=120*2**-1-a\n",
+ "\n",
+ "#At outer radius r_0,radial pressure=0\n",
+ "r_02=(b2*a2**-1)**0.5\n",
+ "\n",
+ "#thickness\n",
+ "t2=r_02-r1\n",
+ "\n",
+ "#Result\n",
+ "print\"Thickness of metal by:Max Principal stress theory\",round(t,2),\"mm\"\n",
+ "print\" :Max shear stress thoery\",round(t2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thickness of metal by:Max Principal stress theory 41.42 mm\n",
+ " :Max shear stress thoery 73.21 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_2.ipynb b/Strength Of Materials/chapter_2.ipynb
new file mode 100644
index 00000000..c9aac00a
--- /dev/null
+++ b/Strength Of Materials/chapter_2.ipynb
@@ -0,0 +1,2776 @@
+{
+ "metadata": {
+ "name": "chapter_2.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2:Simple Stresses And Strains"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.1,Page No.14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "P=45*10**3 #N #Load\n",
+ "E=200*10**3 #N/mm**2 #Modulus of elasticity of rod\n",
+ "L=500 #mm #Length of rod\n",
+ "d=20 #mm #Diameter of rod\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A=pi*d**2*4**-1 #mm**2 #Area of circular rod\n",
+ "p=P*A**-1 #N/mm**2 #stress\n",
+ "e=p*E**-1 #strain \n",
+ "dell_l=(P*L)*(A*E)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"The stress in bar due to Load is\",round(p,5),\"N/mm\"\n",
+ "print\"The strain in bar due to Load is\",round(e,5),\"N/mm\"\n",
+ "print\"The Elongation in bar due to Load is\",round(dell_l,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The stress in bar due to Load is 143.23945 N/mm\n",
+ "The strain in bar due to Load is 0.00072 N/mm\n",
+ "The Elongation in bar due to Load is 0.36 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.2,Page No.15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ " \n",
+ "A=15*0.75 #mm**2 #area of steel tape\n",
+ "P=100 #N #Force apllied\n",
+ "L=30*10**3 #mm #Length of tape\n",
+ "E=200*10**3 #N/m**2 #Modulus of Elasticity of steel tape\n",
+ "AB=150 #m #Measurement of Line AB \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "dell_l=P*L*(A*E)**-1 #mm #Elongation\n",
+ "l=L+dell_l*10**-3 #mm #Actual Length \n",
+ "AB1=AB*l*L**-1 #m Actual Length of AB\n",
+ "\n",
+ "#Result\n",
+ "print\"The Actual Length of Line AB is\",round(AB1,2),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Actual Length of Line AB is 150.0 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 48
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.3,Page No.15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Let y be the yield stress\n",
+ "\n",
+ "y=250 #N/mm**2 #yield stress\n",
+ "FOS=1.75 #Factor of safety\n",
+ "P=140*10**3 #N #compressive Load\n",
+ "D=101.6 #mm #External diameter\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "p=y*(FOS)**-1 #N/mm**2 #Permissible stress\n",
+ "A=P*p**-1 #mm**2 #Area of hollow tube\n",
+ "\n",
+ "#Let d be the internal diameter of tube\n",
+ "d=-((A*4*(pi)**-1)-D**2)\n",
+ "X=d**0.5\n",
+ "t=(D-X)*2**-1 #mm #Thickness of steel tube\n",
+ "\n",
+ "#result\n",
+ "print\"The thickness of steel tube is\",round(t,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The thickness of steel tube is 3.17 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.4,Page No.16"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=25 #mm #diameter of steel\n",
+ "d2=18 #mm #Diameter at neck\n",
+ "L=200 #mm #length of stee\n",
+ "P=80*10**3 #KN #Load \n",
+ "P1=160*10**3 #N #Load at Elastic Limit\n",
+ "P2=180*10**3 #N #Max Load\n",
+ "L1=56 #mm #Total Extension\n",
+ "dell_l=0.16 #mm #Extension\n",
+ "\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A=pi*d**2*4**-1 #Area of steel #mm**2\n",
+ "\n",
+ "p=P1*A**-1 #Stress at Elastic Limit #N/mm**2\n",
+ "Y=P*L*(A*dell_l)**-1 #Modulus of elasticity\n",
+ "\n",
+ "#Let % elongation be x\n",
+ "x=L1*L**-1*100 \n",
+ "\n",
+ "#Percentage reduction in area\n",
+ "#Let % A be a\n",
+ "a=((pi*4**-1*d**2)-(pi*4**-1*d2**2))*(pi*4**-1*d**2)**-1*100\n",
+ "\n",
+ "#Ultimate tensile stress\n",
+ "sigma=P2*A**-1 #N/mm**2\n",
+ "\n",
+ "#result\n",
+ "print\"Stress at Elastic limit is\",round(p,2),\"N/mm**2\"\n",
+ "print\"Young's Modulus is\",round(Y,2),\"N/mm**2\"\n",
+ "print\"Percentage Elongation is\",round(a,2)\n",
+ "print\"Percentage reduction in area is\",round(P2,2)\n",
+ "print\"Ultimate tensile stress\",round(sigma,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress at Elastic limit is 325.95 N/mm**2\n",
+ "Young's Modulus is 203718.33 N/mm**2\n",
+ "Percentage Elongation is 48.16\n",
+ "Percentage reduction in area is 180000.0\n",
+ "Ultimate tensile stress 366.69 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.5,Page No.16"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=20 #mm #Diameter of bar\n",
+ "d2=14.7 #mm #Diameter at neck \n",
+ "L=200 #mm #guage Length \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,10,20,30,40,50,60]\n",
+ "Y1=[0,32,64,95,127,160,190]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Extension in divisions\")\n",
+ "plt.ylabel(\"Load in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "A=pi*4**-1*d**2 #mm**2 #Area of Bar\n",
+ "A2=pi*4**-1*d2**2\n",
+ "\n",
+ "P=45 #KN #Load obtained from graph\n",
+ "dell=0.143 #mm #Divisions\n",
+ "\n",
+ "#Modulus of Elasticity\n",
+ "E=P*L*(dell*A)**-1 \n",
+ "\n",
+ "BL=93*10**3 #N #Breaking Load\n",
+ "\n",
+ "#Nominal stress at Breaking point\n",
+ "sigma=BL*A**-1 #KN/mm**2 \n",
+ "\n",
+ "#True stress at breaking Point\n",
+ "sigma1=BL*A2**-1\n",
+ "\n",
+ "#Percentage Elongation \n",
+ "dell_l=(A-A2)*A**-1*100\n",
+ "\n",
+ "#Result\n",
+ "print\"The Value of ELongation is\",round(E,2),\"N/mm**2\"\n",
+ "print\"The Nominal stress at the Breaking Point\",round(sigma,2),\"KN/mm**2\"\n",
+ "print\"The True stress at the Breaking Point\",round(sigma1,2),\"KN/mm**2\"\n",
+ "print\"The Percentage Reduction in Area is\",round(dell_l,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAEPCAYAAACp/QjLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xt0lOW1x/HvAEFbQtEqBEg4JxzuIVdBEBEbhEAVE1EQ\nDXIpIFosFhDlgAu5KEJol/UAgraCbSoUSvEUsC0UFIIQLJdwC4YW1ERCEqIYwyWIhOQ5f7xlDiET\nQkJm3rn8PmtlrTAzmexn6Zqdvd/3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bj3\n3nt59dVXmTlzJk899RTR0dF06dKFd999lzlz5tCvXz/Ky8sJCgpiyZIl/Md//EeFv6qvnHY1ZcoU\njh07hjGGvn37Eh0dzbZt25zPX75AGxMTQ6NGjZzn3l/vRLCrf29Vz122YMEChg4dyvz583nooYeq\n/PnBgwczYcIEZ2Xk7nVlZmbywgsvUK9ePRo2bMibb75Z7drFP+lWVhERqURtJRERqUTJQUREKlFy\nEBGRSpQcRESkEiUHERGpRMlBREQqUXIQEZFKlBxERKSS/wPlCfw1/C4iHwAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x56330b0>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Value of ELongation is 200.33 N/mm**2\n",
+ "The Nominal stress at the Breaking Point 296.03 KN/mm**2\n",
+ "The True stress at the Breaking Point 547.97 KN/mm**2\n",
+ "The Percentage Reduction in Area is 45.98\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.6,Page No.19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=40*10**3 #N #Load \n",
+ "L1=160 #mm #Length of Bar1\n",
+ "L2=240 #mm #Length of bar2\n",
+ "L3=160 #mm #Length of bar3\n",
+ "d1=25 #mm #Diameter of Bar1\n",
+ "d2=20 #mm #diameter of bar2\n",
+ "d3=25 #mm #diameter of bar3\n",
+ "dell_l=0.285 #mm #Total Extension of bar\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "E=P*4*(dell_l*pi)**-1*(L1*(d1**2)**-1+L2*(d2**2)**-1+L3*(d3**2)**-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The Young's Modulus of the material\",round(E,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Young's Modulus of the material 198714.72 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.7,Page No.19"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E1=2*10**5 #N/mm**2 #modulus of Elasticity of material1\n",
+ "E2=1*10**5 #N/mm**2 #modulus of Elasticity of material2\n",
+ "P=25*10**3 #N #Load \n",
+ "t=20 #mm #thickness of material\n",
+ "b1=40 #mm #width of material1\n",
+ "b2=30 #mm #width of material2\n",
+ "L1=500 #mm #Length of material1\n",
+ "L2=750 #mm #Length of material2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A1=b1*t #mm**2 #Area of materila1\n",
+ "A2=b2*t #mm**2 #Area of material2\n",
+ "\n",
+ "dell_l1=P*L1*(A1*E1)**-1 #Extension of Portion1\n",
+ "dell_l2=P*L2*(A2*E2)**-1 #Extension of portion2\n",
+ "\n",
+ "#Total Extension of Bar is\n",
+ "dell_l=dell_l1+dell_l2\n",
+ "\n",
+ "#Result\n",
+ "print\"The Total Extension of the Bar is\",round(dell_l,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Total Extension of the Bar is 0.39 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 53
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.8,Page No.20"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=1000 #mm #Length of Bar\n",
+ "l=400 #mm #Length upto which bire is drilled \n",
+ "D=30 #mm #diameter of bar\n",
+ "d1=10 #mm #diameter of bore\n",
+ "P=25*10**3 #N #Load\n",
+ "dell_l=0.185 #mm #Extension of bar\n",
+ "\n",
+ "#Calculations \n",
+ "\n",
+ "L1=L-l #Length of bar above the bore\n",
+ "L2=400 #mm #Length of bore\n",
+ "\n",
+ "A1=pi*4**-1*D**2 #Area of bar\n",
+ "A2=pi*4**-1*(D**2-d1**2) #Area of bore\n",
+ "\n",
+ "E=P*dell_l**-1*(L1*A1**-1+L2*A2**-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The Modulus of ELasticity is\",round(E,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Modulus of ELasticity is 200735.96 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.11,Page No.23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians, log\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "t=10 #mm #Thickness of steel\n",
+ "b1=60 #mm #width of plate1\n",
+ "b2=40 #mm #width of plate2\n",
+ "P=60*10**3 #Load\n",
+ "L=600 #mm #Length of plate\n",
+ "E=2*10**5 #N/mm**2\n",
+ " \n",
+ "#Calculations\n",
+ "\n",
+ "#Extension of taperong bar of rectangular section\n",
+ "dell_l=P*L*(t*E*(b1-b2))**-1*log(b1*b2**-1)\n",
+ "\n",
+ "A_av=(b1*t+b2*t)*2**-1 #Average Area #mm**2\n",
+ "dell_l2=P*L*(A_av*E)**-1 \n",
+ "\n",
+ "#PErcentage Error\n",
+ "e=(dell_l-dell_l2)*(dell_l)**-1*100\n",
+ "\n",
+ "#Result\n",
+ "print\"The Percentage Error is\",round(e,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Percentage Error is 1.35\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.12,Page No.23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=1.5 #m #Length of steel bar\n",
+ "L1=1000 #m0 #Length of steel bar 1\n",
+ "L2=500 #m #Length of steel bar 2 \n",
+ "d1=40 #Diameter of steel bar 1\n",
+ "d2=20 #diameter of steel bar 2\n",
+ "E=2*10**5 #N/mm**2 #Modulus of Elasticity\n",
+ "P=160*10**3 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A1=pi*4**-1*d1**2 #Area of Portion 1\n",
+ "\n",
+ "#Extension of uniform Portion 1\n",
+ "dell_l1=P*L1*(A1*E)**-1 #mm\n",
+ "\n",
+ "#Extension of uniform Portion 2\n",
+ "dell_l2=4*P*L2*(pi*d1*d2*E)**-1 #mm\n",
+ "\n",
+ "#Total Extension of Bar\n",
+ "dell_l=dell_l1+dell_l2\n",
+ "\n",
+ "#Result\n",
+ "print\"The Elongation of the Bar is\",round(dell_l,2),\"mm\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Elongation of the Bar is 1.27 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.14,Page No.25"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Portion AB\n",
+ "L_AB=600 #mm #Length of AB\n",
+ "A_AB=40*40 #mm**2 #Cross-section Area of AB\n",
+ "\n",
+ "#Portion BC\n",
+ "L_BC=800 #mm #Length of BC\n",
+ "A_BC=30*30 #mm #Length of BC\n",
+ "\n",
+ "#Portion CD\n",
+ "L_CD=1000 #mm #Length of CD\n",
+ "A_CD=20*20 #mm #Area of CD\n",
+ "\n",
+ "P1=80*10**3 #N #Load1\n",
+ "P2=60*10**3 #N #Load2\n",
+ "P3=40*10**3 #N #Load3\n",
+ "\n",
+ "E=2*10**5 #Modulus of Elasticity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "P4=P1-P2+P3 #Load4\n",
+ "\n",
+ "#Now Force in AB\n",
+ "F_AB=P1\n",
+ "\n",
+ "#Force in BC\n",
+ "F_BC=P1-P2\n",
+ "\n",
+ "#Force in CD\n",
+ "F_CD=P4\n",
+ "\n",
+ "#Extension of AB\n",
+ "dell_l_AB=F_AB*L_AB*(A_AB*E)**-1\n",
+ "\n",
+ "#Extension of BC\n",
+ "dell_l_BC=F_BC*L_BC*(A_BC*E)**-1\n",
+ "\n",
+ "#Extension of CD\n",
+ "dell_l_CD=F_CD*L_CD*(A_CD*E)**-1\n",
+ "\n",
+ "#Total Extension\n",
+ "dell_l=dell_l_AB+dell_l_BC+dell_l_CD\n",
+ "\n",
+ "#Result\n",
+ "print\"The Total Extension in Bar is\",round(dell_l,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Total Extension in Bar is 0.99 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.15,Page No.26"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=800 #mm #Length of bar\n",
+ "F1=30*10**3 #N #Force acting on the bar\n",
+ "F2=60*10**3 #N #force acting on the bar\n",
+ "L=800 #mm #Length of bar\n",
+ "d=25 #mm #diameter of bar \n",
+ "L_AC=275 #mm #Length of AC\n",
+ "L_CD=150 #mm #Length of CD\n",
+ "L_DB=375 #mm #Length of DB\n",
+ "E=2*10**5 #Pa #Modulus of elasticity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P be the Reaction on tne Bar from support at A\n",
+ "\n",
+ "#Shortening of Portion AC\n",
+ "#dell_l_AC1=P*L_AC*(A*E)**-1\n",
+ "\n",
+ "#Shortening of Portion CD\n",
+ "#dell_l_CD1=(30+P)*L_CD*(A*E)**-1\n",
+ "\n",
+ "#Extension of Portion DB\n",
+ "#dell_l_DB1=(30-P)*L_DB*(A*E)**-1\n",
+ "\n",
+ "#Total Extensions=1*(A*E)**-1*(P*L_AC-(30+P)*L_CD+(30-P)*L_DB)\n",
+ "#As Supports are unyielding,Total Extensions=0\n",
+ "\n",
+ "#After substituting values in above equation and Further simplifying we get\n",
+ "P=(30*375-150*30)*800**-1\n",
+ "\n",
+ "#Reaction of support A\n",
+ "R_A=P\n",
+ "\n",
+ "#Reaction of support B\n",
+ "R_B=30-P\n",
+ "\n",
+ "#Cross-sectional Area\n",
+ "A=pi*4**-1*d**2\n",
+ "\n",
+ "#Stress in Portion AC\n",
+ "sigma1=P*10**3*A**-1 #N/mm**2\n",
+ "\n",
+ "#Stress in Portion CD\n",
+ "sigma2=(30+P)*10**3*A**-1 #N/mm**2\n",
+ "\n",
+ "#Stress in Portion DB\n",
+ "sigma3=(30-P)*10**3*A**-1 #N/mm**2\n",
+ "\n",
+ "#Shortening of Portion AC\n",
+ "dell_l_AC2=P*10**3*L_AC*(A*E)**-1 #mm \n",
+ "\n",
+ "#Shortening of Portion CD\n",
+ "dell_l_CD2=(30+P)*10**3*L_CD*(A*E)**-1 #mm \n",
+ "\n",
+ "#Extension of Portion DB\n",
+ "dell_l_DB2=(30-P)*10**3*L_DB*(A*E)**-1 #mm \n",
+ "\n",
+ "#result\n",
+ "print\"The Reactios at two Ends are:R_A\",round(R_A,2),\"KN\"\n",
+ "print\" :R_B\",round(R_B,2),\"KN\"\n",
+ "print\"Stress in Portion AC\",round(sigma1,2),\"N/mm**2\"\n",
+ "print\"Stress in Portion CD\",round(sigma2,2),\"N/mm**2\"\n",
+ "print\"Stress in Portion DB\",round(sigma3,2),\"N/mm**2\"\n",
+ "print\"Shortening of Portion AC\",round(dell_l_AC2,3),\"mm\"\n",
+ "print\"Shortening of Portion CD\",round(dell_l_CD2,3),\"mm\"\n",
+ "print\"Shortening of Portion DB\",round(dell_l_DB2,3),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Reactios at two Ends are:R_A 8.44 KN\n",
+ " :R_B 21.56 KN\n",
+ "Stress in Portion AC 17.19 N/mm**2\n",
+ "Stress in Portion CD 78.3 N/mm**2\n",
+ "Stress in Portion DB 43.93 N/mm**2\n",
+ "Shortening of Portion AC 0.024 mm\n",
+ "Shortening of Portion CD 0.059 mm\n",
+ "Shortening of Portion DB 0.082 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.19,Page No.29"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ " \n",
+ "h=4 #m #height of Pillars\n",
+ "P=20 #KN #Load at M\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_A,P_B,P_C,P_D be the forces introduced in the Pillars\n",
+ "#Sun of All Vertical Forces\n",
+ "#P_A+P_B+P_C+P_D=20 ....................(1)\n",
+ "\n",
+ "#Sum of moment about AB, we get\n",
+ "#P_D+P_C=12 ....................(2)\n",
+ "\n",
+ "#Sum of Moment about AD\n",
+ "#P_C+P_B=8 ....................(3)\n",
+ "\n",
+ "#Let dell_l_A,dell_l_B,dell_l-C,dell_l_D be the deformations of Pillars A,B,C,D respectively\n",
+ "#Diagonals AC and BD will remain straight Lines even after the Load is applied.\n",
+ "#Deflection of central Point is given by (dell_l_A+dell_l_C)*2**-1 & (dell_l_B+dell_l_D)*2**-1\n",
+ "\n",
+ "#dell_l_A+dell_l_C=dell_l_B+ell_l_D\n",
+ "#P_A*L*(A*E)**-1+P_C*L*(A*E)**-1=P_B*L*(A*E)**-1+P_D*L*(A*E)**-1\n",
+ "\n",
+ "#Since Pillars are identical in Length,cross-sectional area,material Property\n",
+ "#P_A+P_C=P_B+P_D ..............(4)\n",
+ "\n",
+ "#From Equations 1 and 4 we get\n",
+ "#P_B+P_D=10 ....................(5)\n",
+ " \n",
+ "#Substracting Equation 3 from Equation 2 we get\n",
+ "#P_D-P_B=4 ....................(6)\n",
+ "\n",
+ "#Adding Equation 5 and 6 we get\n",
+ "\n",
+ "P_D=14*2**-1\n",
+ "P_C=12-P_D\n",
+ "P_B=8-P_C\n",
+ "\n",
+ "#Now substituting values of P_B,P_C,P_D in equation1 we get\n",
+ "P_A=20-(P_B+P_C+P_D)\n",
+ "\n",
+ "#Result\n",
+ "print\"The Forces Developed in the Pillars are:P_A\",round(P_A,2),\"KN\"\n",
+ "print\" :P_B\",round(P_B,2),\"KN\"\n",
+ "print\" :P_C\",round(P_C,2),\"KN\"\n",
+ "print\" :P_D\",round(P_D,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Forces Developed in the Pillars are:P_A 5.0 KN\n",
+ " :P_B 3.0 KN\n",
+ " :P_C 5.0 KN\n",
+ " :P_D 7.0 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 59
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.20,Page No.31"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "sigma=150 #N/mm**2 #Stress\n",
+ "P=40*10**3 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#LEt P_A.P_B,P_C,P_D be the forces developed in wires A,B,C,D respectively\n",
+ "\n",
+ "#Let sum of all Vertical Forces=0\n",
+ "#P_A+P_B+P_C+P_D=40 ..........................(1)\n",
+ "\n",
+ "#Let x be the distance between each wires\n",
+ "#sum of all moments=0\n",
+ "#P_B*x+P_C*2*x+P_D*3*x=40*2*x\n",
+ "\n",
+ "#After further simplifying we get\n",
+ "#P_B+2*P_C+3*P_D=80 ..........................(2)\n",
+ "\n",
+ "#As the equations of statics ae not enough to find unknowns,Consider compatibilit Equations\n",
+ "\n",
+ "#Let dell_l be the increse in elongation of wire\n",
+ "\n",
+ "#dell_l_B=dell_l_A+dell_l\n",
+ "#dell_l_C=dell_l_A+2*dell_l\n",
+ "#dell_l_D=dell_l_A+3*dell_l\n",
+ "\n",
+ "#Let P1 be the force required for the Elongation of wires,then\n",
+ "#P_B=P_A+P1 ]\n",
+ "#P_C=P_A+2*P1 ]\n",
+ "#P_D=P_A+3*P1 ] ................................(3) \n",
+ "\n",
+ "#from Equation (3) and (1) we get\n",
+ "#2*P_A+3*P1=20 ................................(4)\n",
+ "\n",
+ "#from Equation (3) and (2) we get\n",
+ "#6*P_A+14*P1=80 \n",
+ "\n",
+ "#subtracting 3 times equation (4) from (3) we get\n",
+ "P1=20*5**-1\n",
+ "\n",
+ "#from Equation 4 we get\n",
+ "P_A=(80-14*P1)*6**-1\n",
+ "P_B=P_A+P1\n",
+ "P_C=P_A+2*P1 \n",
+ "P_D=P_A+3*P1\n",
+ "\n",
+ "#Let d be the diameter required,then\n",
+ "d=(P_D*10**3*4*(pi*150)**-1)**0.5\n",
+ "\n",
+ "#result\n",
+ "print\"The Required Diameter is\",round(d,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Required Diameter is 11.65 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.21,Page No.32"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=20*10**3 #N #Load\n",
+ "d=6 #mm #diameter of wire\n",
+ "E=2*10**5 #N/mm**2 \n",
+ "L_BO=4000 #mm #Length of BO\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let theta be the angle between OA and OB and also between OC and OB\n",
+ "theta=30\n",
+ "\n",
+ "#Let P_OA,P_OB,P_OC be the Forces introduced in wires OA,OB,OC respectively\n",
+ "#Due to symmetry P_OA=P_OC (same angles)\n",
+ "\n",
+ "#Sum of all Vertical Forces=0\n",
+ "#P_OA*cos(theta)+P_OB+P_OC*cos(theta)=P\n",
+ "\n",
+ "#After further simplifyinf we get\n",
+ "#2*P_OA*cos(theta)+P_OB=20 ...............(1)\n",
+ "\n",
+ "#Let oo1 be the extension of BO\n",
+ "#oo1=L_A1o1*(cos(theta))**-1\n",
+ "\n",
+ "#From relation we get\n",
+ "#P_OB*L_BO=P_OA*L_AO*(cos(theta))**-1\n",
+ "\n",
+ "#But L_AO=L_BO*(cos(theta))**-1\n",
+ "\n",
+ "#After substituting value of L_AO in above equation we get\n",
+ "#P_OB=0.75*P_OA .......................(2)\n",
+ "\n",
+ "#substituting in Equation 1 we get\n",
+ "#2*P_OA*cos(theta)+0.75*P_OA=20\n",
+ "\n",
+ "P_OA=20*(2*cos(theta*pi*180**-1)+0.75)**-1\n",
+ "\n",
+ "P_OB=0.75*P_OA\n",
+ "\n",
+ "A=pi*4**-1*d**2 \n",
+ "\n",
+ "#Vertical displacement of Load\n",
+ "dell_l_BO=P_OB*10**3*L_BO*(A*E)**-1\n",
+ " \n",
+ "#Result\n",
+ "print\"Forces in each wire is:P_OA\",round(P_OA,2),\"KN\"\n",
+ "print\" :P_OB\",round(P_OB,2),\"KN\"\n",
+ "print\"Vertical displacement of Loadis\",round(dell_l_BO,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Forces in each wire is:P_OA 8.06 KN\n",
+ " :P_OB 6.04 KN\n",
+ "Vertical displacement of Loadis 4.27 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.22,Page No.34"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_s=L_a=L=500 #mm #Length of bar\n",
+ "A_a=50*20 #mm #Area of aluminium strip\n",
+ "A_s=50*15 #mm #Area of steel strip\n",
+ "P=50*10**3 #N #Load\n",
+ "E_a=1*10**5 #N/mm**2 #Modulus of aluminium \n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of steel\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_a and P_s br the Load shared by aluminium and steel strip\n",
+ "#P_a+P_s=P ..................(1)\n",
+ "\n",
+ "#For compatibility condition,dell_l_a=dell_l_s\n",
+ "#P_a*L_a*(A_a*E_a)**-1=P_s*L_s*(A_s*E_s)**-1 .....(2)\n",
+ "\n",
+ "#As L_a=L_s we get\n",
+ "#P_s=1.5*P_a .................(3)\n",
+ " \n",
+ "#From Equation 1 and 2 we get\n",
+ "P_a=P*2.5**-1\n",
+ "\n",
+ "#Substituting in equation 1 we get\n",
+ "P_s=P-P_a\n",
+ "\n",
+ "#stress in aluminium strip \n",
+ "sigma_a=P_a*A_a**-1\n",
+ "\n",
+ "#stress in steel strip\n",
+ "sigma_s=P_s*A_s**-1\n",
+ "\n",
+ "#Now from the relation we get\n",
+ "dell_l_a=dell_l_s=P_s*L_s*(A_s*E_s)**-1\n",
+ "\n",
+ "#result\n",
+ "print\"Stress in Aluminium strip is\",round(sigma_a,2),\"N/mm**2\"\n",
+ "print\"Stress in steel strip is\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\"The Extension of the bar is\",round(dell_l_s,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress in Aluminium strip is 20.0 N/mm**2\n",
+ "Stress in steel strip is 40.0 N/mm**2\n",
+ "The Extension of the bar is 0.1 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 62
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.23,Page No.35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D_s=20 #mm #Diameter of steel\n",
+ "D_Ci=20 #mm #Internal Diameter of Copper\n",
+ "t=5 #mm #THickness of copper bar\n",
+ "P=100*10**3 #N #Load\n",
+ "E_s=2*10**5 #N/mm**2 #modulus of elasticity of steel\n",
+ "E_c=1.2*10**5 #N/mm**2 #Modulus of Elasticity of Copper\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A_s=pi*4**-1*D_s**2 #mm**2 #Area of steel\n",
+ "D_Ce=D_s+2*t #mm #External Diameterof Copper Tube\n",
+ "\n",
+ "A_c=pi*4**-1*(D_Ce**2-D_Ci**2) #mm**2 #Area of Copper\n",
+ "\n",
+ "#From static Equilibrium condition\n",
+ "#Let P_s and P_c be the Load shared by steel and copper in KN\n",
+ "#P_s+P_c=100 ....................................(1)\n",
+ "\n",
+ "#From compatibility Equation,dell_l_s=dell_l_c\n",
+ "#P_s*L*(A_s*E_s)**-1=P_c*L*(A_c*E_c)**-1\n",
+ "\n",
+ "#Substituting values in above Equation we get\n",
+ "#P_s=1.3333*P_C \n",
+ "\n",
+ "#Now Substituting value of P_s in Equation (1),we get\n",
+ "P_c=100*2.3333**-1 #KN\n",
+ "P_s=100-P_c #KN\n",
+ "\n",
+ "#Stress in steel\n",
+ "sigma_s=P_s*10**3*A_s**-1 #N/mm**2 \n",
+ "\n",
+ "#Stress in copper\n",
+ "sigma_c=P_c*10**3*A_c**-1 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses Developed in Two material are:sigma_s\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\" :sigma_c\",round(sigma_c,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses Developed in Two material are:sigma_s 181.89 N/mm**2\n",
+ " :sigma_c 109.14 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.24,Page No.36"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "A_C=230*400 #mm #Area of column\n",
+ "D_s=12 #mm #Diameter of steel Bar\n",
+ "P=600*10**3 #N #Axial compression\n",
+ "#E_s*E_c=18.67\n",
+ "n=8 #number of steel Bars\n",
+ "\n",
+ "#Calculations \n",
+ "\n",
+ "A_s=pi*4**-1*D_s**2*n #Area of steel #mm**2 \n",
+ "A_c=A_C-A_s #mm**2 #Area of concrete\n",
+ "\n",
+ "#From static Equilibrium condition\n",
+ "#P_s+P_c=600 .........(1)\n",
+ "\n",
+ "#Now from compatibility Equation dell_l_s=dell_l_c we get,\n",
+ "#P_s*L*(A_s*E_s)**-1=P_c*L*(A_c*E_c)**-1\n",
+ "\n",
+ "#Substituting values in above Equation we get\n",
+ "#P_s=0.1854*P_c\n",
+ "\n",
+ "#Now Substituting value of P_s in Equation (1),we get\n",
+ "P_c=600*1.1854**-1\n",
+ "P_s=600-P_c\n",
+ "\n",
+ "#Stress in steel\n",
+ "sigma_s=P_s*10**3*A_s**-1 #N/mm**2\n",
+ "\n",
+ "#Stress in copper\n",
+ "sigma_c=P_c*10**3*A_c**-1 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses Developed in Two material are:sigma_s\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\" :sigma_c\",round(sigma_c,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses Developed in Two material are:sigma_s 103.72 N/mm**2\n",
+ " :sigma_c 5.56 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.25,Page No.36"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=200*10**3 #N #Load\n",
+ "A_a=1000 #mm**2 #Area of Aluminium\n",
+ "A_s=800 #mm**2 #Area of steel\n",
+ "E_a=1*10**5 #N/mm**2 #Modulus of Elasticity of Aluminium\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of ELasticity of steel\n",
+ "sigma_a1=65 #N/mm**2 #stress in aluminium\n",
+ "sigma_s1=150 #N/mm**2 #Stress in steel\n",
+ "\n",
+ "#Calculations \n",
+ "\n",
+ "#Let P_a and P_s be the force in aluminium and steel pillar respectively\n",
+ "\n",
+ "#Now,sum of forces in Vertical direction we get\n",
+ "#2*P_a+P_s=200 .........................................(1)\n",
+ "\n",
+ "#By compatibility Equation dell_l_s=dell_l_a we get\n",
+ "#P_s=1.28*P_a ..........................................(2)\n",
+ "\n",
+ "#Now substituting value of P_s in Equation 1 we get\n",
+ "P_a=200*3.28**-1 #KN\n",
+ "P_s=200-2*P_a #KN\n",
+ "\n",
+ "#Stress developed in aluminium\n",
+ "sigma_a=P_a*10**3*A_a**-1 #N/mm**2 \n",
+ "\n",
+ "#Stress developed in steel\n",
+ "sigma_s=P_s*10**3*A_s**-1 #N/mm**2 \n",
+ "\n",
+ "#Part-2\n",
+ "\n",
+ "#Let sigma_a1 and sigma_s1 be the stresses in Aluminium and steel due to Additional LOad\n",
+ "\n",
+ "P_a1=sigma_a1*A_a #Load carrying capacity of aluminium\n",
+ "P_s1=1.28*P_a1\n",
+ "\n",
+ "#Total Load carrying capacity \n",
+ "P1=2*P_a1+P_s1 #N \n",
+ "\n",
+ "P_s2=sigma_s1*A_s #Load carrying capacity of steel\n",
+ "P_a2=P_s2*1.28**-1\n",
+ "\n",
+ "#Total Load carrying capacity\n",
+ "P2=2*P_a2+P_s2\n",
+ "\n",
+ "#Additional Load\n",
+ "P3=P1-P\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses Developed in Each Pillar is:sigma_a\",round(sigma_a,2),\"N/mm**2\"\n",
+ "print\" :sigma_s\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\"Additional Load taken by pillars is\",round(P3,2),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses Developed in Each Pillar is:sigma_a 60.98 N/mm**2\n",
+ " :sigma_s 97.56 N/mm**2\n",
+ "Additional Load taken by pillars is 13200.0 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 65
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.26,Page No.37"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=500 #mm #Length of assembly\n",
+ "D=16 #mm #Diameter of steel bolt\n",
+ "Di=20 #mm #internal Diameter of copper tube\n",
+ "Do=30 #mm #External Diameter of copper tube\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of Elasticity of steel\n",
+ "E_c=1.2*10**5 #N/mm**2 #Modulus of Elasticity of copper\n",
+ "p=2 #mm #Pitch of nut\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_s be the Force in bolt and P_c be the FOrce in copper tube\n",
+ "#P_s=-P_s\n",
+ "\n",
+ "dell=1*4**-1*2 #Quarter turn of nut total movement\n",
+ "\n",
+ "#dell=dell_s+dell_c\n",
+ " \n",
+ "#Area of steel\n",
+ "A_s=pi*4**-1*D**2\n",
+ "\n",
+ "#Area of copper\n",
+ "A_c=pi*4**-1*(Do**2-Di**2)\n",
+ "\n",
+ "#dell=P*L*(A_s*E_s)**-1+P*L*(A_c*E_c)**-1\n",
+ "P=dell*(1*(A_s*E_s)**-1+1*(A_c*E_c)**-1)**-1*L**-1 #LOad\n",
+ "\n",
+ "P_s=P*A_s**-1\n",
+ "P_c=P*A_c**-1\n",
+ "\n",
+ "#result\n",
+ "print\"stress introduced in bolt is\",round(P_s,2),\"N/mm**2\"\n",
+ "print\"stress introduced in tube is\",round(P_c,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "stress introduced in bolt is 107.91 N/mm**2\n",
+ "stress introduced in tube is 55.25 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.27,Page No.39"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D=20 #mm #Diameter of Bolts\n",
+ "Di=25 #m #internal Diameter\n",
+ "t=10 #mm #Thickness of bolt\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of Elasticity\n",
+ "E_c=1.2*10**5 #N/mm**2 #Modulus of copper\n",
+ "p=3 #mm #Pitch\n",
+ "theta=30 #degree\n",
+ "L_c=500 #Lengh of copper \n",
+ "L_s=600 #Length of steel\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_s be the Force in each bolt and P_c be the FOrce in copper tube\n",
+ "#From Static Equilibrium condition\n",
+ "#P_c=2*P_s\n",
+ "\n",
+ "#As nut moves by 60 degree.If nut moves by 360 degree its Longitudinal movement is by 3 mm\n",
+ "dell=theta*360**-1*p\n",
+ "\n",
+ "#From Compatibility Equaton we get\n",
+ "#dell=dell_c+dell_s\n",
+ "\n",
+ "\n",
+ "A_s=pi*4**-1*Di**2 #mm**2 #Area of steel\n",
+ "A_c=pi*4**-1*(45**2-Di**2) #mm**2 #Area of copper\n",
+ "\n",
+ "#Force introduced in steel\n",
+ "P_s=0.5*(2*L_c*(A_c*E_c)**-1+L_s*(A_s*E_s)**-1)**-1 #N\n",
+ "P_s2=P_s*A_s**-1\n",
+ "\n",
+ "#Force introduced in copper \n",
+ "P_c=2*P_s*A_c**-1 #N\n",
+ "\n",
+ "#Result\n",
+ "print\"Stress introduced in bolt is\",round(P_s2,2),\"N/mm**2\"\n",
+ "print\"stress introduced in tube is\",round(P_c,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress introduced in bolt is 74.4 N/mm**2\n",
+ "stress introduced in tube is 66.43 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.28,Page No.40"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=9 #m #Length of rigid bar\n",
+ "L_b=3000 #Length of bar\n",
+ "A_b=1000 #mm**2 #Area of bar\n",
+ "E_b=1*10**5 #N/mm**2 #Modulus of Elasticity of brasss bar\n",
+ "L_s=5000 #mm #Length of steel bar\n",
+ "A_s=445 #mm**2 #Area of steel bar\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of elasticity of steel bar\n",
+ "P=3000 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From static equilibrium Equation of the rod after appliying Load is\n",
+ "#P_b+P_s=P ......................(1)\n",
+ "\n",
+ "#P_b=1.8727*P_s ..................(2)\n",
+ "\n",
+ "#NOw substituting equation 2 in equation 1 we get\n",
+ "P_s=P*2.8727**-1\n",
+ "P_b=P-P_s\n",
+ "\n",
+ "d=P_s*L*P**-1 \n",
+ "\n",
+ "#Result\n",
+ "print\"Distance at which Load applied even after which bar remains horizontal is\",round(d,2),\"m\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Distance at which Load applied even after which bar remains horizontal is 3.13 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 68
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.29,Page No.41"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "A_b=1000 #MM**2 #Area of brass bar\n",
+ "E_b=1*10**5 #N/mm**2 #Modulus of Elasticity of brass\n",
+ "A_s=600 #N/mm**2 #Area of steel rod\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of eLasticity of steel bar\n",
+ "P=10*10**2 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_b be the tensile force in brass bar and P_s be the compressive force in steel bar\n",
+ "#Now taking moment about A we get static Equilibrium condition as\n",
+ "#P_b+2*P_s=27500 ......................................(1)\n",
+ "\n",
+ "#Now from deformed shape we get\n",
+ "#dell_s=2*dell_b\n",
+ "\n",
+ "#P_s*L_s*(A_s*E_s)**-1=P_b*L_b*(A_b*E_b)**-1\n",
+ "#Further simplifying we get\n",
+ "#P_s=1.2*P_b .........................................(2)\n",
+ "\n",
+ "#Now substituting equation 1 in equation 2 we get\n",
+ "P_b=27500*3.4**-1\n",
+ "P_s=1.2*P_b \n",
+ "\n",
+ "#Tensile stress in brass bar \n",
+ "sigma_b=P_b*A_b**-1\n",
+ "\n",
+ "#compressive stress in steel bar\n",
+ "sigma_s=P_s*A_s**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Compressive Stress in Bar is\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\"tensile Stress in Bar is\",round(sigma_b,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Compressive Stress in Bar is 16.18 N/mm**2\n",
+ "tensile Stress in Bar is 8.09 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 69
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.30,Page No.44"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=12.6 #m #Length of rail\n",
+ "t1=24 #Degree celsius\n",
+ "t2=44 #degree celsius\n",
+ "alpha=12*10**-6 #Per degree celsius\n",
+ "E=2*10**5 #N/mm**2 #Modulus of ELasticity\n",
+ "gamma=2 #mm #Gap provided for Expansion\n",
+ "sigma=20 #N/mm**2 #Stress\n",
+ "\n",
+ "#Calculations \n",
+ "\n",
+ "t=t2-t1 #Temperature Difference\n",
+ "\n",
+ "#Free Expansion of the rails\n",
+ "dell=alpha*t*L*1000 #mm \n",
+ "\n",
+ "#When no expansion joint is provided then\n",
+ "p=dell*E*(L*10**3)**-1\n",
+ "\n",
+ "#When a gap of 2 mm is provided,then free expansion prevented is\n",
+ "dell_1=dell-gamma\n",
+ "p2=dell_1*E*(L*10**3)**-1\n",
+ "\n",
+ "#When stress is developed,then gap left is\n",
+ "gamma2=-(sigma*L*10**3*E**-1-dell)\n",
+ "\n",
+ "#Result\n",
+ "print\"The minimum gap between the two rails is\",round(dell,2),\"mm\"\n",
+ "print\"Thermal Developed in the rials if:No expansionn joint is provided:p\",round(p,2),\"N/mm**2\"\n",
+ "print\" :If a gap of is provided then :p2\",round(p2,2),\"N/mm**2\"\n",
+ "print\"When stress is developed gap left between the rails is\",round(gamma2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimum gap between the two rails is 3.02 mm\n",
+ "Thermal Developed in the rials if:No expansionn joint is provided:p 48.0 N/mm**2\n",
+ " :If a gap of is provided then :p2 16.25 N/mm**2\n",
+ "When stress is developed gap left between the rails is 1.76 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 70
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.31,Page No.45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "t=20 #degree celsius\n",
+ "E_a=70*10**9 #N/mm**2 #Modulus of Elasticicty of aluminium\n",
+ "alpha_a=11*10**-6 #per degree celsius #Temperature coeff of aluminium\n",
+ "alpha_s=12*10**-6 #Per degree celsius #Temperature coeff of steel\n",
+ "L_a=1000 #mm #Length of aluminium \n",
+ "L_s=3000 #mm #Length of steel\n",
+ "E_a=7*10**4 #N/mm**2 #Modulus of Elasticity of aluminium\n",
+ "E_s=2*10**5 #N/mm*2 #Modulus of Elasticity of steel\n",
+ "A_a=600 #mm**2 #Area of aluminium\n",
+ "A_s=300 #mm**2 #Area of steel\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Free Expansion \n",
+ "dell=alpha_a*t*L_a+alpha_s*t*L_s\n",
+ " \n",
+ "#support Reaction\n",
+ "P=dell*(L_a*(A_a*E_a)**-1+L_s*(A_s*E_s)**-1)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Reaction at support is\",round(P,2),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Reaction at support is 12735.48 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 71
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.33,Page No.48"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D=25 #mm #Diameter of Brass\n",
+ "De=50 #mm #External Diameter of steel tube\n",
+ "Di=25 #mm #Internal Diameter of steel tube\n",
+ "L=1.5 #m #Length of both bars\n",
+ "t1=30 #degree celsius #Initial Temperature\n",
+ "t2=100 #degree celsius #final Temperature\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of ELasticity of steel bar\n",
+ "E_b=1*10**5 #N/mm**2 #Modulus of Elasticity of brass bar\n",
+ "alpha_s=11.6*10**-6 #Temperature Coeff of steel\n",
+ "alpha_b=18.7*10**-6 #Temperature coeff of brass bar\n",
+ "d=20 #mm #diameter of pins\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "t=t2-t1 #Temperature Difference\n",
+ "A_s=pi*4**-1*(De**2-Di**2) #mm**2 #Area of steel\n",
+ "A_b=pi*4**-1*D**2 #mm**2 #Area of brass\n",
+ "\n",
+ "#Let P_b be the tensile force in brass bar and P_s be the compressive force in steel bar\n",
+ "#But from Equilibrium of Forces \n",
+ "#P_b=P_s=P\n",
+ "\n",
+ "#Let dell=dell_s+dell_b\n",
+ "dell=(alpha_b-alpha_s)*t*L*1000\n",
+ "\n",
+ "P=dell*(1*(A_s*E_s)**-1+1*(A_b*E_b)**-1)**-1*(L*1000)**-1\n",
+ "P_b=P_s=P\n",
+ "\n",
+ "#Stress in steel\n",
+ "sigma_s=P_s*A_s**-1\n",
+ "\n",
+ "#Stress in Brass\n",
+ "sigma_b=P_b*A_b**-1\n",
+ "\n",
+ "#Area of Pins\n",
+ "A_p=pi*4**-1*d**2\n",
+ "\n",
+ "#Since,the force is resisted by two cross section of pins\n",
+ "tou=P*(2*A_p)**-1\n",
+ " \n",
+ "#Result\n",
+ "print\"Stress in steel bar is\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\"Stress in Brass bar is\",round(sigma_b,2),\"N/mm**2\"\n",
+ "print\"Shear Stresss induced in pins is\",round(tou,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress in steel bar is 14.2 N/mm**2\n",
+ "Stress in Brass bar is 42.6 N/mm**2\n",
+ "Shear Stresss induced in pins is 33.28 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.34,Page No.49"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "b_s=60 #mm #width of steel Bar\n",
+ "t_s=10 #mm #thickness of steel Bar\n",
+ "b_c=40 #mm #width of copper bar\n",
+ "t_c=5 #mm #thickness of copper bar\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of Elasticity of steel bar\n",
+ "E_c=1*10**5 #N/mm**2 #Modulus of Elasticity of copper bar\n",
+ "alpha_s=12*10**-6 #Per degree celsius #Temperature coeff of steel bar\n",
+ "alpha_c=17*10**-6 #Per degree celsius #Temperature coeff of copper bar\n",
+ "L_s=L_c=L=1000 #mm #Length of bar\n",
+ "t=80 #degree celsius\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A_s=b_s*t_s #Area of steel bar\n",
+ "A_c=b_c*t_c #Area of copper bar\n",
+ "\n",
+ "#Let P_s be the tensile force in steel bar and P_c be the compressive force in copper bar\n",
+ "#The equilibrium of forces gives \n",
+ "#P_s=2*P_c\n",
+ "\n",
+ "#Let dell=dell_s+dell_b\n",
+ "dell=(alpha_c-alpha_s)*t\n",
+ "\n",
+ "P_c=dell*(2*(A_s*E_s)**-1+1*(A_c*E_c)**-1)**-1\n",
+ "P_s=2*P_c\n",
+ "\n",
+ "#Stress in copper \n",
+ "sigma_c=P_c*A_c**-1\n",
+ "\n",
+ "#Stress in steel \n",
+ "sigma_s=P_s*A_s**-1\n",
+ "\n",
+ "#Change in Length of bar\n",
+ "dell_2=alpha_s*t*L+P_s*L_s*(A_s*E_s)**-1\n",
+ "\n",
+ "#result\n",
+ "print\"Stress in copper is\",round(sigma_c,2),\"N/mm**2\"\n",
+ "print\"Stress in steel is\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\"the change in Length is\",round(dell_2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress in copper is 30.0 N/mm**2\n",
+ "Stress in steel is 20.0 N/mm**2\n",
+ "the change in Length is 1.06 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 73
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.35,Page No.50"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=2*10**5 #N #Weight\n",
+ "L=1 #m #Length of each rod\n",
+ "A_c=A_s=A=500 #mm**2 #Area of each rod\n",
+ "t=40 #degree celsius #temperature\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of Elasticity of steel rod\n",
+ "E_c=1*10**5 #N/mm**2 #modulus of Elastictiy of copper rod\n",
+ "alpha_s=1.2*10**-5 #Per degree Celsius #temp coeff of steel rod\n",
+ "alpha_c=1.8*10**-5 #Per degree Celsius #Temp coeff of copper rod\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_s be the force in each one of the copper rods and P_s be the force in steel rod\n",
+ "#2*P_c+P_s=P .....................(1)\n",
+ "\n",
+ "#Extension of copper bar=Extension of steel bar\n",
+ "#P_s*L*(A_s*E_s)**-1=P_c*L*(A_c*E_c)**-1\n",
+ "#after simplifying above equation we get\n",
+ "#P_s=2*P_c ........................(2)\n",
+ "\n",
+ "#Now substituting value of P_s in Equation 1 we get\n",
+ "P_c=P*4**-1\n",
+ "P_s=2*P_c\n",
+ "\n",
+ "#Now EXtension due to copper Load\n",
+ "dell_1=P_c*L*1000*(A_c*E_c)**-1\n",
+ "\n",
+ "#Part-2\n",
+ "\n",
+ "#Due to rise of temperature of40 degree celsius\n",
+ "\n",
+ "#As bars are rigidly joined,let P_c1 be the compressive forccesdeveloped in copper bar and P_s1 be the tensile force in steel causing changes\n",
+ "#P_s1=2*P_c1\n",
+ "\n",
+ "#dell_s+dell_c=(alpha_c-alpha_s)*t*L .......................................(3)\n",
+ "#P_s1*L*(A_s*E_s)**-1+P_c1*L*(A_c*E_c)**-1=(alpha_c-alpha_s)*t*L ................(4)\n",
+ "#After substituting values in above equation and further simplifying we get,\n",
+ "P_c1=(alpha_c-alpha_s)*t*L*(2*(A_s*E_s)**-1+1*(A_c*E_c)**-1)**-1 #.................(5)\n",
+ "P_s1=2*P_c1\n",
+ "\n",
+ "#Extension of bar due to temperature rise\n",
+ "dell_2=alpha_s*t*L+P_s1*L*(A_s*E_s)**-1\n",
+ "\n",
+ "#Amount by which bar will descend\n",
+ "dell_3=dell_1+dell_2\n",
+ "\n",
+ "#Load carried by steel bar\n",
+ "P_S=P_s+P_s1\n",
+ "\n",
+ "#Load carried by copper bar\n",
+ "P_C=P_c-P_c1\n",
+ "\n",
+ "#Part-3\n",
+ "\n",
+ "#Let P_c1_1=P_c #For convenience\n",
+ "#Rise in temperature if Load is to be carried out by steel rod alone\n",
+ "P_c1_1=P_c\n",
+ "\n",
+ "#From equation 5 \n",
+ "t=P_c1_1*(2*(A_s*E_s)**-1+1*(A_c*E_c)**-1)*(alpha_c-alpha_s)**-1\n",
+ "\n",
+ "#result\n",
+ "print\"Extension Due top copper Load\",round(dell_1,2),\"mm\"\n",
+ "print\"Load carried by each rod:P_s\",round(P_s,2),\"N\"\n",
+ "print\" :P_c\",round(P_c,2),\"N\"\n",
+ "print\"Rise in Temperature of steel rod should be\",round(t,2),\"degree Celsius\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Extension Due top copper Load 1.0 mm\n",
+ "Load carried by each rod:P_s 100000.0 N\n",
+ " :P_c 50000.0 N\n",
+ "Rise in Temperature of steel rod should be 333.33 degree Celsius\n"
+ ]
+ }
+ ],
+ "prompt_number": 74
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.36,Page No.53"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "t=40 #degree celsius #temperature\n",
+ "A_s=400 #mm**2 #Area of steel bar\n",
+ "A_c=600 #mm**2 #Area of copper bar\n",
+ "E_s=2*10**5 #N/mm**2 #Modulus of Elasticity of steel bar\n",
+ "E_c=1*10**5 #N/mm**2 #Modulus of Elasticity of copper bar\n",
+ "alpha_s=12*10**-6 #degree celsius #Temperature coeff of steel bar\n",
+ "alpha_c=18*10**-6 #degree celsius #Temperature coeff of copper bar\n",
+ "L_c=800 #mm #Length of copper bar\n",
+ "L_s=600 #mm #Length of steel bar\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_s be the tensile force in steel bar and P_c be the compressive force in copper bar\n",
+ "#Static Equilibrium obtained by taking moment about A\n",
+ "#P_c=2*P_s\n",
+ "\n",
+ "#From property of similar triangles we get\n",
+ "#(alpha_c*Lc-dell_c)*1**-1=(alpha_s*L_s-dell_s)*2**-1\n",
+ "#After substituting values in above equations and further simplifying we get\n",
+ "P_s=(2*alpha_c*L_c-alpha_s*L_s)*t*(L_s*(A_s*E_s)**-1+4*L_c*(A_c*E_c)**-1)**-1\n",
+ "P_c=2*P_s\n",
+ "\n",
+ "#Stress in steel rod\n",
+ "sigma_s=P_s*A_s**-1 #N/mm**2 \n",
+ "\n",
+ "#Stress in copper rod\n",
+ "sigma_c=P_c*A_c**-1 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Stress in steel rod is\",round(sigma_s,2),\"N/mm**2\"\n",
+ "print\"STress in copper rod is\",round(sigma_c,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress in steel rod is 35.51 N/mm**2\n",
+ "STress in copper rod is 47.34 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.37,Page No.61"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=20 #mm #Diameter of bar\n",
+ "P=37.7*10**3 #N #Load\n",
+ "L=200 #mm #Guage Length \n",
+ "dell=0.12 #mm #Extension\n",
+ "dell_d=0.0036 #mm #contraction in diameter\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Area of bar\n",
+ "A=pi*4**-1*d**2\n",
+ "\n",
+ "#Let s and dell_s be the Linear strain and Lateral strain\n",
+ "s=dell*L**-1\n",
+ "dell_s=dell_d*d**-1\n",
+ "mu=dell_s*s**-1 #Poissoin's ratio \n",
+ "\n",
+ "#dell=P*L*(A*E)**-1\n",
+ "E=P*L*(dell*A)**-1 #N/mm**2 #Modulus of Elasticity of bar\n",
+ "\n",
+ "#Modulus of Rigidity\n",
+ "G=E*(2*(1+mu))**-1 #N/mm**2\n",
+ "\n",
+ "#Bulk Modulus \n",
+ "K=E*(3*(1-2*mu))**-1 #N/mm**2\n",
+ "\n",
+ "#result\n",
+ "print\"Poisson's ratio is\",round(mu,2)\n",
+ "print\"The Elastic constant are:E\",round(E,2)\n",
+ "print\" :G\",round(G,2)\n",
+ "print\" :K\",round(K,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Poisson's ratio is 0.3\n",
+ "The Elastic constant are:E 200004.71\n",
+ " :G 76924.89\n",
+ " :K 166670.59\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.38,Page No.62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=100 #mm #Diameter of circular rod\n",
+ "P=1*10**6 #N #Tensile Force\n",
+ "mu=0.3 #Poisson's ratio\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus \n",
+ "L=500 #mm #Length of rod\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Modulus of Rigidity\n",
+ "G=E*(2*(1+mu))**-1 #N/mm**2\n",
+ "\n",
+ "#Bulk Modulus \n",
+ "K=E*(3*(1-2*mu))**-1 #N/mm**2\n",
+ "\n",
+ "A=pi*4**-1*d**2 #mm**2 #Area of Circular rod\n",
+ "#Let sigma be the Longitudinal stress\n",
+ "sigma=P*A**-1 #N/mm**2 \n",
+ "\n",
+ "s=sigma*E**-1 #Linear strain\n",
+ "e_x=s\n",
+ "\n",
+ "#Volumetric strain\n",
+ "e_v=e_x*(1-2*mu)\n",
+ "\n",
+ "v=pi*4**-1*d**2*L\n",
+ "#Change in VOlume\n",
+ "dell_v=e_v*v\n",
+ "\n",
+ "#Result\n",
+ "print\"Bulk Modulus is\",round(E,2),\"N/mm**2\"\n",
+ "print\"Modulus of Rigidity is\",round(G,2),\"N/mm**2\"\n",
+ "print\"The change in Volume is\",round(dell_v,2),\"mm**3\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Bulk Modulus is 200000.0 N/mm**2\n",
+ "Modulus of Rigidity is 76923.08 N/mm**2\n",
+ "The change in Volume is 1000.0 mm**3\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.39,Page No.62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=500 #mm #Length of rectangular cross section bar\n",
+ "A=20*40 #mm**2 #Area of rectangular cross section bar\n",
+ "P1=4*10**4 #N #Tensile Force on 20mm*40mm Faces\n",
+ "P2=2*10**5 #N #compressive force on 20mm*500mm Faces\n",
+ "P3=3*10**5 #N #Tensile Force on 40mm*500mm Faces\n",
+ "E=2*10**5 #N/mm**2 #young's Modulus \n",
+ "mu=0.3 #Poisson's Ratio\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let P_x,P_y,P_z be the forces n x,y,z directions\n",
+ "\n",
+ "P_x=P1*A**-1\n",
+ "P_y=P2*A**-1\n",
+ "P_z=P3*A**-1\n",
+ "\n",
+ "#Let e_x,e_y,e_z be the strains in x,y,z directions\n",
+ "e_x=1*E**-1*(50+mu*20-15*mu)\n",
+ "e_y=1*E**-1*(-mu*50-20-mu*15)\n",
+ "e_z=1*E**-1*(-mu*50+mu*20+15)\n",
+ "\n",
+ "#Volumetric strain\n",
+ "e_v=e_x+e_y+e_z\n",
+ "\n",
+ "#Volume\n",
+ "V=20*40*500 #mm**3\n",
+ "#Change in Volume \n",
+ "dell_v=e_v*V #mm**3\n",
+ "\n",
+ "#Result\n",
+ "print\"The change in Volume is\",round(dell_v,2),\"mm**3\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The change in Volume is 36.0 mm**3\n"
+ ]
+ }
+ ],
+ "prompt_number": 78
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.41,Page No.65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E=2.1*10**5 #N/mm**2 #Young's Modulus \n",
+ "G=0.78*10**5 #N/mm**2 #Modulus of Rigidity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Now using the relation\n",
+ "#E=2*G*(1+mu)\n",
+ "mu=E*(2*G)**-1-1 #Poisson's ratio\n",
+ "\n",
+ "#Bulk Modulus \n",
+ "K=E*(3*(1-2*mu))**-1 #N/mm**2\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"The Poisson's Ratio is\",round(mu,2)\n",
+ "print\"The modulus of Rigidity\",round(K,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Poisson's Ratio is 0.35\n",
+ "The modulus of Rigidity 227500.0 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 79
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.42,Page No.65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "G=0.4*10**5 #N/mm**2 #Modulus of rigidity\n",
+ "K=0.75*10**5 #N/mm**2 #Bulk Modulus \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Young's Modulus\n",
+ "E=9*G*K*(3*K+G)**-1\n",
+ "\n",
+ "#Now from the relation\n",
+ "#E=2*G(1+2*mu)\n",
+ "mu=E*(2*G)**-1-1 #POissoin's ratio \n",
+ "\n",
+ "#result\n",
+ "print\"Young's modulus is\",round(E,2),\"N/mm**2\"\n",
+ "print\"Poissoin's ratio is\",round(mu,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Young's modulus is 101886.79 N/mm**2\n",
+ "Poissoin's ratio is 0.27\n"
+ ]
+ }
+ ],
+ "prompt_number": 80
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.43,Page No.65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "b=60 #mm #width of bar\n",
+ "d=30 #mm #depth of bar\n",
+ "L=200 #mm #Length of bar\n",
+ "A=30*60 #mm**2 #Area of bar\n",
+ "A2=30*200 #mm**2 #Area of bar along which expansion is restrained\n",
+ "P=180*10**3 #N #Compressive force\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus\n",
+ "mu=0.3 #Poissoin's ratio\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#The bar is restrained from expanding in Y direction\n",
+ "P_z=0\n",
+ "P_x=P*A**-1 #stress developed in x direction\n",
+ "\n",
+ "#Now taking compressive strain as positive\n",
+ "#e_x=P_x*E**-1-mu*P_y*E**-1 .......................(1)\n",
+ "#e_y=-mu*P_x*E**-1+P_y*E**-1 ....................(2)\n",
+ "#e_z=-mu*P_x*E**-1-mu*P_y*E**-1 ......................(3)\n",
+ "\n",
+ "#Part-1\n",
+ "#When it is fully restrained\n",
+ "e_y=0\n",
+ "P_y=30 #N/mm**2 \n",
+ "e_x=P_x*E**-1-mu*P_y*E**-1\n",
+ "e_z=-mu*P_x*E**-1-mu*P_y*E**-1\n",
+ "\n",
+ "#Change in Length \n",
+ "dell_l=e_x*L #mm\n",
+ "\n",
+ "#Change in width\n",
+ "dell_b=b*e_y\n",
+ "\n",
+ "#change in Depth\n",
+ "dell_d=d*e_z\n",
+ "\n",
+ "#Volume of bar\n",
+ "V=b*d*L #mm**3\n",
+ "#Change in Volume\n",
+ "e_v=(e_x+e_y+e_z)*V #mm**3\n",
+ "\n",
+ "#Part-2\n",
+ "#When 50% is restrained\n",
+ "\n",
+ "#Free strain in Y direction\n",
+ "e_y1=mu*P_x*E**-1\n",
+ "\n",
+ "#As 50% is restrained,so\n",
+ "e_y2=-50*100**-1*e_y1\n",
+ "\n",
+ "#But form Equation 2 we have e_y=-mu*P_x*E**-1+P_y*E**-1 \n",
+ "#After substituting values in above equation and furthe simplifying we get\n",
+ "P_y=e_y2*E+d\n",
+ "\n",
+ "e_x2=P_x*E**-1-mu*P_y*E**-1 \n",
+ "e_z2=-mu*P_x*E**-1-mu*P_y*E**-1\n",
+ "\n",
+ "#Change in Length \n",
+ "dell_l2=e_x2*L #mm\n",
+ "\n",
+ "#Change in width\n",
+ "dell_b2=b*e_y2\n",
+ "\n",
+ "#change in Depth\n",
+ "dell_d2=d*e_z2\n",
+ "\n",
+ "#Change in Volume\n",
+ "e_v2=(e_x2+e_y2+e_z2)*V #mm**3\n",
+ "\n",
+ "#REsult\n",
+ "print\"Change in Dimension of bar is:dell_l\",round(dell_l,2),\"mm\"\n",
+ "print\" :dell_b\",round(dell_b,4),\"mm\"\n",
+ "print\" :dell_d\",round(dell_d,2),\"mm\"\n",
+ "print\"Change in Volume is\",round(e_v,2),\"mm**3\"\n",
+ "print\"Changes in material when only 50% of expansion can be reatrained:dell_l2\",round(dell_l2,2),\"mm\"\n",
+ "print\" :dell_b2\",round(dell_b2,4),\"mm\"\n",
+ "print\" :dell_d2\",round(dell_d2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Change in Dimension of bar is:dell_l 0.09 mm\n",
+ " :dell_b 0.0 mm\n",
+ " :dell_d -0.01 mm\n",
+ "Change in Volume is 93.6 mm**3\n",
+ "Changes in material when only 50% of expansion can be reatrained:dell_l2 0.1 mm\n",
+ " :dell_b2 -0.0045 mm\n",
+ " :dell_d2 -0.01 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 81
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.44,Page No.72"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=10*10**3 #N #Load\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus\n",
+ "d2=12 #mm #Diameter of bar1\n",
+ "d1=16 #mm #diameter of bar2\n",
+ "L1=200 #mm #Length of bar1\n",
+ "L2=500 #mm #Length of bar2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let A1 and A2 be the cross Area of Bar1 & bar2 respectively\n",
+ "A1=pi*4**-1*d1**2 #mm**2\n",
+ "A2=pi*4**-1*d2**2 #mm**2\n",
+ "\n",
+ "#Let p1 and p2 be the stress in Bar1 nad bar2 respectively\n",
+ "p1=P*A1**-1 #N/mm**2\n",
+ "p2=P*A2**-1 #N/mm**2\n",
+ "\n",
+ "#Let V1 nad V2 be the Volume of of Bar1 and Bar2\n",
+ "V1=A1*(L1+L1)\n",
+ "V2=A2*L2\n",
+ "\n",
+ "#Let E be the strain Energy stored in the bar\n",
+ "E=p1**2*(2*E)**-1*V1+p2**2*V2*(2*E)**-1\n",
+ "\n",
+ "#result\n",
+ "print\"The Strain Energy stored in Bar is\",round(E,2),\"N-mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Strain Energy stored in Bar is 1602.6 N-mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.45,Page No.73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Bar-A\n",
+ "d1=30 #mm #Diameter of bar1\n",
+ "L=600 #mm #length of bar1\n",
+ "\n",
+ "#Bar-B\n",
+ "d2=30 #mm #Diameter of bar2\n",
+ "d3=20 #mm #Diameter of bar2\n",
+ "L2=600 #mm #length of bar2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Area of bar-A\n",
+ "A1=pi*4**-1*d1**2\n",
+ "\n",
+ "#Area of bar-B\n",
+ "A2=pi*4**-1*d2**2\n",
+ "A3=pi*4**-1*d3**2\n",
+ "\n",
+ "#let SE be the Strain Energy\n",
+ "#Strain Energy stored in Bar-A\n",
+ "#SE=p**2*(2*E)**-1*V\n",
+ "#After substituting values and simolifying further we get\n",
+ "#SE=P**2*E**-1*0.4244\n",
+ "\n",
+ "#Strain Energy stored in Bar-B\n",
+ "#SE2=p1**2*V1*(2*E)**-1+p2**2*V2*(2*E)**-1\n",
+ "#After substituting values and simolifying further we get\n",
+ "#SE2=0.6897*P**2*E**-1\n",
+ "\n",
+ "#Let X be the ratio of SE in Bar-B and SE in Bar-A\n",
+ "X=0.6897*0.4244**-1\n",
+ "\n",
+ "#Part-2\n",
+ "\n",
+ "#When Max stress is produced is same:Let p be the max stress produced\n",
+ "\n",
+ "#Stress in bar A is p throughout \n",
+ "#In bar B:stress in 20mm dia.portion=p2=p\n",
+ "\n",
+ "#Stress in 30 mm dia.portion\n",
+ "#p1=P*A2*A3**-1\n",
+ "#After substituting values and simolifying further we get\n",
+ "#p1=4*9**-1*p\n",
+ "\n",
+ "#Strain Energy in bar A\n",
+ "#SE_1=p**2*(2*E)**-1*A1*L1\n",
+ "#After substituting values and simolifying further we get\n",
+ "#SE_1=67500*p**2*pi*E**-1\n",
+ "\n",
+ "#Strain Energy in bar B\n",
+ "#SE_2=p1**2*V1*(2*E)**-1+p2**2*V2*(2*E)**-1\n",
+ "#After substituting values and simolifying further we get\n",
+ "#SE_2=21666.67*pi*p**2*E**-1\n",
+ "\n",
+ "#Let Y be the Ratio of SE in bar B and SE in bar A\n",
+ "Y=21666.67*67500**-1\n",
+ "\n",
+ "#result\n",
+ "print\"Gradually applied Load is\",round(X,2)\n",
+ "print\"Gradually applied Load is\",round(Y,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Gradually applied Load is 1.63\n",
+ "Gradually applied Load is 0.32\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.46,Page No.74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables \n",
+ "\n",
+ "W=100 #N #Load\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus \n",
+ "h=60 #mm #Height through Load falls down\n",
+ "L=400 #mm #Length of collar\n",
+ "d=30 #mm #diameter of bar\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A=pi*4**-1*d**2 #mm**2 #Area of bar\n",
+ "\n",
+ "#Instantaneous stress produced is\n",
+ "p=W*A**-1*(1+(1+(2*A*E*h*(W*L)**-1))**0.5)\n",
+ "\n",
+ "#Now the EXtension of the bar is neglected in calculating work doneby the Load,then\n",
+ "P=(2*E*h*W*(A*L)**-1)**0.5\n",
+ "\n",
+ "#Let percentage error be denoted by E1\n",
+ "#Percentage error in approximating is\n",
+ "E1=(p-P)*p**-1*100\n",
+ "\n",
+ "#Instantaneous Extension produced is\n",
+ "dell_l=round(P,3)*E**-1*L\n",
+ "\n",
+ "#Result\n",
+ "print\"The Instantaneous stress is\",round(p,2),\"N/mm\"\n",
+ "print\"Percentage Error is\",round(E1,2)\n",
+ "print\"The Instantaneous extension is\",round(dell_l,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Instantaneous stress is 92.27 N/mm\n",
+ "Percentage Error is 0.15\n",
+ "The Instantaneous extension is 0.18 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.47,Page No.75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=20 #mm #Diameter of steel bar\n",
+ "L=1000 #mm #Length of bar\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus \n",
+ "p=300 #N/mm**2 #max Permissible stress\n",
+ "h=50 #mm #Height through which weight will fall\n",
+ "w=600 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#ARea of steel bar\n",
+ "A=pi*4**-1*d**2\n",
+ "\n",
+ "#Instantaneous extension is\n",
+ "dell_l=p*L*E**-1 #mm \n",
+ "\n",
+ "#Work done by Load \n",
+ "#W=W1*(h+dell_l)\n",
+ "\n",
+ "#Volume of bar\n",
+ "V=round(A,2)*L\n",
+ "#Let E1 be the strain Energy\n",
+ "E1=p**2*(2*E)**-1*V\n",
+ "\n",
+ "#Answer in Book for Strain Energy is Incorrect \n",
+ "\n",
+ "#Now Equating Workdone by Load to strain Energy \n",
+ "W1=E1*51.5**-1\n",
+ "\n",
+ "#Now when w=600 N\n",
+ "#Let W2 be the Work done by the Load\n",
+ "#W2=w(h2*dell_l)\n",
+ "\n",
+ "h=E1*w**-1-dell_l\n",
+ "\n",
+ "#Result\n",
+ "print\"The Max Lodad which can Fall from a height of 50 mm on the collar is\",round(W1,2),\"N\"\n",
+ "print\"the Max Height from which a 600 N Load can fall on the collar is\",round(h,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Max Lodad which can Fall from a height of 50 mm on the collar is 1372.54 N\n",
+ "the Max Height from which a 600 N Load can fall on the collar is 116.31 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.48,Page No.76"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D_s=30 #mm #Diameter of steel rod\n",
+ "d=30 #mm #Internal Diameter of copper tube\n",
+ "D=40#mm #External Diameter of copper tube\n",
+ "E_s=2*10**5 #N/mm**2 #Young's Modulus of Steel rod\n",
+ "E_c=1*10**5#N/mm**2 #Young's Modulus of copper tube\n",
+ "P=100 #N #Load\n",
+ "h=40 #mm #height from which Load falls\n",
+ "L=800 #mm #Length \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Area of steel rod\n",
+ "A_s=pi*4**-1*D_s**2\n",
+ "\n",
+ "#Area of copper tube\n",
+ "A_c=pi*4**-1*(D**2-d**2)\n",
+ "\n",
+ "#But Dell_s=dell_c=dell\n",
+ "#p_s*E_s**-1*L=p_c*L*E_c\n",
+ "#After simplifying furthe we get\n",
+ "#p_s=2*p_c\n",
+ "\n",
+ "#Now Equating internal Energy to Workdone we get\n",
+ "p_c=(2*P*h*L**-1*(4*A_s*E_s**-1+A_c*E_c**-1))**0.5\n",
+ "p_s=2*p_c\n",
+ "\n",
+ "#Result\n",
+ "print\"STress produced in steel is\",round(p_s,2),\"N/mm**2\"\n",
+ "print\"STress produced in copper is\",round(p_c,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "STress produced in steel is 0.89 N/mm**2\n",
+ "STress produced in copper is 0.44 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.2.49,Page No.77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "dell=0.25 #mm #Instantaneous Extension\n",
+ "\n",
+ "#Bar-A\n",
+ "b1=25 #mm #width of bar\n",
+ "D1=500 #mm #Depth of bar\n",
+ "\n",
+ "#Bar-B\n",
+ "b2_1=25 #mm #width of upper bar\n",
+ "b2_2=15 #mm #Width of Lower Bar\n",
+ "L2=200 #mm #Length of upper bar\n",
+ "L1=300 #mm #Length of Lower bar\n",
+ "\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus of bar\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Strain\n",
+ "e=dell*D1**-1 \n",
+ "\n",
+ "#Load\n",
+ "p=e*E\n",
+ "\n",
+ "#Area of bar-A\n",
+ "A=pi*4**-1*25**2\n",
+ "\n",
+ "#Volume of bar-A\n",
+ "V=A*D1\n",
+ "\n",
+ "#Let E1 be the Energy of Blow\n",
+ "#Energy of Blow\n",
+ "E1=p**2*(E)**-1*V\n",
+ "\n",
+ "#Let p2 be the Max stress in bar B When this blow is applied.\n",
+ "#the max stress occurs in the 15mm dia. portion,Hence, the stress in 25 mm dia.portion is\n",
+ "#p2*pi*4**-1*b2_2**2*(pi*4**-1*b2_2**2=0.36*p\n",
+ "\n",
+ "#Strain Energy of bar B\n",
+ "#E2=p**2*(2*E)**-1*v1+1*(2*E)**-1*(0.36*p2)**2*v2\n",
+ "#After substituting values and Further substituting values we get\n",
+ "#E2=0.1643445*p2**2\n",
+ "\n",
+ "#Equating it to Energy of applied blow,we get\n",
+ "p2=(12271.846*0.1643445**-1)**0.5\n",
+ "\n",
+ "#Stress in top portion\n",
+ "sigma=0.36*p2\n",
+ "\n",
+ "#Extension in Bar-1\n",
+ "dell_1=p2*E**-1*L1\n",
+ "\n",
+ "#Extension in Bar-2\n",
+ "dell_2=0.36*p2*E**-1*L2\n",
+ "\n",
+ "#Extension of bar\n",
+ "dell_3=dell_1+dell_2\n",
+ "\n",
+ "#Result\n",
+ "print\"Instantaneous Max stress is\",round(sigma,2),\"N/mm**2\"\n",
+ "print\"extension in Bar is\",round(dell_3,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Instantaneous Max stress is 98.37 N/mm**2\n",
+ "extension in Bar is 0.51 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 87
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_3.ipynb b/Strength Of Materials/chapter_3.ipynb
new file mode 100644
index 00000000..1744972a
--- /dev/null
+++ b/Strength Of Materials/chapter_3.ipynb
@@ -0,0 +1,1588 @@
+{
+ "metadata": {
+ "name": "chapter_3.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 3:Shear Force And Bending Moment Diagrams in Statically Determinate Beams"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.1,Page No.100"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_AC=L_CD=1 #m #Length of AC & CD\n",
+ "L_DB=1.5 #m #Lengh of DB\n",
+ "L=3.5 #m #Length of Beam\n",
+ "F_B=10 #KN #Force at pt B\n",
+ "F_C=F_D=20 #KN #Force at pt C & D\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "R_A=F_C+F_D+F_B #KN #Force at support A \n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At pt B\n",
+ "V_B1=0 #KN \n",
+ "V_B2=F_B #KN\n",
+ "\n",
+ "#S.F At pt D\n",
+ "V_D1=V_B2 #KN\n",
+ "V_D2=V_D1+F_D #KN\n",
+ "\n",
+ "#S.F At pt C \n",
+ "V_C1=V_D2 #KN\n",
+ "V_C2=V_D2+F_C #KN\n",
+ "\n",
+ "#S.F At Pt A\n",
+ "V_A1=V_C2 #KN\n",
+ "V_A2=V_C2-R_A #KN\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At Pt B\n",
+ "M_B=0 #KN.m\n",
+ "\n",
+ "#B.M AT Pt D\n",
+ "M_D=F_B*L_DB #KN.m\n",
+ "\n",
+ "#B.M At pt C\n",
+ "M_C=F_B*(L_DB+L_CD)+F_D*L_CD #KN.m\n",
+ "\n",
+ "#B.M At pt A\n",
+ "M_A=F_B*L+F_D*(L_CD+L_AC)+F_C*L_AC\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_DB,L_DB,L_CD+L_DB,L_CD+L_DB,L_CD+L_DB+L_AC,L_CD+L_DB+L_AC]\n",
+ "Y1=[V_B1,V_B2,V_D1,V_D2,V_C1,V_C2,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "Y2=[M_B,M_D,M_C,M_A]\n",
+ "X2=[0,L_DB,L_DB+L_CD,L_AC+L_CD+L_DB]\n",
+ "Z2=[0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Length in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAEPCAYAAABP1MOPAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGkFJREFUeJzt3XtwVOXhxvHnhAA1QLhnY8HfhOFOUBIupmrFxZggUGIg\nEMtYGkEGRwatnWkRO45ipTZMbZXSmV4cBqlaK5UpxBuCxUVFEKSxtKUKIoEAySqGlGsmt/f3B2U1\nJptNlpy98H4/Mzuzl7NnH8+afTjnPRfHGGMEALBWQrQDAACiiyIAAMtRBABgOYoAAC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B3pqaee0vnz5zv8815++eWgp1oHoo3jCBBXevTo\nodOnT7s2/0GDBumDDz5Q3759I/J5QCxgjQBx7+DBg5oyZYrGjx+viRMn6uOPP5Yk3XnnnfrBD36g\nG264QYMHD9b69eslXThz46JFizRy5Ejl5uZq2rRpWr9+vVatWqXjx49r0qRJys7ODsz/oYceUkZG\nhq677jp99tlnzT7//vvv12OPPSZJeuONN3TTTTc1m+aZZ57Rvffe22quryorK9OIESM0b948DR8+\nXHfccYc2b96sG264QcOGDdPu3bsvfcEBF4V5XQQgKrp3797suZtvvtkcOHDAGHPhIiI333yzMcaY\noqIiU1hYaIwxZt++fWbIkCHGGGP+8pe/mKlTpxpjjKmsrDS9e/c269evN8YYk5aWZr744ovAvB3H\nMa+88ooxxpglS5aY5cuXN/v8c+fOmfT0dLN161YzfPhw8+mnnzab5plnnjGLFy9uNddXHTp0yCQm\nJpp//etfprGx0YwbN87Mnz/fGGPMxo0bTX5+fshlBbRV1M41BHSEM2fOaMeOHZo9e3bgudraWkkX\nTht88ayYI0eODFxY5N1331VhYaEkBc7nHkyXLl00bdo0SdK4ceO0ZcuWZtNcccUVevrpp3XjjTdq\n5cqVGjRoUKuZg+X6ukGDBik9PV2SlJ6erltuuUWSNHr0aJWVlbX6GUB7UASIa42NjerVq1fQa8p2\n6dIlcN/8bzjMcZwm55o3rQyTde7cOXA/ISFB9fX1LU63d+9e9e/fv9nFiYJpKdfXde3atclnX3xP\nazmAcDBGgLiWnJysQYMG6aWXXpJ04Ud17969rb7nhhtu0Pr162WMkd/v17Zt2wKv9ejRQ6dOnWpX\nhsOHD+tXv/qVSktL9frrr2vXrl3NpmmtbIBoowgQV86dO6errroqcHvqqaf0/PPPa/Xq1crIyNDo\n0aNVUlISmP6rV5W6eL+goEADBw7UqFGjNHfuXI0dO1Y9e/aUJC1cuFC33nprYLD46+//+lWqjDFa\nsGCBfvnLXyo1NVWrV6/WggULApungr032P2vvyfY41i6WhbiH7uPwkpnz55Vt27d9MUXXygrK0vv\nvfeeUlJSoh0LiArGCGCl73znO6qurlZtba0efvhhSgBWY40AACzHGAEAWI4iAADLUQQAYDmKAAAs\nRxEAgOUoAgCw3P8DfIlLuPJXvGsAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x54a1670>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEPCAYAAABY9lNGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlYlOXeB/DvoGApCC6Xw6XowRcjGEA2j3jCZcjQxA1N\nsc0o1/fyNevUm9miWacCT5tmp9WN0lcxPSmkolZCBxWlQK2DS6EoKqCJKIiIwPP+MYeR0Rlm41lm\n5vu5Lq4Dsz2/Hjr8uu/7+9yPShAEAURERLdxk7sAIiJSJjYIIiIyig2CiIiMYoMgIiKj2CCIiMgo\nNggiIjJKtAYxbdo0qNVqhIWF6R+rrKxEfHw8AgMDMWLECFRVVemfS0lJwT333IOgoCDs2rVLrLKI\niMhCojWIp556CllZWQaPpaamIj4+HidOnMDw4cORmpoKACgqKkJ6ejqKioqQlZWFOXPmoKmpSazS\niIjIAqI1iCFDhqBLly4Gj2VkZCA5ORkAkJycjC1btgAAtm7dikceeQTu7u7w9/dHv379cPDgQbFK\nIyIiC0i6BlFRUQG1Wg0AUKvVqKioAACcP38efn5++tf5+fnh3LlzUpZGRES3kW2RWqVSQaVStfo8\nERHJp72UB1Or1SgvL4evry/KysrQo0cPAECvXr1QWlqqf93Zs2fRq1evO97fr18/FBcXS1YvEZEz\nCAgIwO+//271+yQdQYwbNw5paWkAgLS0NCQmJuof37BhA+rr63Hq1Cn89ttvGDhw4B3vLy4uhiAI\nDvv12muvyV4D65e/DtbveF+OXLsgCDb/h7VoI4hHHnkEOTk5+OOPP9C7d2+88cYbWLBgAZKSkrBy\n5Ur4+/tj48aNAACNRoOkpCRoNBq0b98eH3/8Mae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vHnvsMezatQuxsbEIDAxE\nfn6+GKeJ6BYb70tBpGienp53PHb//fcLv/32myAIupu93H///YIgCEJycrKQlJQkCIIgFBUVCf36\n9RMEQRC+/vprISEhQRAEQSgvLxe6dOkibN68WRAEQfD39xcuXbqk/2yVSiV8++23giAIwvz584U3\n33zzjuOvWbNGmDt3bqvHbOnUqVNC+/bthV9//VVoamoSoqOjhWnTpgmCIAhbt24VEhMTrT0tRFZR\n3F5MRGKoqanB/v37MXnyZP1j9fX1AHTbNTfvPBocHKy/AUxubi6SkpIAQL+/vikeHh4YPXo0ACA6\nOhq7d+9utR5Tx7xd3759ERISAgAICQnBAw88AAAIDQ1FSUlJq8cgshcbBLmEpqYm+Pj4mLyHsIeH\nh/574T/LciqVymDvf6GV5Tp3d3f9925ubmhoaDBbk7Fj3q5Dhw4Gn9v8HkuPQWQPrkGQS+jcuTP6\n9u2LTZs2AdD9QT5y5Eir74mNjcXmzZshCAIqKiqQk5Ojf87LywtXr161qobWGgyRErFBkFOqra1F\n79699V9Lly7FunXrsHLlSkRERCA0NBQZGRn617e8K1jz9w899BD8/Pyg0WgwdepUREVFwdvbGwAw\na9YsPPjgg/pF6tvfb+wuY7c/bur7299j6mcl3cmMnBNjrkStuHbtGjp16oRLly4hJiYG+/btQ48e\nPeQui0gSXIMgasWYMWNQVVWF+vp6LFq0iM2BXApHEEREZBTXIIiIyCg2CCIiMooNgoiIjGKDICIi\no9ggiIjIKDYIIiIy6v8BsxKV3Pt7cnUAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x54a1690>"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.2,Page No.101"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "w1=10 #KN/m #u.d.L\n",
+ "F_D=20 #KN #Force at pt D\n",
+ "F_C=30 #KN #Force at pt C\n",
+ "L_DB=4 #m #Length of DB\n",
+ "L_CD=L_AC=2 #m #Length of AC & CD\n",
+ "L=8 #m #Length of Beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A And R_B be the Reactions at pt A and B \n",
+ "#R_A+R_B=90 \n",
+ "#Now Taking moment at A,M_A we get\n",
+ "R_A=(w1*L_DB*(L_DB*2**-1)+F_D*L_DB+F_C*(L_CD+L_DB))*L**-1\n",
+ "R_B=90-R_A\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At Pt B\n",
+ "V_B1=0 #KN\n",
+ "V_B2=R_B #KN\n",
+ "\n",
+ "#S.F At pt D\n",
+ "V_D1=R_B-w1*L_DB #KN\n",
+ "V_D2=V_D1-F_D #KN\n",
+ "\n",
+ "#S.F at Pt C\n",
+ "V_C1=V_D2 #KN\n",
+ "V_C2=V_C1-F_C \n",
+ "\n",
+ "#S.F at PT A\n",
+ "V_A1=V_C2 #KN\n",
+ "V_A2=V_C2+R_A #KN\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At Pt B\n",
+ "M_B=0 #KN.m\n",
+ "\n",
+ "#B.M At Pt D\n",
+ "M_D=-R_B*L_DB+w1*L_DB*L_DB*2**-1 #KN.m\n",
+ "\n",
+ "#B.M At PT C\n",
+ "M_C=-R_B*(L_DB+L_CD)+w1*L_DB*(L_DB*2**-1+L_CD)+F_D*L_CD #KN.m\n",
+ "\n",
+ "#B.M At Pt A\n",
+ "M_A=-R_B*L+w1*L_DB*(L_DB*2**-1+L_CD+L_AC)+F_D*(L_CD+L_AC)+F_C*L_AC\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_DB,L_DB,L_CD+L_DB,L_CD+L_DB,L_CD+L_DB+L_AC,L_CD+L_DB+L_AC]\n",
+ "Y1=[V_B1,V_B2,V_D1,V_D2,V_C1,V_C2,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "Y2=[M_B,M_D,M_C,M_A]\n",
+ "X2=[0,L_DB,L_DB+L_CD,L_AC+L_CD+L_DB]\n",
+ "Z2=[0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Length in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAH9FJREFUeJzt3XtUlHX+B/D3IGDJRUERiqEdFkQYUBjwWrmCiqUGeUEK\nMk1T98h6qbaMzumYv2MKapau2ba55qU8aS2nQDNXXBzFDC9hkcsmKExxtVYkRTQEvr8/WJ9AZhiQ\nmXlmmPfrnDnNDDPMe92at8/381wUQggBIiIiAA5yByAiIuvBUiAiIglLgYiIJCwFIiKSsBSIiEjC\nUiAiIomspVBbW4uEhASEhIRArVbj5MmTqKmpQWxsLIKCgjBx4kTU1tbKGZGIyK7IWgrLli3D5MmT\n8Z///AcFBQUIDg5Geno6YmNjUVRUhPHjxyM9PV3OiEREdkUh18Frv/zyCzQaDUpKSto8HxwcjKNH\nj8Lb2xvV1dWIjo7G999/L0dEIi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jwYDz11FM4dOgQHnroIQQFBeH06dPd/4Mj+2TB\no6yJzM7V1bXdc+PGjRPFxcVCCCHy8vLEuHHjhBBCzJkzRyQmJgohhCgsLBSBgYFCCCE++eQTMXny\nZCGEENXV1cLDw0NkZGQIIdpfoEahUIj9+/cLIYRYvny5eP3119t9fn19vQgNDRU5OTli8ODBoqSk\npN1rduzYIRYvXtxhrtZKS0uFo6OjOHfunGhubhZRUVFi3rx5QgghMjMzxdSpU43+WRHp4yh3KRGZ\nU11dHb766qs2pzRuaGgA0HIq9ttnhg0JCcGlS5cAAMePH0diYiIASNdvMMTZ2RlTpkwBAERFRSE7\nO7vda+69915s3boVY8aMwaZNm+Dv799hZkO57uTv7y+dJC40NFQ6P35YWBh0Ol2Hn0FkCEuBerTm\n5mb069cPZ8+e1ftzZ2dn6b7433hNoVC0uSaC6GDs5uTkJN13cHBAY2Oj3tcVFBTAy8ur0xeF0pfr\nTr17927z2bff01EOImM4U6Aezd3dHf7+/vjHP/4BoOULtqCgoMP3PPTQQ8jIyIAQApcuXcLRo0el\nn7m5ueHq1atdyvDDDz/gzTfflC5so+/6BR0VD5ElsRSoR6mvr4efn59027hxI3bv3o1t27YhIiIC\nYWFhyMrKkl7f+mp+t+/PmDEDSqUSarUaTz/9NCIjI6XrAy9cuBCPPvqoNGi+8/13Xh1QCIH58+dj\nw4YN8PHxwbZt2zB//nxpCcvQew3dv/M9hh7zKoV0t7hLKpEe169fh4uLCy5fvoyRI0fixIkTGDhw\noNyxiMyOMwUiPR577DHU1taioaEBK1asYCGQ3eCWAhERSThTICIiCUuBiIgkLAUiIpKwFIiISMJS\nICIiCUuBiIgk/w9P4ODmR+1IBgAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5550ed0>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFl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wTG6goAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x54994f0>"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.3,Page No.102"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_DB=L_CD=1.5 #m #Length of DB & CD\n",
+ "L_AC=3 #m #Length of AC\n",
+ "F_D=80 #KN #Force at Pt D\n",
+ "w=40 #KN/m #u.v.l\n",
+ "L=6 #Length of beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A and R_B be the Reactions at Pt A & B respectively\n",
+ "#R_A+R_B=140 \n",
+ "#Taking moment at B we get,M_B\n",
+ "R_A=(1*2**-1*L_AC*w*(1*3**-1*L_AC+(L_CD+L_DB))+F_D*L_DB)*L**-1\n",
+ "R_B=140-R_A\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F at B\n",
+ "V_B1=0 #KN\n",
+ "V_B2=R_B #KN\n",
+ "\n",
+ "#S.F At D\n",
+ "V_D1=V_B2 #KN\n",
+ "V_D2=V_D1-F_D #KN\n",
+ "\n",
+ "#S.F at C\n",
+ "V_C=V_D2 #KN\n",
+ "\n",
+ "#S.F At A\n",
+ "V_A1=V_C-1*2**-1*w*L_AC #KN\n",
+ "V_A2=V_A1+R_A #KN\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At B\n",
+ "M_B=0 #KN.m\n",
+ "\n",
+ "#B.M At D\n",
+ "M_D=-R_B*L_DB\n",
+ "\n",
+ "#B.M At C\n",
+ "M_C=F_D*L_CD-R_B*(L_DB+L_CD)\n",
+ "\n",
+ "#B.M At A\n",
+ "M_A=F_D*(L_CD+L_AC)-R_B*L+1*2**-1*w*L_AC*(1*3**-1*L_AC)+R_A\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_DB,L_DB,L_DB+L_CD,L_DB+L_CD+L_AC,L_DB+L_CD+L_AC]\n",
+ "Y1=[V_B1,V_B2,V_D1,V_D2,V_C,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_DB,L_CD+L_DB,L_AC+L_CD+L_DB]\n",
+ "Y2=[M_B,M_D,M_C,M_A]\n",
+ "Z2=[0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Length in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAH7dJREFUeJzt3X9UVGX+B/D3RUZbUTNSoRy24QsiDKYgKv5YcxAHTYNI\nkRO4SSjZiWObtWW222lpzcB17Wia267HlLRNTXaDrEiJRsVCLdjjtqSggvE7VyJFNGR4vn+w3EQY\nBmNm7vx4v86Z48yde7mfUc+8uc/n3udKQggBIiIiAG5KF0BERPaDoUBERDKGAhERyRgKREQkYygQ\nEZGMoUBERDJFQyE9PR3BwcG49957kZiYiB9//BENDQ3Q6/U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/ytWrMDq1asBAJ988glmzJjRZZ0dO3bgySef7LGuG1VUVCAwMBDJyckYPXo0\nFi1ahAMHDmDatGkICAjAiRMn+v4XR67JFjd3ILKVQYMGdVk2c+ZMUVZWJoQQorCwUMycOVMIIURS\nUpKIj48XQghRUlIi/P39hRBCvPfee2Lu3LlCCCHq6urEHXfcIbKysoQQXW/EIkmS2L9/vxBCiJUr\nV4pXXnmly/6bm5tFcHCwyM/PF6NHjxbnzp3rss6OHTvE8uXLe6zrRuXl5cLd3V18/fXXoq2tTYSF\nhYklS5YIIYTIzs4WsbGxZv+uiLrjUHMfEd2qpqYmfPHFF1i4cKG8rKWlBUD7/D0dM7UGBQWhvr4e\nAFBQUID4+HgAkO+NYEr//v0xb948AEBYWBgOHjzYZZ1f/OIX2Lp1K6ZPn46NGzfC19e3x5pN1XUz\nX19feVKz4OBgzJo1CwAwZswYVFRU9LgPIlMYCuTU2traMHToUBQXF3f7fv/+/eXn4n/tNUmSOt0z\nQPTQdlOpVPJzNzc3tLa2drveyZMnMXz48F7fFKq7um42YMCATvvu2KanOojMYU+BnNqQIUPg6+uL\nffv2AWj/gj158mSP20ybNg1ZWVkQQqC+vh6HDh2S3xs8eDAuXbp0SzWcP38er732mnwDl+7m6e8p\neIhsiaFATqW5uRk+Pj7yY8OGDXjnnXewbds2hISEYMyYMcjJyZHXv3EK6I7nCxYsgFqthlarxSOP\nPILx48fL97NdtmwZ5syZIzeab97+5imlhRBISUnB+vXr4e3tjW3btiElJUUewjK1rannN29j6rWz\nTW1NtsNTUom6ceXKFXh4eODixYsIDw/H559/jhEjRihdFpHVsadA1I0HHngAjY2NaGlpwUsvvcRA\nIJfBIwUiIpKxp0BERDKGAhERyRgKREQkYygQEZGMoUBERDKGAhERyf4fYbq4IcfF0QUAAAAASUVO\nRK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5548a30>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSU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rKpPjPRL5K6sM5iJSqd+/eHR67//77hYqKCkEQBGHfvn3C\n/fffLwiCIDz++ONCVlaWIAiCYDabhbCwMEEQBGH9+vXC+PHjBUEQhLq6OuHGG28UNmzYIAhCx4N3\ndDqd8NlnnwmCIAgvvvii8Kc//anD+3/wwQfC008/3eV72jt9+rQQEBAgHD16VGhtbRUSEhKEmTNn\nCoIgCAUFBcKECRPc/c9C5JAm9pIiEsOlS5ewd+9eTJ482fZYU1MTAOseSW276EZFReHs2bMAgF27\ndiErKwsAbGddOBIUFIT09HQAQEJCAoqLi7usx9F7Xm/w4MG2DeOGDBmC5ORkAEB0dDSqqqq6fA8i\nd7BhEP2otbUV/fr1Q3l5eadfDwoKsv1Z+HH0p9Pp2p0DIXQxEgwMDLT92c/PD83NzU5r6uw9r9ej\nR492r9v2HFffg8hVnGEQ/ahPnz4YPHgw/vGPfwCw/oI+cuRIl88ZOXIkNmzYAEEQcPbsWWzfvt32\nteDgYFy8eNGtGrpqOERyY8Mgn9XY2IiBAwfaPl5//XWsW7cOa9euRWxsLKKjo7Fp0ybb99tv3d32\n54cffhgGgwFGoxFTp05FfHy87UzkX/7ylxg3bpxt6H398zvbCvz6xx39+frnOPpca9uNk7x4Wy2R\nhy5fvoxevXrh/PnzSEpKwp49e3DbbbfJXRaR6DjDIPLQAw88gPr6ejQ1NWHhwoVsFqRZvMIgIiKX\ncIZBREQuYcMgIiKXsGEQEZFL2DCIiMglbBhEROQSNgwiInLJ/wMLLmI+AgPr0QAAAABJRU5ErkJg\ngg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x54b9a10>"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.4,Page No.104"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "M_D=120 #KN.m #B.M at Pt D\n",
+ "F_C=40 #KN #Force at Pt C\n",
+ "w1=20 #KN.m\n",
+ "L_DB=1.5 #m #Length of DB\n",
+ "L_CD=1.5 #m #Length of CD\n",
+ "L_AC=3 #m #Length of AC\n",
+ "L=6 #m #Length of Beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A And R_B be the Reactions at pt A and B \n",
+ "#R_A+R_B=100\n",
+ "#Now Taking Moment At Pt B We get,M_B\n",
+ "R_A=-(M_D-F_C*(L_CD+L_DB)-w1*L_AC*(L_AC*2**-1+L_CD+L_DB))*L**-1\n",
+ "R_B=100-R_A\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At Pt B\n",
+ "V_B1=0\n",
+ "V_B2=R_B\n",
+ "\n",
+ "#S.F at Pt D\n",
+ "V_D=V_B2 #KN\n",
+ "\n",
+ "#S.F At Pt C\n",
+ "V_C1=V_D #KN\n",
+ "V_C2=V_C1-F_C\n",
+ "\n",
+ "#S.F At Pt A\n",
+ "V_A1=V_C2-w1*L_AC #KN\n",
+ "V_A2=V_A1+R_A\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At Pt B\n",
+ "M_B=0 #KN.m\n",
+ "\n",
+ "#B.M At Pt D\n",
+ "M_D1=M_B-R_B*L_DB #KN.m\n",
+ "M_D2=M_B+M_D-R_B*L_DB\n",
+ "\n",
+ "#B.M At Pt C\n",
+ "M_C=M_D-R_B*(L_CD+L_DB)\n",
+ "\n",
+ "#B.M At Pt A\n",
+ "M_A=M_D-R_B*L+F_C*L_AC+w1*L_AC*L_AC*2**-1\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_DB,L_DB+L_CD,L_DB+L_CD,L_DB+L_CD+L_AC,L_DB+L_CD+L_AC]\n",
+ "Y1=[V_B1,V_B2,V_D,V_C1,V_C2,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "Y2=[M_B,M_D1,M_D2,M_C,M_A]\n",
+ "X2=[0,L_DB,L_DB,L_CD+L_DB,L_AC+L_CD+L_DB]\n",
+ "Z2=[0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Length in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHfFJREFUeJzt3X1UlHX+//HXIGiJmpUIHfEsHLyBwRK8SavjCireBlkS\nha66Grm/3CzrW0rndFr3ayat2cm12nO2Y2o3u1myG+S2rrqEt3lTWH5dtsCElvtciQxvFoHr9wfr\nVQg4IDNzMTPPxzlznLnmurjeo57rxfv6fK5rbIZhGAIAQJKf1QUAALoOQgEAYCIUAAAmQgEAYCIU\nAAAmQgEAYLI0FGpqapScnKyoqCjZ7XYdOnRI1dXVSkhI0JAhQzR58mTV1NRYWSIA+BRLQ+HRRx/V\n9OnT9c9//lPHjh1TZGSkMjIylJCQoIKCAk2cOFEZGRlWlggAPsVm1cVr3333nWJjY3Xy5MlmyyMj\nI7V7924FBwersrJScXFx+uKLL6woEQB8jmWdQlFRkYKCgrRgwQKNGDFCDz74oM6ePauqqioFBwd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YSgtLU1r165VSEiINmzYoLS0NPMUVlvb\ntvX88m3aeu1tt7aG+zAlFWjF2bNnFRgYqNOnT2vMmDE6cOCA+vfvb3VZgMsxpgC04s4771RNTY3q\n6ur0zDPPEAjwGXQKAAATYwoAABOhAAAwEQoAABOhAAAwEQoAABOhAAAw/X/endCY0sA2EwAAAABJ\nRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5678c30>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtUlPW+BvBnkKE00DQTi9FwczkwgkIQVO5yvCAainhD\nxco0zRVZmlnSWme7taMN1e6srRaWLs3dzpOecilYSrhTvIZgaKlUokkHQchMEEQ2Au/545WJ28AM\n886878z7fNZiLRjm8kyX+fK7fV+NIAgCiIiIOuEmdwAiInIOLBhERGQRFgwiIrIICwYREVmEBYOI\niCzCgkFERBZRbMFoaGhAeHg4JkyYAAD4/fffERMTg8DAQIwZMwYVFRUyJyQiUhfFFow1a9ZAr9dD\no9EAAFJTUxETE4Nz585h1KhRSE1NlTkhEZG6KLJgXLp0CXv27MG8efPQdK4wIyMDs2fPBgDMnj0b\nu3btkjMiEZHqKLJgvPzyy3jnnXfg5vZHvPLycnh7ewMAvL29UV5eLlc8IiJVUlzB+OKLL9CvXz+E\nh4fDXNcSjUZjmqoiIiLHcJc7QGvHjh1DRkYG9uzZg9raWly/fh1PPfUUvL29UVZWhv79++Py5cvo\n169fu4/39/fHhQsXHJyaiMi5+fn54fz58x3fSVCw7OxsYfz48YIgCMKrr74qpKamCoIgCEajUVi2\nbFm7j1H4W7LZX//6V7kj2I0rvzdB4Ptzdq7+/iz57FTclFRrTVNPKSkp2LdvHwIDA7F//36kpKTI\nnIyISF0UNyXV3PDhwzF8+HAAQJ8+ffCvf/1L5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gQfj8888BiB/Q33//fYePGTZsGHbs2AFBEFBeXo6DBw+afufl\n5YXr169blaGjgkMkNxYMUq2amhoMGDDA9PX3v/8dW7duxaZNmxAWFoaQkBBkZGSY7t+8dXfT91Om\nTIFOp4Ner8dTTz2FBx980HRN5Oeeew5jx441LXq3fnx7rcBb327u+9aPMfezq7UbJ3lxWy2RjW7c\nuIG77roLV69eRXR0NI4dO4Z+/frJHYtIclzDILLR+PHjUVFRgbq6OixfvpzFglwWRxhERGQRrmEQ\nEZFFWDCIiMgiLBhERGQRFgwiIrIICwYREVmEBYOIiCzy//MEB9W2RSPfAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5770cd0>"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.5,Page No.105"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F_C=20 #KN #Force at Pt C\n",
+ "F_D=40 #KN #Force at pt D\n",
+ "w=20 #KN.m #u.d.l \n",
+ "L_AD=L_DB=2 #m #Length of AD & DB\n",
+ "L_BC=1 #m #Length of BC\n",
+ "L=5 #m #Length of Beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#LEt R_A and R_B be the reactions at A & B respectively\n",
+ "#R_A+R_B=100 \n",
+ "#Now Taking Moment at B,M_B we get\n",
+ "R_A=-(F_C*L_BC-F_D*L_DB-w*L_AD*(L_AD*2**-1+L_DB))*(L_AD+L_DB)**-1\n",
+ "R_B=100-R_A\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At pt C\n",
+ "V_C1=0 #KN\n",
+ "V_C2=-F_C #KN\n",
+ "\n",
+ "#S.F At PT B\n",
+ "V_B1=V_C2 #KN\n",
+ "V_B2=V_C2+R_B #KN\n",
+ "\n",
+ "#S.F At Pt D\n",
+ "V_D1=V_B2 #KN\n",
+ "V_D2=V_D1-F_D #KN\n",
+ "\n",
+ "#S.F At Pt A\n",
+ "V_A1=V_D2-w*L_AD #KN\n",
+ "V_A2=V_A1+R_A #KN\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At Pt C\n",
+ "M_C=0 \n",
+ "\n",
+ "#B.M At Pt B\n",
+ "M_B=F_C*L_BC\n",
+ "\n",
+ "#B.M At Pt D\n",
+ "M_D=F_C*(L_BC+L_DB)-R_B*L_DB\n",
+ "\n",
+ "#B.M At Pt A\n",
+ "M_A=F_C*L-R_B*(L_DB+L_AD)+F_D*L_AD+w*L_AD*L_AD*2**-1\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_BC,L_BC,L_BC+L_DB,L_BC+L_DB,L_BC+L_DB+L_AD,L_BC+L_DB+L_AD]\n",
+ "Y1=[V_C1,V_C2,V_B1,V_B2,V_D1,V_D2,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "Y2=[M_C,M_B,M_D,M_A]\n",
+ "X2=[0,L_BC,L_BC+L_DB,L_BC+L_DB+L_AD]\n",
+ "Z2=[0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X9YlfX9x/HnQdHCH1OXohM3uATEgyWoiVkmiPijlEgN\nw3JMs3Zptaxm4bWtcM6gNJf9sLUyddXUGl+FrEiaHpcrowzniqW4RJFfM8mpqUPh/v5x4lYEPKgc\n7nPg9bguLu7z4+Z+X+fyOi/vz31/Pm+bYRgGIiIigI/VBYiIiOdQKIiIiEmhICIiJoWCiIiYFAoi\nImJSKIiIiMnyUKiqqiIyMpKJEycCUFFRQVxcHKGhoYwZM4YjR45YXKGISOtheSgsW7YMu92OzWYD\nID09nbi4OPbs2UNsbCzp6ekWVygi0npYGgoHDx7k3XffZdasWdTMocvKyiI5ORmA5ORkNmzYYGWJ\nIiKtiqWh8OCDD7J48WJ8fM6WUV5ejr+/PwD+/v6Ul5dbVZ6ISKtjWShs3LiRHj16EBkZSUMrbdhs\nNnNYSURE3K+tVQf+6KOPyMrK4t133+XUqVMcPXqU6dOn4+/vT1lZGT179qS0tJQePXrU2Tc4OJh/\n//vfFlQtIuK9+vbty969ey/8JsMDOBwOY8KECYZhGMa8efOM9PR0wzAMIy0tzXj00UfrvN9DyvYI\njz/+uNUleAx9FmfpszhLn8VZjfnutPzuoxo1w0QpKSnk5OQQGhrK5s2bSUlJsbgyEZHWw7Lho3ON\nHDmSkSNHAtCtWzc++OADiysSEWmdPOZMQS5NdHS01SV4DH0WZ+mzOEufxcWxfT/O5FVsNluDdyyJ\niEj9GvPdqTMFERExKRRERMSkUBAREZNCQURETAoFERExecQ8Bbk01dWwZAmcOGF1JeJpQkNh2jSr\nqxBvpDMFL/btt/D441ZXIZ7mm2/gt7+1ugrxVpqn4MUOH3b+j/DwYasrEU/y1VeQkOD8LXIuzVMQ\nEZGLolAQERGTQkFE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nGYRcGoWCiLQIdrv6QTcFhYKItBjqB335FAoi0uKc2w968mTn/AZpHIWC\niLRINf2g+/RxrriqftCNo1AQkRZL/aAvnkJBRFq8hATnRej162HCBOfqq1I/hYKItArn9oOOjFQ/\n6IYoFESk1fD1hbQ0eOUVuP12511KVVVWV+VZFAoi0urU9IPeuhXi4tTe91wKBRFplWr6QUdHOye7\nvf++1RV5BoWCiLRaNf2g16519mlISYHvOwa0WpaEwm9+8xsGDhxIREQEsbGxFBUVma+lpaUREhJC\nWFgYmzZtsqI8EWllRo6Ezz+HXbuc2/v3W12RdSxZJfXYsWN06tQJgOeee45//OMfvPLKK+Tn5zNt\n2jQ+/fRTiouLGT16NHv27MHHp3Z2aZVUEXGH6mp4+mlYsgReesl5K2tL4dGrpNYEAsDx48e56qqr\nAMjMzCQpKQlfX18CAwMJDg4mNzfXihJFpBVSP2gLryn86le/4sc//jGrVq1i/vz5AJSUlBAQEGC+\nJyAggOLiYqtKFJFWatgw53DSwYPODm9791pdUfNpsB3n5YqLi6OsrKzO80888QQTJ05k0aJFLFq0\niPT0dObOncvKlSvr/Tu2BrplpKammtvR0dFER0c3RdkiIsDZftDLlzv7QT/7rHOhPW/icDhwOBwA\nHDjQuH0s77x24MABbrrpJr744gvS09MBSElJAWDcuHEsWLCAqKioWvvomoKINKe8PGc/6JEjvbcf\ntEdfUygoKDC3MzMziYyMBCA+Pp61a9dSWVnJvn37KCgoYOjQoVaUKCJiiox0TnY7eRKGDoX8fKsr\nch+3DR9dyPz589m9ezdt2rShb9++vPjiiwDY7XYSExOx2+20bduW5cuXNzh8JCLSnDp1gtdec/aD\nHjmy5faDtnz46FJo+EhErJSfD4mJEBEBL77oDAxP59HDRyIi3qwl94NWKIiIXIKaftC//S2MHdty\n+kErFERELsPttzvbfraUftAKBRGRy3RuP+jISO/uB61QEBFpAjX9oJ95xrv7QSsURESakLf3g1Yo\niIg0MW/uB61QEBFxg5p+0CtWeFc/aIWCiIgbjR3rXf2gFQoiIm7mTf2g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8/HHH3PbbbeZz1VW\nVgLOtXBqVlTt378/5eXlAGzbto3ExEQAsydBQ9q1a8fNN98MwODBg8nJyanzniuvvJKXX36ZESNG\nsGzZMoKCgi5Yc0N1nS8oKIjw8HAAwsPDGT16NAADBgygsLDwgscQaYhCQVq06upqunTpQl5eXr2v\nt2vXztw2vr+8ZrPZaq2/b1zgspuvr6+57ePjw5kzZ+p9365du+jevXujm0LVV9f52rdvX+vYNftc\nqA4RV3RNQVq0zp07ExQUxF/+8hfA+QW7a9euC+5z/fXXk5GRgWEYlJeXs3XrVvO1Tp06cfTo0Yuq\nYf/+/SxdutRscFLfOvYXCh6R5qRQkBblxIkT9OnTx/x55plneOONN1ixYgUREREMGDCgVvP2c5dT\nrtmePHkyAQEB2O12pk+fzqBBg/jBD34AwD333MO4cePMC83n73/+8syGYTBr1iyefvppevbsyYoV\nK5g1a5Y5hNXQvg1tn79PQ49b8zLRcnl0S6pIPb777js6dOjA4cOHiYqK4qOPPqJHjx5WlyXidrqm\nIFKPCRMmcOTIESorK3nssccUCNJq6ExBRERMuqYgIiImhYKIiJgUCiIiYlIoiIiISaEgIiImhYKI\niJj+H1U+eMmY8O6MAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5770d30>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X1U1GX+//HnINhmmN2Y2hENwxtEMBA3NK3GFTRNyTQx\n7EbL2i2PlZlb+vueTDt5w1rtt1KyNSWzNm0zRVwlrISMUszgu3kw71ZSUSw3SUldAuf3xycnb0AG\nmJnPZ2Zej3PmBMPMfN6hznuu631d19vmcDgciIiIAEFmByAiItahpCAiIk5KCiIi4qSkICIiTkoK\nIiLipKQgIiJOpiWF/fv3069fP7p160Z0dDSvvvoqAD/++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GHQoEH0\n7NmTW265hR07dgAwduxYnnjiCfr06UNERAQrVqwAjFNHx48fT9euXRkwYAC3336782cAr732GvHx\n8XTv3p0dO3ZQUlLCG2+8wV//+lfi4uL4/PPPz7n+W2+9xWOPPXbRa56tpKSEyMhIHnjgAbp06cI9\n99xDTk4Offr0oXPnzmzZssVTvyoJQEoKEnD++Mc/8tprr/HVV18xd+5cxo8f7/xZWVkZ+fn5rFmz\nhilTpgDw4Ycf8t1337F9+3aWLl3Kl19+ec4I5JprrmHr1q08+uijvPjii4SHh/PII48wadIkCgsL\nL2hwc/7opaZrnm/Pnj1MnjyZb7/9lh07drB8+XLy8/N58cUXmTVrlrt+NSKaPpLAUlFRwZdffsnI\nkSOd91VWVgLGm/WZE1a7du3K4cOHAfj8889JSUkBcPYoONvw4cMB6NGjBx9++KHzfldOkKntmufr\n0KED3bp1A6Bbt24kJiYCEB0dTUlJSZ3XEXGVkoIElNOnT3PFFVdQWFhY48+bNm3q/PrMm/r5dYPz\n3+wvueQSAJo0aUJVVVW9Y6rpmuc7cw0w+iWceU5QUFCDrilSG00fSUC5/PLL6dChAx988AFgvAn/\n61//uuhz+vTpw4oVK3A4HBw+fJi8vLw6r9O8eXPnUcXn0xmUYmVKCuLXTpw4Qbt27Zy3//3f/+Xd\nd99l0aJFxMbGEh0dfU4z97Pn+898PWLECMLCwoiKiuK+++6jR48etGjR4oJr2Ww253OGDh3KypUr\niYuLIz8/v9bH1XbNml67tu8D+UhocT8dnS3igp9//pnLLruM//znPyQkJPDFF1/QqlUrs8MScTvV\nFERcMGTIEMrLy6msrGTatGlKCOK3NFIQEREn1RRERMRJSUFERJyUFERExElJQUREnJQURETESUlB\nRESc/j+iaB8fTwtkoQAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5566ab0>"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.6,Page No.107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_BC=L_EB=L_AD=1 #m #Length of spans BC,ED,AD\n",
+ "L_ED=2 #m #Length of ED\n",
+ "w=60 #KNm #u.d.l\n",
+ "F_C=20 #KN Pt Load at C\n",
+ "L=5 #m #Span of beam \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A & R_B be the reactions at A & B respectively\n",
+ "#R_A+R_B=80 \n",
+ "#Taking Moment At A,we get M_A\n",
+ "R_B=(F_C*L+1*2**-1*L_ED*w*(2*3**-1*L_ED+L_AD))*(L_AD+L_ED+L_EB)**-1\n",
+ "R_A=80-R_B\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At C\n",
+ "V_C1=0 #KN\n",
+ "V_C2=-F_C #KN\n",
+ "\n",
+ "#S.F At B\n",
+ "V_B1=V_C2 #KN\n",
+ "V_B2=V_C2+R_B #KN \n",
+ "\n",
+ "#S.F aT E\n",
+ "V_E=V_B2 #KN\n",
+ "\n",
+ "#S.F AT D\n",
+ "V_D=V_B2-1*2**-1*L_ED*w #KN\n",
+ "\n",
+ "#S.F At A\n",
+ "V_A1=V_D #KN \n",
+ "V_A2=V_D+R_A\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M at C\n",
+ "M_C=0 #KN.m\n",
+ "\n",
+ "#B.M at B\n",
+ "M_B=F_C*L_BC #KN.m\n",
+ "\n",
+ "#B.M at E\n",
+ "M_E=F_C*(L_EB+L_BC)-R_B*L_EB #KN.m\n",
+ "\n",
+ "#B.M at D\n",
+ "M_D=F_C*(L_ED+L_EB+L_BC)-R_B*(L_ED+L_EB)+1*2**-1*L_ED*w*1*3**-1*L_ED #KN.m\n",
+ "\n",
+ "#B.M at A\n",
+ "M_A=1*2**-1*L_ED*w*(2*3**-1*L_ED+L_AD)-R_B*(L_AD+L_ED+L_EB)+F_C*L\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_BC,L_BC,L_EB+L_BC,L_ED+L_EB+L_BC,L_AD+L_ED+L_EB+L_BC,L_ED+L_EB+L_BC+L_AD]\n",
+ "Y1=[V_C1,V_C2,V_B1,V_B2,V_E,V_D,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_BC,L_BC+L_EB,L_EB+L_BC+L_ED,L_EB+L_BC+L_ED+L_AD]\n",
+ "Y2=[M_C,M_B,M_E,M_D,M_A]\n",
+ "Z2=[0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X1UVHX+B/D3IA9JaGrqkODZ4QgIA+ZMqKRpggRmykSp\nbFRKFJurm63tWU2PbVGm4CnbzIf29KRkT2qchPwZi62NqaWWS/bApligPE4pkZESMnN/f0xcQRkY\nZGa+c2fer3PmNMzcy32fOTYf7vd7P/erkiRJAhEREQAf0QGIi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AICYmBrfccgsA\nIDY2FpWVlV0eg8gWFgXyaBaLBQMGDEBpaWmn7/v7+8vPpd+n11QqVYf770tdTLv5+fnJz318fNDa\n2trpdl9377KBAAABP0lEQVR++SWGDBli96JQneW6VEBAQIdjt+3TVQ6i7nBOgTxa//79ERYWhnff\nfReA9Qv2yy+/7HKfm266CQUFBZAkCSaTCXv37pXf69evH86ePdujDCdPnsRzzz0nL3DS2X3suyo8\nRK7EokAe5dy5cxg+fLj8eP755/Hmm2/i1VdfhU6nQ2xsbIfF29vfTrnt+cyZMxEaGgqtVos5c+bg\nhhtuwDXXXAMAePDBB3HrrbfKE82X7n/p7ZklSUJ2djbWrFmD4OBgvPrqq8jOzpaHsGzta+v5pfvY\n+tmbbxNNvcNLUok68euvv+Lqq6/GmTNnEB8fj08++QRDhw4VHYvI6TinQNSJGTNmoLGxES0tLXj8\n8cdZEMhr8EyBiIhknFMgIiIZiwIREclYFIiISMaiQEREMhYFIiKSsSgQEZHs/wFJvODf5hYcpQAA\nAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5550930>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtUVPXaB/DvcNNjoKUEnuNIsECTWzHqEUurMbl4w7so\nlJVmZa4uvtZJrKNhvQqUWmLZMRPtttLTMQUzSUuwRBO8lYr3nEIQLxkJoi8C8/4xZ+9kYJhhZs/s\nPTPfz1qsmM3M7CeWax72/u7nt1V6vV4PIiIiAB5yF0BERMrBpkBERCI2BSIiErEpEBGRiE2BiIhE\nbApERCSSrSmUlZVh0KBBiIyMRFRUFLKzswEAly9fRnx8PHr27ImEhARUVVXJVSIRkdtRyTWnUFlZ\nicrKSsTExKCmpgZ9+vTBxo0bsXr1avj7++Oll15CVlYWfv/9d2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0KFD0bdvX9x///04\nfvw4AOCxxx7D888/jwEDBiA0NBTr168HYFh1dMaMGQgPD0dCQgKGDx8u/gwAli1bhj59+uCuu+7C\n8ePHodPpsGLFCrz11lvQaDTYuXNnk/2vWbMGzz77bKv7vJlOp0OvXr0wZcoU3HnnnXjooYewdetW\nDBgwAD179kRJSYm9flXkhtgUyO08+eSTWLZsGfbu3Ys333wTM2bMEH9WWVmJoqIifPnll0hLSwMA\nfPHFF/jll19w9OhRfPzxx9i9e3eTI5Dbb78d+/btw9NPP41FixYhODgY06dPx6xZs3DgwIFmN7gx\nPnppaZ/GTp8+jRdffBHHjh3D8ePHsW7dOhQVFWHRokVYuHChVL8aIp4+IvdSU1OD3bt3Y8KECeK2\nuro6AIYPa2GF1fDwcJw/fx4AsHPnTiQnJwOAeI+Cm40dOxYA0Lt3b3zxxRfidktWkDG1T2MhISGI\njIwEAERGRiIuLg4AEBUVBZ1OZ3Y/RJZiUyC30tjYiFtvvRUHDhxo8ec+Pj7i98KHunFuYPxh365d\nOwCAp6cn6uvr21xTS/s0JuwDMNwvQXiNh4eHVfskMoWnj8itdOzYESEhIfjPf/4DwPAh/NNPP7X6\nmgEDBmD9+vXQ6/U4f/48duzYYXY/fn5+4lLFxrgGJSkZmwK5tNraWnTv3l38evvtt/Hpp59i1apV\niImJQVRUVJObud98vl/4fty4cVCr1YiIiMDkyZPRu3dvdOrUqdm+VCqV+JqkpCRs2LABGo0GRUVF\nJp9nap8tvbepx+68JDRJj0tnE1ng6tWruOWWW/Dbb78hNjYWu3btQkBAgNxlEUmOmQKRBUaMGIGq\nqirU1dVh3rx5bAjksnikQEREImYKREQkYlMgIiIRmwIREYnYFIiISMSmQEREIjYFIiIS/T+6l7ug\nkeDZfAAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5547350>"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.7,Page No.109"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_BC=1 #m #Length of BC\n",
+ "L_DB=2 #m #Length of DB\n",
+ "L_AD=4 #m #Length 0f AD\n",
+ "M_D=30 #KN.m #Moment at D\n",
+ "w=45 #KN/m #u.d.l\n",
+ "L=7 #m #Span of beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_B & R_A be the Reactions at B & A respectively\n",
+ "#R_B+R_A=180+P ............(1)\n",
+ "\n",
+ "#Now Taking Moment about A,we get\n",
+ "#R_B=7*P+390 ...............(2)\n",
+ "\n",
+ "#Since R_A & R_B Are Equal\n",
+ "#2*R_B=180+P ...................(3)\n",
+ "\n",
+ "#From equation 1 and 3 we get\n",
+ "#3*(180+P)=7P+390\n",
+ "#After simplifying Further above equation we get\n",
+ "P=150*4**-1 #KN\n",
+ "R_A=R_B=(180+P)*2**-1\n",
+ "F_C=P\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At C\n",
+ "V_C1=0 #KN\n",
+ "V_C2=-P #KN\n",
+ "\n",
+ "#S.F At B\n",
+ "V_B1=V_C2 #KN\n",
+ "V_B2=V_C2+R_B #KN \n",
+ "\n",
+ "#S.F At D\n",
+ "V_D=V_B2 #KN\n",
+ "\n",
+ "#S.F At A\n",
+ "V_A1=V_D-w*L_AD #KN\n",
+ "V_A2=V_A1+R_A #KN\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M at C\n",
+ "M_C=0 #KN.m \n",
+ "\n",
+ "#B.M at B\n",
+ "M_B=F_C*L_BC #KN.m\n",
+ "\n",
+ "#B.M at D\n",
+ "M_D1=F_C*(L_BC+L_DB)-R_B*L_DB #KN.m\n",
+ "M_D2=M_D1+M_D\n",
+ "\n",
+ "#B.M At A\n",
+ "M_A=w*L_AD*L_AD*2**-1+M_D-R_B*(L_AD+L_DB)+P*L\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_BC,L_BC,L_DB+L_BC,L_DB+L_BC+L_AD,L_DB+L_BC+L_AD]\n",
+ "Y1=[V_C1,V_C2,V_B1,V_B2,V_D,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_BC,L_DB+L_BC,L_DB+L_BC,L_AD+L_DB+L_BC]\n",
+ "Y2=[M_C,M_B,M_D1,M_D2,M_A]\n",
+ "Z2=[0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X9c1fWhx/HXAYlNkcQNUYGJV1CEKEHz50MHmj+YgZLK\nQuevIr362Ky7e1de7x6bM0u709m0uDOvqdlKK+ePfujUFFMn2JRuK5qSQRcRzTKvhhkC3/vHt840\nhXNAOJ9z4P18PHjscH5w3jo7b77fz+f7+Tgsy7IQERFxwc90ABER8Q0qDBERcYsKQ0RE3KLCEBER\nt6gwR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WqKioooKipix44dJqKLiHilkBB44w178cKBA6G4uPHfw0hh\nxMbG0r179+vu37p1K1lZWQQEBBAVFUV0dDT5+fmUl5dz8eJF+vbtC8CUKVPYsmWLp2OLiHi1gAB4\n+mn7Oo2BA+0puI3Jq8YwTp06RUREhPP7iIgIysrKrrs/PDycMm/fmkpExACHA372M3j2WXu59PXr\nG+9nN9l+GMOHD+f06dPX3f/444+TlpbWVG8LwPz58523k5OTSU5ObtL3ExHxNqmpsHevPabxwQew\ncKG9NtU3cnNzyc3NBdy/ALDJCmPXrl31fk14eDilpaXO70+ePElERATh4eGcPHnymvvDw8Nr/TlX\nF4aISEsVHw/5+XDPPfYWsM89B23a2I9d/cv088/D55//xuXPM35KyrpqFa309HQ2bNhAZWUlxcXF\nFBUV0bdvXzp27EhwcDD5+flYlsX69esZO3aswdQiIr4hNBR274agIBgyBG7mbL6Rwti8eTORkZHk\n5eUxevRoUlNTAYiLiyMzM5O4uDhSU1PJycnB8fX+hDk5OWRnZxMTE0N0dDSjRo0yEV1ExOcEBsLa\ntfZRRv/+cORIw36Ow7JMLZTbNBwOB83sjyQi0mg2b4YZM+C//gvGj7fvi46GEydcf3Y22RiGiIh4\nn4wM+1qNMWPg2DGYN8/916owRERamMRE+8rwMWPsGVSVle69zvigt4iIeF7nzrBvn10WV01OrZPG\nMEREWrCaGntcY/x415+dKgwREXHrs1OnpERExC0qDBERcYsKQ0RE3KLCEBERt6gwRETELSoMERFx\niwpDRETcosIQERG3qDBERMQtKgwREXGLCkNERNyiwhAREbeoMERExC0qDBERcYsKQ0RE3KLCEBER\nt6gwRETELSoMERFxiwpDRETcosIQERG3qDBERMQtKgwREXGLCkNERNyiwhAREbeoMERExC0qDBER\ncYsKQ0RE3KLCEBERt6gwRETELSoMERFxi5HCePnll4mPj8ff35+jR4867y8pKeG73/0uiYmJJCYm\nMnv2bOdjR44cISEhgZiYGB588EETsUVEWjQjhZGQkMDmzZsZMmTIdY9FR0dTUFBAQUEBOTk5zvtn\nzZrF6tWrKSoqoqioiB07dngyssfk5uaajtBgvpwdlN805fd+RgojNjaW7t27u/388vJyLl68SN++\nfQGYMmUKW7Zsaap4RvnyPzpfzg7Kb5ryez+vG8MoLi4mMTGR5ORkDhw4AEBZWRkRERHO54SHh1NW\nVmYqoohIi9SqqX7w8OHDOX369HX3P/7446Slpd3wNZ07d6a0tJSQkBCOHj3K2LFjef/995sqooiI\n1IdlUHJysnXkyBGXj586dcqKjY113v/CCy9YM2fOvOFrunXrZgH60pe+9KWvenx169bN5Wd2kx1h\nuMuyLOftTz/9lJCQEPz9/fnoo48oKirin/7pn2jXrh3BwcHk5+fTt29f1q9fz5w5c2748z788ENP\nRRcRaVGMjGFs3ryZyMhI8vLyGD16NKmpqQDs27ePO+64g8TERCZMmMDKlStp164dADk5OWRnZxMT\nE0N0dDSjRo0yEV1EpMVyWFf/ii8iIlILr5sl1VA7duwgNjaWmJgYnnjiCdNx6u2+++4jLCyMhIQE\n01HqrbS0lJSUFOLj47nttttYvny56Uj1cvnyZfr160evXr2Ii4vj3//9301HapDq6moSExNrnVTi\nzaKiorj99ttJTEx0Tp/3FefPn2f8+PH07NmTuLg48vLyTEdy27Fjx5wXSicmJnLrrbfW/d9vPcep\nvVJVVZXVrVs3q7i42KqsrLTuuOMOq7Cw0HSsennrrbeso0ePWrfddpvpKPVWXl5uFRQUWJZlWRcv\nXrS6d+/uc3//FRUVlmVZ1pUrV6x+/fpZ+/fvN5yo/pYuXWpNnDjRSktLMx2l3qKioqzPPvvMdIwG\nmTJlirV69WrLsux/P+fPnzecqGGqq6utjh07Wv/7v/9b63OaxRHG4cOHiY6OJioqioCAAO699162\nbt1qOla9DB48mJCQENMxGqRjx4706tULgKCgIHr27MmpU6cMp6qf1q1bA1BZWUl1dTXt27c3nKh+\nTp48yRtvvEF2dvY1E0l8iS/m/r//+z/279/PfffdB0CrVq249dZbDadqmN27d9OtWzciIyNrfU6z\nKIyysrJjFZu/AAAGPklEQVRr/pARERG6sM+QkpISCgoK6N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Um55grx\nX/7yl/Tq1YsBAwbwySefXPf+Dz30EI8++igAf/7zn/nhD3943XPWrl3Lz372szpzXa2kpITY2Fim\nT59Ojx49mDRpEjt37mTQoEF0796dt99+++b/4qTl8sC+HCLGBQUFXXff0KFDraKiIsuyLCsvL88a\nOnSoZVmWNXXqVCszM9OyLMsqLCy0oqOjLcuyrJdfftn60Y9+ZFmWZZ0+fdoKCQmxNm3aZFnW9RsA\nORwO67XXXrMsy7Iefvhha+HChde9/6VLl6z4+Hhrz549Vo8ePayPPvrouuesXbvW+ulPf1pnrqsV\nFxdbrVq1st577z2rpqbG6t27t3XfffdZlmVZW7dutcaOHevy70qkNs1iLSmR+vriiy84dOjQNcs5\nV1ZWAvZaTN+suNuzZ0/OnDkDwIEDB8jMzARw7ptRm1tuuYXRo0cD0Lt3b3bt2nXdc7773e+yatUq\nBg8ezO9//3u6du1aZ+bacn1b165dnQvgxcfHc9dddwFw2223UVJSUud7iNRFhSEtUk1NDe3ataOg\noOCGj99yyy3O29bXw3wOh+Oa/SasOob/AgICnLf9/Pyoqqq64fPeffddQkND3d7w60a5vi0wMPCa\n9/7mNXXlEHGHxjCkRQoODqZr16688sorgP3h++6779b5mkGDBrFp0yYsy+LMmTPs27fP+Vjbtm25\ncOFCvTJ8/PHH/O53v3NuHHSjPSDqKiURT1NhSItw6dIlIiMjnV9PPvkkf/zjH1m9ejW9evXitttu\nY9u2bc7nX71E+De3x40bR0REBHFxcUyePJmkpCTn/s0zZsxg1KhRzkHvb7/+20uOW5ZFdnY2S5cu\npWPHjqxevZrs7GznabHaXlvb7W+/prbvfW3pc/EumlYrUg8VFRW0adOGzz77jH79+vGXv/yFDh06\nmI4l4hEawxCph7vvvpvz589TWVnJr371K5WFtCg6whAREbdoDENERNyiwhAREbeoMERExC0qDBER\ncYsKQ0RE3KLCEBERt/w/DSM1oLe5H2sAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x568a490>"
+ ]
+ },
+ {
+ "metadata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evW4erqesM1xNdERUXZ5H0W\nwjHICEOI62RkZBAZGUnr1q1p3749hw4dAuCZZ55hxIgRtG3bFk9PTxYuXAioLrfDhw+nefPmRERE\n0K1bN+PvgToFHBwcTMuWLTl06BCZmZl8+umnfPzxxwQFBbFx48Yb3v+LL77gH//4xx3f83qZmZn4\n+vry7LPP0qxZMwYMGMDq1atp27YtPj4+bN++3VL/qYQDkoIhxHVeeOEFpk2bxo4dO/joo48YPny4\n8fdyc3PZtGkTy5YtIyYmBoAff/yR//73vxw4cICvv/6aLVu23DByqV+/Pjt37uSll15i0qRJeHh4\n8OKLL/LGG2+we/du2rVrd8P73zzqud173iwjI4ORI0dy8OBBDh06xPz589m0aROTJk1iwoQJ5vpP\nI4RMSQlxzfnz59myZcsNLZ4LCwsB9YX8Whfe5s2bc/LkSQA2btxI3759AYx3aVzvySefBKBVq1b8\n+OOPxsdN6chT2nverGnTpsaGd/7+/nTu3BmAFi1akJmZWeb7CGEqKRhCXFVSUkLdunXZvXv3bX+/\nevXqxl9f+4J/8zrFzYWgRo0aADg7O1NUVFTuTLd7z5tdew9Q93pce46Tk1OF3lOI0siUlBBX1a5d\nm6ZNm/LDDz8A6gv0vn377victm3bsnDhQjRN4+TJk6xfv77M93F1dTW2876Z9AIV1kwKhnBYFy5c\noHHjxsYfU6ZM4dtvv2X27NkEBgbSokULlixZYvz869cXrv26V69euLu74+fnx8CBA2nVqtVt73Q2\nGAzG50RFRbFo0SKCgoLYtGlTqZ9X2nve7rVL+9jWWp0L6ybtzYWopIKCAmrWrMmZM2cIDQ1l8+bN\nNGjQQO9YQpidrGEIUUndu3cnLy+PwsJC3nvvPSkWwm7JCEMIIYRJZA1DCCGESaRgCCGEMIkUDCGE\nECaRgiGEEMIkUjCEEEKYRAqGEEIIk/w/Ax1NdOgaZEcAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x54b19d0>"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.8,Page No.110"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=6 #m #Span Of beam\n",
+ "w=30 #KN/m #u.d.l\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Due to Symmetry\n",
+ "#Let R_B and R_C be the reactions at B & C Respectively\n",
+ "R_B=R_C=w*L*2**-1 #KN\n",
+ "\n",
+ "#Let a be the overhang.The Max -ve moment occurs at the support and max +ve moment at middle of the beam\n",
+ "#Now Equating these two equations we get\n",
+ "#30*a*a*2**-1=90*(3-a)-w*L*2**-1*L*4**-1\n",
+ "#After simplifying we get an equation as\n",
+ "#a**2+6*a-9=0\n",
+ "x=1\n",
+ "y=6\n",
+ "z=-9\n",
+ "\n",
+ "p=y**2-4*x*z\n",
+ "\n",
+ "a1=(-y+p**0.5)*2**-1\n",
+ "a2=(-y-p**0.5)*2**-1\n",
+ "\n",
+ "#Now Length cannot be negative,so taking a1 into Consideration\n",
+ "\n",
+ "L_CD=L_AB=a1\n",
+ "L_BC=L-2*a1\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At D\n",
+ "V_D=0\n",
+ "\n",
+ "#S.F At C\n",
+ "V_C1=V_D-w*L_CD #KN\n",
+ "V_C2=V_C1+R_C #KN\n",
+ "\n",
+ "#S.F At B\n",
+ "V_B1=-w*(L_BC+L_CD)+R_C\n",
+ "V_B2=V_B1+R_B\n",
+ "\n",
+ "#S.F At A\n",
+ "V_A=round(V_B2,2)-round(w*L_AB,2)\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At D\n",
+ "M_D=0\n",
+ "\n",
+ "#B.M At C\n",
+ "M_C=w*L_CD*L_CD*2**-1 #KN.m\n",
+ "\n",
+ "#B.M At B\n",
+ "M_B=w*(L_BC+L_CD)*(L_BC+L_CD)*2**-1-R_C*L_BC*L_BC*2**-1\n",
+ "\n",
+ "#B.M At A\n",
+ "X=w*L*L*2**-1\n",
+ "Y=-R_C*(L_AB+L_BC)-R_B*L_AB\n",
+ "M_A=X+Y\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,L_CD,L_CD,L_CD+L_BC,L_CD+L_BC,L_CD+L_BC+L_AB]\n",
+ "Y1=[V_D,V_C1,V_C2,V_B1,V_B2,V_A]\n",
+ "Z1=[0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_CD,L_BC+L_CD,L_AB+L_BC+L_CD]\n",
+ "Y2=[M_D,M_C,M_B,M_A]\n",
+ "Z2=[0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtU1HX+x/HXIKOtoHkHD3AaDhdh0GS8pNbPFVQwNcgC\nKTQljOzESbucNKw9rbuugpm7uahb25raVpu1tIFmJIqoWagFe9yighI63HMl8r4IfH5/EN9EGAaY\ny/fznXk9zpnjzDD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//wngLYn2NOnT3d7\nnzvuuANZWVkQQqC+vh5HjhxRfjZo0CCcP3++VzN8//33+OMf/6h8gUtXn9PfXXiIHIlRIKdy+fJl\n+Pn5KaeXXnoJb775Jnbs2IHw8HCMHTsWOTk5yu2v/wjo9vNxcXHw9fWF0WjEkiVLMGHCBOX7bJcv\nX44777y17Rj1AAAAk0lEQVRTOdB84/1v/EhpIQRSUlKwefNmeHt7Y8eOHUhJSVF2YZm7r7nzN97H\n3GVn+2hrchy+JJWoC5cuXYKHhwfOnTuHKVOm4JNPPsGoUaPUHovI7nhMgagLd911FxobG9HU1ITn\nn3+eQSCXwZUCEREpeEyBiIgUjAIRESkYBSIiUjAKRESkYBSIiEjBKBARkeL/AfWGkroc+qUvAAAA\nAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5780410>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlYVeX6N/DvFsEJFCtFBQ0EFBCSjQSWlqjghDjPpmlp\npqV26ufJTm+mneN0zFNi2TEPatqgOSCaiVgJKqmoYIMjKhhzDqEgIALr/eORrSjIAtbeaw/fz3Vx\nJWuv4d5W+97PcD+PRpIkCURERNWop3YARERkGpgwiIhIFiYMIiKShQmDiIhkYcIgIiJZmDCIiEiW\n+moHUBVnZ2c0bdoUVlZWsLa2RkJCAq5fv47Ro0fj8uXLcHZ2xrfffgt7e3u1QyUisghG28LQaDSI\njY1FUlISEhISAABLlixBSEgIzp8/j969e2PJkiUqR0lEZDmMNmEAwIM1hTt37sSLL74IAHjxxRex\nY8cONcIiIrJIRpswNBoNgoOD4e/vjzVr1gAAcnJy4ODgAABwcHBATk6OmiESEVkUox3DiI+PR+vW\nrXHlyhWEhITAw8OjwusajQYajUal6IiILI/RJozWrVsDAFq0a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pIax1TZMx9U/gxA7LtRfk29evVq9UyiqrBLiuiupk2bwsXFBVu3bgUg\nPqB//fXXR17TrVs3bNu2DZIkIScnB3FxcdU+x87OTrdk9oO4FigZMyYMslgFBQVo27at7ufjjz/G\nV199hYiICPj6+sLb2xs7d+7UnX//+EL5n4cPHw4nJyd4eXlhwoQJ8PPzq3RPZI1Go7smLCwMkZGR\n0Gq1iI+Pr/K8qp5Z2b2r+t3clhsndXF5c6I6unXrFpo0aYJr164hMDAQP//8M1q2bKl2WESK4xgG\nUR0NHDgQubm5KC4uxrx585gsyGyxhUFERLJwDIOIiGRhwiAiIlmYMIiISBYmDCIikoUJg4iIZGHC\nICIiWf4/U4J8H+TjvqoAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x55507b0>"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.9,Page No.112"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F_F=6 #KN #Force at F\n",
+ "w1=w2=w=3 #KN.m #u.d.l\n",
+ "M_D=24 #KN.m \n",
+ "L_AB=L_CD=L_DE=L_EF=4 #m #Length of AB,CD,DE,EF\n",
+ "L_BC=2 #m #Length of BC\n",
+ "L=18 #m #Span of Beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#LEt R_B and R_E be the Reactions at B & E respectively\n",
+ "#R_B+R_E=42\n",
+ "\n",
+ "#Taking Moment At Pt B,M_B\n",
+ "R_E=(F_F*(L_BC+L_CD+L_DE+L_EF)+w*(L_CD+L_DE)*((L_CD+L_DE)*2**-1+L_BC)-w*L_AB*L_AB*2**-1-M_D)*(L_BC+L_CD+L_DE)**-1\n",
+ "R_B=42-R_E #KN\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F aT F\n",
+ "V_F1=0 #KN \n",
+ "V_F2=-F_F #KN\n",
+ "\n",
+ "#S.F at E\n",
+ "V_E1=V_F2 #KN\n",
+ "V_E2=V_E1+R_E #KN\n",
+ "\n",
+ "#S.F aT C\n",
+ "V_C=V_E2-w*(L_CD+L_DE) #KN\n",
+ "\n",
+ "#S.F at B\n",
+ "V_B1=V_C #KN \n",
+ "V_B2=V_C+R_B #KN\n",
+ "\n",
+ "#S.F At A\n",
+ "V_A=V_B2-w*L_AB #KN\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At F\n",
+ "M_F=0\n",
+ "\n",
+ "#B.M At E\n",
+ "M_E=F_F*L_EF #KN.m\n",
+ "\n",
+ "#B.M At D\n",
+ "M_D1=F_F*(L_DE+L_EF)-R_E*L_DE+w*L_DE*L_DE*2**-1 #KN.m\n",
+ "M_D2=M_D1-M_D\n",
+ "\n",
+ "#B.M At C\n",
+ "M_C=F_F*(L_CD+L_DE+L_EF)-R_E*(L_CD+L_DE)+w*(L_CD+L_DE)*(L_CD+L_DE)*2**-1-M_D\n",
+ "\n",
+ "#B.M At B\n",
+ "M_B=F_F*(L_BC+L_CD+L_DE+L_EF)-R_E*(L_BC+L_CD+L_DE)-M_D+w*(L_CD+L_DE)*((L_CD+L_DE)*2**-1+L_BC)\n",
+ "\n",
+ "#B.M At A\n",
+ "M_A=w*L_AB*L_AB*2**-1-R_B*L_AB+w*(L_CD+L_DE)*((L_CD+L_DE)*2**-1+L_BC+L_AB)-R_E*(L_AB+L_BC+L_CD+L_DE)+F_F*L-M_D\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_EF,L_EF,L_EF+L_DE+L_CD,L_EF+L_DE+L_CD+L_BC,L_EF+L_DE+L_CD+L_BC,L_EF+L_DE+L_CD+L_BC+L_AB]\n",
+ "Y1=[V_F1,V_F2,V_E1,V_E2,V_C,V_B1,V_B2,V_A]\n",
+ "Z1=[0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_EF,L_DE+L_EF,L_DE+L_EF,L_CD+L_DE+L_EF,L_CD+L_DE+L_EF+L_BC,L_CD+L_DE+L_EF+L_BC+L_AB]\n",
+ "Y2=[M_F,M_E,M_D1,M_D2,M_C,M_B,M_A]\n",
+ "Z2=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEPCAYAAABY9lNGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X9UVGX+B/D3gGiFsmIpGkMHEomfwfg7W2pQ8EcG4e9w\nS0WpVrPdVo9ppzZxK9S0zbJts46K7bZpLiFUSuaXRmsL0cBvbfZVVCj8AZVEamQIPN8/pplAZpgB\n584zc+/7dc4ch8sM93PoaT48977vc3VCCAEiIqLL+MgugIiIPBMbBBER2cQGQURENrFBEBGRTWwQ\nRERkExsEERHZJLVBzJ07F0FBQYiLi7Nuy87Ohl6vh8FggMFgQFFRkcQKiYi0S2qDyMzMbNcAdDod\nFi1ahPLycpSXl2P8+PGSqiMi0japDSIxMRGBgYHttvPaPSIi+TzyHMT69esRHx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x5t9m15T0d1EHUGz0GQqgUEBCAsLAz//ve/AZg/bD/7\n7LMO33PrrbciLy8PQgjU1tZal0cGzCelz50716kavvrqK/z1r39FeXk5du3aZXMN/o6aEJEsbBCk\nKg0NDQgJCbE+1q1bh9dffx0bN25EQkICYmNjUVhYaH1967u0WZ5PmTIFer0e0dHRuPfeezF48GDr\nvbPvv/9+jB8/3nqS+vL3X37XNyEEsrKy8Oyzz6J///7YuHEjsrKyrIe57L3X3vPL32Pva0+6+xx5\nL8ZciWz48ccf4e/vj7Nnz2LEiBH4+OOPPeImNETuxHMQRDbceeedqK+vR2NjI5544gk2B9IkziCI\niMgmnoMgIiKb2CCIiMgmNggiIrKJDYKIiGxigyAiIpvYIIiIyKb/Bwuoc+bkvyVIAAAAAElFTkSu\nQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x577e570>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYgAAAEPCAYAAABY9lNGAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtUlNX6B/DvoKCZeElzLNAfLBBhALmpWHYSjoIrDcUb\nKnnJsjr562J21Fyt7PJbCqSeUpMsl7dartIyRUtJPQh5TRNNi1I0J7l7RSW0Edi/P96YQGecgXln\n3ndmvp+1WMFcH207D3vv5322RgghQEREdBsPpQMgIiJ1YoIgIiKTmCCIiMgkJggiIjKJCYKIiExi\ngiAiIpMUSxA3b95EbGwsIiMjodPpMGfOHADA5cuXkZCQgKCgICQmJqKyslKpEImI3JpGyesgqqur\n0aZNG9TU1OCRRx7BwoULsWXLFnTu3BmzZs1CRkYGrly5gvT0dKVCJCJyW4ouMbVp0wYAYDAYUFtb\ni44dO2LLli2YPHkyAGDy5MnYvHmzkiESEbktRRNEXV0dIiMjodVqER8fj9DQUFRUVECr1QIAtFot\nKioqlAyRiMhttVTyzT08PHDs2DFcvXoVgwcPxu7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Hx9faHT6TBx4kRER0ebPEu74alvSUlJ2LRpE6KiorBv3z6z\njzP3nqZe29zPajppjlwL230TWeGPP/7Avffei0uXLiE2Nhb79+9XxaE0RPbEPQgiKzz++OOorKyE\nwWDA3LlzmRzILXAGQUREJnEPgoiITGKCICIik5ggiIjIJCYIIiIyiQmCiIhMYoIgIiKT/h/FhIMx\nfyRzHAAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x568a330>"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.10,Page No.114"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_DC=L_BA=2 #m #Length of BA & DC\n",
+ "L_CB=1 #m #Length of CB\n",
+ "F_A=10 #KN #Force at pt A\n",
+ "F_B=20 #KN #Force at pt B\n",
+ "w=4 #KN.m #u.d.l\n",
+ "L=5 #m #Length of beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_D be the reactions at Pt D\n",
+ "R_D=F_B+F_A+w*L_DC #KN\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F at Pt A\n",
+ "V_A1=0 #KN\n",
+ "V_A2=F_A #KN\n",
+ "\n",
+ "#S.F At Pt B\n",
+ "V_B1=V_A2\n",
+ "V_B2=F_B+F_A\n",
+ "\n",
+ "#S.F at Pt C\n",
+ "V_C=F_B+F_A #KN \n",
+ "\n",
+ "#S.F At Pt D\n",
+ "V_D1=V_B2+w*L_DC\n",
+ "V_D2=F_B+F_A+w*L_DC-R_D\n",
+ "\n",
+ "#B.M At Pt A\n",
+ "M_A=0\n",
+ "\n",
+ "#B.M At Pt B\n",
+ "M_B=F_A*L_BA\n",
+ "\n",
+ "#B.M at Pt C\n",
+ "M_C=F_B*L_CB+F_A*(L_BA+L_CB) #KN\n",
+ "\n",
+ "#B.M At Pt D\n",
+ "M_D1=F_A*L+F_B*(L_CB+L_DC)+w*L_DC*L_DC*2**-1\n",
+ "M_D2=(F_A*L+F_B*(L_CB+L_DC)+w*L_DC*L_DC*2**-1)-M_D1\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_BA,L_BA,L_BA+L_CB,L_BA+L_CB+L_DC,L_BA+L_CB+L_DC]\n",
+ "Y1=[V_A1,V_A2,V_B1,V_B2,V_C,V_D1,V_D2]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "Y2=[M_A,M_B,M_C,M_D1,M_D2]\n",
+ "X2=[0,L_BA,L_CB+L_BA,L_CB+L_BA+L_DC,L_CB+L_BA+L_DC]\n",
+ "Z2=[0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEPCAYAAABFpK+YAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHOxJREFUeJzt3X1UVHXix/HP4FMBEpo6uOo5cDQV0GDUMk1WkIBMQVsf\nWk8ZqZw6dmrXbLfsbA/s2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0/9axiG\n8vLy9Oc//1kxMTFatWqV8vLyvMNNvo71tX3yMb6+tvMUxDh7XM4JWzp8+LAiIiL0ww8/aPTo0dq8\nebP69OljdSwgKBjjhy1NnjxZNTU1amho0L333kvpw1Y44wcAm2GMHwBshuIHAJuh+AHAZih+ALAZ\nih8AbIbiBwCb+T+gqVKkQGpm/QAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5531030>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYMAAAEPCAYAAACgFqixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl0lPW9x/H3BAgtTVhKJbkSOKEBhCySBUFFMClMUtDI\nogQRgYLUWq5XkFZRb1X03ppQqAjWXcD1SrDKWghLTRAiyGK8cGS7giMhJBGbEwkEDIS5fwwZEkiY\nkDwzzyyf1zk5J/PMM/N8zxyYb57f9/f7fS12u92OiIgEtCCzAxAREfMpGYiIiJKBiIgoGYiICEoG\nIiKCkoGIiODGZDB58mTCwsKIi4tzHnvkkUfo3bs3ffr0YdSoUfzwww/O5zIzM+nRowe9evVi/fr1\n7gpLRETq4bZkMGnSJHJycuocS01N5auvvuJ///d/6dmzJ5mZmQDs3buX7Oxs9u7dS05ODlOnTuX8\n+fPuCk1ERC7htmQwcOBAOnToUOeY1WolKMhxyf79+3P06FEAVqxYwdixY2nVqhWRkZF0796d7du3\nuys0ERG5hGk1g0WLFjFs2DAAjh07RkREhPO5iIgIioqKzApNRCTgmJIM/vznPxMcHMw999zT4DkW\ni8WDEYmIBLaWnr7gW2+9xZo1a/jnP//pPNa5c2cKCwudj48ePUrnzp0ve2337t05dOiQR+IUEfEX\nUVFRfP3111c+ye5G33zzjT02Ntb5eO3atfbo6Gj78ePH65z31Vdf2fv06WP/8ccf7YcPH7b/8pe/\ntJ8/f/6y93NzuD7l6aefNjsEr6HP4iJ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Ly+nqqqKp556SolA/JbuDERERDUDERFRMhAREZQMREQEJQMREUHJQEREUDIQERHg/wFXWigjzzxw\nCwAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5770ff0>"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.11,Page No.115"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "w=20 #KN/m #u.v.l\n",
+ "F_C=40 #KN #Force at Pt C\n",
+ "M_D=40 #KN.m #Moment at pt D\n",
+ "L_AB=3 #m #Length of AB\n",
+ "L_BC=1 #m #Length of BC\n",
+ "L_CD=L_DE=2 #m #Length of CD & DE\n",
+ "L=8 #8 #Length of beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A & R_E be the Reactions at A & E respectively\n",
+ "#R_A+R_E=70\n",
+ "\n",
+ "#Taking Moments At Pt A we get,M_A\n",
+ "R_E=(F_C*(L_AB+L_BC)+1*2**-1*L_AB*w*2+40)*L**-1\n",
+ "R_A=70-R_E\n",
+ "\n",
+ "#shear Force Calculations\n",
+ "\n",
+ "#S.F At Pt E\n",
+ "V_E1=0\n",
+ "V_E2=R_E #KN\n",
+ "\n",
+ "#S.F aT pt D\n",
+ "V_D=V_E2\n",
+ "\n",
+ "#S.F At PT C\n",
+ "V_C1=V_D\n",
+ "V_C2=V_D-F_C #KN\n",
+ "\n",
+ "#S.F At Pt A\n",
+ "V_A1=V_C2-(1*2**-1*w*L_AB)\n",
+ "V_A2=V_A1+R_A\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At Pt E\n",
+ "M_E=0\n",
+ "\n",
+ "#B.M At Pt D\n",
+ "M_D1=M_E-R_E*L_DE\n",
+ "M_D2=M_D1+M_D\n",
+ "\n",
+ "#B.M At Pt C\n",
+ "M_C=-R_E*(L_DE+L_CD)+M_D\n",
+ "\n",
+ "#B.M At Pt B\n",
+ "M_B=-R_E*(L_DE+L_CD+L_BC)+M_D+F_C*L_BC\n",
+ "\n",
+ "#B.M At Pt A\n",
+ "M_A=-R_E*L+M_D+(1*2**-1*L_AB*w*2)+F_C*(L_BC+L_AB)\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_DE,L_CD+L_DE,L_CD+L_DE,L_CD+L_DE+L_AB,L_CD+L_DE+L_AB]\n",
+ "Y1=[V_E1,V_E2,V_D,V_C1,V_C2,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "Y2=[M_E,M_D1,M_D2,M_C,M_B,M_A]\n",
+ "X2=[0,L_DE,L_DE,L_CD+L_DE,L_DE+L_CD+L_BC,L_AB+L_BC+L_CD+L_DE]\n",
+ "Z2=[0,0,0,0,0,0]\n",
+ "plt.plot(X2,Y2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtYVH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uHHSkiVLJEmSpNzcXGnu3Llm/6yIuuJQax8R9VRzczM+++yzTksFt7a2AjCuH9Sx\n0mtoaCgaGhoAAAcPHkR8fDwAyNddMMXT0xOzZ88GAIwbNw6FhYVXPef666/Hhg0bMHnyZKxZswb+\n/v7dZjaV60r+/v7yomxhYWGYNm0aAGDUqFGorKzsdhtEprAUyKkZDAYMGTIER48e7fJxT09P+bb0\ny+k1hULysHnuAAABU0lEQVTR6ZoFUjen3Tw8POTbbm5uaGtr6/J5x44dw/Dhwy2+KFRXua7Uv3//\nTtvueE13OYjM4TkFcmqDBg2Cv78//vnPfwIwvsEeO3as29fcfvvtyMnJgSRJaGhowL59++THvL29\ncfbs2R5l+O677/DSSy/JF5jp6joC3RUPkS2xFMipXLhwAX5+fvLXK6+8gvfeew8bN25EeHg4Ro0a\nhby8PPn5ly9B3XF7/vz5UKlU0Gg0WLx4McaOHStfj/eBBx7AjBkz5BPNV77+yiWtJUlCcnIyXnzx\nRfj4+GDjxo1ITk6WD2GZeq2p21e+xtT3jra0NtkPjqQSdeH8+fPw8vLCmTNnEBkZiUOHDmHEiBGi\nYxFZHc8pEHVhzpw5aGpqQmtrK5566ikWArkM7ikQEZGM5xSIiEjGUiAiIhlLgYiIZCwFIiKSsRSI\niEjGUiAiItn/A+2hg5gYC1MHAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5780450>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlY1OX+//HnKLjk2mJmjIYKBgOIuLaHKZqWlpooVlqm\npxO2WFZq7paipi1amHayPSUzf2ilRy0x14O55NEpBINvCloeTQU3BD6/P26ZXBgZmBnumeH9uC6u\nYJiZzyvUz829vW+TYRgGQgghBFBFdwAhhBCeQxoFIYQQNtIoC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Vf6+kd53n/dP4PXqBVOnwpIl0Lev7jTCWVlZag4hNdX7e7K+wm6j8Nxzz/H222/To0ePy75n\nMplYVsqi8ZiYGA4dOnTZ41OmTKGgoIC//vqLLVu2sHXrVmJjY/nNTsEek52/KRc2VtHR0URHR18x\nT2XWs6e6kS5eDN5+xLbJBK+9Bs8/D717q96D8F7PPqv+LJs1053EN6WkpJCSklKm19htFB49fzL2\niBEjyhVm9erVdr83d+5cevfuDUC7du2oUqUK//vf/wgICGD//v225x04cICAgIAS38MdPRhfVXwj\nffpp6NNHzTV4s65d1alsn32mVqwI75ScDHv3+sbOe0916S/MkxypMGlo8N577xnjx483DMMw0tLS\njMaNGxuGYRh79uwxIiMjjbNnzxq//fab0axZM6OoqOiy12uK7dWKigzj7rsNY8GCix9PSjKMvn21\nRHLKunWGERhoGGfP6k4iyiMvzzCaNDGM77/XnaRyceTeafd3xoiICLsNiclkYteuXWVory42ePBg\nBg8eTEREBNWqVeOTTz4BwGKxEBsbi8Viwc/Pj8TERLvDR6JsTCZ1aM3DD8OAAVC9uu5EzrnrLmjR\nQu3F+Oc/dacRZTV5Mtx5p1oVJzyL3c1rWVlZACQmJgJqOMkwDD7//HMArWcpyOa18uveXU04Dxum\nvvaWzWsl2bpVTTynp0PNmrrTCEft3q02IO7eDQ0b6k5Tubik9lGrVq3YuXPnRY9FRUWxY8cO5xOW\nkzQK5bd9O/TooW6kV13l3Y0CqEbhzjtViW3h+YqK4O671Z6T+HjdaSofl+xoNgyDDRs22L7euHGj\n3JC9WOvWcOut8O67upO4xquvqoPdndw6IyrIxx/D2bPw5JO6kwh7Su0pbNu2jccff5zjx48DUL9+\nfT788ENat25dIQFLIj0F51itqvueng4rV3p3TwHUPEloqNqLITzXkSMQFqZ2pGu8fVRqLiudDdga\nhXr16jmfzEnSKDhv4EB15kJIiPc3CunpqveTng5XX607jbBn6FA19zN7tu4klZdLGoUzZ86wZMkS\nsrKyKCgosL3x+PHjXZe0jKRRcN5vv0H79mr/wg8/eHej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ugjnnnmmSte80JZWVmEhITw+OOPc/PNN/Pwww+zatUqbr/9dlq0aMHW\nrVvd9aMSlZA0CqLS+cc//sGcOXP46aefeP3114mPj7d979ChQ2zcuJFvvvmGUaNGAfD111/zf//3\nf/zyyy98+umnbN68+aIeSIMGDdi2bRtPPfUUM2fOJDAwkH/+85+88MIL7NixgzvuuOOi61/aeynp\nmpfat28fL774Ir/++itpaWkkJSWxceNGZs6cydSpU131oxFCho9E5ZKXl8fmzZsvKnGcn58PqJt1\ncaXY0NBQ/vjjDwA2bNhAbGwsgO08hwv17t0bgNatW/P111/bHnekgoy9a16qadOmtoJwYWFhtlr4\n4eHhZGVllXodIRwljYKoVIqKiqhfvz47duwo8fvVqlWzfV58U7903uDSm3316tUBqFq1KgUFBWXO\nVNI1L1V8DVBnSxS/pkqVKuW6phD2yPCRqFTq1q1L06ZN+eqrrwB1E961a9cVX3P77bezZMkSDMPg\njz/+YN26daVep06dOrYS1ZeSGpTCk0mjIHzaqVOnaNy4se3jrbfe4vPPP+eDDz6gVatWhIeHs2zZ\nMtvzLxzvL/68T58+mM1mLBYLjz76KK1bty7xvGCTyWR7TY8ePVi6dClRUVFs3LjR7vPsXbOk97b3\ntZxIKFxJSmcL4YCTJ09Sq1Ytjhw5QocOHdi0aRPXX3+97lhCuJzMKQjhgPvvv59jx46Rn5/P+PHj\npUEQPkt6CkIIIWxkTkEIIYSNNApCCCFspFEQQghhI42CEEIIG2kUhBBC2EijIIQQwub/A4tFvTZr\nGhPHAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5531c90>"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.12,Page No.116"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F_G=10 #KN #Force at Pt G\n",
+ "F_B=F_E=15 #KN #Force at Pt B & E\n",
+ "w=20 #KN/m #U.d.L\n",
+ "L_FG=L_EF=L_DE=L_CD=L_BC=L_AB=1 #m #Lengths of FG,EF,DE,CD,BC,AB respectively\n",
+ "L=6 #m #Length of beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#LEt R_F & R_A be the Reactions at E & A respectively\n",
+ "#R_F+R_A=60\n",
+ "\n",
+ "#Taking Moment At Pt A,M_A\n",
+ "R_F=(F_G*L+F_E*(L_AB+L_BC+L_CD+L_DE)+w*L_CD*(L_AB+L_BC+L_CD*2**-1)+F_B*L_AB)*(L_AB+L_BC+L_CD+L_DE+L_EF)**-1\n",
+ "R_A=60-R_F\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At G\n",
+ "V_G1=0 #KN \n",
+ "V_G2=F_G #KN\n",
+ "\n",
+ "#S.F At F\n",
+ "V_F1=V_G2 #KN\n",
+ "V_F2=V_F1-R_F\n",
+ "\n",
+ "#S.F At E\n",
+ "V_E1=V_F2 #KN\n",
+ "V_E2=V_F2+F_E\n",
+ "\n",
+ "#S.F At D\n",
+ "V_D=V_E2\n",
+ "\n",
+ "#S.F At C\n",
+ "V_C=V_E2+w*L_CD\n",
+ "\n",
+ "#S.F At B\n",
+ "V_B1=V_C\n",
+ "V_B2=V_B1+F_B\n",
+ "\n",
+ "#S.F At A\n",
+ "V_A1=V_B2\n",
+ "V_A2=V_B2-R_A\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M At Pt G\n",
+ "M_G=0\n",
+ "\n",
+ "#B.M At F\n",
+ "M_F=F_G*L_FG \n",
+ "\n",
+ "#B.M At E\n",
+ "M_E=F_G*(L_FG+L_EF)-R_F*L_EF\n",
+ "\n",
+ "#B.M At D\n",
+ "M_D=F_G*(L_FG+L_EF+L_DE)-R_F*(L_EF+L_DE)+F_E*L_DE\n",
+ "\n",
+ "#B.M At C\n",
+ "M_C=F_G*(L_FG+L_EF+L_DE+L_CD)-R_F*(L_EF+L_DE+L_CD)+F_E*(L_DE+L_CD)+w*L_CD*L_CD*2**-1\n",
+ "\n",
+ "#B.M At B\n",
+ "M_B=F_G*(L_FG+L_EF+L_DE+L_CD+L_BC)-R_F*(L_EF+L_DE+L_CD+L_BC)+F_E*(L_DE+L_CD+L_BC)+w*L_CD*(L_CD*2**-1+L_BC)\n",
+ "\n",
+ "#B.M At A\n",
+ "M_A=F_G*L-R_F*(L_EF+L_DE+L_CD+L_BC+L_AB)+F_E*(L_DE+L_CD+L_BC+L_AB)+F_B*L_AB+w*L_CD*(L_CD*2**-1+L_BC+L_AB)\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,0,L_FG,L_FG,L_FG+L_EF,L_FG+L_EF,L_FG+L_EF+L_DE,L_FG+L_EF+L_DE+L_CD,L_FG+L_EF+L_DE+L_CD+L_BC,L_FG+L_EF+L_DE+L_CD+L_BC,L_FG+L_EF+L_DE+L_CD+L_BC+L_AB,L_FG+L_EF+L_DE+L_CD+L_BC+L_AB]\n",
+ "Y1=[V_G1,V_G2,V_F1,V_F2,V_E1,V_E2,V_D,V_C,V_B1,V_B2,V_A1,V_A2]\n",
+ "Z1=[0,0,0,0,0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_FG,L_EF+L_FG,L_EF+L_FG+L_DE,L_EF+L_FG+L_DE+L_CD,L_EF+L_FG+L_DE+L_CD+L_BC,L_EF+L_FG+L_DE+L_CD+L_BC+L_AB]\n",
+ "Y2=[M_G,M_F,M_E,M_D,M_C,M_B,M_A]\n",
+ "Z2=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X2,Y2)\n",
+ "plt.xlabel(\"Lenght in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHZJJREFUeJzt3XtYVAX+x/HPIOgmYt6hB3ie8eESF03whtZaoIKVK1kq\nhWUsZvbLrd32ktlly3IT3GrLLm5tP1O7PWnLFtiF1DVMKjTDbFf2UUowQGBLIu+LwPn9wXp+KgyD\nOTMHhvfreXicyxnPZ8pnPpzznXOOzTAMQwAASPKxOgAAoPOgFAAAJkoBAGCiFAAAJkoBAGCiFAAA\nJstK4cSJE0pISFBcXJxiYmJ07733SpLq6uqUnJysyMhIpaSkqL6+3qqIANDt2Kw8TuHYsWPq3bu3\nGhsb9dOf/lSPP/648vLyNGjQIC1cuFDLli3T999/r+zsbKsiAkC3Yunuo969e0uSGhoa1NTUpP79\n+ysvL08ZGRmSpIyMDL399ttWRgSAbsXSUmhublZcXJwCAwOVlJSk2NhY1dbWKjAwUJIUGBio2tpa\nKyMCQLfia+XKfXx89MUXX+iHH37QlClT9OGHH57xvM1mk81msygdAHQ/lpbCKRdeeKGmTp2qzz//\nXIGBgaqpqVFQUJCqq6s1ZMiQVsuHh4fr66+/tiApAHRdYWFh+uqrr9pdxrLdR9999535zaLjx49r\n48aNio+PV2pqqtasWSNJWrNmjaZPn97qtV9//bUMw/Dan4ceesjyDLw/3l93fH/e/N4Mw+jQL9OW\nbSlUV1crIyNDzc3Nam5u1pw5czRp0iTFx8crLS1NK1eulN1u17p166yKCADdj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gw245133jEMwzAWLlxo/OEPf2i1/mPHjhmxsbHG5s2bjYsvvtjYt29fq2VWr15t3HHHHe3mOl1Z\nWZnh6+tr/POf/zSam5uNUaNGGXPnzjUMwzByc3ON6dOnO/1vBbSlS537CDhXR44c0aeffqpZs2aZ\njzU0NEhqOX/PqTO1RkdHq7a2VpJUWFiotLQ0STKvjeBIz549NXXqVEnSqFGjtHHjxlbLXHDBBXrx\nxRc1YcIELV++XEOHDm03s6NcZxs6dKh5UrPY2FhNnjxZkjRs2DCVl5e3uw7AEUoBXq25uVn9+vXT\nzp0723y+Z8+e5m3jv+M1m812xjUDjHbGbn5+fuZtHx8fNTY2trncl19+qcGDB3f4olBt5Tpbr169\nzlj3qde0lwNwhpkCvFrfvn01dOhQ/fWvf5XU8gH75Zdftvuayy67TDk5OTIMQ7W1tdqyZYv5XEBA\ngA4dOnROGfbv368//elP5gVc2jpPf3vFA3gSpQCvcuzYMYWGhpo/Tz31lF577TWtXLlScXFxGjZs\nmPLy8szlTz8F9KnbM2bMUEhIiGJiYjRnzhyNHDnSvJ7t/PnzdeWVV5qD5rNff/YppQ3D0Lx58/TE\nE08oKChIK1eu1Lx588xdWI5e6+j22a9xdN/bTm0Nz+ErqUAbjh49Kn9/fx08eFAJCQn65JNPNGTI\nEKtjAW7HTAFow89+9jPV19eroaFBDz74IIWAboMtBQCAiZkCAMBEKQAATJQCAMBEKQAATJQCAMBE\nKQAATP8HttSK1NQ812EAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5770050>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEPCAYAAACtCNj2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtclHX6//HXcLATeMrUCg1DXUBIUDcss8YUj2FqmonV\npmW11pq11dq2KprHTduyo5racVu3r7qorWRZqJn9sEQzzyfMUMzDWi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wefce+991odlqmu\nvPJKAK644gp69+5NTk6OxRGZJyoqiqioKH7/+98D0LdvX9auXVvuc/0qKbRp04bt27eTl5dHcXEx\nc+fOpWfPnlaHJS5yOBzcf//9xMfHM3z4cKvDMdWhQ4c4evQoAL/88guffPKJ81BmIJgwYQJ79+5l\n9+7d/Otf/+LWW2/lnXfesTos0xQVFTlL6hw/fpylS5cG1C7Ahg0b0qhRI7Zt2wbAp59+SosWLcp9\nrmUF8aojLCyMV155hS5dulBSUsL9999PXFyc1WGZZsCAASxfvpzDhw/TqFEjxo4dy6BBg6wOyzSr\nVq3ivffec277A5g4cSJdu3a1ODL37d+/nz/84Q+cPn2a06dPc88999CxY0erw/KYQJvKPXDgAL17\n9waMqZaBAwfSuXNni6My18svv8zAgQMpLi4mJiaGOXPmlPs8HV4TEREnv5o+EhERz1JSEBERJyUF\nERFxUlIQEREnJQUREXFSUhARESclBQloni6jER0dzZEjR8o8vnz5clavXl3uaxYtWhRwZd8lcPjV\n4TWRqvL0ISubzVZuLaDPP/+cyMhIbrjhhjI/S0tLC8h+BBIYNFKQoLNz5066detGmzZtuPnmm9m6\ndSsA9913H4899hjt2rUjJiaGefPmAUb106FDhxIXF0fnzp3p0aOH82dgnBRt3bo11113HVu3biUv\nL4/p06fzj3/8g+TkZL744otS93/rrbf405/+dMF7nisvL4/Y2FgGDRrE7373OwYOHMjSpUtp164d\nzZs3Z82aNZ76VyVBSElBgs6DDz7Iyy+/zNdff83zzz/P0KFDnT8rKChg1apVLF68mBEjRgAwf/58\n9uzZw+bNm3n33XdZvXp1qRHIFVdcwTfffMMf//hHpkyZQnR0NA8//DBPPPEEubm53HTTTaXuf/7o\npbx7nm/nzp08+eSTbNmyha1btzJ37lxWrVrFlClTmDBhgln/akQ0fSTBpbCwkNWrV9OvXz/nY8XF\nxYDxZn22cmtcXBwHDhwA4IsvvuDOO+8EcPZKOFefPn0AaNWqFfPnz3c+7koFmYrueb4mTZo4C5i1\naNGCTp06AZCQkEBeXl6l9xFxlZKCBJXTp09Tu3ZtcnNzy/15jRo1nN+ffVM/f93g/Df7iy66CIDQ\n0FBOnTpV5ZjKu+f5zt4DjL4NZ18TEhJSrXuKVETTRxJUatasSZMmTfi///s/wHgT/vbbby/4mnbt\n2jFv3jwcDgcHDhxg+fLlld4nMjLSWYr5fKpBKb5MSUECWlFREY0aNXJ+vfjii7z//vvMmjWLpKQk\nEhISWLhwofP55873n/3+jjvuICoqivj4eO655x5atWpVbn9bm83mfE1aWhoLFiwgOTmZVatWVfi8\niu5Z3rUr+nOglbEWa6l0togLjh8/zmWXXcbhw4dJSUnhyy+/pH79+laHJWI6rSmIuOC2227j6NGj\nFBcXM2rUKCUECVgaKYiIiJPWFERExElJQUREnJQURETESUlBRESclBRERMRJSUFERJz+P8O/Vq30\nkcIBAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5566710>"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3.13,Page No.117"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "L_AB=L_BC=L_CD=L_DE=L_EF=1 #m #LEngth of AB,BC,CD,DE,EF respectively\n",
+ "M_A=50 #KN/m #Moment at A\n",
+ "w=5 #KN/m #u.v.l\n",
+ "F_D=10 #KN\n",
+ "w2=5 #KN/m #u.d.l\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_B & R_E be the Reactions at B and E respectively\n",
+ "#R_B+R_E=20\n",
+ "\n",
+ "#Taking Moment At Pt B,M_B\n",
+ "R_E=(w2*L_EF*(L_EF*2**-1+L_DE+L_CD+L_BC)+w*L_BC*2**-1*2*3**-1+50+F_D*(L_BC+L_CD))*3**-1\n",
+ "R_B=17.5-R_E #KN\n",
+ "\n",
+ "#Shear Force Calculations\n",
+ "\n",
+ "#S.F At F\n",
+ "V_F=0\n",
+ "\n",
+ "#S.F aT E\n",
+ "V_E1=-w2*L_EF #KN\n",
+ "V_E2=V_E1+R_E\n",
+ "\n",
+ "#S.F at D\n",
+ "V_D1=R_E-w2*L_EF #KN\n",
+ "V_D2=V_D1-F_D #KN\n",
+ "\n",
+ "#S.F At C\n",
+ "V_C=V_D2\n",
+ "\n",
+ "#S.F aT B\n",
+ "V_B1=-L_BC*w*2**-1-F_D+R_E-w2*L_EF\n",
+ "V_B2=V_B1+R_B\n",
+ "\n",
+ "#Bending Moment Calculations\n",
+ "\n",
+ "#B.M at F\n",
+ "M_F=0 #KN.m\n",
+ "\n",
+ "#B.M At E\n",
+ "M_E=w2*L_EF*L_EF*2**-1 #KN.m\n",
+ "\n",
+ "#B.M at D\n",
+ "M_D=-R_E*L_DE+w2*L_EF*(L_EF*2**-1+L_DE) #KN.m\n",
+ "\n",
+ "#B.M At C\n",
+ "M_C=F_D*L_CD*R_E*(L_CD+L_DE)+w2*L_EF*(L_EF*2**-1+L_DE+L_CD) #KN.m\n",
+ "\n",
+ "#B.M At B\n",
+ "M_B=F_D*(L_CD+L_BC)-R_E*(L_BC+L_CD+L_DE)+w2*L_EF*(L_EF*2**-1+L_BC+L_CD+L_DE)+1*2**-1*L_BC*w*2*3**-1\n",
+ "\n",
+ "#B.M At A\n",
+ "M_A1=w*L_EF*(L_EF*2**-1+L_AB+L_BC+L_CD+L_DE)-R_E*(L_AB+L_BC+L_CD+L_DE)+F_D*(L_AB+L_BC+L_CD)+1*2**-1*L_BC*w*(2*3**-1*L_BC+L_AB)-R_B*L_AB\n",
+ "M_A2=M_A1+M_A\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,L_EF,L_EF,L_DE+L_EF,L_DE+L_EF,L_CD+L_DE+L_EF,L_CD+L_DE+L_EF+L_BC,L_CD+L_DE+L_EF+L_BC]\n",
+ "Y1=[V_F,V_E1,V_E2,V_D1,V_D2,V_C,V_B1,V_B2]\n",
+ "Z1=[0,0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Plotting the Bendimg Moment Diagram\n",
+ "\n",
+ "X2=[0,L_EF,L_DE+L_EF,L_CD+L_DE+L_EF,L_CD+L_DE+L_EF+L_BC,L_CD+L_DE+L_EF+L_BC+L_AB,L_CD+L_DE+L_EF+L_BC+L_AB]\n",
+ "Y2=[M_F,M_E,M_D,M_C,M_B,M_A1,M_A2]\n",
+ "Z2=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Length in m\")\n",
+ "plt.ylabel(\"Bending Moment in kN.m\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEPCAYAAABCyrPIAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHYxJREFUeJzt3Xl0VPXdx/HPDQSULLJIFkmeJoc1CyRhMSKmJkAii0Rq\nQKVVI0vhgUcshWrpqfWJB0WsWkW0lVpELdaNHCSKTUUxogiiNREVH0RJbIAkomkOe7Pd549MRkIy\nmWQyM3eSvF/nzMnMnTv3983vkPnwu7+7GKZpmgIAdHt+VhcAAPANBAIAQBKBAACwIRAAAJIIBACA\nDYEAAJDkhUAoLS1VWlqa4uLiFB8fr0cffVSSlJOTo4iICCUlJSkpKUn5+fmeLgUA0ArD0+chlJeX\nq7y8XImJiTp58qTGjBm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Y\nsEELFiyw77Zy9FlHz8//jKPXvninO3RuHHaKbuvUqVMKCAjQ999/r+TkZL3//vsKCQmxuizAMswh\noNu6+uqrVVVVperqat11112EAbo9RggAAEnMIQAAbAgEAIAkAgEAYEMgAAAkEQgAABsCAQAgSfp/\np8METwRPdJcAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x54b17d0>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtU1HX+x/HnIGgpeEllyBltXFEBsUBNK1NRAe+3UkxM\nSLM6689fVr9dtW23dC+CW7ubtnnadQW1XEVzFWyL1JJSs/C62mIhJgrDxVJJ8BIC398fXxlvwAww\nw3cu78c5nGBmvjMvZt1587nrFEVREEIIIazw0jqAEEII1yAFQwghhE2kYAghhLCJFAwhhBA2kYIh\nhBDCJlIwhBBC2ESzgvHtt98SHh5u+WrTpg3Lly/n/PnzREVF0aNHD6KjoykpKbFck5CQQPfu3QkK\nCmL79u1aRRdCCI+kc4Z1GFVVVRgMBjIzM3nrrbfo0KED8+fPZ+nSpVy4cIHExESysrKIjY1l//79\nmM1mIiMjyc7OxstLGklCCNEUnOLTdufOnQQGBtK5c2fS0tKIj48HID4+nq1btwKQmprKtGnT8PHx\nwWQyERgYSGZmppaxhRDCozhFwdiwYQPTpk0DoLi4GL1eD4Ber6e4uBiAgoICjEaj5Rqj0YjZbG76\nsEII4aE0Lxjl5eVs27aNKVOm3HGfTqdDp9PVem1d9wkhhLAvb60DfPTRR/Tt25eOHTsCaquiqKiI\ngIAACgsL8ff3B8BgMJCXl2e5Lj8/H4PBcMfzBQYGcvLkyaYJL4QQbqJbt27k5OTU+RjNWxjr16+3\ndEcBjB8/njVr1gCwZs0aJk6caLl9w4YNlJeXc+rUKU6cOEH//v3veL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VIYNG6YoiqLEx8cr\nMTExiqIoSlZWlhIYGKgoiqJs2rRJGT16tKIoilJUVKS0a9dO2bx5s6IoimIymZRz585Znlun0ykf\nfPCBoiiKMn/+fOX3v//9Ha+/evVqZe7cuXW+5s1OnTqleHt7K19//bVSVVWl9O3bV5k1a5aiKIqS\nmpqqTJw4sb5vixC18ta6YAnhLMrKyti3bx9Tpkyx3FZeXg6o+w1V73YbHBxMcXExAHv27CEmJgbA\ncs5EbZo3b86YMWMA6Nu3Lzt27KgzT22vebuuXbvSq1cvAHr16kVkZCQAoaGh5Obm1vkaQtSHFAwh\nrquqqqJt27YcPny4xvubN29u+V65PvSn0+luOVNBqWNI0MfHx/K9l5cXFRUVVjPV9Jq3a9GixS3P\nW32Nra8hhK1kDEOI61q3bk3Xrl15//33AfUD+ujRo3VeM3DgQDZv3oyiKBQXF/PZZ59Z7vPz8+Pi\nxYv1ylBXwRFCa1IwhMe6fPkynTt3tny9+eabrFu3jlWrVhEWFkZoaChpaWmWx9+8DXb1948//jhG\no5GQkBBmzJhBnz59aNOmDQDPPvssI0eOtAx63359Tdtq3357bd/ffk1tP3vy1t3C/mRarRCNdOnS\nJVq1asW5c+cYMGAAX3zxBf7+/lrHEsLuZAxDiEYaO3YsJSUllJeX8+qrr0qxEG5LWhhCCCFsImMY\nQgghbCIFQwghhE2kYAghhLCJFAwhhBA2kYIhhBDCJlIwhBBC2OT/Afgh7irtHHa4AAAAAElFTkSu\nQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x56940b0>"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_4.ipynb b/Strength Of Materials/chapter_4.ipynb
new file mode 100644
index 00000000..728e0ff6
--- /dev/null
+++ b/Strength Of Materials/chapter_4.ipynb
@@ -0,0 +1,1644 @@
+{
+ "metadata": {
+ "name": "chapter_4.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4:Stresses in Beams"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.1,Page no.130"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=5000 #mm #Length of Beam\n",
+ "a=2000 #mm #Length of start of beam to Pt Load\n",
+ "b=3000 #mm #Length of Pt load to end of beam\n",
+ "A=150*250 #m**2 #Area of beam \n",
+ "b=150 #mm #Width of beam\n",
+ "d=250 #mm #Depth of beam\n",
+ "sigma=10#N/mm**2 #stress\n",
+ "l=2000 #m #Load applied from one end\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=1*12**-1*b*d**3 #m**4\n",
+ "\n",
+ "#Distance from N.A to end\n",
+ "y_max=d*2**-1 #m\n",
+ "\n",
+ "#Section Modulus\n",
+ "Z=1*6**-1*b*d**2 #mm**3\n",
+ "\n",
+ "#Moment Carrying Capacity\n",
+ "M=sigma*Z #N-mm\n",
+ "\n",
+ "#Let w be the Intensity of the Load in N/m,then Max moment\n",
+ "#M_max=w*L**2*8**-1 #N-mm\n",
+ "#After substituting values and further simplifying we get\n",
+ "#M_max=w*25*100*8**-1\n",
+ "\n",
+ "#EQuating it to moment carrying capacity,we get max intensity load\n",
+ "w=M*(25*1000)**-1*8*10**-3\n",
+ "\n",
+ "#Part-2\n",
+ "\n",
+ "#Let P be the concentrated load,then max moment occurs under the load and its value\n",
+ "#M1=P*a*b*L**-1 #N-mm\n",
+ "\n",
+ "#Equting it to moment carrying capacity we get\n",
+ "P=M*1200**-1*10**-3 #N\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Intensity of u.d.l it can carry\",round(w,3),\"KN-m\"\n",
+ "print\"MAx concentrated Load P apllied at 2 m from one end is\",round(P,3),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Intensity of u.d.l it can carry 5.0 KN-m\n",
+ "MAx concentrated Load P apllied at 2 m from one end is 13.021 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.2,Page no.131"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D=70 #mm #External Diameter\n",
+ "t=8 #mm #Thickness of pipe\n",
+ "L=2500 #mm #span \n",
+ "sigma=150 #N/mm**2 #stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Internal Diameter \n",
+ "d=D-2*t #mm\n",
+ "\n",
+ "#M.I Of Pipe\n",
+ "I=pi*64**-1*(D**4-d**4) #mm**4\n",
+ "\n",
+ "y_max=D*2**-1 #mm\n",
+ "Z=I*(y_max)**-1 #mm**3\n",
+ "\n",
+ "#Moment Carrying capacity\n",
+ "M=sigma*Z #N*mm\n",
+ "\n",
+ "#Max moment int the beam occurs at the mid-span and is equal to\n",
+ "#m=P*L*4**-1\n",
+ "\n",
+ "#Equating Max moment to moment carrying capacity we get,\n",
+ "#M=P*2.5*L*4**-1\n",
+ "#After substituting and simplifying we get\n",
+ "P=4*M*(L)**-1*10**-3 #N\n",
+ "\n",
+ "#Result\n",
+ "print\"Max concentrated load that can be applied at the centre of span is\",round(P,3),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max concentrated load that can be applied at the centre of span is 5.22 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.3,Page no.132"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Plate dimensions\n",
+ "b1=240 #mm\n",
+ "d1=12 #mm\n",
+ "\n",
+ "#Flange Dimensions\n",
+ "b2=180 #mm\n",
+ "d2=10 #mm\n",
+ "\n",
+ "#web\n",
+ "b3=8 #mm\n",
+ "d3=480 #mm\n",
+ "\n",
+ "D=500 #mm\n",
+ "sigma=150 #N/mm**2 #Stress\n",
+ "L=3000 #mm #span\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "\n",
+ "\n",
+ "#C.G of plate\n",
+ "y_bar1=(b1*d1*(d1*2**-1+D))*(b1*d1)**-1 #m\n",
+ "\n",
+ "#C.G of top flange\n",
+ "y_bar2=(b2*d2*(D-d2*2**-1))*(b2*d2)**-1 #m\n",
+ "\n",
+ "#C.G of web\n",
+ "y_bar3=(b3*d3*(d3*2**-1+d2))*(b3*d3)**-1 #m\n",
+ "\n",
+ "#C.G of bottom flange\n",
+ "y_bar4=(b2*d2*(d2*2**-1))*(b2*d2)**-1 #m\n",
+ "\n",
+ "#C.G of Body \n",
+ "Y=((b1*d1*(d1*2**-1+D))+(b2*d2*(D-d2*2**-1))+(b3*d3*(d3*2**-1+d2))+(b2*d2*(d2*2**-1)))*((b1*d1)+(b2*d2)+(b3*d3)+(b2*d2))**-1\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I1=(1*12**-1*b1*d1**3+b1*d1*(d1*2**-1-round(Y,3)+D)**2) #mm**4\n",
+ "I2=(1*12**-1*b2*d2**3+b2*d2*(D-d2*2**-1-round(Y,3))**2) #mm**4\n",
+ "I3=(1*12**-1*b3*d3**3+b3*d3*(d3*2**-1-round(Y,3))**2) #mm**4\n",
+ "I4=(1*12**-1*b2*d2**3+b2*d2*(round(Y,3)-d2*2**-1)**2) #mm**4\n",
+ "I=(I1+I2+I3+I4)*10**-8 #mm*4\n",
+ "\n",
+ "#Moment of resistance\n",
+ "MR=sigma*I*Y**-1\n",
+ "\n",
+ "#MaX mOMENT PRODUCED after simplifying we get\n",
+ "#MM=4.5*w\n",
+ "\n",
+ "#After equating Moment of resistance to max moment we get\n",
+ "w=198.769*4.5**-1 #KN-m\n",
+ "\n",
+ "#Result\n",
+ "print\"Moment of Resistance is\",round(MR,2),\"KN-mm\"\n",
+ "print\"Load the section can carry is\",round(w,3),\"KN/m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Moment of Resistance is 2.02 KN-mm\n",
+ "Load the section can carry is 44.171 KN/m\n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.4,Page no.134"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Flange (Top)\n",
+ "b1=80 #mm #Width \n",
+ "t1=40 #mm #Thickness\n",
+ "\n",
+ "#Flange (Bottom)\n",
+ "b2=160 #mm #width\n",
+ "t2=40 #mm #Thickness\n",
+ "\n",
+ "#web\n",
+ "d=120 #mm #Depth\n",
+ "t3=20 #mm #Thickness\n",
+ "\n",
+ "D=200 #mm #Overall Depth\n",
+ "sigma1=30 #N/mm**2 #Tensile stress\n",
+ "sigma2=90 #N/mm**2 #Compressive stress\n",
+ "L=6000 #mm #Span\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Distance of centroid from bottom fibre\n",
+ "y_bar=(b1*t1*(D-t1*2**-1)+d*t3*(d*2**-1+t2)+b2*t2*t2*2**-1)*(b1*t1+d*t3+b2*t2)**-1 #mm\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=1*12**-1*b1*t1**3+b1*t1*(D-t1*2**-1-round(y_bar,2))**2+1*12**-1*t3*d**3+t3*d*(d*2**-1+t2-round(y_bar,2))**2+1*12**-1*b2*t2**3+b2*t2*(t2*2**-1-round(y_bar,2))**2\n",
+ "\n",
+ "#Extreme fibre distance of top and bottom fibres are y_t and y_c respectively\n",
+ "\n",
+ "y_t=y_bar #mm\n",
+ "y_c=D-y_bar #mm\n",
+ "\n",
+ "#Moment carrying capacity considering Tensile strength \n",
+ "M1=sigma1*I*y_t**-1*10**-6 #KN-m\n",
+ "\n",
+ "#Moment carrying capacity considering compressive strength \n",
+ "M2=sigma2*I*y_c**-1*10**-6 #KN-m\n",
+ "\n",
+ "#Max Bending moment in simply supported beam 6 m due to u.d.l\n",
+ "#M_max=w*L*10**-3*8**-1\n",
+ "#After simplifying further we get\n",
+ "#M_max=4.5*w\n",
+ "\n",
+ "#Now Equating it to Moment carrying capacity, we get load carrying capacity\n",
+ "w=M1*4.5**-1 #KN/m\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Uniformly Distributed Load is\",round(w,3),\"KN/m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Uniformly Distributed Load is 5.096 KN/m\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.5,Page no.136"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from scipy.integrate import *\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Flanges\n",
+ "b=200 #mm #Width\n",
+ "t=25 #mm #Thickness \n",
+ "\n",
+ "D1=500 #mm #Overall Depth\n",
+ "t2=20 #mm #Thickness of web\n",
+ "\n",
+ "d=450 #mm #Depth of web\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Consider,Element of Thickness \"y\" at Distance \"dy\" from N.A \n",
+ "#Let Bending stress \"sigma_max\"\n",
+ "\n",
+ "#Stress on the element \n",
+ "#sigma=y*(D*2**-1)*sigma_max ..............(1)\n",
+ "\n",
+ "#Area of Element\n",
+ "#A=b*dy .................................(2)\n",
+ "\n",
+ "#Force on Element \n",
+ "#F=y*250**-1*sigma_max*b*dy\n",
+ "\n",
+ "#Let M be the Moment of resistance\n",
+ "#M=y*250**-1*sigma_max*b*dy*y\n",
+ "\n",
+ "#Moment of Resistance of top flange after simplification we gget\n",
+ "#M.R=2258333.3*f\n",
+ "\n",
+ "#M.I of I section\n",
+ "I=1*12**-1*(b*D1**3-180*d**3)*10**-8\n",
+ "\n",
+ "#Moment acting on section \n",
+ "#After simplifying we get\n",
+ "#M=2865833.3*f\n",
+ "\n",
+ "#Percentage moment resistance\n",
+ "M1=2258333.3*2865833.3**-1*100\n",
+ "\n",
+ "#Percentage moment resisted by web\n",
+ "M2=100-M1\n",
+ "\n",
+ "#Result\n",
+ "print\"Percentage Moment resisted by Flanges\",round(M1,2),\"%\"\n",
+ "print\"Percentage Moment resisted by web\",round(M2,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percentage Moment resisted by Flanges 78.8 %\n",
+ "Percentage Moment resisted by web 21.2 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.6,Page no.137"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Flanges\n",
+ "b1=200 #mm #Width\n",
+ "t1=10 #mm #Thickness\n",
+ "\n",
+ "#Web\n",
+ "d=380 #mm #Depth \n",
+ "t2=8 #mm #Thickness\n",
+ "\n",
+ "D=400 #mm #Overall Depth\n",
+ "sigma=150 #N/mm**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Area\n",
+ "A=b1*t1+d*t2+b1*t1 #mm**2\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=1*12**-1*(b1*D**3-(b1-t2)*d**3)\n",
+ "\n",
+ "#Bending Moment\n",
+ "M=sigma*I*(D*2**-1)**-1\n",
+ "\n",
+ "#Square Section\n",
+ "\n",
+ "#Let 'a' be the side\n",
+ "a=A**0.5\n",
+ "\n",
+ "#Moment of Resistance of this section\n",
+ "M1=1*6**-1*a*a**2*sigma\n",
+ "\n",
+ "X=M*M1**-1\n",
+ "\n",
+ "#Rectangular section\n",
+ "#Let 'a' be the side and depth be 2*a\n",
+ "\n",
+ "a=(A*2**-1)**0.5\n",
+ "\n",
+ "#Moment of Rectangular secction\n",
+ "M2=1*6**-1*a*(2*a)**2*sigma\n",
+ "\n",
+ "X2=M*M2**-1\n",
+ "\n",
+ "#Circular section\n",
+ "#A=pi*d1**2*4**-1\n",
+ "\n",
+ "d1=(A*4*pi**-1)**0.5\n",
+ "\n",
+ "#Moment of circular section\n",
+ "M3=pi*32**-1*d1**3*sigma\n",
+ "\n",
+ "X3=M*M3**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Moment of resistance of beam section\",round(M,2),\"mm\"\n",
+ "print\"Moment of resistance of square section\",round(X,2),\"mm\"\n",
+ "print\"Moment of resistance of rectangular section\",round(X2,2),\"mm\"\n",
+ "print\"Moment of resistance of circular section\",round(X3,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Moment of resistance of beam section 141536000.0 mm\n",
+ "Moment of resistance of square section 9.58 mm\n",
+ "Moment of resistance of rectangular section 6.78 mm\n",
+ "Moment of resistance of circular section 11.33 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.7,Page no.139"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F=12 #KN #Force at End of beam\n",
+ "L=2 #m #span\n",
+ "\n",
+ "#Square section \n",
+ "b=d=200 #mm #Width and depth of beam\n",
+ "\n",
+ "#Rectangular section\n",
+ "b1=150 #mm #Width\n",
+ "d1=300 #mm #Depth\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Max bending Moment\n",
+ "M=F*L*10**6 #N-mm\n",
+ "\n",
+ "#M=sigma*b*d**2\n",
+ "sigma=M*6*(b*d**2)**-1 #N/mm**2\n",
+ "\n",
+ "#Let W be the central concentrated Load in simply supported beam of span L1=3 m\n",
+ "#MAx Moment\n",
+ "#M1=W*L1*4**-1\n",
+ "#After Further simplifying we get\n",
+ "#M1=0.75*10**6 #N-mm\n",
+ "\n",
+ "#The section has a moment of resistance\n",
+ "M1=sigma*1*6**-1*b1*d1**2\n",
+ "\n",
+ "#Equating it to moment of resistance we get max load W\n",
+ "#0.75*10**6*W=M1\n",
+ "#After Further simplifying we get\n",
+ "W=M1*(0.75*10**6)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Minimum Concentrated Load required to brek the beam\",round(W,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum Concentrated Load required to brek the beam 54.0 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.8,Page no.140"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=3 #m #span\n",
+ "sigma_t=35 #N/mm**2 #Permissible stress in tension\n",
+ "sigma_c=90 #N/mm**2 #Permissible stress in compression\n",
+ "\n",
+ "#Flanges\n",
+ "t=30 #mm #Thickness\n",
+ "d=250 #mm #Depth\n",
+ "\n",
+ "#Web\n",
+ "t2=25 #mm #Thickness\n",
+ "b=600 #mm #Width\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let y_bar be the Distance of N.A from Extreme Fibres\n",
+ "y_bar=(t*d*d*2**-1*2+(b-2*t)*t2*t2*2**-1)*(t*d*2+(b-2*t)*t2)**-1\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=(1*12**-1*t*d**3+t*d*(d*2**-1-y_bar)**2)*2+1*12**-1*(b-2*t)*t2**3+(b-2*t)*t2*(t2*2**-1-y_bar)**2\n",
+ "\n",
+ "#Part-1\n",
+ "\n",
+ "#If web is in Tension\n",
+ "y_t=y_bar #mm\n",
+ "y_c=d-y_bar #mm\n",
+ "\n",
+ "#Moment carrying caryying capacity From consideration of tensile stress\n",
+ "M=sigma_t*I*(y_bar)**-1 #N-mm\n",
+ "\n",
+ "#Moment carrying caryying capacity From consideration of compressive stress\n",
+ "M1=sigma_c*I*(y_c)**-1 #N-mm\n",
+ "\n",
+ "#If w KN/m is u.d.l in beam,Max bending moment\n",
+ "#M=wl**2*8**-1\n",
+ "#After further simplifyng we get\n",
+ "#M=1.125*w*10**6 N-mm\n",
+ "w=M*(1.125*10**6)**-1 #KN\n",
+ "\n",
+ "#Part-2\n",
+ "\n",
+ "#If web is in compression\n",
+ "y_t2=178.299 #mm\n",
+ "y_c2=71.71 #mm \n",
+ "\n",
+ "#Moment carrying caryying capacity From consideration of tensile stress\n",
+ "M2=sigma_t*I*(y_t2)**-1 #N-mm\n",
+ "\n",
+ "#Moment carrying caryying capacity From consideration of compressive stress\n",
+ "M3=sigma_c*I*(y_c2)**-1 #N-mm\n",
+ "\n",
+ "#Moment of resistance is M2\n",
+ "\n",
+ "#Equating it to bending moment we get\n",
+ "#M2=1.125*10**6*w2\n",
+ "#After further simplifyng we get\n",
+ "w2=M2*(1.125*10**6)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Uniformly Distributed Load carrying capacity if:web is in Tension\",round(w,2),\"KN\"\n",
+ "print\" :web is in compression\",round(w2,3),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Uniformly Distributed Load carrying capacity if:web is in Tension 73.21 KN\n",
+ " :web is in compression 29.446 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.9,Page no.141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "b1=200 #mm #Width at base\n",
+ "b2=100 #mm #Width at top\n",
+ "\n",
+ "L=8 #m Length\n",
+ "P=500 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Consider a section at y metres from top\n",
+ "\n",
+ "#At this section diameter d is\n",
+ "#d=b2+y*L**-1*(b1-b2)\n",
+ "#After Further simplifying we get\n",
+ "#d=b2+12.5*y #mm\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "#I=pi*64**-1*d**4\n",
+ "\n",
+ "#Section Modulus \n",
+ "#Z=pi*32**-1*(b1+12.5*y)**3\n",
+ "\n",
+ "#Moment \n",
+ "#M=5*10**5*y #N-mm\n",
+ "\n",
+ "#Let sigma be the fibre stress at this section then\n",
+ "#M=sigma*Z\n",
+ "#After sub values in above equation and further simplifying we get\n",
+ "#sigma=5*10**5*32*pi**-1*y*((b2+12.5*y)**3)**-1\n",
+ "\n",
+ "#For sigma to be Max,d(sigma)*(dy)**-1=0\n",
+ "#16*10**6*pi**-1*((b2+12.5*y)**-3+y*(-3)*(b2+12.5*y)**-4*12.5)\n",
+ "#After Further simplifying we get\n",
+ "#b2+12.5*y=37.5*y\n",
+ "#After Further simplifying we get\n",
+ "y=b2*25**-1 #m\n",
+ "\n",
+ "#Stress at this section\n",
+ "sigma=5*10**5*32*pi**-1*y*((b2+12.5*y)**3)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Stress at Extreme Fibre is max\",round(y,2),\"m\"\n",
+ "print\"Max stress is\",round(sigma,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress at Extreme Fibre is max 4.0 m\n",
+ "Max stress is 6.04 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.10,Page no.143"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "H=10 #mm #Height\n",
+ "A1=160*160 #mm**2 #area of square section at bottom\n",
+ "L1=160 #mm #Length of square section at bottom\n",
+ "b1=160 #mm #width of square section at bottom\n",
+ "A2=80*80 #mm**2 #area of square section at top\n",
+ "L2=80 #mm #Length of square section at top\n",
+ "b2=80 #mm #Width of square section at top\n",
+ "P=100 #N #Pull\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Consider a section at distance y from top.\n",
+ "#Let the side of square bar be 'a'\n",
+ "#a=L2+y*(H)**-1*(b1-b2)\n",
+ "#After further simplifying we get\n",
+ "#a=L2+8*y\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "#I=2*1*12**-1*a*(2)**0.5*(a*((2)**0.5)**-1)**3\n",
+ "#After further simplifying we get\n",
+ "#I=a**4*12**-1\n",
+ "\n",
+ "#Section Modulus \n",
+ "#Z=a**4*(12*a*(2)**0.5)**-1\n",
+ "#After further simplifying we get\n",
+ "#Z=2**0.5*a**3*(12)**-1 #mm**3\n",
+ "\n",
+ "#Bending moment at this section=100*y N-mm\n",
+ "#M=100*10**3*y #N-mm\n",
+ "\n",
+ "#But\n",
+ "#M=sigma*Z\n",
+ "#After sub values in above equation we get\n",
+ "#sigma=M*Z**-1\n",
+ "#After further simplifying we get\n",
+ "#sigma=1200*10**3*(2**0.5)**-1*y*((80+80*y)**3)**-1 .......(1)\n",
+ "\n",
+ "#For Max stress df*(dy)**-1=0\n",
+ "#After taking Derivative of above equation we get\n",
+ "#df*(dy)**-1=1200*10**3*(2**0.5)**-1*((80+8*y)**-3+y(-3)*(80+8*y)**-4*8)\n",
+ "#After further simplifying we get\n",
+ "y=80*16**-1 #m\n",
+ "\n",
+ "#Max stress at this level is\n",
+ "sigma=1200*10**3*(2**0.5)**-1*y*((80+8*y)**3)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Bending stress is Developed at\",round(y,3),\"m\"\n",
+ "print\"Value of Max Bending stress is\",round(sigma,3),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Bending stress is Developed at 5.0 m\n",
+ "Value of Max Bending stress is 2.455 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.12,Page no.147"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "b=200 #mm #Width of timber \n",
+ "d=400 #mm #Depth of timber\n",
+ "t=6 #mm #Thickness\n",
+ "b2=200 #mm #width of steel plate\n",
+ "t2=20 #mm #Thickness of steel plate\n",
+ "M=40*10**6 #KN-mm #Moment\n",
+ "#Let E_s*E_t**-1=X\n",
+ "X=20 #Ratio of Modulus of steel to timber\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#let y_bar be the Distance of centroidfrom bottom most fibre\n",
+ "y_bar=(b*d*(b+t)+t2*b2*t*t*2**-1)*(b*d+t2*b2*t)**-1 #mm\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=1*12**-1*b*d**3+b*d*(b+t-round(y_bar,3))**2+1*12**-1*t2*b2*t**3+b2*t2*t*(round(y_bar,3)-t*2**-1)**2\n",
+ "\n",
+ "#distance of the top fibre from N-A\n",
+ "y_1=d+t-y_bar #mm\n",
+ "\n",
+ "#Distance of the junction of timber and steel From N-A\n",
+ "y_2=y_bar-t #mm\n",
+ "\n",
+ "#Stress in Timber at the top\n",
+ "Y=M*I**-1*y_1 #N/mm**2\n",
+ "\n",
+ "#Stress in the Timber at the junction point\n",
+ "Z=M*I**-1*y_2\n",
+ "\n",
+ "#Coressponding stress in steel at the junction point\n",
+ "Z2=X*Z #N/mm**2 \n",
+ "\n",
+ "#The stress in Extreme steel fibre \n",
+ "Z3=X*M*I**-1*y_bar\n",
+ "\n",
+ "#Result\n",
+ "print\"Stress in Extreme steel Fibre\",round(Z3,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress in Extreme steel Fibre 69.67 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.13,Page no.149"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Timber size\n",
+ "b=150 #mm #Width\n",
+ "d=300 #mm #Depth\n",
+ "\n",
+ "t=6 #mm #Thickness of steel plate\n",
+ "l=6 #m #Span\n",
+ "\n",
+ "#E_s*E_t**-1=20 \n",
+ "#m=E_s*E_t**-1\n",
+ "m=20 \n",
+ "sigma_timber=8 #N/mm**2 #Stress in timber\n",
+ "sigma_steel=150 #N/mm**2 #Stress in steel plate\n",
+ "\n",
+ "#Let m*t=Y\n",
+ "Y=m*t #mm\n",
+ "L=(2*t+b)*m #mm #Width of flitched beam\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Due to synnetry cenroid,the neutral axis is half the depth\n",
+ "I=(1*12**-1*L*t**3+L*t*(b+t*2**-1)**2)*2+1*12**-1*(Y+b+Y)*d**3 #mm**4\n",
+ "\n",
+ "y_max1=150 #mm #For timber\n",
+ "y_max2=156 #mm #For steel\n",
+ "\n",
+ "#stress in steel\n",
+ "f_t1=1*m**-1*sigma_steel #N/mm**2\n",
+ "\n",
+ "#Moment of resistance\n",
+ "M=f_t1*(I*y_max2**-1)\n",
+ "\n",
+ "#load\n",
+ "w=8*M*(l**2)**-1*10**-6 #KN/m\n",
+ "\n",
+ "#Result\n",
+ "print\"Load beam can carry is\",round(w,2),\"KN/m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load beam can carry is 19.1 KN/m\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.14,Page no.151"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=6000 #mm #Span of beam\n",
+ "W=20*10**3 #N #Load\n",
+ "sigma=8 #N/mm**2 #Stress\n",
+ "b=200 #mm #Width of section\n",
+ "d=300 #mm #Depth of section\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#let x be the distance from left side of beam\n",
+ "\n",
+ "#Bending moment\n",
+ "#M=W*2**-1*x #Nmm .......(1)\n",
+ "\n",
+ "#But M=sigma*Z ..........(2)\n",
+ "\n",
+ "#Equating equation 1 and 2 we get\n",
+ "#W*2**-1*x=sigma*Z ............(3)\n",
+ "\n",
+ "#Section Modulus \n",
+ "#Z=1*6*b*d**2 ...............(4)\n",
+ "\n",
+ "#Equating equation 3 and 4 we get\n",
+ "#b*d**2=3*W*x*sigma**-1 .............(5)\n",
+ "\n",
+ "#Beam of uniform strength of constant depth\n",
+ "#b=3*W*x*(sigma*d**2) \n",
+ "\n",
+ "#When x=0\n",
+ "b=0\n",
+ "\n",
+ "#When x=L*2**-1\n",
+ "b2=3*W*L*(2*sigma*d**2)**-1 #mm\n",
+ "\n",
+ "#Beam with constant width of 200 mm\n",
+ "\n",
+ "#We have\n",
+ "#d=(3*W*x*(sigma*d)**-1)**0.5\n",
+ "#thus depth varies as (x)**0.5\n",
+ "\n",
+ "#when x=0\n",
+ "d1=0\n",
+ "\n",
+ "#when x=L*2**-1\n",
+ "d2=(3*W*L*(2*sigma*200)**-1)**0.5 #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Cross section of rectangular beam is:\",round(b2,2),\"mm\"\n",
+ "print\" :\",round(d2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cross section of rectangular beam is: 250.0 mm\n",
+ " : 335.41 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.15,Page no.154"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=800 #mm #Span\n",
+ "n=5 #number of leaves\n",
+ "b=60 #mm #Width\n",
+ "t=10 #mm #thickness\n",
+ "sigma=250 #N/mm**2 #Stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#section Modulus\n",
+ "Z=n*6**-1*b*t**2 #mm**3\n",
+ "\n",
+ "#from the relation\n",
+ "#sigma*Z=M ...................(1)\n",
+ "#M=P*L*4**-1\n",
+ "#sub values of M in equation 1 we get\n",
+ "P=sigma*Z*4*L**-1*10**-3 #KN #Load\n",
+ "\n",
+ "#Length of Leaves\n",
+ "L1=0.2*L #mm\n",
+ "L2=0.4*L #mm\n",
+ "L3=0.6*L #mm\n",
+ "L4=0.8*L #mm\n",
+ "L5=L #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Load it can take is\",round(P,2),\"KN\"\n",
+ "print\"Length of leaves:L1\",round(L1,2),\"mm\"\n",
+ "print\" :L2\",round(L2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Load it can take is 6.25 KN\n",
+ "Length of leaves:L1 160.0 mm\n",
+ " :L2 320.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.16,Page no.161"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F=20*10**3 #N #Shear Force\n",
+ "\n",
+ "#Tee section\n",
+ "\n",
+ "#Flange\n",
+ "b=100 #mm #Width\n",
+ "t=12 #mm #Thickness\n",
+ "\n",
+ "#Web\n",
+ "d=88 #mm #Depth\n",
+ "t2=12 #mm #Thicknes\n",
+ "\n",
+ "D=100 #mm #Overall Depth\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Distance of C.G from Top Fibre\n",
+ "y=(b*t*t*2**-1+t2*d*(d*2**-1+t))*(b*t+d*t2)**-1 #mm \n",
+ "\n",
+ "#Moment Of Inertia\n",
+ "I=1*12**-1*b*t**3+b*t*(y-t*2**-1)**2+1*12**-1*t2*d**3+t2*d*(t+d*2**-1-y)**2 #mm**4\n",
+ "\n",
+ "#shear stress at bottom Flange\n",
+ "\n",
+ "#Area above this level\n",
+ "A=b*t #mm**2\n",
+ "\n",
+ "#C.G of this area from N-A\n",
+ "y2=y-t*2**-1\n",
+ "\n",
+ "#Stress at bottom of flange\n",
+ "sigma=F*A*y2*(b*I)**-1 #N/mm**2 \n",
+ "\n",
+ "#sigma2 at same level but in web where width is 12 mm\n",
+ "sigma2=F*A*y2*(t2*I)**-1 #N/mm**2 \n",
+ "\n",
+ "#To find shear stress at N-A\n",
+ "X=t*b*(y-t*2**-1)+t2*(y-t2)*(y-t2)*2**-1 #mm**3\n",
+ "\n",
+ "sigma3=F*X*(t2*I)**-1 #N/mm**2\n",
+ "\n",
+ "#Shear stress at top and bottom fibre is zero\n",
+ "#sigma4 and sigma5 are top and bottom fibre shear stress\n",
+ "sigma4=sigma5=0\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force and Bending Moment Diagrams are the results\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,t,t,y,D]\n",
+ "Y1=[sigma4,sigma,sigma2,sigma3,sigma5]\n",
+ "Z1=[0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in m\")\n",
+ "plt.ylabel(\"Shear Force in kN\")\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force and Bending Moment Diagrams are the results\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEPCAYAAABCyrPIAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlclWX+//HXQdFSNHMDDQvGFAQ33JdMEEFRIRN1stLc\nptKflZPV+J1pGp0WdZrGzJoZxym1LJeycivSMsw1K3U0M3UMimTRVMZwCYH798elKCqCwDn3OZz3\n8/E4Dw+Hc+77wz3T/TnX8rkuh2VZFiIi4vV87A5ARETcgxKCiIgASggiInKOEoKIiABKCCIico4S\ngoiI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gAEDyM7OJjc3l6eeekrJQAS1EERE5ByNIYiICKCEICIi5ygh\niIgIoIQgIiLnKCGIiAighCAiIuf8f5wqyy9KzUKHAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5020390>"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.17,Page no.163"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F=40*10**3 #N #shear Force\n",
+ "\n",
+ "#I-section\n",
+ "\n",
+ "#Flanges\n",
+ "b=80 #mm #Width of flange\n",
+ "t=20 #mm #Thickness\n",
+ "\n",
+ "#Web\n",
+ "d=200 #mm #Depth\n",
+ "t2=20 #mm #Thickness\n",
+ "\n",
+ "#Flange-2\n",
+ "b2=160 #mm #Width\n",
+ "t3=20 #mm #Thickness\n",
+ "\n",
+ "D=240 #mm #Overall Depth\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Distance of N-A from Top Fibre \n",
+ "y=(b*t*t*2**-1+d*t2*(t+d*2**-1)+b2*t3*(t+d+t3*2**-1))*(b*t+d*t2+b2*t3)**-1 #mm\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=1*12**-1*b*t**3+b*t*(y-(t*2**-1))**2+1*12**-1*t2*d**3+t2*d*(y-(t+d*2**-1))**2+1*12**-1*b2*t3**3+t3*b2*((d+t+t3*2**-1)-y)**2 #mm**4\n",
+ "\n",
+ "#Shear stress bottom of flange\n",
+ "sigma=F*b*t*(y-t*2**-1)*(b*I)**-1 #N/mm**2\n",
+ "\n",
+ "#At same Level but in web\n",
+ "sigma2=F*b*t*(y-t*2**-1)*(t2*I)**-1 #N/mm**2\n",
+ "\n",
+ "#for shear stress at N.A\n",
+ "X=b*t*(y-t*2**-1)+t2*(y-t)*(y-t)*2**-1 #mm**3\n",
+ "sigma3=F*X*(t2*I)**-1 #N/mm**2\n",
+ "\n",
+ "#Shear stress at bottom of web\n",
+ "\n",
+ "X=b2*t3*((D-y)-t3*2**-1) #mm**3\n",
+ "\n",
+ "#Stress at bottom of web\n",
+ "sigma4=F*X*(t2*I)**-1 #N/mm**2\n",
+ "\n",
+ "#Stress at Lower flange\n",
+ "sigma5=F*X*(b2*I)**-1 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print \"The Shear Force Diagram is the result\"\n",
+ "\n",
+ "#Plotting the Shear Force Diagram\n",
+ "\n",
+ "X1=[0,20,20,140,220,220,240]\n",
+ "Y1=[0,sigma,sigma2,sigma3,sigma4,sigma5,0]\n",
+ "Z1=[0,0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length in mm\")\n",
+ "plt.ylabel(\"Shear Force in N\")\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Shear Force Diagram is the result\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYMAAAEPCAYAAACgFqixAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xlc1PW+x/HXiGgpmmtg6gkP7qiAmGsmLmiaO+gNl0w0\ne2i2py2acTSVdk29p2s3y8zSkpNaKcelg2VZ6XUrPcfMoOMC3pJLiUsI/O4f3xxXFoGZ3zDzfj4e\n82AYh/l9+D3GefP7rg7LsixERMSnVbC7ABERsZ/CQEREFAYiIqIwEBERFAYiIoLCQEREcGEYxMfH\nExgYSOvWrZ2PTZkyhRYtWhAWFsbQoUP59ddfXXV4ERG5Bi4Lg7Fjx5KcnHzJY71792bfvn3s2bOH\npk2bMnfuXFcdXkREroHLwqBr167Ur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xdq1a53Pv3hXp/P3Y2JiaNCgAS1btmT06NG0bduWG264AYAJEyZw++23\nOzuQL//5q+0SdfnjBd2//GcK+v78/cJet7DXFikpDS0Vn3Pq1CmqVq3KiRMn6NChA19++aVP7SAn\ncjXqMxCf079/f7KyssjJyWHGjBkKAhF0ZSAiIqjPQEREUBiIiAgKAxERQWEgIiIoDEREBIWBiIgA\n/w/qZz1xEBCKMwAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x5857ff0>"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.18,Page no.164"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F=30*10**3 #N #Shear Force\n",
+ "\n",
+ "#Channel Section\n",
+ "d=400 #mm #Depth of web \n",
+ "t=10 #mm #THickness of web\n",
+ "t2=15 #mm #Thickness of flange\n",
+ "b=100 #mm #Width of flange\n",
+ "\n",
+ "#Rectangular Welded section\n",
+ "b2=80 #mm #Width\n",
+ "d2=60 #mm #Depth\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Distance of Centroid From Top Fibre\n",
+ "y=(d*t*t*2**-1+2*t2*(b-t)*((b-t)*2**-1+10)+d2*b2*(d2*2**-1+t))*(d*t+2*t2*(b-t)+d2*b2)**-1 #mm\n",
+ "\n",
+ "#Moment Of Inertia of the section about N-A\n",
+ "I=1*12**-1*d*t**3+d*t*(y-t*2**-1)**2+2*(1*12**-1*t2*(b-t)**3+t2*(b-t)*(((b-t)*2**-1+t)-y)**2)+1*12**-1*d2**3*b2+d2*b2*(d2*2**-1+t-y)**2\n",
+ "\n",
+ "#Shear stress at level of weld\n",
+ "sigma=F*d*t*(y-t*2**-1)*((b2+t2+t2)*I)**-1 #N/mm**2\n",
+ "\n",
+ "#Max Shear Stress occurs at Neutral Axis\n",
+ "X=d*t*(y-t*2**-1)+2*t2*(y-t)*(y-t)*2**-1+b2*(y-t)*(y-t)*2**-1\n",
+ "\n",
+ "sigma_max=F*X*((b+t)*I)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Shear stress in the weld is\",round(sigma,2),\"N/mm**2\"\n",
+ "print\"Max shear stress is\",round(sigma_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Shear stress in the weld is 3.62 N/mm**2\n",
+ "Max shear stress is 4.48 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.19,Page no.165"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Wooden Section\n",
+ "b=300 #mm #Width\n",
+ "d=300 #mm #Depth\n",
+ "\n",
+ "D=100 #mm #Diameter of Bore\n",
+ "F=10*10**3 #N #Shear Force\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Moment Of Inertia Of Section\n",
+ "I=1*12**-1*b*d**3-pi*64**-1*D**4\n",
+ "\n",
+ "#Shear stress at crown of circle\n",
+ "sigma=F*b*D*(d*2**-1-D*2**-1)*(b*I)**-1\n",
+ "\n",
+ "#Let a*y_bar=X\n",
+ "X=b*d*2**-1*d*4**-1-pi*8**-1*D**2*4*D*2**-1*(3*pi)**-1 #mm**3\n",
+ "\n",
+ "#Shear Stress at Neutral Axis\n",
+ "sigma2=F*X*((b-D)*I)**-1 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Shearing Stress at Crown of Bore\",round(sigma,3),\"N/mm**2\"\n",
+ "print\"Shear Stress at Neutral Axis\",round(sigma2,3),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Shearing Stress at Crown of Bore 0.149 N/mm**2\n",
+ "Shear Stress at Neutral Axis 0.246 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.20,Page no.166"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#flanges\n",
+ "b=200 #mm #width\n",
+ "t1=25 #mm #Thickness\n",
+ "\n",
+ "#web\n",
+ "d=450 #mm #Depth \n",
+ "t2=20 #mm #thickness\n",
+ "\n",
+ "D=500 #mm #Total Depth of section\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Moment Of Inertia of the section about N-A\n",
+ "I=1*12**-1*b*D**3-1*12**-1*(b-t2)*d**3 #mm**4\n",
+ "\n",
+ "#Consider an element in the web at distance y from y from N-A\n",
+ "#Depth of web section=225-y\n",
+ "\n",
+ "#C.G From N-A\n",
+ "#y2=y+(((D*2**-1-t)-y)*2**-1)\n",
+ "\n",
+ "#ay_bar for section at y\n",
+ "#Let ay_bar be X\n",
+ "#X=X1 be of Flange + X2 be of web above y\n",
+ "#X=b*t1*(D*2**-1-t1*2**-1)+t2*(d-t1)*(d-t1+y)*2**-1\n",
+ "#After Sub values and Further simplifying we get\n",
+ "#X=1187500+10*(225**2-y**2)\n",
+ "\n",
+ "#Shear stress at y\n",
+ "#sigma_y=F*(X)*(t2*I)**-1\n",
+ "\n",
+ "#Shear Force resisted by the Element\n",
+ "#F1=F*X*t2*dy*(t2*I)**-1\n",
+ "\n",
+ "#Shear stress resisted by web \n",
+ "#sigma=2*F*I**-1*(X)*dy\n",
+ "\n",
+ "#After Integrating above equation and further simplifying we get\n",
+ "#sigma=0.9578*F\n",
+ "\n",
+ "sigma=0.9578*100\n",
+ "\n",
+ "#Result\n",
+ "print\"Shear Resisted by web\",round(sigma,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Shear Resisted by web 95.78 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.21,Page no.167"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Wooden Beam\n",
+ "\n",
+ "b=150 #mm #width\n",
+ "d=250 #mm #Depth\n",
+ "\n",
+ "L=5000 #mm #span\n",
+ "m=11.2 #N/mm**2 #Max Bending stress\n",
+ "sigma=0.7 #N/mm**2 #Max shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let 'a' be the distance from left support\n",
+ "#Max shear force\n",
+ "#F=R_A=W*(L-a)*L**-1 \n",
+ "\n",
+ "#Max Moment\n",
+ "#M=W*(L-a)*a*L**-1\n",
+ "\n",
+ "#But M=sigma*Z\n",
+ "#W*(L-a)*a*L**-1=m*1*6**-1*b*d**2 .....................(1)\n",
+ "\n",
+ "#In Rectangular Section MAx stress is 1.5 times Avg shear stress\n",
+ "F=sigma*b*d*1.5**-1\n",
+ "\n",
+ "#W*(L-a)*L**-1=F .....................(2)\n",
+ "\n",
+ "#Dividing Equation 1 nad 2 we get\n",
+ "a=m*6**-1*b*d**2*1.5*(sigma*b*d)**-1\n",
+ "\n",
+ "#Sub above value in equation 2 we get\n",
+ "W=(L-a)**-1*L*F*10**-3 #KN \n",
+ "\n",
+ "#Result\n",
+ "print\"Load is\",round(W,2),\"KN\"\n",
+ "print\"Distance from Left support is\",round(a,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Load is 21.87 KN\n",
+ "Distance from Left support is 1000.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.22,Page no.168"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=1000 #mm #span\n",
+ "\n",
+ "#Rectangular Section\n",
+ "\n",
+ "b=200 #mm #width\n",
+ "d=400 #mm #depth\n",
+ "\n",
+ "sigma=1.5 #N/mm**2 #Shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let AB be the cantilever beam subjected to load W KN at free end\n",
+ "\n",
+ "#MAx shear Force\n",
+ "#F=W*10**3 #KN\n",
+ "\n",
+ "#Since Max shear stress in Rectangular section\n",
+ "#sigma_max=1.5*F*A**-1 \n",
+ "#After sub values and further simplifyng we get\n",
+ "W=1.5*b*d*(1.5*1000)**-1 #KN\n",
+ "\n",
+ "#Moment at fixwed end\n",
+ "M=W*1 #KN-m\n",
+ "y_max=d*2**-1 #mm\n",
+ "\n",
+ "#M.I\n",
+ "I=1*12**-1*b*d**3 #mm**3\n",
+ "\n",
+ "#MAx Stress\n",
+ "sigma_max=M*10**6*I**-1*y_max\n",
+ "\n",
+ "#Result\n",
+ "print\"Concentrated Load is\",round(sigma_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Concentrated Load is 15.0 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4.24,Page no.170"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=4000 #mm #span\n",
+ "\n",
+ "#Rectangular Cross-section\n",
+ "b=100 #mm #Width\n",
+ "d=200 #mm #Thickness\n",
+ "\n",
+ "F_per=10 #N/mm**2 #Max Bending stress\n",
+ "q_max=0.6 #N/mm**2 #Shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#If the Load W is in KN/m\n",
+ "\n",
+ "#Max shear Force\n",
+ "#F=w*l*2**-1 #KN\n",
+ "#After substituting values and further simplifying we get\n",
+ "#M=2*w #KN-m\n",
+ "\n",
+ "#Max Load from Consideration of moment\n",
+ "#M=1*6**-1*b*d**2*F_per\n",
+ "#After substituting values and further simplifying we get\n",
+ "w=(1*6**-1*b*d**2*F_per)*(2*10**6)**-1 #KN/m\n",
+ "\n",
+ "#Max Load from Consideration of shear stress\n",
+ "#q_max=1.5*F*(b*d)**-1 #N\n",
+ "#After substituting values and further simplifying we get\n",
+ "F=q_max*(1.5)*b*d #N\n",
+ "\n",
+ "#If w is Max Load in KN/m,then\n",
+ "#2*w*1000=8000\n",
+ "#After Rearranging and Further simplifying we get\n",
+ "w2=8000*(2*1000)**-1 #KN/m\n",
+ "\n",
+ "#Result\n",
+ "print\"Uniformly Distributed Load Beam can carry is\",round(w,2),\"KN/m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Uniformly Distributed Load Beam can carry is 3.33 KN/m\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_5.ipynb b/Strength Of Materials/chapter_5.ipynb
new file mode 100644
index 00000000..5f2e9dea
--- /dev/null
+++ b/Strength Of Materials/chapter_5.ipynb
@@ -0,0 +1,1017 @@
+{
+ "metadata": {
+ "name": "chapter_5.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5:Deflections Of Beams By Double Integration Methods"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.2,Page No.192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=3000 #mm #span of beam\n",
+ "a=2000 #mm\n",
+ "W1=20*10**3 #N #Pt Load Acting on beam\n",
+ "W2=30*10**3 #N #Pt Load Acting on beam\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus\n",
+ "I=2*10**8 #mm**4 #M.I\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Deflection at free End Due to W2\n",
+ "dell1=W2*L**3*(3*E*I)**-1 #mm\n",
+ "\n",
+ "#Deflection at free end Due to W1\n",
+ "dell2=W1*a**3*(3*E*I)**-1+(L-a)*W1*a**2*(2*E*I)**-1 #mm\n",
+ "\n",
+ "#Total Deflection at free end\n",
+ "dell=dell1+dell2 #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Deflection at Free End is\",round(dell,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Deflection at Free End is 9.08 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.4,Page No.193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E=2*10**5 #N/mm**2 #Young's Modulus\n",
+ "I=180*10**6 #mm**4 #M.I\n",
+ "W1=20 #N/m #u.d.l\n",
+ "W2=20*10**3 #N #Pt load\n",
+ "L=3000 #m #Span of beam\n",
+ "a=2000 #m #Span of u.d.l\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Displacement of free End due to 20 KN Pt load at free end\n",
+ "dell1=W2*L**3*(3*E*I)**-1 #mm\n",
+ "\n",
+ "#Displacement of free end due to u.d.l\n",
+ "dell2=W1*a**4*(8*E*I)**-1+(L-a)*W1*a**3*(6*E*I)**-1\n",
+ "\n",
+ "#Deflection at free end\n",
+ "dell=dell1+dell2 #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"The Displacement of Free End of cantilever beam is\",round(dell,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Displacement of Free End of cantilever beam is 6.85 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.10,Page No.201"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E=200*10**6 #KN/m**2 #Young's Modulus\n",
+ "I=15*10**-6 #m**4 #M.I\n",
+ "a=4000 #m \n",
+ "L_AB=6 #m #Span of beam\n",
+ "L_CB=2 #m #Length of CB\n",
+ "F_C=18 #KN #force at C\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_A & V_B be the Reactions at A & B Respectively\n",
+ "#V_A+V_B=18\n",
+ "#Now taking moment at B,we get M_B\n",
+ "V_A=(F_C*L_CB)*L_AB**-1\n",
+ "V_B=18-V_A\n",
+ "\n",
+ "#Now Taking Moment at distance x\n",
+ "#M_x=6*x-18*(x-4)\n",
+ "#EI*d**2*y*(d*x**2)**-1=6*x-18*(x-4)\n",
+ "\n",
+ "#Now Integrating above equation,we get\n",
+ "#EI*dy*(dx)**-1=C1+3*x**2-9(x-4)**4\n",
+ "\n",
+ "#Again Integrating above equation we get\n",
+ "#EI*y=C2+C1*x+x**3-3*(x-4)**3\n",
+ "\n",
+ "#The Boundary conditions\n",
+ "x=0\n",
+ "y=0 #.....(a)\n",
+ "\n",
+ "x=6\n",
+ "y=0 #....(b)\n",
+ "\n",
+ "#From Boundary Condition(B.C) a we get\n",
+ "C2=0\n",
+ "\n",
+ "#From Boundary Condition(B.C) b we get\n",
+ "#6*C1+216-3*8\n",
+ "#After Further simplifying we get\n",
+ "C1=-(216-24)*6**-1\n",
+ "\n",
+ "#EI*y=-32*x+x**3-3*(x-4)**3\n",
+ "#EI*dy*(dx)**-1=-32+3*x**2-9(x-4)**4\n",
+ "\n",
+ "#For Max Deflection\n",
+ "#Assume it inthe Porion AC i.e x=4=a\n",
+ "#0=-32+3*x**2\n",
+ "x=(32*3**-1)**0.5\n",
+ "\n",
+ "#Value of Max deflection is\n",
+ "ymax=(-32*x+x**3)*(E*I)**-1 #mm\n",
+ "\n",
+ "#slope at mid-span\n",
+ "\n",
+ "#EI*(dy*(dx)**-1)_centre=-32+3*x**2\n",
+ "#at centre ,\n",
+ "x1=3 #m\n",
+ "\n",
+ "#Let (dy*(dx)**-1)_centre=X\n",
+ "X=-(-32+3*x1**2)*(E*I)**-1 #Radian\n",
+ "\n",
+ "#Deflection at Load Point\n",
+ "x2=4 #m\n",
+ "#EI*y_c=-32*x2+x2**3\n",
+ "\n",
+ "y_c=-(-32*x2+x2**3)*(E*I)**-1\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"Value of Max Deflection\",round(ymax,4),\"mm\"\n",
+ "print\"SLope at mid-span\",round(X,4),\"radian\"\n",
+ "print\"Deflection at the Load Point is\",round(y_c,4),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Value of Max Deflection -0.0232 mm\n",
+ "SLope at mid-span 0.0017 radian\n",
+ "Deflection at the Load Point is 0.0213 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.11,Page No.203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_CB=2 #m #Length of CB\n",
+ "L_AC=4 #m #Length of AB\n",
+ "M_C=15 #KN.m #Moment At Pt C\n",
+ "F_C=30 #KN\n",
+ "L=6 #m Span of Beam\n",
+ "\n",
+ "#Let X=E*I\n",
+ "X=10000 #KN-m**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_A and V_B be the reactions at A & B respectively\n",
+ "#V_A+V_B=30\n",
+ "\n",
+ "#Taking Moment a A,we get\n",
+ "V_B=(F_C*L_AC+M_C)*L**-1\n",
+ "V_A=30-V_B\n",
+ "\n",
+ "#Now Taking Moment at distacnce x from A\n",
+ "#M_x=7.5*x-30*(x-4)+15\n",
+ "\n",
+ "#By using Macaulay's Method\n",
+ "#EI*(d**2*x/dx**2)=M_x=7.5*x-30*(x-4)+15\n",
+ "\n",
+ "#Now Integrating above Equation we get\n",
+ "#EI*(dy/dx)=C1+7.5*x**2*2**-1-15*(x-4)**2+15*(x-4) ............(1)\n",
+ "\n",
+ "#Again Integrating above Equation we get\n",
+ "#EIy=C2+C1*x+7.5*6**-1*x**3-5*(x-4)**3+15*(x-4)**2*2**-1..........(2)\n",
+ "\n",
+ "#Boundary Cinditions\n",
+ "x=0\n",
+ "y=0\n",
+ "\n",
+ "#Substituting above equations we get \n",
+ "C2=0\n",
+ "\n",
+ "x=6 #m\n",
+ "y=0\n",
+ "\n",
+ "C1=-(7.5*6**3*6**-1-5*2**3+15*2**2*2**-1)*6**-1\n",
+ "\n",
+ "#EIy_c=C2+C1*x+7.5*6**-1*x**3-5*(x-4)**3+15*(x-4)**2*2**-1\n",
+ "#Sub values in Above equation we get\n",
+ "y_c=(93.3333*(X)**-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"The Deflection at C\",round(y_c,4),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Deflection at C 0.0093 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.12,Page No.204"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_AC=L_CD=L_DB=2 #m #Length of AC,CD,DB\n",
+ "F_C=40 #KN #Force at C\n",
+ "w=20 #KN/m #u.d.l\n",
+ "L=6 #m #span of beam\n",
+ "\n",
+ "#Let E*I=X\n",
+ "X=15000 #KN-m**2\n",
+ "\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_A & V_B be the reactions at A & B respectively\n",
+ "#V_A+V_B=80\n",
+ "\n",
+ "#Taking Moment B,M_B\n",
+ "V_A=(F_C*(L_CD+L_DB)+w*L_DB*L_DB*2**-1)*L**-1 #KN\n",
+ "V_B=80-V_A #KN\n",
+ "\n",
+ "#Taking Moment at distance x from A\n",
+ "#M_x=33.333*x-40*(x-2)-20*(x-4)**2*2**-1\n",
+ "#EI*(d**2/dx**2)=33.333*x-40*(x-2)-10*(x-4)**2\n",
+ "\n",
+ "#Integrating above equation we get\n",
+ "#EI*(dy/dx)=C1+33.333*x**2*2**-1-20*(x-2)**2-10*3**-1*(x-4)**3\n",
+ "\n",
+ "#Again Integrating above equation we get\n",
+ "#EI*y=C2+C1*x+33.333*x**3*6**-1-20*3**-1*(x-2)**3-10*12**-1*(x-4)**4\n",
+ "\n",
+ "#At\n",
+ "x=0\n",
+ "y=0\n",
+ "C2=0\n",
+ "\n",
+ "#At\n",
+ "x=6\n",
+ "y=0\n",
+ "C1=-760*6**-1\n",
+ "\n",
+ "#Assuming Deflection to be max in portion CD and sustituting value of C1 in equation of slope we get\n",
+ "#EI*y=C2+C1*x+33.333*x**3*6**-1-20*3**-1*(x-2)**3-10*12**-1*(x-4)**4\n",
+ "#0=-126.667+33.333*x**2**-1-20*(x-2)**2\n",
+ "\n",
+ "#After rearranging and simplifying further we get\n",
+ "\n",
+ "#x**2-24*x+62=0\n",
+ "#From above equations\n",
+ "a=1\n",
+ "b=-24\n",
+ "c=62\n",
+ "\n",
+ "y=(b**2-4*a*c)**0.5\n",
+ "\n",
+ "x1=(-b+y)*(2*a)**-1\n",
+ "x2=(-b-y)*(2*a)**-1\n",
+ "\n",
+ "#Taking x2 into account\n",
+ "x=2.945 #m\n",
+ "C1=-126.667\n",
+ "C2=0\n",
+ "\n",
+ "y_max=(C2+C1*x+33.333*x**3*6**-1-20*3**-1*(x-2)**3)*X**-1 #mm\n",
+ "\n",
+ "#Max slope occurs at the ends\n",
+ "#At A,\n",
+ "#EI*(dy/dx)_A=-126.667\n",
+ "#At B\n",
+ "#EI*(dy/dx)_B=126.667+33.333*6**2*2**-1-20*4**2-10*2**3\n",
+ "#After simplifying Further we get\n",
+ "#EI*(dy/dx)_B=73.3273\n",
+ "\n",
+ "#Now Max slope is EI(dy/dx)_A=-126.667\n",
+ "#15000*(dy/dx)_=-126.667\n",
+ "\n",
+ "#Let Y=dy/dx\n",
+ "Y=-126.667*X**-1 #Radians\n",
+ "\n",
+ "#Result\n",
+ "print\"Maximum Deflection for Beam is\",round(y_max,4),\"mm\"\n",
+ "print\"Maximum Slope for beam is\",round(Y,4),\"radians\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum Deflection for Beam is -0.0158 mm\n",
+ "Maximum Slope for beam is -0.0084 radians\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.13,Page No.206"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E=2*10**8 #KN/m**2\n",
+ "I=450*10**-6 #m**4\n",
+ "L_AC=1 #m #Length of AC\n",
+ "L_CD=3 #m #Length of CD\n",
+ "L_DB=2 #m #Length of DB\n",
+ "w=10 #KN/m #u.d.l\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_A & V_B be the reactions at A & B respectively\n",
+ "#V_A+V_B=30\n",
+ "\n",
+ "#Taking Moment at distance x from A\n",
+ "#M_x=17.5*x-10*(x-1)**2*2**-1+10*(x-4)**2*2**-1\n",
+ "#EI*(d**2/dx**2)=17.5*x-10*(x-1)**2*2**-1+10*(x-4)**2*2**-1\n",
+ "\n",
+ "#Now Integrating Above equation we get\n",
+ "#EI(dy/dx)=C1+17.5*x**2*2**-1-5*3**-1*(x-1)**2+5*3**-1*(x-4)**3\n",
+ "\n",
+ "#Again Integrating Above equation we get\n",
+ "#EI*y=C2+C1*x+17.5*x**3*6**-1-5*12**-1*(x-1)**4+5*12**-1*(x-4)**4\n",
+ "\n",
+ "#At \n",
+ "x=0\n",
+ "y=0\n",
+ "C2=0\n",
+ "\n",
+ "#At \n",
+ "x=6 \n",
+ "y=0\n",
+ "C1=(-17.5*x**3*6**-1+5*12**-1*(x-1)**4-5*12**-1*(x-4)**4)*x**-1\n",
+ "\n",
+ "# 1)Slope at A .i.e at x=0\n",
+ "#EI*(dy/dx)_A=C1=-62.708 #KN-m**2\n",
+ "#let (dy/dx)=X\n",
+ "X=C1*(E*I)**-1 #radiams\n",
+ "\n",
+ "#Deflection at mid-span\n",
+ "x=3 #m\n",
+ "#EI*y_centre=C1*x+17.5*x**3*6**-1-5*12**-1*(x-1)**2\n",
+ "y_centre=-(C1*x+17.5*x**3*6**-1-5*12**-1*(x-1)**4)*(E*I)**-1\n",
+ "\n",
+ "#Maximum Deflection\n",
+ "\n",
+ "#At point of Max deflection (dy/dx)=0\n",
+ "#Assuming it in portion CD\n",
+ "\n",
+ "#0=C1*x+17.5*x**2*2**-1-5*3**-1*(x-1)**3\n",
+ "\n",
+ "#Now Let\n",
+ "#F(x)=C1+17.5*x**2*2**-1-5*3**-1*(x-1)**3\n",
+ "\n",
+ "#Let F(x)=Y\n",
+ "#At \n",
+ "x=2.5\n",
+ "Y1=-(C1+17.5*x**2*2**-1-5*3**-1*(x-1)**3)\n",
+ "\n",
+ "#AT\n",
+ "x=3\n",
+ "Y2=-(C1+17.5*x**2*2**-1-5*3**-1*(x-1)**3)\n",
+ "\n",
+ "#At\n",
+ "x=2.9 #m\n",
+ "Y3=-(C1+17.5*x**2*2**-1-5*3**-1*(x-1)**3)\n",
+ "\n",
+ "#A curve may be plotted for (F(x) and the value for which F(x)=0 may be found\n",
+ "#For F(x)=0 for x=2.92 m\n",
+ "#Therefore y_max occur at x=2.92\n",
+ "\n",
+ "x=2.92 #m\n",
+ "y_max=(C1*x+17.5*x**3*6**-1-5*12**-1*(x-1)**4)*(E*I)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Slope at A\",round(X,6),\"mm\"\n",
+ "print\"Deflection at mid-span\",round(y_centre,6),\"mm\"\n",
+ "print\"Maxmimum Deflection is\",round(y_max,5),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Slope at A -0.000697 mm\n",
+ "Deflection at mid-span 0.001289 mm\n",
+ "Maxmimum Deflection is -0.00129 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.14,Page No.208"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_AC=LDE=L_EB=1 #m #Length of AC\n",
+ "L_CD=2 #m #Length of CD\n",
+ "E=200 #KN/mm**2\n",
+ "I=60*10**6 #mm**4 #M.I\n",
+ "F_C=20 #KN #Force at C\n",
+ "F_E=30 #KN #Force at E\n",
+ "w=10 #KN/m #u.d.l\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "X=E*I*10**-6 #KN-m**2\n",
+ "\n",
+ "#Let V_A & V_B be the reactions at A & B respectively\n",
+ "#V_A+V_B=70\n",
+ "\n",
+ "#Taking Moment at distance x from A\n",
+ "#M_x=34*x-20*(x-1)-10*(x-1)**2*2**-1+10*(x-3)**2*2**-1-30*(x-4)\n",
+ "#EI*(d**2y/dx**2)=34*x-20*(x-1)-10*(x-1)**2*2**-1+10*(x-3)**2*2**-1-30*(x-4)\n",
+ "\n",
+ "#Now Integrating Above equation,we get\n",
+ "#EI*(dy/dx)=C1+17*x**2-10*(x-1)**2-5*3**-1*(x-1)**3+5*3**-1*(x-3)**3-15*(x-4)**2\n",
+ "\n",
+ "#Again Integrating Above equation,we get\n",
+ "#EI*y=C2+C1*x+17*3**-1*x**3-10*3**-1*(x-1)**3-5*12**-1*(x-1)**4+5*12**-1*(x-3)**4-5*(x-4)**3\n",
+ "\n",
+ "#At\n",
+ "x=0\n",
+ "y=0\n",
+ "C2=0\n",
+ "\n",
+ "#At \n",
+ "x=5 #m\n",
+ "y=0\n",
+ "C1=(-17*3**-1*x**3+10*3**-1*(x-1)**3+5*12**-1*(x-1)**4-5*12**-1*(x-3)**4+5*(x-4)**3)*5**-1\n",
+ "\n",
+ "#EI*y=C2+C1*x+17*3**-1*x**3-10*3**-1*(x-1)**3-5*12**-1*(x-1)**4+5*12**-1*(x-3)**4-5*(x-4)**3\n",
+ "C2=0\n",
+ "C1=-78\n",
+ "x=1\n",
+ "y_c=(-78*x+17*3**-1*x)*(X)**-1\n",
+ "\n",
+ "#EI*y_D=C2+C1*x+17*3**-1*x**3-10*3**-1*(x-1)**3-5*12**-1*(x-1)**4\n",
+ "x=3\n",
+ "C1-78\n",
+ "C2=0\n",
+ "y_D=(C2+C1*x+17*3**-1*x**3-10*3**-1*(x-1)**3-5*12**-1*(x-1)**4)*(X**-1)\n",
+ "\n",
+ "#EI*y_E=C2+C1*x+17*3**-1*x**3-10*3**-1*(x-1)**3-5*12**-1*(x-1)**4+5*12**-1*(x-3)**4\n",
+ "x=4\n",
+ "C1-78\n",
+ "C2=0\n",
+ "y_E=(C2+C1*x+17*3**-1*x**3-10*3**-1*(x-1)**3-5*12**-1*(x-1)**4+5*12**-1*(x-3)**4)*X**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Deflections at C\",round(y_c,5),\"mm\"\n",
+ "print\"Deflections at D\",round(y_D,5),\"mm\"\n",
+ "print\"Deflections at E\",round(y_E,4),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Deflections at C -0.00603 mm\n",
+ "Deflections at D -0.00953 mm\n",
+ "Deflections at E -0.0061 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.15,Page No.209"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E=200 #KN/mm**2 #Modulus of Elasticity\n",
+ "I=300*10**6 #mm\n",
+ "L_AB=L_BC=L_CD=L_DE=1 #m #Length of AB,BC,CD,DE respectively\n",
+ "F_A=20 #KN #Force at A\n",
+ "F_C=10 #KN #Force at C\n",
+ "w=30 #KN/m #u.d.l\n",
+ "\n",
+ "#Let E*I=X\n",
+ "X=E*I*10**-6 #KN-2**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_E be the reactions at E\n",
+ "V_E=F_A+F_C+w*(L_BC+L_CD) #KN \n",
+ "\n",
+ "#Taking Moment at distance x\n",
+ "#EI*(d**2x/dy**2)=M=-20*x-30*(x-1)**2*2**-1-10*(x-2)+30*(x-3)**2*2**-1\n",
+ "\n",
+ "#Integrating above equation we get\n",
+ "#EI*(dy/dx)=C1-10*x**2-5*(x-1)**3-5*(x-2)**2+5*(x-3)**3\n",
+ "\n",
+ "#Again Integrating above equation\n",
+ "#EI*y=C2+C1*x-10*x**3*3**-1-5*(x-1)**4*4**-1-5*(x-3)**4*4**-1-5*3*(x-2)**3\n",
+ "\n",
+ "#At\n",
+ "#dy/dx=0\n",
+ "x=4 #m\n",
+ "C1=10*x**2+5*(x-1)**3+5*(x-2)**2-5*(x-3)**3\n",
+ "\n",
+ "#AT\n",
+ "x=4\n",
+ "y=0\n",
+ "C2=-C1*4+10*x**3*3**-1+5*(x-1)**4*4**-1-5*(x-3)**4*4**-1+5*3**-1*(x-2)**3\n",
+ "\n",
+ "#Max Deflection and Max slopes occurs at Free end in case of cantilever\n",
+ "y_max=y_A=C2*X**-1\n",
+ "\n",
+ "#EI*(dy/dx)_max=C1\n",
+ "#Let (dy/dx)=Y\n",
+ "Y=C1*X**-1 #radian\n",
+ "\n",
+ "#Now deflection at x=1 #m\n",
+ "C2=-913.333\n",
+ "C1=310\n",
+ "x=1\n",
+ "y_B=(C2+C1*x-10*x**3*3**-1)*X**-1\n",
+ "\n",
+ "#Now Deflection at x=2 #m\n",
+ "C2=-913.333\n",
+ "C1=310\n",
+ "x=2 #m\n",
+ "y_C=(C2+C1*x-10*x**3*3**-1-5*(x-1)**4*4**-1)*X**-1\n",
+ "\n",
+ "#Now Deflection at x=3 #m\n",
+ "C2=-913.333\n",
+ "C1=310\n",
+ "x=3 #m\n",
+ "y_D=(C2+C1*x-10*x**3*3**-1-5*(x-1)**4*4**-1-5*3**-1*(x-2)**3)*X**-1\n",
+ "\n",
+ "y_E=0\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Deflection for Beam\",round(y_A,4),\"mm\"\n",
+ "print\"Max Slope for beam\",round(Y,5),\"radians\"\n",
+ "\n",
+ "#Plotting the ELastic Curve\n",
+ "\n",
+ "Y2=[y_E,y_D,y_C,y_B,y_A]\n",
+ "X2=[L_AB+L_BC+L_CD+L_DE,L_AB+L_BC+L_CD,L_AB+L_BC,L_AB,0]\n",
+ "Z2=[0,0,0,0,0]\n",
+ "plt.plot(X2,Y2,X2,Z2)\n",
+ "plt.xlabel(\"Length in mm\")\n",
+ "plt.ylabel(\"Deflection in mm\")\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Deflection for Beam -0.0152 mm\n",
+ "Max Slope for beam 0.00517 radians\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAZoAAAEPCAYAAAB7rQKTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XtYVXXe9/H3VtFMnbTSbQKFgQh4CJNyzIkw2hpa5NTk\noTIqs4O3ljk9SffMM+GUhjkdxpwa7e7AVA+imcqYQ2EGTh5C0zKDwrpFAYFKZMIjsFnPHyu3Imdk\nszbweV3Xvi7W4rfW+q516f7yW7+TzTAMAxERETfpYHUAIiLStinRiIiIWynRiIiIWynRiIiIWynR\niIiIWynRiIiIW1maaFJSUggKCmLAgAEsXLiwxjKPPPIIAwYM4IorrmDXrl31HltcXIzD4SAwMJAx\nY8ZQUlLi9vsQEZHaWZZonE4nM2fOJCUlhczMTBITE8nKyqpSZv369Xz33Xfs3buXZcuW8fDDD9d7\nbHx8PA6Hg+zsbCIjI4mP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MOgqKiI\n9PR01+969OjBzz//3KgY3NVfR/2ApKUo0Yic4dixY/j6+ro+L730Eu+++y6vv/46oaGhDB48mOTk\nZFf5M9tPTv1822234ePjQ0hICFOnTuXKK6/kggsuAMz2nhtvvNHVGeDs42tapfDs/bX9fPYxtW2f\n+rmu89Z1bpHGUvdmETc4evQo3bp149ChQ4wYMYItW7bQp08fq8MSsYTaaETc4KabbqKkpISysjL+\n9Kc/KclIu6YajYiIuJXaaERExK2UaERExK2UaERExK2UaERExK2UaERExK2UaERExK3+P5k+A1z9\nL+mlAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x4f06390>"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.16,Page No.211"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_BD=L_CB=L_AC=2 #m #Length of BD,CB,AC\n",
+ "F_C=40 #KN #Force at C\n",
+ "F_D=10 #KN Force at D\n",
+ "L=6 #m spna of beam\n",
+ "\n",
+ "#EI is constant in this problem\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_A & V_B be the reactions at A & B Respectively\n",
+ "#V_A+V_B=50\n",
+ "\n",
+ "#Taking Moment at Pt A\n",
+ "V_B=(F_D*L+F_C*L_AC)*(L_AC+L_CB)**-1\n",
+ "V_A=50-V_B\n",
+ "\n",
+ "#Now Taking Moment at distance x from A,M_x\n",
+ "#M_x=15*x-40*(x-2)+35*(x-4)\n",
+ "#EI*(d**2*y/dx**2)=15*x-40*(x-2)+35*(x-4)\n",
+ "\n",
+ "#Now Integrating above equation we get\n",
+ "#EI*(dy/dx)=C1+7.5*x**2-20*(x-2)**2+17.5(x-4)**2\n",
+ "\n",
+ "#Again Integrating above equation we get\n",
+ "#EI*y=C2+C1*x+2.5*x**2-20*3**-1*(x-2)**3+17.5*(x-4)**3*3**-1\n",
+ "\n",
+ "#At\n",
+ "x=0\n",
+ "y=0\n",
+ "#we get\n",
+ "C2=0\n",
+ "\n",
+ "#At\n",
+ "x=4 \n",
+ "y=0\n",
+ "#we get\n",
+ "C1=(2.5*4**3-20*3**-1*2**3)*4**-1\n",
+ "\n",
+ "#Now Deflection at C\n",
+ "x=2\n",
+ "C1=-26.667\n",
+ "C2=0\n",
+ "y_C=C2+C1*x+2.5*x**3\n",
+ "\n",
+ "#Now Deflection at D\n",
+ "C1=-21.667\n",
+ "C2=0\n",
+ "y_D=-26.667*6+2.5*6**3-20*3**-1*4**3+17.5*2**3*3**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Deflections Under Loads are:y_D\",round(y_D,4)\n",
+ "print\" :y_C\",round(y_C,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Deflections Under Loads are:y_D -0.002\n",
+ " :y_C -33.33\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.17,Page No.212"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_BC=L_EB=2 #m #Length of BC & EB\n",
+ "E=200*10**6 #KN/m**2 #Modulus of eLasticity\n",
+ "I=45*10**-6 #mm**4 #M.I\n",
+ "L_DE=3 #m #Length of DE\n",
+ "L_AD=1 #m #Length of AD\n",
+ "w=20 #KN/m #u.d.l\n",
+ "L=8 #m #span of beam\n",
+ "F_C=30 #KN #Force at C\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let V_A & V_B be the reactions at A & B respectively\n",
+ "#V_A+V_B=90\n",
+ "\n",
+ "#Taking Moment at A,M_A\n",
+ "V_B=(w*L_DE*(L_DE*2**-1+L_AD)+F_C*L)*(L_AD+L_DE+L_EB)**-1\n",
+ "V_A=90-V_B\n",
+ "\n",
+ "#Taking Moment at distance x\n",
+ "#M_x=25*x-20*(x-1)**2*2**-1+20*(x-4)**2*2**-1+65*(x-6)\n",
+ "\n",
+ "#Integrating above equation we get\n",
+ "#EI*(d**2*y/dx**2)=25*x-10*(x-1)**2+10*(x-4)**2+65*(x-6)\n",
+ "\n",
+ "#again Integrating above equation we get\n",
+ "#EI*(dy/dx)=C1+25*x**2*2**-1-10*3**-1*(x-1)**3+10*3**-1*(x-4)**2+65*2**-1*(x-6)**2\n",
+ "\n",
+ "#again Integrating above equation we get\n",
+ "#EI*y=C2+C1*x+25*6**-1*x**3-10*12**-1*(x-1)**4+10*12**-1*(x-4)**4+65*6**-1*(x-6)**3\n",
+ "\n",
+ "x=0\n",
+ "y=0\n",
+ "#Sub these values in above equation,we get\n",
+ "C2=0\n",
+ "\n",
+ "x=6 #m\n",
+ "y=0\n",
+ "C1=-(25*6**-1*6**3-10*12**-1*5**4+10*12**-1*2**4)*6**-1\n",
+ "\n",
+ "#deflection at C is given by\n",
+ "x=8\n",
+ "y_c=(C2+C1*x+25*6**-1*x**3-10*12**-1*(x-1)**4+10*12**-1*(x-4)**4+65*6**-1*(x-6)**3)*(E*I)**-1\n",
+ "\n",
+ "#Assuming y is max in the portion DE,then\n",
+ "#(dy/dx)=0 for that point\n",
+ "\n",
+ "#0=-65.417+25*2**-1*x**2-10*3**-1*x(-1)**3\n",
+ "\n",
+ "#Let F(x)=-65.417+25*2**-1*x**2-10*3**-1*x(-1)**3\n",
+ "#Let z=F(x)\n",
+ "\n",
+ "#AT \n",
+ "x=3\n",
+ "z=-65.417+25*2**-1*x**2-10*3**-1*(x-1)**3\n",
+ "\n",
+ "x=2.5\n",
+ "z1=-65.417+25*2**-1*x**2-10*3**-1*(x-1)**3\n",
+ "\n",
+ "x=2.4\n",
+ "z2=-65.417+25*2**-1*x**2-10*3**-1*(x-1)**3\n",
+ "\n",
+ "#The assumption is max in portion DE\n",
+ "x=2.46\n",
+ "y_max=(-65.417*x+25*6**-1*x**3-10*12**-1*1.46**4)*(E*I)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Deflection at free end C\",round(y_c,4),\"mm\"\n",
+ "print\"Max Deflection between A and B\",round(y_max,4),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Deflection at free end C -0.0101 mm\n",
+ "Max Deflection between A and B -0.0114 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5.18,Page No.213"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L_DB=L_AC=L_ED=2 #m #Length of DB & AC\n",
+ "L_CD=4 #m #Length of CD\n",
+ "L_CE=2 #m #Length of CE\n",
+ "F_A=40 #KN #Force at C\n",
+ "F_B=20 #KN #Force at A\n",
+ "E=200*10**6 #KN/mm**2 #Modulus of Elasticity\n",
+ "I=50*10**-6 #m**4 #M.I\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#LEt V_C & V_D be the reactions at C & D respectively\n",
+ "#V_C+V_D=60\n",
+ "\n",
+ "#Taking Moment At D,M_D\n",
+ "V_C=-(-F_A*(L_AC+L_CE+L_ED)+F_B*L_DB)*L_CD**-1\n",
+ "V_D=60-V_C\n",
+ "\n",
+ "#Now Taking Moment at Distance x from A,\n",
+ "#M_x=-40*x+50*(x-2)+10*(x-6)\n",
+ "\n",
+ "#EI*(d**2*y/dx**2)=-40*x+50*(x-2)+10*(x-6)\n",
+ "\n",
+ "#Now Integrating above Equation we get\n",
+ "#EI*(dy/dx)=C1+20*x**2-25*(x-2)+5*(x-6)**2\n",
+ "\n",
+ "#Again Integrating above Equation we get\n",
+ "#EI*y=C2+C1*x-20*3**-1*x**3+25*3**-1*(x-2)**3+5*3**-1*(x-6)**3\n",
+ "\n",
+ "#At\n",
+ "x=0\n",
+ "y=0\n",
+ "#C2+2*C1=-53.33 ...............(1)\n",
+ "\n",
+ "#At \n",
+ "x=6\n",
+ "y=0\n",
+ "#C2+6*C1=906.667 ...............(2)\n",
+ "\n",
+ "#Subtracting Equation 1 from 2 we get\n",
+ "C1=853.333*4**-1\n",
+ "C2=53.333-2*C1\n",
+ "x=0\n",
+ "y_A=(C2+C1*x-20*3**-1*x**3+25*3**-1*(x-2)**3+5*3**-1*(x-6)**3)*(E*I)**-1\n",
+ "\n",
+ "#Answer For y_A is incorrect in textbook\n",
+ "\n",
+ "#At Mid-span\n",
+ "C1=853.333*4**-1\n",
+ "C2=53.333-2*C1\n",
+ "x=4\n",
+ "y_E=(C2+C1*x-20*3**-1*x**3+25*3**-1*(x-2)**3+5*3**-1*(x-6)**3)*(E*I)**-1\n",
+ "\n",
+ "#Answer For y_E is incorrect in textbook\n",
+ "\n",
+ "#At B\n",
+ "C1=853.333*4**-1\n",
+ "C2=53.333-2*C1\n",
+ "x=8\n",
+ "y_B=(C2+C1*x-20*3**-1*x**3+25*3**-1*(x-2)**3+5*3**-1*(x-6)**3)*(E*I)**-1\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"Deflection relative to the level of the supports:at End A\",round(y_A,4),\"mm\"\n",
+ "print\" :at End B\",round(y_B,4),\"mm\"\n",
+ "print\" :at Centre of CD\",round(y_E,4),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Deflection relative to the level of the supports:at End A -0.08 mm\n",
+ " :at End B -0.0267 mm\n",
+ " :at Centre of CD 0.0107 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_6.ipynb b/Strength Of Materials/chapter_6.ipynb
new file mode 100644
index 00000000..287cac1d
--- /dev/null
+++ b/Strength Of Materials/chapter_6.ipynb
@@ -0,0 +1,1457 @@
+{
+ "metadata": {
+ "name": "chapter_6.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter No.6:Torsion"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.1,Page No.225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=10000 #mm #Length of solid shaft\n",
+ "d=100 #mm #Diameter of shaft\n",
+ "n=150 #rpm\n",
+ "P=112.5*10**6 #N-mm/sec #Power Transmitted\n",
+ "G=82*10**3 #N/mm**2 #modulus of Rigidity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "J=pi*d**4*(32)**-1 #mm**3 #Polar Modulus\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm #Torsional moment\n",
+ "\n",
+ "r=50 #mm #Radius\n",
+ "\n",
+ "q_s=T*r*J**-1 #N/mm**2 #Max shear stress intensity\n",
+ "Theta=T*L*(G*J)**-1 #angle of twist\n",
+ "\n",
+ "#Result\n",
+ "print\"Max shear stress intensity\",round(q_s,2),\"N/mm**2\"\n",
+ "print\"Angle of Twist\",round(Theta,3),\"radian\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max shear stress intensity 36.48 N/mm**2\n",
+ "Angle of Twist 0.089 radian\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.2,Page No.226"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=440*10**6 #N-m/sec #Power transmitted\n",
+ "n=280 #rpm\n",
+ "theta=pi*180**-1 #radian #angle of twist\n",
+ "L=1000 #mm #Length of solid shaft\n",
+ "q_s=40 #N/mm**2 #Max torsional shear stress\n",
+ "G=84*10**3 #N/mm**2 #Modulus of rigidity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#P=2*pi*n*T*(60)**-1 #Equation of Power transmitted\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm #torsional moment\n",
+ "\n",
+ "#From Consideration of shear stress\n",
+ "d1=(T*16*(pi*40)**-1)**0.333333 \n",
+ "\n",
+ "#From Consideration of angle of twist\n",
+ "d2=(T*L*32*180*(pi*84*10**3*pi)**-1)**0.25\n",
+ "\n",
+ "#result\n",
+ "print\"Diameter of solid shaft is\",round(d1,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Diameter of solid shaft is 124.09 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.3,Page No.227"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "G=80*10**3 #N/mm**2 #Modulus of rigidity\n",
+ "q_s=80 #N/mm**2 #Max sheare stress\n",
+ "P=736*10**6 #N-mm/sec #Power transmitted\n",
+ "n=200\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm #Torsional moment\n",
+ "\n",
+ "#Now From consideration of angle of twist\n",
+ "theta=pi*180**-1\n",
+ "#L=15*d\n",
+ "\n",
+ "d=(T*32*180*15*(pi**2*G)**-1)**0.33333\n",
+ "\n",
+ "#Now corresponding stress at the surface is\n",
+ "q_s2=T*32*d*(pi*2*d**4)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Max diameter required is\",round(d,2),\"mm\"\n",
+ "print\"Corresponding shear stress is\",round(q_s2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max diameter required is 156.66 mm\n",
+ "Corresponding shear stress is 46.55 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.4,Page No.228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=25 #mm #Diameter of steel bar\n",
+ "p=50*10**3 #N #Pull\n",
+ "dell_1=0.095 #mm #Extension of bar\n",
+ "l=200 #mm #Guage Length\n",
+ "T=200*10**3 #N-mm #Torsional moment\n",
+ "theta=0.9*pi*180**-1 #angle of twist\n",
+ "L=250 #mm Length of steel bar\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "A=pi*4**-1*d**2 #Area of steel bar #mm**2\n",
+ "E=p*l*(dell_1*A)**-1 #N/mm**2 #Modulus of elasticity \n",
+ "\n",
+ "J=pi*32**-1*d**4 #mm**4 #Polar modulus\n",
+ "\n",
+ "G=T*L*(theta*J)**-1 #Modulus of rigidity #N/mm**2\n",
+ "\n",
+ "#Now from the relation of Elastic constants\n",
+ "mu=E*(2*G)**-1-1\n",
+ "\n",
+ "#result\n",
+ "print\"The Poissoin's ratio is\",round(mu,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Poissoin's ratio is 0.292\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.5,Page No.229"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=6000 #mm #Length of circular shaft\n",
+ "d1=100 #mm #Outer Diameter\n",
+ "d2=75 #mm #Inner Diameter\n",
+ "R=100*2**-1 #Radius of shaft\n",
+ "T=10*10**6 #N-mm #Torsional moment\n",
+ "G=80*10**3 #N/mm**2 #Modulus of Rigidity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "J=pi*32**-1*(d1**4-d2**4) #mm**4 #Polar Modulus \n",
+ "\n",
+ "#Max Shear stress produced\n",
+ "q_s=T*R*J**-1 #N/mm**2\n",
+ "\n",
+ "#Angle of twist\n",
+ "theta=T*L*(G*J)**-1 #Radian\n",
+ "\n",
+ "#Result\n",
+ "print\"MAx shear stress produced is\",round(q_s,2),\"N/mm**2\"\n",
+ "print\"Angle of Twist is\",round(theta,2),\"Radian\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "MAx shear stress produced is 74.5 N/mm**2\n",
+ "Angle of Twist is 0.11 Radian\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.6,Page No.229"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=200 #mm #External Diameter of shaft\n",
+ "t=25 #mm #Thickness of shaft\n",
+ "n=200 #rpm\n",
+ "theta=0.5*pi*180**-1 #Radian #angle of twist\n",
+ "L=2000 #mm #Length of shaft\n",
+ "G=84*10**3 #N/mm**2\n",
+ "d2=d1-2*t #mm #Internal Diameter of shaft\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "J=pi*32**-1*(d1**4-d2**4) #mm**4 #Polar Modulus \n",
+ "\n",
+ "#Torsional moment\n",
+ "T=G*J*theta*L**-1 #N/mm**2 \n",
+ "\n",
+ "#Power Transmitted\n",
+ "P=2*pi*n*T*60**-1*10**-6 #N-mm\n",
+ "\n",
+ "#Max shear stress transmitted\n",
+ "q_s=G*theta*(d1*2**-1)*L**-1 #N/mm**2 \n",
+ "\n",
+ "#Result\n",
+ "print\"Power Transmitted is\",round(P,2),\"N-mm\"\n",
+ "print\"Max Shear stress produced is\",round(q_s,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Power Transmitted is 824.28 N-mm\n",
+ "Max Shear stress produced is 36.65 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.7,Page No.230"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=3750*10**6 #N-mm/sec\n",
+ "n=240 #Rpm\n",
+ "q_s=160 #N/mm**2 #Max shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#d2=0.8*d2 #mm #Internal Diameter of shaft\n",
+ "\n",
+ "#J=pi*32**-1*(d1**4-d2**4) #mm**4 #Polar modulus\n",
+ "#After substituting value in above Equation we get\n",
+ "#J=0.05796*d1**4\n",
+ "\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm #Torsional moment\n",
+ "\n",
+ "#Now from Torsion Formula\n",
+ "#T*J**-1=q_s*R**-1 ......................................(1)\n",
+ "\n",
+ "#But R=d1*2**-1 \n",
+ "\n",
+ "#Now substituting value of R and J in Equation (1) we get\n",
+ "d1=(T*(0.05796*q_s*2)**-1)**0.33333\n",
+ "\n",
+ "d2=d1*0.8\n",
+ "\n",
+ "#Result\n",
+ "print\"The size of the Shaft is:d1\",round(d1,3),\"mm\"\n",
+ "print\" :d2\",round(d2,3),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The size of the Shaft is:d1 200.362 mm\n",
+ " :d2 160.289 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.8,Page No.231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=245*10**6 #N-mm/sec #Power transmitted\n",
+ "n=240 #rpm\n",
+ "q_s=40 #N/mm**2 #Shear stress\n",
+ "theta=pi*180**-1 #radian #Angle of twist\n",
+ "L=1000 #mm #Length of shaft\n",
+ "G=80*10**3 #N/mm**2\n",
+ "\n",
+ "#Tmax=1.5*T\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm #Torsional Moment\n",
+ "Tmax=1.5*T\n",
+ "\n",
+ "#Now For Solid shaft\n",
+ "#J=pi*32*d**4\n",
+ "\n",
+ "#Now from the consideration of shear stress we get\n",
+ "#T*J**-1=q_s*(d*2**-1)**-1\n",
+ "#After substituting value in above Equation we get\n",
+ "#T=pi*16**-1*d**3*q_s\n",
+ "\n",
+ "#Designing For max Torque\n",
+ "d=(Tmax*16*(pi*40)**-1)**0.33333 #mm #Diameter of shaft\n",
+ "\n",
+ "#For max Angle of Twist\n",
+ "#Tmax*J**-1=G*theta*L**-1 \n",
+ "#After substituting value in above Equation we get\n",
+ "d2=(Tmax*32*180*L*(pi**2*G)**-1)**0.25\n",
+ "\n",
+ "#For Hollow Shaft\n",
+ "\n",
+ "#d1_2=Outer Diameter\n",
+ "#d2_2=Inner Diameter\n",
+ "\n",
+ "#d2_2=0.5*d1_2\n",
+ "\n",
+ "# Polar modulus\n",
+ "#J=pi*32**-1*(d1_2**4-d2_2**4)\n",
+ "#After substituting values we get\n",
+ "#J=0.092038*d1_2**4\n",
+ "\n",
+ "#Now from the consideration of stress\n",
+ "#Tmax*J**-1=q_s*(d1_2*2**-1)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d1_2=(Tmax*(0.092038*2*q_s)**-1)**0.33333\n",
+ "\n",
+ "#Now from the consideration of angle of twist\n",
+ "#Tmax*J**-1=G*theta*L**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "d1_3=(Tmax*180*L*(0.092038*G*pi)**-1)**0.25\n",
+ "\n",
+ "d2_2=0.5*d1_2\n",
+ "\n",
+ "#result\n",
+ "print\"Diameter of shaft is:For solid shaft:d\",round(d,2),\"mm\"\n",
+ "print\" :For Hollow shaft:d1_2\",round(d1_2,3),\"mm\"\n",
+ "print\" : :d2_2\",round(d2_2,3),\"mm\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Diameter of shaft is:For solid shaft:d 123.01 mm\n",
+ " :For Hollow shaft:d1_2 125.69 mm\n",
+ " : :d2_2 62.845 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.11,Page No.235"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "P=250*10**6 #N-mm/sec #Power transmitted\n",
+ "n=100 #rpm\n",
+ "q_s=75 #N/mm**2 #Shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From Equation of Power we have\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm #Torsional moment\n",
+ "\n",
+ "#Now from torsional moment equation we have\n",
+ "#T=j*q_s*(d/2**-1)**-1\n",
+ "#After substituting values in above equation and further simplifying we get\n",
+ "#T=pi*16**-1**d**3*q_s\n",
+ "d=(T*16*(pi*q_s)**-1)**0.3333 #mm #Diameter of solid shaft\n",
+ "\n",
+ "#PArt-2\n",
+ "\n",
+ "#Let d1 and d2 be the outer and inner diameter of hollow shaft\n",
+ "#d2=0.6*d1\n",
+ "\n",
+ "#Again from torsional moment equation we have\n",
+ "#T=pi*32**-1*(d1**4-d2**4)*q_s*(d1/2)**-1\n",
+ "d1=(T*16*(pi*(1-0.6**4)*q_s)**-1)**0.33333\n",
+ "d2=0.6*d1\n",
+ "\n",
+ "#Cross sectional area of solid shaft\n",
+ "A1=pi*4**-1*d**2 #mm**2\n",
+ "\n",
+ "#cross sectional area of hollow shaft\n",
+ "A2=pi*4**-1*(d1**2-d2**2)\n",
+ "\n",
+ "#Now percentage saving in weight\n",
+ "#Let W be the percentage saving in weight\n",
+ "W=(A1-A2)*100*A1**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Percentage saving in Weight is\",round(W,3),\"%\"\n",
+ "print\"Size of shaft is:solid shaft:d\",round(d,3),\"mm\"\n",
+ "print\" :Hollow shaft:d1\",round(d1,3),\"mm\"\n",
+ "print\" : :d2\",round(d2,3),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percentage saving in Weight is 29.735 %\n",
+ "Size of shaft is:solid shaft:d 117.418 mm\n",
+ " :Hollow shaft:d1 123.031 mm\n",
+ " : :d2 73.818 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.12,Page No.237"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "d=100 #mm #Diameter of solid shaft\n",
+ "d1=100 #mm #Outer Diameter of hollow shaft\n",
+ "d2=50 #mm #Inner Diameter of hollow shaft\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Torsional moment of solid shaft\n",
+ "#T_s=J*q_s*(d*2**-1)**-1 \n",
+ "#After substituting values in above equation and further simplifying we get\n",
+ "#T_s=pi*16*d**3*q_s ...............(1)\n",
+ "\n",
+ "#torsional moment for hollow shaft is\n",
+ "#T_h=J*q_s*(d1**4-d2**4)**-1*(d1*2**-1)\n",
+ "#After substituting values in above equation and further simplifying we get\n",
+ "#T_h=pi*32**-1*2*d1**-1*(d1**4-d2**4)*q_s ...........(2)\n",
+ "\n",
+ "#Dividing Equation 2 by 1 we get\n",
+ "#Let the ratio of T_h*T_s**-1 Be X\n",
+ "X=1-0.5**4\n",
+ "\n",
+ "#Loss in strength \n",
+ "#Let s be the loss in strength\n",
+ "#s=T_s*T_h*100*T_s**-1\n",
+ "#After substituting values in above equation and further simplifying we get\n",
+ "s=(1-0.9375)*100\n",
+ "\n",
+ "#Weight Ratio \n",
+ "#Let w be the Weight ratio\n",
+ "#w=W_h*W_s**-1\n",
+ "\n",
+ "A_h=pi*32**-1*(d1**2-d2**2) #mm**2 #Area of Hollow shaft\n",
+ "A_s=pi*32**-1*d**2 #mm**2 #Area of solid shaft\n",
+ "\n",
+ "w=A_h*A_s**-1 \n",
+ "\n",
+ "#Result\n",
+ "print\"Loss in strength is\",round(s,2)\n",
+ "print\"Weight ratio is\",round(w,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Loss in strength is 6.25\n",
+ "Weight ratio is 0.75\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.13,Page No.239"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "T=8 #KN-m #Torque \n",
+ "d=100 #mm #Diameter of portion AB\n",
+ "d1=100 #mm #External Diameter of Portion BC\n",
+ "d2=75 #mm #Internal Diameter of Portion BC\n",
+ "G=80 #KN/mm**2 #Modulus of Rigidity\n",
+ "L1=1500 #mm #Radial Distance of Portion AB\n",
+ "L2=2500 #mm #Radial Distance ofPortion BC\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "R=d*2**-1 #mm #Radius of shaft\n",
+ "\n",
+ "#For Portion AB,Polar Modulus\n",
+ "J1=pi*32**-1*d**4 #mm**4 \n",
+ "\n",
+ "#For Portion BC,Polar modulus \n",
+ "J2=pi*32**-1*(d1**4-d2**4) #mm**4\n",
+ "\n",
+ "#Now Max stress occurs in portion BC since max radial Distance is sme in both cases\n",
+ "q_max=T*J2**-1*R*10**6 #N/mm**2 \n",
+ "\n",
+ "#Let theta1 be the rotation in Portion AB and theta2 be the rotation in portion BC\n",
+ "theta1=T*L1*(G*J1)**-1 #Radians\n",
+ "theta2=T*L2*(G*J2)**-1 #Radians\n",
+ "\n",
+ "#Total Rotational at end C\n",
+ "theta=(theta1+theta2)*10**3 #Radians\n",
+ "\n",
+ "#Result\n",
+ "print\"Max stress induced is\",round(q_max,2),\"N/mm**2\"\n",
+ "print\"Angle of Twist is\",round(theta,3),\"radians\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max stress induced is 59.6 N/mm**2\n",
+ "Angle of Twist is 0.053 radians\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.14,Page No.240"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "q_b=80 #N/mm**2 #Shear stress in Brass\n",
+ "q_s=100 #N/mm**2 #Shear stress in Steel\n",
+ "G_b=40*10**3 #N/mm**2 \n",
+ "G_s=80*10**3 \n",
+ "L_b=1000 #mm #Length of brass shaft\n",
+ "L_s=1200 #mm #Length of steel shaft\n",
+ "d1=80 #mm #Diameter of brass shaft\n",
+ "d2=60 #mm #Diameter of steel shaft\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Polar modulus of brass rod\n",
+ "J_b=pi*32**-1*d1**4 #mm**4 \n",
+ "\n",
+ "#Polar modulus of steel rod\n",
+ "J_s=pi*32**-1*d2**4 #mm**4\n",
+ "\n",
+ "#Considering bras Rod:AB\n",
+ "T1=J_b*q_b*(d1*2**-1)**-1 #N-mm \n",
+ "\n",
+ "#Considering Steel Rod:BC\n",
+ "T2=J_s*q_s*(d2*2**-1)**-1 #N-mm\n",
+ "\n",
+ "#Max Torque that can be applied\n",
+ "T2\n",
+ "\n",
+ "#Let theta_b and theta_s be the rotations in Brass and steel respectively\n",
+ "theta_b=T2*L_b*(G_b*J_b)**-1 #Radians\n",
+ "theta_s=T2*L_s*(G_s*J_s)**-1 #Radians\n",
+ "\n",
+ "theta=theta_b+theta_s #Radians #Rotation of free end\n",
+ "\n",
+ "#Result\n",
+ "print\"Total of free end is\",round(theta,3),\"Radians\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total of free end is 0.076 Radians\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.15,Page No.241"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "G=80*10**3 #N/mm**2 #Modulus of Rigidity\n",
+ "d1=100 #mm #Outer diameter of hollow shft\n",
+ "d2=80 #mm #Inner diameter of hollow shaft\n",
+ "d=80 #mm #diameter of Solid shaft\n",
+ "d3=60 #mm #diameter of Solid shaft having L=0.5m\n",
+ "L1=300 #mm #Length of Hollow shaft\n",
+ "L2=400 #mm #Length of solid shaft\n",
+ "L3=500 #mm #LEngth of solid shaft of diameter 60mm\n",
+ "T1=2*10**6 #N-mm #Torsion in Shaft AB\n",
+ "T2=1*10**6 #N-mm #Torsion in shaft BC\n",
+ "T3=1*10**6 #N-mm #Torsion in shaft CD\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Now Polar modulus of section AB\n",
+ "J1=pi*32**-1*(d1**4-d2**4) #mm**4 \n",
+ "\n",
+ "#Polar modulus of section BC\n",
+ "J2=pi*32**-1*d**4 #mm**4\n",
+ "\n",
+ "#Polar modulus of section CD\n",
+ "J3=pi*32**-1*d3**4 #mm**4\n",
+ "\n",
+ "#Now angle of twist of AB\n",
+ "theta1=T1*L1*(G*J1)**-1 #radians\n",
+ "\n",
+ "#Angle of twist of BC\n",
+ "theta2=T2*L2*(G*J2)**-1 #radians\n",
+ "\n",
+ "#Angle of twist of CD\n",
+ "theta3=T3*L3*(G*J3)**-1 #radians\n",
+ "\n",
+ "#Angle of twist\n",
+ "theta=theta1-theta2+theta3 #Radians\n",
+ "\n",
+ "#Shear stress in AB From Torsion Equation\n",
+ "q_s1=T1*(d1*2**-1)*J1**-1 #N/mm**2 \n",
+ "\n",
+ "#Shear stress in BC\n",
+ "q_s2=T2*(d*2**-1)*J2**-1 #N/mm**2 \n",
+ "\n",
+ "#Shear stress in CD\n",
+ "q_s3=T3*(d3*2**-1)*J3**-1 #N-mm**2\n",
+ "\n",
+ "#As max shear stress occurs in portion CD,so consider CD\n",
+ "\n",
+ "#Result\n",
+ "print\"Angle of twist at free end is\",round(theta,5),\"Radian\"\n",
+ "print\"Max Shear stress\",round(q_s3,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Angle of twist at free end is 0.00496 Radian\n",
+ "Max Shear stress 23.58 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.16,Page No.242"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=1000 #mm #Length of bar\n",
+ "L1=600 #mm #Length of Bar AB\n",
+ "L2=400 #mm #Length of Bar BC\n",
+ "d1=60 #mm #Outer Diameter of bar BC\n",
+ "d2=30 #mm #Inner Diameter of bar BC\n",
+ "d=60 #mm #Diameter of bar AB\n",
+ "T=2*10**6 #N-mm #Total Torque\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Polar Modulus of Portion AB\n",
+ "J1=pi*32**-1*d**4 #mm*4\n",
+ "\n",
+ "#Polar Modulus of Portion BC\n",
+ "J2=pi*32**-1*(d1**4-d2**4) #mm**4\n",
+ "\n",
+ "#Let T1 be the torque resisted by bar AB and T2 be torque resisted by Bar BC\n",
+ "#Let theta1 and theta2 be the rotation of shaft in portion AB & BC\n",
+ "\n",
+ "#theta1=T1*L1*(G*J1)**-1 #radians\n",
+ "#After substituting values and further simplifying we get \n",
+ "#theta1=32*600*T1*(pi*60**4*G)**-1\n",
+ "\n",
+ "#theta2=T2*L*(J2*G)**-1 #Radians\n",
+ "#After substituting values and further simplifying we get \n",
+ "#theta2=32*400*T2*(pi*60**4*(1-0.5**4)*G)**-1 \n",
+ "\n",
+ "#Now For consistency of Deformation,theta1=theta2\n",
+ "#After substituting values and further simplifying we get \n",
+ "#T1=0.7111*T2 ..................................................(1)\n",
+ "\n",
+ "#But T1+T2=T=2*10**6 ...........................................(2)\n",
+ "#Substituting value of T1 in above equation\n",
+ "\n",
+ "T2=T*(0.7111+1)**-1\n",
+ "T1=0.71111*T2\n",
+ "\n",
+ "#Max stress in Portion AB\n",
+ "q_s1=T1*(d*2**-1)*(J1)**-1 #N/mm**2\n",
+ "\n",
+ "#Max stress in Portion BC\n",
+ "q_s2=T2*(d1*2**-1)*J2**-1 #N/mm**2 \n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses Developed in Portion:AB\",round(q_s1,2),\"N/mm**2\"\n",
+ "print\" :BC\",round(q_s2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses Developed in Portion:AB 19.6 N/mm**2\n",
+ " :BC 29.4 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.17,Page No.243"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=80 #mm #External Diameter of Brass tube\n",
+ "d2=50 #mm #Internal Diameter of Brass tube\n",
+ "d=50 #mm #Diameter of steel Tube\n",
+ "G_b=40*10**3 #N/mm**2 #Modulus of Rigidity of brass tube\n",
+ "G_s=80*10**3 #N/mm**2 #Modulus of rigidity of steel tube\n",
+ "T=6*10**6 #N-mm #Torque\n",
+ "L=2000 #mm #Length of Tube\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Polar Modulus of brass tube\n",
+ "J1=pi*32**-1*(d1**4-d2**4) #mm**4 \n",
+ "\n",
+ "#Polar modulus of steel Tube\n",
+ "J2=pi*32**-1*d**4 #mm**4\n",
+ "\n",
+ "#Let T_s & T_b be the torque resisted by steel and brass respectively\n",
+ "#Then, T_b+T_s=T ............................................(1)\n",
+ "\n",
+ "#Since the angle of twist will be the same\n",
+ "#Theta1=Theta2\n",
+ "#After substituting values and further simplifying we get \n",
+ "#Ts=0.360*Tb ...........................................(2)\n",
+ "\n",
+ "#After substituting value of Ts in eqn 1 and further simplifying we get \n",
+ "T_b=T*(0.36+1)**-1 #N-mm\n",
+ "T_s=0.360*T_b\n",
+ "\n",
+ "#Let q_s and q_b be the max stress in steel and brass respectively\n",
+ "q_b=T_b*(d1*2**-1)*J1**-1 #N/mm**2\n",
+ "q_s=T_s*(d2*2**-1)*J2**-1 #N/mm**2\n",
+ "\n",
+ "#Since angle of twist in brass=angle of twist in steel\n",
+ "theta_s=T_s*L*(J2*G_s)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses Developed in Materials are:Brass\",round(q_b,2),\"N/mm**2\"\n",
+ "print\" :Steel\",round(q_s,2),\"N/mm**2\"\n",
+ "print\"Angle of Twist in 2m Length\",round(theta_s,3),\"Radians\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses Developed in Materials are:Brass 51.79 N/mm**2\n",
+ " :Steel 64.71 N/mm**2\n",
+ "Angle of Twist in 2m Length 0.065 Radians\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.18,Page No.245"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=60 #mm #External Diameter of aluminium Tube\n",
+ "d2=40 #mm #Internal Diameter of aluminium Tube\n",
+ "d=40 #mm #Diameter of steel tube\n",
+ "q_a=60 #N/mm**2 #Permissible stress in aluminium\n",
+ "q_s=100 #N/mm**2 #Permissible stress in steel tube\n",
+ "G_a=27*10**3 #N/mm**2 \n",
+ "G_s=80*10**3 #N/mm**2 \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Polar modulus of aluminium Tube\n",
+ "J_a=pi*32**-1*(d1**4-d2**4) #mm**4\n",
+ "\n",
+ "#Polar Modulus of steel Tube\n",
+ "J_s=pi*32**-1*d**4 #mm**4\n",
+ "\n",
+ "#Now the angle of twist of steel tube = angle of twist of aluminium tube\n",
+ "#T_s*L_s*(J_s*theta_s)**-1=T_a*L_a*(J_a*theta_a)**-1\n",
+ "#After substituting values in above Equation and Further simplifyin we get\n",
+ "#T_s=0.7293*T_a .....................(1)\n",
+ "\n",
+ "#If steel Governs the resisting capacity\n",
+ "T_s1=q_s*J_s*(d*2**-1)**-1 #N-mm\n",
+ "T_a1=T_s1*0.7293**-1 #N-mm\n",
+ "T1=(T_s1+T_a1)*10**-6 #KN-m #Total Torque in steel Tube\n",
+ "\n",
+ "#If aluminium Governs the resisting capacity \n",
+ "T_a2=q_a*J_a*(d1*2**-1) #N-mm\n",
+ "T_s2=T_a2*0.7293 #N-mm\n",
+ "T2=(T_s2+T_a2)*10**-6 #KN-m #Total Torque in aluminium tube\n",
+ "\n",
+ "#Result\n",
+ "print\"Steel Governs the torque carrying capacity\",round(T1,2),\"KN-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Steel Governs the torque carrying capacity 2.98 KN-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.20,Page No.250"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "T=2*10**6 #N-mm #Torque transmitted\n",
+ "G=80*10**3 #N/mm**2 #Modulus of rigidity\n",
+ "d1=40 #mm \n",
+ "d2=80 #mm\n",
+ "r1=20 #mm\n",
+ "r2=40 #mm\n",
+ "L=2000 #mm #Length of shaft\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Angle of twist \n",
+ "theta=2*T*L*(r1**2+r1*r2+r2**2)*(3*pi*G*r2**3*r1**3)**-1 #radians\n",
+ "\n",
+ "#If the shaft is treated as shaft of average Diameter\n",
+ "d_avg=(d1+d2)*2**-1 #mm\n",
+ "\n",
+ "theta1=T*L*(G*pi*32**-1*d_avg**4)**-1 #Radians\n",
+ "\n",
+ "#Percentage Error\n",
+ "#Let Percentage Error be E\n",
+ "X=theta-theta1\n",
+ "E=(X*theta**-1)*100 \n",
+ "\n",
+ "#Result\n",
+ "print\"Percentage Error is\",round(E,2),\"%\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Percentage Error is 32.28 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.21,Page No.252"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "G=80*10**3 #N/mm**2 \n",
+ "P=1*10**9 #N-mm/sec #Power\n",
+ "n=300 \n",
+ "d1=150 #mm #Outer Diameter\n",
+ "d2=120 #mm #Inner Diameter\n",
+ "L=2000 #mm #Length of circular shaft\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "T=P*60*(2*pi*n)**-1 #N-mm\n",
+ "\n",
+ "#Polar Modulus \n",
+ "J=pi*32**-1*(d1**4-d2**4) #mm**4\n",
+ "\n",
+ "q_s=T*J**-1*(d1*2**-1) #N/mm**2 \n",
+ "\n",
+ "\n",
+ "#Strain ENergy\n",
+ "U=q_s**2*(4*G)**-1*pi*4**-1*(d1**2-d2**2)*L\n",
+ "\n",
+ "#Result\n",
+ "print\"Max shear stress is\",round(q_s,2),\"N/mm**2\"\n",
+ "print\"Strain Energy stored in the shaft is\",round(U,2),\"N-mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max shear stress is 81.36 N/mm**2\n",
+ "Strain Energy stored in the shaft is 263181.37 N-mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.22,Page No.254"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=12 #mm #Diameter of helical spring\n",
+ "D=150 #mm #Mean Diameter\n",
+ "R=D*2**-1 #mm #Radius of helical spring\n",
+ "n=10 #no.of turns\n",
+ "G=80*10**3 #N/mm**2 \n",
+ "W=450 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Max shear stress \n",
+ "q_s=16*W*R*(pi*d**3)**-1 #N/mm**2\n",
+ "\n",
+ "#Strain Energy stored\n",
+ "U=32*W**2*R**3*n*(G*d**4)**-1 #N-mm\n",
+ "\n",
+ "#Deflection Produced\n",
+ "dell=64*W*R**3*n*(G*d**4)**-1 #mm\n",
+ "\n",
+ "#Stiffness Spring\n",
+ "k=W*dell**-1 #N/mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Max shear stress is\",round(q_s,2),\"N/mm**2\"\n",
+ "print\"Strain Energy stored is\",round(U,2),\"N-mm\"\n",
+ "print\"Deflection Produced is\",round(dell,2),\"mm\"\n",
+ "print\"Stiffness spring is\",round(k,2),\"N/mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max shear stress is 99.47 N/mm**2\n",
+ "Strain Energy stored is 16479.49 N-mm\n",
+ "Deflection Produced is 73.24 mm\n",
+ "Stiffness spring is 6.14 N/mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.23,Page No.255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "K=5 #N/mm #Stiffness\n",
+ "L=100 #mm #Solid Length\n",
+ "q_s=60 #N/mm**2 #Max shear stress\n",
+ "W=200 #N #Max Load\n",
+ "G=80*10**3 #N/mm**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#K=W*dell**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "#d=0.004*R**3*n ........(1) #mm #Diameter of wire\n",
+ "#n=L*d**-1 ........(2)\n",
+ "\n",
+ "#From Shearing stress\n",
+ "#q_s=16*W*R*(pi*d**3)**-1 \n",
+ "#After substituting values and further simplifying we get\n",
+ "#d**4=0.004*R**3*n .................(4)\n",
+ "\n",
+ "#From Equation 1,2,3\n",
+ "#d**4=0.004*(0.0785*d**3)**3*100*d**-1\n",
+ "#after further simplifying we get\n",
+ "d=5168.101**0.25\n",
+ "n=100*d**-1\n",
+ "R=(d**4*(0.004*n)**-1)**0.3333\n",
+ "\n",
+ "#Result\n",
+ "print\"Diameter of Wire is\",round(d,2),\"mm\"\n",
+ "print\"No.of turns is\",round(n,2)\n",
+ "print\"Mean Radius of spring is\",round(R,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Diameter of Wire is 8.48 mm\n",
+ "No.of turns is 11.79\n",
+ "Mean Radius of spring is 47.83 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.24,Page No.255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "m=5*10**5 #Wagon Weighing\n",
+ "v=18*1000*36000**-1 \n",
+ "d=300 #mm #Diameter of Beffer springs\n",
+ "n=18 #no.of turns\n",
+ "G=80*10**3 #N/mm**2\n",
+ "dell=225\n",
+ "R=100 #mm #Mean Radius\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Energy of Wagon\n",
+ "E=m*v**2*(9.81*2)**-1 #N-mm\n",
+ "\n",
+ "#Load applied\n",
+ "W=dell*G*d**4*(64*R**3*n)**-1 #N \n",
+ "\n",
+ "#Energy each spring can absorb is\n",
+ "E2=W*dell*2**-1 #N-mm\n",
+ "\n",
+ "#No.of springs required to absorb energy of Wagon\n",
+ "n2=E*E2**-1 *10**7\n",
+ "\n",
+ "#Result\n",
+ "print\"No.of springs Required for Buffer is\",round(n2,2)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "No.of springs Required for Buffer is 4.47\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.25,Page No.259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "b=180 #mm #width of flange\n",
+ "d=10 #mm #Depth of flange\n",
+ "t=10 #mm #Thickness of flange\n",
+ "D=400 #mm #Overall Depth \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "I_xx=1*12**-1*(b*D**3-(b-t)*(D-2*d)**3)\n",
+ "I_yy=1*12**-1*((D-2*d)*t**3+2*t*b**3)\n",
+ "\n",
+ "#If warping is neglected\n",
+ "J=I_xx+I_yy #mm**4\n",
+ "\n",
+ "#Since b/d>1.6,we get\n",
+ "J2=1*3**-1*d**3*b*(1-0.63*d*b**-1)*2+1*3**-1*t**3*(D-2*d)*(1-0.63*t*b**-1)\n",
+ "\n",
+ "#Over Estimation of torsional Rigidity would have been \n",
+ "T=J*J2**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Error in assessing torsional Rigidity if the warping is neglected is\",round(T,2)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Error in assessing torsional Rigidity if the warping is neglected is 808.28\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.6.26,Page No.261"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=100 #mm #Outer Diameter\n",
+ "d2=95 #mm #Inner Diameter\n",
+ "T=2*10**6 #N-mm #Torque\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "J=pi*32**-1*(d1**4-d2**4) #mm**4 #Polar Modulus\n",
+ "\n",
+ "#Shear stress\n",
+ "q_max=T*J**-1*d1*2**-1 #N/mm**2 \n",
+ "\n",
+ "#Now theta*L**-1=T*(G*J)**-1\n",
+ "#After substituting values and further simplifying we get\n",
+ "#Let theta*L**-1=X\n",
+ "X=T*J**-1\n",
+ "\n",
+ "#Now Treating it as very thin walled tube\n",
+ "d=(d1+d2)*2**-1 #mm\n",
+ "\n",
+ "r=d*2**-1 \n",
+ "t=(d1-d2)*2**-1\n",
+ "q_max2=T*(2*pi*r**2*t)**-1 #N/mm**2\n",
+ "\n",
+ "X2=T*(2*pi*r**3*t)**-1 \n",
+ "\n",
+ "#Result\n",
+ "print\"When it is treated as hollow shaft:Max shear stress\",round(q_max,2),\"N/mm**2\"\n",
+ "print\" :Angle of Twist per unit Length\",round(X,3)\n",
+ "print\"When it is very thin Walled Tube :Max shear stress\",round(q_max2,2),\"N/mm**2\"\n",
+ "print\" :Angle of twist per Unit Length\",round(X2,3)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "When it is treated as hollow shaft:Max shear stress 54.91 N/mm**2\n",
+ " :Angle of Twist per unit Length 1.098\n",
+ "When it is very thin Walled Tube :Max shear stress 53.57 N/mm**2\n",
+ " :Angle of twist per Unit Length 1.099\n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_7.ipynb b/Strength Of Materials/chapter_7.ipynb
new file mode 100644
index 00000000..17f702ff
--- /dev/null
+++ b/Strength Of Materials/chapter_7.ipynb
@@ -0,0 +1,1336 @@
+{
+ "metadata": {
+ "name": "chapter_7.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter No.7:Compound Stresses And Strains"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1,Page No.269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "sigma1=30 #N/mm**2 #Stress in tension\n",
+ "d=20 #mm #Diameter \n",
+ "sigma2=90 #N/mm**2 #Max compressive stress\n",
+ "sigma3=25 #N/mm**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#In TEnsion\n",
+ "\n",
+ "#Corresponding stress in shear\n",
+ "P=sigma1*2**-1 #N/mm**2\n",
+ "\n",
+ "#Tensile force\n",
+ "F=pi*4**-1*d**2*sigma1\n",
+ "\n",
+ "#In Compression\n",
+ "\n",
+ "#Correspong shear stress\n",
+ "P2=sigma2*2**-1 #N/mm**2\n",
+ "\n",
+ "#Correspong compressive(axial) stress\n",
+ "p=2*sigma3 #N/mm**2 \n",
+ "\n",
+ "#Corresponding Compressive force\n",
+ "P3=p*pi*4**-1*d**2 #N\n",
+ "\n",
+ "#Result\n",
+ "print\"Failure Loads are:\",round(F,2),\"N\"\n",
+ "print\" :\",round(P3,2),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Failure Loads are: 9424.78 N\n",
+ " : 15707.96 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.2,Page No.270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=25 #mm #Diameter of circular bar\n",
+ "F=20*10**3 #N #Axial Force\n",
+ "theta=30 #Degree #angle \n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Axial stresses\n",
+ "p=F*(pi*4**-1*d**2)**-1 #N/mm**2\n",
+ "\n",
+ "#Normal Stress\n",
+ "p_n=p*(cos(30*pi*180**-1))**2\n",
+ "\n",
+ "#Tangential Stress\n",
+ "p_t=p*2**-1*sin(2*theta*pi*180**-1)\n",
+ "\n",
+ "#Max shear stress occurs on plane where theta2=45 \n",
+ "theta2=45\n",
+ "sigma_max=p*2**-1*sin(2*theta2*pi*180**-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses developed on a plane making 30 degree is:\",round(p_n,2),\"N/mm**2\"\n",
+ "print\" :\",round(p_t,2),\"N/mm**2\"\n",
+ "print\"stress on max shear stress is\",round(sigma_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses developed on a plane making 30 degree is: 30.56 N/mm**2\n",
+ " : 17.64 N/mm**2\n",
+ "stress on max shear stress is 20.37 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.3,Page No.272"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "theta=30 #degree\n",
+ "\n",
+ "#Stresses acting on material\n",
+ "p1=120 #N/mm**2\n",
+ "p2=80 #N/mm**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Normal Stress\n",
+ "P_n=(p1+p2)*2**-1+(p1-p2)*2**-1*cos(2*theta*pi*180**-1) #N/mm**2\n",
+ "\n",
+ "#Tangential stress\n",
+ "P_t=(p1-p2)*2**-1*sin(2*theta*pi*180**-1)\n",
+ "\n",
+ "#Resultant stress\n",
+ "P=(P_n**2+P_t**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Inclination to the plane\n",
+ "phi=np.arctan(P_n*P_t**-1)*(180*pi**-1)\n",
+ "\n",
+ "#Angle made by resultant with 120 #N/mm**2 stress\n",
+ "phi2=phi+theta #Degree\n",
+ "\n",
+ "#Result\n",
+ "print\"Normal Stress is\",round(P_n,2),\"N/mm**2\"\n",
+ "print\"Tangential Stress is\",round(P_t,2),\"N/mm**2\"\n",
+ "print\"Angle made by resultant\",round(phi2,2),\"Degree\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Normal Stress is 110.0 N/mm**2\n",
+ "Tangential Stress is 17.32 N/mm**2\n",
+ "Angle made by resultant 111.05 Degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.4,Page No.272"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Direct Stresses\n",
+ "P1=60 #N/mm**2 \n",
+ "P2=100 #N/mm**2\n",
+ "\n",
+ "Theta=25 #Degree #Angle\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Normal Stress\n",
+ "P_n=(P1-P2)*2**-1+(P1+P2)*2**-1*cos(2*Theta*pi*180**-1) #N/mm**2\n",
+ "\n",
+ "#Tangential Stress\n",
+ "P_t=(P1+P2)*2**-1*sin(Theta*2*pi*180**-1) #N/mm**2\n",
+ "\n",
+ "#Resultant stress\n",
+ "P=(P_n**2+P_t**2)**0.5 #N/mm**2\n",
+ "\n",
+ "theta2=np.arctan(P_n*P_t**-1)*(180*pi**-1)\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses on the plane AC is:\",round(P_n,2),\"N/mm**2\"\n",
+ "print\" \",round(P_t,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses on the plane AC is: 31.42 N/mm**2\n",
+ " 61.28 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.6,Page No.278"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Stresses acting on material\n",
+ "p_x=180 #N/mm**2 \n",
+ "p_y=120 #N/mm**2\n",
+ "\n",
+ "q=80 #N/mm**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "theta=np.arctan(2*q*(p_x-p_y)**-1)*(180*pi**-1) #degrees\n",
+ "theta2=theta*2**-1 #Degrees\n",
+ "theta3=theta+180 #Degrees\n",
+ "theta4=theta3*2**-1 #Degrees\n",
+ "\n",
+ "#Stresses\n",
+ "p_1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "p_2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Magnitude of Principal stress is:\",round(p_1,2),\"N/mm**2\"\n",
+ "print\" \",round(p_2,2),\"N/mm**2\"\n",
+ "print\"Magnitude of max shear stress is\",round(q_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Magnitude of Principal stress is: 235.44 N/mm**2\n",
+ " 64.56 N/mm**2\n",
+ "Magnitude of max shear stress is 85.44 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.7,Page No.279"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#stresses\n",
+ "p_x=60 #N/mm**2\n",
+ "p_y=-40 #N/mm**2\n",
+ "\n",
+ "q=10 #N/mm**2 #shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Principal Stresses\n",
+ "p1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "p2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Inclination of principal stress to plane\n",
+ "theta=np.arctan(2*q*(p_x-p_y)**-1)*(180*pi**-1)#Degrees\n",
+ "theta2=(theta)*2**-1 #degrees\n",
+ "\n",
+ "theta3=(theta+180)*2**-1 #degrees\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Stresses are:\",round(p1,2),\"N/mm**2\"\n",
+ "print\" :\",round(p2,2),\"N/mm**2\"\n",
+ "print\"Max shear stresses\",round(q_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Stresses are: 60.99 N/mm**2\n",
+ " : -40.99 N/mm**2\n",
+ "Max shear stresses 50.99 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.8,Page No.280"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#stresses\n",
+ "p_x=-120 #N/mm**2\n",
+ "p_y=-80 #N/mm**2\n",
+ "\n",
+ "q=-60 #N/mm**2 #shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Principal Stresses\n",
+ "p1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "p2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Inclination of principal stress to plane\n",
+ "theta=np.arctan(2*q*(p_x-p_y)**-1)*(180*pi**-1)#Degrees\n",
+ "theta2=(theta)*2**-1 #degrees\n",
+ "\n",
+ "theta3=(theta+180)*2**-1 #degrees\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Stresses are:\",round(p1,2),\"N/mm**2\"\n",
+ "print\" :\",round(p2,2),\"N/mm**2\"\n",
+ "print\"Max shear stresses\",round(q_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Stresses are: -36.75 N/mm**2\n",
+ " : -163.25 N/mm**2\n",
+ "Max shear stresses 63.25 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.9,Page No.282"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#stresses\n",
+ "p_x=-40 #N/mm**2\n",
+ "p_y=80 #N/mm**2\n",
+ "\n",
+ "q=48 #N/mm**2 #shear stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=((((p_x-p_y)*2**-1)**2)+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Inclination of principal stress to plane\n",
+ "theta=np.arctan(2*q*(p_x-p_y)**-1)*(180*pi**-1)#Degrees\n",
+ "theta2=(theta)*2**-1 #degrees\n",
+ "\n",
+ "theta3=(theta+180)*2**-1 #degrees\n",
+ "\n",
+ "#Normal Corresponding stress\n",
+ "p_n=(p_x+p_y)*2**-1+(p_x-p_y)*2**-1*cos(2*(theta2+45)*pi*180**-1)+q*sin(2*(theta2+45)*pi*180**-1) #Degrees\n",
+ "\n",
+ "#Resultant stress\n",
+ "p=((p_n**2+q_max**2)**0.5) #N/mm**2\n",
+ "\n",
+ "phi=np.arctan(p_n*q_max**-1)*(180*pi**-1) #Degrees\n",
+ "\n",
+ "#Inclination to the plane\n",
+ "alpha=round((theta2+45),2)+round(phi ,2)#Degree\n",
+ "\n",
+ "#Answer in book is incorrect of alpha ie41.25\n",
+ "\n",
+ "#Result\n",
+ "print\"Planes of max shear stress:\",round(p_n,2),\"N/mm**2\"\n",
+ "print\" \",round(q_max,2),\"N/mm*2\"\n",
+ "print\"Resultant Stress is\",round(p,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Planes of max shear stress: 20.0 N/mm**2\n",
+ " 76.84 N/mm*2\n",
+ "Resultant Stress is 79.4 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.10,Page No.283"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Stresses\n",
+ "p_x=50*cos(35*pi*180**-1)\n",
+ "q=50*sin(35*pi*180**-1)\n",
+ "p_y=0\n",
+ "\n",
+ "theta=40 #Degrees #Plane AB inclined to vertical\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Normal Stress on AB\n",
+ "p_n=(p_x+p_y)*2**-1+(p_x-p_y)*2**-1*cos(2*theta*pi*180**-1)+q*sin(2*theta*pi*180**-1)\n",
+ "\n",
+ "#Tangential Stress on AB\n",
+ "p_t=(p_x-p_y)*2**-1*sin(2*theta*pi*180**-1)-q*cos(2*theta*pi*180**-1) #N/mm**2\n",
+ "\n",
+ "#Resultant stress\n",
+ "p=(p_n**2+p_t**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Angle of resultant\n",
+ "phi=np.arctan(p_n*p_t**-1)*(180*pi**-1) #degrees\n",
+ "phi2=phi+theta #Degrees\n",
+ "\n",
+ "#Result\n",
+ "print\"Magnitude of resultant stress is\",round(p,2),\"N/mm**2\"\n",
+ "print\"Direction of Resultant stress is\",round(phi2,2),\"Degrees\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Magnitude of resultant stress is 54.44 N/mm**2\n",
+ "Direction of Resultant stress is 113.8 Degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.12,Page No.285"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Direct stresses\n",
+ "p_x=120 #N/mm**2 #Tensile stress\n",
+ "p_y=-100 #N/mm**2 #Compressive stress\n",
+ "p1=160 #N/mm**2 #Major principal stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let q be the shearing stress\n",
+ "\n",
+ "#p1=(p_x+p_y)*2**-1+((((p_x+p_y)*2**-1)**2)+q**2)**0.5\n",
+ "#After further simplifying we get\n",
+ "q=(p1-((p_x+p_y)*2**-1))**2-((p_x-p_y)*2**-1)**2 #N/mm**2\n",
+ "q2=(q)**0.5 #N/mm**2\n",
+ "\n",
+ "#Minimum Principal stress\n",
+ "p2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q2**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shearing stress\n",
+ "q_max=(((p_x-p_y)*2**-1)**2+q2**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Shearing stress of material\",round(q,2),\"N/mm**2\"\n",
+ "print\"Min Principal stress\",round(p2,2),\"N/mm**2\"\n",
+ "print\"Max shearing stress\",round(q_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Shearing stress of material 10400.0 N/mm**2\n",
+ "Min Principal stress -140.0 N/mm**2\n",
+ "Max shearing stress 150.0 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.14,Page No.291"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "F=40*10**3 #N #Shear Force\n",
+ "M=20*10**6 #Bending Moment\n",
+ "\n",
+ "#Rectangular section\n",
+ "b=100 #mm #Width\n",
+ "d=200 #mm #Depth\n",
+ "\n",
+ "x=20 #mm #Distance from Top surface upto point\n",
+ "y=80 #mm #Distance from point to Bottom\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "I=1*12**-1*b*d**3 #mm**4 #M.I\n",
+ "\n",
+ "#At 20 mm Below top Fibre\n",
+ "f_x=M*I**-1*y #N/mm**2 #Stress\n",
+ "\n",
+ "#Assuming sagging moment ,f_x is compressive p_x=f_x=-24 #N/mm**2\n",
+ "p_x=f_x=-24 #N/mm**2\n",
+ "\n",
+ "#Shearing stress\n",
+ "q=F*(b*I)**-1*(b*x*(b-x*2**-1)) #N/mm**2\n",
+ "\n",
+ "#Direct stresses\n",
+ "\n",
+ "p_y=0 #N/mm**2\n",
+ "\n",
+ "p1=(p_x+p_y)*2**-1+(((p_x+p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "p2=(p_x+p_y)*2**-1-(((p_x+p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Directions of principal stresses at a point below 20mm is:\",round(p1,2),\"N/mm**2\"\n",
+ "print\" \",round(p2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Directions of principal stresses at a point below 20mm is: 0.05 N/mm**2\n",
+ " -24.05 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.15,Page No.292"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import numpy as np\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=4000 #mm #Span\n",
+ "W1=W2=W3=2*10**3 #N #Load\n",
+ "\n",
+ "#SEction of beam\n",
+ "b=100 #mm #Width\n",
+ "d=240 #mm #Dept\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A and R_B be the reactions\n",
+ "R_A=R_B=(W1+W2+W3)*2**-1 #KN\n",
+ "\n",
+ "#Now at the section 1.5m from left support A\n",
+ "#Shear Force\n",
+ "F=R_A-W1 #KN\n",
+ "\n",
+ "#B.M\n",
+ "M=R_A*1.5-W1*0.5 #KN-m\n",
+ "\n",
+ "#M.I\n",
+ "I=1*12**-1*b*d**3 #mm**4\n",
+ "\n",
+ "#Bending stress\n",
+ "#f=M*I**-1*y\n",
+ "#After Sub values and further simplifying we get\n",
+ "#f=3.04*10**-2*y\n",
+ "\n",
+ "#As it varies Linearly\n",
+ "\n",
+ "#at distance 0 From NA \n",
+ "f1=0\n",
+ "#at distance 60 mm from NA\n",
+ "f2=1.823 #N/mm**2\n",
+ "#at distance 120 mm from NA\n",
+ "f3=3.646 #N/mm**2\n",
+ "\n",
+ "#Shearing stress\n",
+ "q=F*b*d*2**-1*d*4**-1*(b*I)**-1\n",
+ "\n",
+ "#At 60 mm above NA\n",
+ "q2=F*b*d*4**-1*(d*2**-1-d*8**-1)*(b*I)**-1\n",
+ "\n",
+ "#At 120 mm above NA\n",
+ "q3=0 \n",
+ "\n",
+ "#At NA element is under pure shear\n",
+ "p1=q #N/mm**2\n",
+ "p2=-q #N/mm**2 \n",
+ "\n",
+ "#Inclination of principal plane to vertical\n",
+ "#theta=2*q*0**-1\n",
+ "#Further simplifying we get\n",
+ "#theta=infinity\n",
+ "\n",
+ "#therefore\n",
+ "theta=90*2**-1 #degrees\n",
+ "theta2=270*2**-1 #degrees\n",
+ "\n",
+ "#At 60 mm From NA\n",
+ "p_x=-1.823 #N/mm**2 \n",
+ "p_y=0\n",
+ "q=0.0469 #N/mm**2\n",
+ "\n",
+ "#principal planes\n",
+ "P1=(p_x+p_y)*2**-1+(((p_x+p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "P2=(p_x+p_y)*2**-1-(((p_x+p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Principal planes inclination to hte plane of p_x is given by\n",
+ "theta3=(np.arctan(2*q*(p_x-p_y)**-1)*(180*pi**-1))\n",
+ "theta4=theta3*2**-1#degrees\n",
+ "\n",
+ "theta5=theta3+180 #Degrees\n",
+ "\n",
+ "#At 120 mm From N-A\n",
+ "p_x2=3.646 #N/mm**2\n",
+ "p_y2=0 #N/mm**2\n",
+ "q2=0 #N/mm**2\n",
+ "\n",
+ "P3=p_x2 #N/mm**2\n",
+ "P4=0 #N/mm**2\n",
+ "\n",
+ "#Answer for P2 at 60 mm from NA is incorrect\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Planes at 60 mm from NA:\",round(p_x,2),\"N/mm**2\"\n",
+ "print\" \",round(p_y,2),\"N/mm**2\"\n",
+ "print\"Principal Stresses at 60 mm From NA\",round(P1,4),\"N/mm**2\"\n",
+ "print\" \",round(P2,4),\"N/mm**2\"\n",
+ "print\"Principal Planes at 60 mm from NA:\",round(p_x2,4),\"N/mm**2\"\n",
+ "print\" \",round(p_y2,4),\"N/mm**2\"\n",
+ "print\"Principal Stresses at 60 mm From NA\",round(P3,4),\"N/mm**2\"\n",
+ "print\" \",round(P4,4),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Planes at 60 mm from NA: -1.82 N/mm**2\n",
+ " 0.0 N/mm**2\n",
+ "Principal Stresses at 60 mm From NA 0.0012 N/mm**2\n",
+ " -1.8242 N/mm**2\n",
+ "Principal Planes at 60 mm from NA: 3.646 N/mm**2\n",
+ " 0.0 N/mm**2\n",
+ "Principal Stresses at 60 mm From NA 3.646 N/mm**2\n",
+ " 0.0 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.16,Page No.295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=8000 #mm #Span of beam\n",
+ "w=40*10**6 #N/mm #udl\n",
+ "\n",
+ "#I-section\n",
+ "\n",
+ "#Flanges\n",
+ "b=100 #mm #Width\n",
+ "t=10 #mm #Thickness\n",
+ "\n",
+ "D=400 #mm #Overall Depth\n",
+ "t2=10 #mm #thickness of web\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let R_A and R_B be the Reactions at A & B respectively\n",
+ "R_A=w*2**-1*L*10**-9 #KN\n",
+ "\n",
+ "#Shear force at 2m for left support\n",
+ "F=R_A-2*w*10**-6 #KN\n",
+ "\n",
+ "#Bending Moment\n",
+ "M=R_A*2-2*w*10**-6 #KN-m\n",
+ "\n",
+ "#M.I\n",
+ "I=1*12**-1*b*D**3-1*12**-1*(b-t)*(D-2*t2)**3 #mm**4\n",
+ "\n",
+ "#Bending stress at 100 mm above N_A\n",
+ "f=M*10**6*I**-1*b\n",
+ "\n",
+ "#Shear stress \n",
+ "q=F*10**3*(t*I)**-1*(b*t*(D-t)*2**-1 +t2*(b-t2)*145) #N/mm**2\n",
+ "\n",
+ "p_x=-197.06 #N/mm**2 \n",
+ "p_y=0 #N/mm**2\n",
+ "q=21.38 #N/mm**2\n",
+ "\n",
+ "#Principal Stresses\n",
+ "\n",
+ "P1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "P2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Stresses are:\",round(P1,2),\"N/mm**2\"\n",
+ "print\" \",round(P2,2),\"N/mm**2\"\n",
+ "print\"Max shear stress\",round(q_max,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Stresses are: 2.29 N/mm**2\n",
+ " -199.35 N/mm**2\n",
+ "Max shear stress 100.82 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.18,Page No.298"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=100 #mm #Diameter of shaft\n",
+ "M=3*10**6 #N-mm #B.M\n",
+ "T=6*10**6 #N-mm #Twisting Moment\n",
+ "mu=0.3\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Max principal Stress\n",
+ "\n",
+ "P1=16*(pi*d**3)**-1*(M+(M**2+T**2)**0.5) #N/mm**2 \n",
+ "P2=16*(pi*d**3)**-1*(M-(M**2+T**2)**0.5) #N/mm**2 \n",
+ "\n",
+ "#Direct stress\n",
+ "P=round(P1,2)-mu*round(P2,2) #N/mm**2 \n",
+ "\n",
+ "#Result\n",
+ "print\"Principal stresses are:\",round(P1,2),\"N/mm**2\"\n",
+ "print\" :\",round(P2,2),\"N/mm**2\"\n",
+ "print\"Stress Producing the same strain is\",round(P,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal stresses are: 49.44 N/mm**2\n",
+ " : -18.89 N/mm**2\n",
+ "Stress Producing the same strain is 55.11 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.19,Page No.299"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=75 #mm #diameter \n",
+ "P=30*10**6 #W #Power transmitted\n",
+ "W=6 #N-mm/sec #Load\n",
+ "L=1000 #mm \n",
+ "N=300 #r.p.m\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#B.M\n",
+ "M=W*L*4**-1 #N-mm\n",
+ "T=P*60*(2*pi*N)**-1 #Torque transmitted\n",
+ "\n",
+ "#M.I\n",
+ "I=pi*64**-1*d**4 #mm**4\n",
+ "\n",
+ "#Bending stress\n",
+ "f_A=M*I**-1*(d*2**-1) #N/mm**2\n",
+ "\n",
+ "#At A\n",
+ "p_x=f_A\n",
+ "p_y=0\n",
+ "\n",
+ "#Polar Modulus\n",
+ "J=pi*32**-1*d**4 #mm**4\n",
+ "\n",
+ "#Shearing stress\n",
+ "q=T*J**-1*(d*2**-1) #N/mm**2\n",
+ "\n",
+ "#Principal Stresses\n",
+ "P1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "P2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Bending stress\n",
+ "p_x2=0\n",
+ "p_y2=0\n",
+ "\n",
+ "#Shearing stress\n",
+ "q2=T*J**-1*d*2**-1 #N/mm**2\n",
+ "\n",
+ "#Principal stresses\n",
+ "P3=(p_x2+p_y2)*2**-1+(((p_x2-p_y2)*2**-1)**2+q2**2)**0.5 #N/mm**2\n",
+ "P4=(p_x2+p_y2)*2**-1-(((p_x2-p_y2)*2**-1)**2+q2**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max2=(((p_x2-p_y2)*2**-1)**2+q2**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Answer for Principal Stresses P1,P2 and Max stress i.e q_max is incorrect in Book\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Stresses at vertical Diameter:P1\",round(P1,2),\"N/mm**2\"\n",
+ "print\" :P2\",round(P2,2),\"N/mm**2\"\n",
+ "print\"Max stress at vertical Diameter : \",round(q_max,2),\"N/mm**2\"\n",
+ "print\"Principal Stresses at Horizontal Diameter:P3\",round(P3,2),\"N/mm**2\"\n",
+ "print\" :P4\",round(P4,2),\"N/mm**2\"\n",
+ "print\"Max stress at Horizontal Diameter : \",round(q_max2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Stresses at vertical Diameter:P1 11.55 N/mm**2\n",
+ " :P2 -11.51 N/mm**2\n",
+ "Max stress at vertical Diameter : 11.53 N/mm**2\n",
+ "Principal Stresses at Horizontal Diameter:P3 11.53 N/mm**2\n",
+ " :P4 -11.53 N/mm**2\n",
+ "Max stress at Horizontal Diameter : 11.53 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.20,Page No.302"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=100 #mm #External Diameter\n",
+ "d2=50 #mm #Internal Diameter\n",
+ "N=500 #mm #r.p.m\n",
+ "P=60*10**6 #N-mm/sec #Power\n",
+ "p=100 #N/mm**2 #principal stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#M.I\n",
+ "I=pi*(d1**4-d2**4)*64**-1 #mm**4\n",
+ "\n",
+ "#Bending Stress\n",
+ "#f=M*I*d1*2**-1 #N/mm**2\n",
+ "\n",
+ "#Principal Planes\n",
+ "#p_x=32*M*(pi*(d1**4-d2**4))*d1\n",
+ "#p_y=0\n",
+ "\n",
+ "#Shear stress\n",
+ "#q=T*J**-1*(d1*2**-1)\n",
+ "#After sub values and further simplifying we get\n",
+ "#q=16*T*d1*(pi*(d1**4-d2**4))*d1\n",
+ "\n",
+ "#Principal stresses\n",
+ "#P1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "#After sub values and further simplifying we get\n",
+ "#P1=16*(pi*(d1**4-d2**4))*d1*(M+(M**2+t**2)**0.5) ...............(1)\n",
+ "\n",
+ "#P=2*pi*N*T*60**-1\n",
+ "#After sub values and further simplifying we get\n",
+ "T=P*60*(2*pi*N)**-1*10**-6 #N-mm\n",
+ "\n",
+ "#Again Sub values and further simplifying Equation 1 we get\n",
+ "M=(337.533)*(36.84)**-1 #KN-m\n",
+ "\n",
+ "#Min Principal stress\n",
+ "#P2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "#Sub values and further simplifying we get\n",
+ "P2=16*(pi*(d1**4-d2**4))*d1*(M-(M**2+T**2)**0.5)*10**-11\n",
+ "\n",
+ "#Result\n",
+ "print\"Bending Moment safely applied to shaft is\",round(M,2),\"KN-m\"\n",
+ "print\"Min Principal Stress is\",round(P2,3),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Bending Moment safely applied to shaft is 9.16 KN-m\n",
+ "Min Principal Stress is -0.336 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.21,Page No.303"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=150 #mm #Diameter\n",
+ "T=20*10**6 #N #Torque\n",
+ "M=12*10**6 #N-mm #B.M\n",
+ "F=200*10**3 #N #Axial Thrust\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#M.I\n",
+ "I=(pi*64**-1*d**4)\n",
+ "\n",
+ "#Bending stress \n",
+ "f_A=M*I**-1*(d*2**-1) #N/mm**2\n",
+ "f_B=-f_A #N/mm**2\n",
+ "\n",
+ "#Axial thrust due to thrust\n",
+ "sigma=F*(pi*4**-1*d**2)**-1\n",
+ "\n",
+ "#At A\n",
+ "p_x=f_A-sigma #N/mm**2\n",
+ "\n",
+ "#At B\n",
+ "p_x2=f_B-sigma #N/mm**2\n",
+ "\n",
+ "p_y=0 #At A and B\n",
+ "\n",
+ "#Polar Modulus\n",
+ "J=pi*32**-1*d**4 #mm**4\n",
+ "\n",
+ "#Shearing stress at A and B\n",
+ "q=T*J**-1*(d*2**-1) #N/mm**2\n",
+ "\n",
+ "\n",
+ "#Principal Stresses\n",
+ "#At A\n",
+ "P1=(p_x+p_y)*2**-1+(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "P2=(p_x+p_y)*2**-1-(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max1=(((p_x-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#At B\n",
+ "P1_2=(p_x2+p_y)*2**-1+(((p_x2-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "P2_2=(p_x2+p_y)*2**-1-(((p_x2-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max2=(((p_x2-p_y)*2**-1)**2+q**2)**0.5 #N/mm**2\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"MAx Principal Stresses:P1\",round(P1,2),\"N/mm**2\"\n",
+ "print\" :P2\",round(P2,2),\"N/mm**2\"\n",
+ "print\"Min Principal Stresses:P1_2\",round(P1_2,2),\"N/mm**2\"\n",
+ "print\" :P2_2\",round(P2_2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "MAx Principal Stresses:P1 45.1 N/mm**2\n",
+ " :P2 -20.2 N/mm**2\n",
+ "Min Principal Stresses:P1_2 14.65 N/mm**2\n",
+ " :P2_2 -62.18 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.22,Page No.311"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#strains\n",
+ "e_A=500 #microns\n",
+ "e_B=250 #microns\n",
+ "e_C=-150 #microns\n",
+ "E=2*10**5 #N/mm**2 #Modulus of Elasticity\n",
+ "mu=0.3 #Poissoin's ratio\n",
+ "theta=45 #Degrees\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "e_x=e_A=500\n",
+ "e_45=e_B=250\n",
+ "e_y=e_C=-150 \n",
+ "\n",
+ "#e_45=(e_x+e_y)*2**-1+(e_x-e_y)*2**-1*cos(2*theta)+rho_x_y*2**-1*sin(2*theta)\n",
+ "#After sub values and further simplifying we get\n",
+ "rho_x_y=(e_45-(e_x+e_y)*2**-1-(e_x-e_y)*2**-1*cos(2*theta*pi*180**-1))*(sin(2*theta*pi*180**-1))**-1*2\n",
+ "\n",
+ "#Principal strains are given by\n",
+ "e1=(e_x+e_y)*2**-1+(((e_x-e_y)*2**-1)**2+(rho_x_y*2**-1)**2)**0.5 #microns\n",
+ "e2=(e_x+e_y)*2**-1-(((e_x-e_y)*2**-1)**2+(rho_x_y*2**-1)**2)**0.5 #microns\n",
+ "\n",
+ "#Principal Stresses\n",
+ "sigma1=E*(e1+mu*e2)*(1-mu**2)**-1*10**-6 #N/mm**2\n",
+ "sigma2=E*(e2+mu*e1)*(1-mu**2)**-1*10**-6 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Strains are:e1\",round(e1,2),\"N/mm**2\"\n",
+ "print\" :e2\",round(e2,2),\"N/mm**2\"\n",
+ "print\"Principal Stresses are:sigma1\",round(sigma1,2),\"N/mm**2\"\n",
+ "print\" :sigma2\",round(sigma2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Strains are:e1 508.54 N/mm**2\n",
+ " :e2 -158.54 N/mm**2\n",
+ "Principal Stresses are:sigma1 101.31 N/mm**2\n",
+ " :sigma2 -1.31 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example No.7.23,Page No.313"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Strains\n",
+ "e_A=600 #microns\n",
+ "e_B=-450 #microns\n",
+ "e_C=100 #micron\n",
+ "E=2*10**5 #N/mm**2 #Modulus of Elasticity\n",
+ "mu=0.3 #Poissoin's ratio\n",
+ "theta=240\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "e_x=e_A=600\n",
+ "\n",
+ "#e_A=(e_x+e_y)*2**-1+(e_x-e_y)*2**-1*cos(theta)+rho_x_y*2**-1*sin(theta)\n",
+ "#After sub values and further simplifying we get\n",
+ "#-450=(e_x+e_y)*2**-1-(e_x-e_y)*2**-1*(0.5)-0.866*2**-1*rho_x_y .....................(1)\n",
+ "\n",
+ "#e_C=(e_x+e_y)*2**-1+(e_x-e_y)*2**-1*cos(2*theta)+rho_x_y*2**-1*sin(2*theta)\n",
+ "#After sub values and further simplifying we get\n",
+ "#100=(e_x+e_y)*2**-1-0.5*(e_x-e_y)*2**-1*(0.5)-0.866*2**-1*rho_x_y .....................(2)\n",
+ "\n",
+ "#Adding Equation 1 and 2 we get equations as\n",
+ "#-350=e_x+e_y-(e_x-e_y)*2**-1 ...............(3)\n",
+ "#Further simplifying we get\n",
+ "\n",
+ "e_y=(-700-e_x)*3**-1 #micron \n",
+ "\n",
+ "rho_x_y=(e_C-(e_x+e_y)*2**-1-(e_x-e_y)*2**-1*cos(2*theta*pi*180**-1))*(sin(2*theta*pi*180**-1))**-1*2 #micron\n",
+ "\n",
+ "#Principal strains\n",
+ "e1=(e_x+e_y)*2**-1-(((e_x-e_y)*2**-1)**2+(rho_x_y*2**-1)**2)**0.5 #microns\n",
+ "e2=(e_x+e_y)*2**-1+(((e_x-e_y)*2**-1)**2+(rho_x_y*2**-1)**2)**0.5 #microns\n",
+ "\n",
+ "#Principal Stresses\n",
+ "sigma1=E*(e1+mu*e2)*(1-mu**2)**-1*10**-6 #N/mm**2\n",
+ "sigma2=E*(e2+mu*e1)*(1-mu**2)**-1*10**-6 #N/mm**2\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"Principal Stresses are:sigma1\",round(sigma1,2),\"N/mm**2\"\n",
+ "print\" :sigma2\",round(sigma2,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Principal Stresses are:sigma1 -69.49 N/mm**2\n",
+ " :sigma2 117.11 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_8.ipynb b/Strength Of Materials/chapter_8.ipynb
new file mode 100644
index 00000000..367a4511
--- /dev/null
+++ b/Strength Of Materials/chapter_8.ipynb
@@ -0,0 +1,1531 @@
+{
+ "metadata": {
+ "name": "chapter_8.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter No.8:Thin And Thick Cyclinders And Spheres"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.1,Page No.322"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=3000 #mm #Length\n",
+ "d1=1000 #mm #Internal diameter\n",
+ "t=15 #mm #Thickness\n",
+ "P=1.5 #N/mm**2 #Fluid Pressure\n",
+ "E=2*10**5 #n/mm**2 #Modulus of elasticity\n",
+ "mu=0.3 #Poissoin's ratio\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Hoop stress\n",
+ "f1=P*d1*(2*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Longitudinal Stress\n",
+ "f2=P*d1*(4*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Max shear stress\n",
+ "q_max=(f1-f2)*2**-1 #N/mm**2\n",
+ "\n",
+ "#Diametrical Strain\n",
+ "#Let e1=dell_d*d**-1 .....................(1)\n",
+ "e1=(f1-mu*f2)*E**-1 \n",
+ "\n",
+ "#Sub values in equation 1 and further simplifying we get\n",
+ "dell_d=e1*d1 #mm\n",
+ "\n",
+ "#Longitudinal strain\n",
+ "#e2=dell_L*L**-1 ......................(2)\n",
+ "e2=(f2-mu*f1)*E**-1 \n",
+ "\n",
+ "#Sub values in equation 2 and further simplifying we get\n",
+ "dell_L=e2*L #mm\n",
+ "\n",
+ "#Change in Volume \n",
+ "#Let Z=dell_V*V**-1 ................(3)\n",
+ "Z=2*e1+e2\n",
+ "\n",
+ "#Sub values in equation 3 and further simplifying we get\n",
+ "dell_V=Z*pi*4**-1*d1**2*L\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Intensity of shear stress\",round(q_max,2),\"N/mm**2\"\n",
+ "print\"Change in the Dimensions of the shell is:dell_d\",round(dell_d,2),\"mm\"\n",
+ "print\" :dell_L\",round(dell_L,2),\"mm\"\n",
+ "print\" :dell_V\",round(dell_V,2),\"mm**3\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Intensity of shear stress 12.5 N/mm**2\n",
+ "Change in the Dimensions of the shell is:dell_d 0.21 mm\n",
+ " :dell_L 0.15 mm\n",
+ " :dell_V 1119192.38 mm**3\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.2,Page No.323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=2000 #mm #Length\n",
+ "d=200 #mm # diameter\n",
+ "t=10 #mm #Thickness\n",
+ "dell_V=25000 #mm**3 #Additional volume\n",
+ "E=2*10**5 #n/mm**2 #Modulus of elasticity\n",
+ "mu=0.3 #Poissoin's ratio\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let p be the pressure developed\n",
+ "\n",
+ "#Circumferential Stress\n",
+ "\n",
+ "#f1=p*d*(2*t)**-1 #N/mm**2\n",
+ "#After sub values and further simplifying\n",
+ "#f1=10*p\n",
+ "\n",
+ "#f1=p*d*(4*t)**-1 #N/mm**2\n",
+ "#After sub values and further simplifying\n",
+ "#f1=5*p\n",
+ "\n",
+ "#Diameterical strain = Circumferential stress\n",
+ "#Let X=dell_d*d**-1 ................................(1)\n",
+ "#X=e1=(f1-mu*f2)*E**-1 \n",
+ "#After sub values and further simplifying\n",
+ "#e1=8.5*p*E**-1\n",
+ "\n",
+ "#Longitudinal strain\n",
+ "#Let Y=dell_L*L**-1 ......................................(2)\n",
+ "#Y=e2=(f2-mu*f1)*E**-1 \n",
+ "#After sub values and further simplifying\n",
+ "#e2=2*p*E**-1\n",
+ "\n",
+ "#Volumetric strain\n",
+ "#Let X=dell_V*V**-1 \n",
+ "#X=2*e1+e2\n",
+ "#After sub values and further simplifying\n",
+ "#X=19*p*E**-1\n",
+ "#After further simplifying we get\n",
+ "p=dell_V*(pi*4**-1*d**2*L)**-1*E*19**-1 #N/mm**2\n",
+ "\n",
+ "#Hoop Stress\n",
+ "f1=p*d*(2*t)**-1\n",
+ "\n",
+ "X=e1=8.5*p*E**-1\n",
+ "#Sub value of X in equation 1 we get\n",
+ "dell_d=8.5*p*E**-1*d\n",
+ "\n",
+ "Y=e2=2*p*E**-1\n",
+ "#Sub value of Y in equation 2 we get\n",
+ "dell_L=2*p*E**-1*L\n",
+ "\n",
+ "#Result\n",
+ "print\"Pressure Developed is\",round(p,2),\"N/mm**2\"\n",
+ "print\"Hoop stress Developed is\",round(f1,2),\"N/mm**2\"\n",
+ "print\"Change in diameter is\",round(dell_d,2),\"mm\"\n",
+ "print\"Change in Length is\",round(dell_L,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Pressure Developed is 4.19 N/mm**2\n",
+ "Hoop stress Developed is 41.88 N/mm**2\n",
+ "Change in diameter is 0.04 mm\n",
+ "Change in Length is 0.08 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.3,Page No.324"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=750 #mm #Diameter of water supply pipes\n",
+ "h=50*10**3 #mm #Water head\n",
+ "sigma=20 #N/mm**2 #Permissible stress\n",
+ "rho=9810*10**-9 #N/mm**3\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Pressure of water\n",
+ "P=rho*h #N/mm**2\n",
+ "\n",
+ "#Stress\n",
+ "#sigma=p*d*(2*t)**-1\n",
+ "#After further simplifying\n",
+ "t=P*d*(2*sigma)**-1 #mm \n",
+ "\n",
+ "#Result\n",
+ "print\"Thickness of seamless pipe is\",round(t,3),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thickness of seamless pipe is 9.197 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.4,Page No.326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=2500 #mm #Diameter of riveted boiler\n",
+ "P=1 #N/mm**2 #Pressure\n",
+ "rho1=0.7 #Percent efficiency\n",
+ "rho2=0.4 #Circumferential joints\n",
+ "sigma=150 #N/mm**2 #Permissible stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Equating Bursting force to longitudinal joint strength ,we get\n",
+ "#p*d*L=rho1*2*t*L*sigma\n",
+ "#After rearranging and further simplifying we get\n",
+ "t=P*d*(2*sigma*rho1)**-1 #mm\n",
+ "\n",
+ "#Considering Longitudinal force\n",
+ "#pi*d**2*4**-1*P=rho2*pi*d*t*sigma\n",
+ "#After rearranging and further simplifying we get\n",
+ "t2=P*d*(4*sigma*rho2)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Thickness of plate required is\",round(t,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thickness of plate required is 11.9 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.5,Page No.326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Boiler Dimensions\n",
+ "t=16 #mm #Thickness\n",
+ "p=2 #N/mm**2 #internal pressure\n",
+ "f=150 #N/mm**2 #Permissible stress\n",
+ "rho1=0.75 #Longitudinal joints\n",
+ "rho2=0.45 #circumferential joints\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Equating Bursting force to longitudinal joint strength ,we get\n",
+ "d1=rho1*2*t*f*p**-1 #mm\n",
+ "\n",
+ "#Considering circumferential strength \n",
+ "d2=4*rho2*t*f*p**-1 #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Largest diameter of Boiler is\",round(d1,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Largest diameter of Boiler is 1800.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.6,Page No.329"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=250 #mm #Diameter iron pipe\n",
+ "t=10 #mm #Thickness\n",
+ "d2=6 #mm #Diameter of steel\n",
+ "p=80 #N/mm**2 #stress\n",
+ "P=3 #N/mm**2 #Pressure\n",
+ "E_c=1*10**5 #N/mm**2\n",
+ "mu=0.3 #poissoin's ratio\n",
+ "E_s=2*10**5 #N/mm**2\n",
+ "n=1 #No.of wires\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "L=6 #mm #Length of cyclinder\n",
+ "\n",
+ "#Force Exerted by steel wire at diameterical section\n",
+ "F=p*2*pi*d2**2*1*4**-1 #N\n",
+ "\n",
+ "#Initial stress in cyclinder\n",
+ "f_c=F*(2*t*d2)**-1 #N/mm**2\n",
+ "\n",
+ "#LEt due to fluid pressure alone stresses developed in steel wire be F_w and in cyclinder f1 and f2\n",
+ "f2=P*d*(4*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Considering the equilibrium of half the cyclinder, 6mm long we get\n",
+ "#F_w*2*pi*4**-1*d2**2*n+f1*2*t*d2=P*d*d2\n",
+ "#After further simplifying we get\n",
+ "#F_w+2.122*f1=79.58 . ......................................(1)\n",
+ "\n",
+ "#Equating strain in wire to circumferential strain in cyclinder \n",
+ "#F_w=(f1-mu*f2)*E_s*E_c**-1 #N/mm**2\n",
+ "#After further simplifying we get\n",
+ "#F_w=2*f1-11.25 ....................................(2)\n",
+ "\n",
+ "#Sub in equation in1 we get\n",
+ "f1=(79.58+11.25)*(4.122)**-1 #N/mm**2\n",
+ "F_w=2*f1-11.25 #N/mm**2\n",
+ "\n",
+ "#Final stresses\n",
+ "#1) In steel Wire\n",
+ "sigma=F_w+p #N/mm**2\n",
+ "\n",
+ "#2) In Cyclinder\n",
+ "sigma2=f1-f_c\n",
+ "\n",
+ "#Result\n",
+ "print\"Final Stresses developed in:cyclinder is\",round(sigma,2),\"N/mm**2\"\n",
+ "print\" :Steel is\",round(sigma2,2),\"N/mm**2\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Final Stresses developed in:cyclinder is 112.82 N/mm**2\n",
+ " :Steel is -15.66 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.7,Page No.332"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=750 #mm #Diameter of shell\n",
+ "t=8 #mm #THickness\n",
+ "p=2.5 #N/mm**2\n",
+ "E=2*10**5 #N/mm**2\n",
+ "mu=0.25 #Poissoin's ratio\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Hoop stress\n",
+ "f1=f2=p*d*(4*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Change in Diameter\n",
+ "dell_d=d*p*d*(1-mu)*(4*t*E)**-1 #mm\n",
+ "\n",
+ "#Change in Volume\n",
+ "dell_V=3*p*d*(1-mu)*(4*t*E)**-1*pi*6**-1*d**3\n",
+ "\n",
+ "#Answer for Change in diameter is incorrect in book\n",
+ "\n",
+ "#Result\n",
+ "print\"Stress introduced is\",round(f1,2),\"N/mm**2\"\n",
+ "print\"Change in Diameter is\",round(dell_d,2),\"N/mm**2\"\n",
+ "print\"Change in Volume is\",round(dell_V,2),\"mm**3\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stress introduced is 58.59 N/mm**2\n",
+ "Change in Diameter is 0.16 N/mm**2\n",
+ "Change in Volume is 145608.33 mm**3\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.8,Page No.333"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d=600 #mm #Diameter of sherical shell\n",
+ "t=10 #mm #Thickness\n",
+ "f=80 #N/mm**2 #Permissible stress\n",
+ "rho=0.75 #Efficiency joint\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Max Pressure\n",
+ "p=f*4*t*rho*d**-1 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Pressure is\",round(p,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Pressure is 4.0 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.9,Page No.333"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=1000 #mm #Length of shell\n",
+ "d=200 #mm #Diameter\n",
+ "t=6 #mm #Thickness\n",
+ "p=1.5 #N/mm**2 #Internal Pressure\n",
+ "E=2*10**5 #N/mm**2\n",
+ "mu=0.25 #Poissoin's Ratio\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Change in Volume of sphere\n",
+ "dell_V_s=3*p*d*(1-mu)*(4*t*E)**-1*pi*6**-1*d**3\n",
+ "\n",
+ "#Hoop stress\n",
+ "f1=p*d*(2*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Longitudinal stress\n",
+ "f2=p*d*(4*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Principal strain\n",
+ "e1=(f1-mu*f2)*E**-1\n",
+ "e2=(f2-mu*f1)*E**-1\n",
+ "\n",
+ "V_c=1000 #mm**3\n",
+ "\n",
+ "#Change in Volume of cyclinder\n",
+ "dell_V_c=(2*e1+e2)*pi*4**-1*d**2*L\n",
+ "\n",
+ "#Total Change in Diameter\n",
+ "dell_V=dell_V_s+dell_V_c #mm**3\n",
+ "\n",
+ "#Result\n",
+ "print\"Change in Volume is\",round(dell_V,2),\"mm**3\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Change in Volume is 8443.03 mm**3\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.10,Page No.337"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=400 #mm #Internal Diameter\n",
+ "t=100 #mm #Thickness\n",
+ "p=80 #N/mm**2 #Fluid pressure\n",
+ "\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Internal Radius\n",
+ "r1=d1*2**-1 #mm\n",
+ "\n",
+ "#Outer Radius\n",
+ "r_o=r1+t #mm\n",
+ "\n",
+ "p1=80 #N/mm**2\n",
+ "p2=0\n",
+ "\n",
+ "#Now From Lame's Euation\n",
+ "#p_x=b*(x**2)**-1-a\n",
+ "#at x=200 #mm \n",
+ "p_x=80 #N/mm**2\n",
+ "#80=b*(200**2)**-1-a ..........................(1)\n",
+ "\n",
+ "#at x=300 #mm\n",
+ "#p_x2=0\n",
+ "#0=b*(300**2)**-1-a ...........................(2)\n",
+ "\n",
+ "#Sub equation 2 from 1\n",
+ "#80=b*(200**2)**-1-b*(300**2)**-1\n",
+ "#After Further simplifying we get\n",
+ "b=(50000)**-1*(200**2*300**2*80)\n",
+ "\n",
+ "#From equation 2 we get\n",
+ "a=b*(300**2)**-1\n",
+ "\n",
+ "#Variation of radial pressure p_x;\n",
+ "#p_x=b*(x**2)**-1-a\n",
+ "#After sub values and further simplifying we get\n",
+ "\n",
+ "#Radial pressure Variation\n",
+ "#At \n",
+ "x=200 #mm\n",
+ "p_x=b*(x**2)**-1-a #N/mm**2\n",
+ "\n",
+ "#At\n",
+ "x2=250 #mm\n",
+ "p_x2=b*(x2**2)**-1-a #N/mm**2\n",
+ "\n",
+ "#At \n",
+ "x3=300 #mm\n",
+ "p_x3=b*(x3**2)**-1-a #N/mm**2\n",
+ "\n",
+ "\n",
+ "#Hoop stress Distribution\n",
+ "#Variation of F_x\n",
+ "\n",
+ "#At \n",
+ "x=200 #mm\n",
+ "F_x=b*(x**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#At\n",
+ "x2=250 #mm\n",
+ "F_x2=b*(x2**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#At\n",
+ "x3=300 #mm\n",
+ "F_x3=b*(x3**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Hoop stress is\",round(F_x,2),\"N/mm**2\"\n",
+ "print\"Min Hoop stress is\",round(F_x3,2),\"N/mm**2\"\n",
+ "print\"Plot of Hoop stress\"\n",
+ "\n",
+ "#Plotting Variation of hoop stress\n",
+ "\n",
+ "X1=[x,x2,x3]\n",
+ "Y1=[p_x,p_x2,p_x3]\n",
+ "Y2=[-F_x,-F_x2,-F_x3]\n",
+ "Z1=[0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Y2,X1,Z1)\n",
+ "plt.xlabel(\"Length x in mm\")\n",
+ "plt.ylabel(\"Radial Stress Distribution & Hoop Stress Distribution in N/mm**2\")\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Hoop stress is 208.0 N/mm**2\n",
+ "Min Hoop stress is 128.0 N/mm**2\n",
+ "Plot of Hoop stress\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAZIAAAFRCAYAAABe/ivgAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlU1PX+P/DnsAkICKKyDBoIKqBsMwouecXUcslyKUsz\nzLJb9i1L/aktt7TN7WY39F6qW3nt3pOV5pq55YJpLhhgmJjKlqyKogIC4sD798fER0YYBmb4DAM8\nH+fMYeY9y/s1n9udl+9dIYQQICIiMpJVSwdAREStGxMJERGZhImEiIhMwkRCREQmYSIhIiKTMJEQ\n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wvTp0yGE\nwPr16xEWFmaO2IiIqBUw2CIpLy/Hxx9/jMOHDwPQ7vo7e/Zs2NvbmyVAIiKybJz+S0REJjHYtXX+\n/Hm8/vrrSE1Nlc6oVigUyMjIkD04IiKyfAZ3/505cyaef/552NjY4ODBg5gxYwaeeOIJc8RGRESt\ngMGuLZVKhaSkJISEhOD06dM6ZURERAa7tuzt7VFVVYWAgAD885//hLe3N27evGmO2IiIqBUw2CJJ\nSEhAUFAQrl+/jjfffBPFxcVYuHAhBg4caK4YiYjIgjV51pYQAhs2bMBjjz0mV0xERNSK6B1sLy0t\nxapVq/DCCy8gLi4O1dXV2LJlC/r27YuvvvrKnDESEZEF09simTRpElxcXDBo0CDs3bsX2dnZsLe3\nx+rVqxEeHm7uOImIyELpTSShoaFISUkBAFRVVcHLywt//PEHHBwczBogERFZNr1dW9bW1jr3lUol\nkwgREdWht0VibW0NR0dH6XF5ebmUSBQKBYqLi80TIRERWTTutUVERCYxuEUKERFRQ5hIiIjIJEwk\nRERkEiYSIiIyCRMJERGZhImEiIhM8v8BOmQpuVllnG0AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x4fa1390>"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.11,Page No.338"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d_o=300 #mm #Outside diameter \n",
+ "d2=200 #mm #Internal Diameter\n",
+ "p=14 #N/mm**2 #internal Fluid pressure\n",
+ "t=50 #mm #Thickness\n",
+ "r_o=150 #mm #Outside Diameter\n",
+ "r2=100 #mm #Internal Diameter\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From Lame's Equation\n",
+ "#p_x=b*(x**2)**-1-a #N/mm**2 ...................(1)\n",
+ "#F_x=b*(x**2)**-1+a #N/mm**2 ...................(2)\n",
+ "\n",
+ "#At \n",
+ "x=r2=100 #mm\n",
+ "p_x=14 #N/mm**2\n",
+ "\n",
+ "#Sub value of p_x in equation 1 we get\n",
+ "#14=(100)**-1*b-a ............................(3)\n",
+ "\n",
+ "#At\n",
+ "x2=r_o=150 #mm\n",
+ "p_x2=0 #N/mm**2\n",
+ "\n",
+ "#Sub value in equation 1 we get\n",
+ "#0=b*(150**2)**-1-a ......................(4)\n",
+ "\n",
+ "#From Equations 3 and 4 we get\n",
+ "#14=b*(100**2)**-1-b*(100**2)**-1\n",
+ "#After sub values and further simplifying we get\n",
+ "b=14*100**2*150**2*(150**2-100**2)**-1\n",
+ "\n",
+ "#From equation 4 we get\n",
+ "a=b*(150**2)**-1\n",
+ "\n",
+ "#Hoop Stress\n",
+ "#F_x=b*(x**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#At \n",
+ "x=100 #mm\n",
+ "F_x=b*(x**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#At\n",
+ "x2=125 #mm\n",
+ "F_x2=b*(x2**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#At\n",
+ "x3=150 #mm\n",
+ "F_x3=b*(x3**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#If thin Cyclindrical shell theory is used,hoop stress is uniform and is given by\n",
+ "F=p*d2*(2*t)**-1 #N/mm**2\n",
+ "\n",
+ "#Percentage error in estimating max hoop tension\n",
+ "E=(F_x-F)*F_x**-1*100 #%\n",
+ "\n",
+ "#Result\n",
+ "print\"Max Hoop Stress Developed in the cross-section is\",round(F,2),\"N/mm**2\"\n",
+ "print\"Plot of Variation of hoop stress\"\n",
+ "\n",
+ "#Plotting Variation of hoop stress\n",
+ "\n",
+ "X1=[x,x2,x3]\n",
+ "Y1=[F_x,F_x2,F_x3]\n",
+ "Z1=[0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in mm\")\n",
+ "plt.ylabel(\"Radial Stress Distribution & Hoop Stress Distribution in N/mm**2\")\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Max Hoop Stress Developed in the cross-section is 28.0 N/mm**2\n",
+ "Plot of Variation of hoop stress\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAFRCAYAAAB0TtpPAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlYlOXeB/DvI7ih4Iqgog1hguyLuZtj5JaSS6nZMTku\nb+V5reOS0jnlAd8W0dRCz5t5maWdVzuhloL7yRzNLZQlTVwSGVdAFNkUxWHu949HBkcYZxh4BoTv\n57q4Yh6G5/7xXF3z895+tySEECAionqvQU0HQEREtQMTAhERAWBCICKiB5gQiIgIABMCERE9wIRA\nREQAmBCIiOgBkwlBp9Phyy+/xAcffIBDhw4Z/eyjjz5SPDAiIrItkwnhzTffxIEDB9CmTRu88847\nmD17tuFnmzdvtklwRERkOyYTQkJCAjZs2IBZs2bh6NGjKCgowJgxY3D37l1bxkdERDZiMiHcv3/f\n8H3Dhg2xevVqBAQEIDQ0FIWFhTYJjoiIbMdkQggJCcHOnTuNrkVGRmLy5MnQarVKx0VERDYmsbgd\nEREBZpadvv/++wCA+fPn2yQYIiKqOY9NCD169MB///d/o3v37raKh4iIaoi9qR8sWLAAOTk5+O67\n72Bvb4+UlBRERkbaMjYiIrIhkz2E0g//w4cPQ5IkJgMiojrusZPKKSkpCAwMxG+//YaAgABbxkVE\nRDZmsocghMDGjRsBAJs2bbJZQEREVDNMJgRJkjipTERUj3BSmYiIAHBSmYiIHuCkMhERAbCgdIVO\np8P27duh1Wqh0+nkX5Iko3LYRET05DM5h1AqLCwMTZs2hZ+fHxo04AFrRER1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s9GCIiqjkmewhqtRqSJKGoqAiJiYnw9/cHIG/K6d69\nO44cOWLTQImISFkm9yFoNBrs27cPHTp0QFJSEhITE5GYmIjk5GQeoUlEVAeZnUPw9vZGamqq2WtE\nRPRkM1vLyN/fH9OmTcPEiRMhhMCGDRsQEBBgi9iIiMiGzPYQioqKsHLlSvzyyy8A5Cqn06dPR5Mm\nTWwSIBER2QaXnRIREQALhozOnTuHv//970hNTTWcPytJEi5cuKB4cEREZDtmq51OnjwZb731Fuzt\n7bFv3z6Eh4fjT3/6ky1iIyIiGzI7ZBQcHIykpCT4+fnh5MmTRteIiKjuMDtk1KRJE5SUlKBLly74\n5z//iQ4dOuD27du2iI2IiGzIbA8hISEB3bp1Q25uLubPn4/8/HzMmzcPvXr1slWMRERkA5VeZSSE\nQGxsLMaPH69UTEREVANMTioXFhZi6dKl+Mtf/oIvvvgCer0eP/74I3x8fLB+/XpbxkhERDZgsocw\nZswYODk5oXfv3tizZw8uX76MJk2aYPny5QgMDLR1nEREpDCTCcHf3x8nTpwAAJSUlKB9+/a4ePEi\nmjZtatMAiYjINkwOGdnZ2Rl937FjRyYDIqI6zGQPwc7ODg4ODobXRUVFhoQgSRLy8/NtEyEREdkE\naxkREREAC0pXEBFR/cCEQEREAJgQiIjoASYEIiICwIRAREQPMCEQEREA4P8Bc+VeilsXyhwAAAAA\nSUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x57bea30>"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.12,Page No.339"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d_o=300 #mm #Outside diameter \n",
+ "d2=200 #mm #Internal Diameter\n",
+ "p=12 #N/mm**2 #internal Fluid pressure\n",
+ "F_max=16 #N/mm**2 #Tensile stress\n",
+ "r_o=150 #mm #Outside Diameter\n",
+ "r2=100 #mm #Internal Diameter\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let p_o be the External Pressure applied.\n",
+ "#From LLame's theorem\n",
+ "#p_x=b*(x**2)**-1-a ..............(1)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(2)\n",
+ "\n",
+ "#Now At\n",
+ "x=100 #mm\n",
+ "p_x=12 #N/mm**2\n",
+ "#sub in equation 1 we get\n",
+ "#12=b*(100**2)**-1-a . ..................(3)\n",
+ "\n",
+ "#The Max Hoop stress occurs at least value of x where\n",
+ "x=r1=100 #mm\n",
+ "#16=b*(100**2)**-1+a .......................(4)\n",
+ "\n",
+ "#From Equations 1 and 2 we get\n",
+ "#28=b*(100**2)**-1+b*(100**2)**-1\n",
+ "#After furhter Simplifying we get\n",
+ "b=28*100**2*2**-1\n",
+ "\n",
+ "#sub in equation 1 we get\n",
+ "a=-(12-(b*(100**2)**-1))\n",
+ "\n",
+ "#Thus At\n",
+ "x2=150 #mm\n",
+ "p_o=b*(x2**2)**-1-a\n",
+ "\n",
+ "#Result\n",
+ "print\"Minimum External applied is\",round(p_o,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum External applied is 4.22 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.13,Page No.340"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d1=160 #mm #Internal Diameter \n",
+ "r1=80 #mm #External Diameter\n",
+ "p1=40 #N/mm**2 #Internal Diameter\n",
+ "P_max=120 #N/mm**2 #Allowable stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From Lame's Equation we have\n",
+ "#p_x=b*(x**2)**-1-a ..........................(1)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(2)\n",
+ "\n",
+ "#At \n",
+ "x=r1=80 #N/mm**2 \n",
+ "#Sub in equation 1 we get\n",
+ "#120=b*(80**2)**-1+a ........................(3)\n",
+ "\n",
+ "#The hoop tension at inner edge is max stress\n",
+ "#Hence\n",
+ "#120=b*(80**2)**-1+a .............................(4)\n",
+ "\n",
+ "#From Equation 3 and 4 we get\n",
+ "b=160*80**2*2**-1 \n",
+ "\n",
+ "#Sub in equation 3 we get\n",
+ "a=-(40-(b*(80**2)**-1))\n",
+ "\n",
+ "#Let External radius be r_o.Since at External Surface is Zero,we get\n",
+ "#0=b*(r_o)**-1-a\n",
+ "#After Further simplifying we get\n",
+ "r_o=(b*a**-1)**0.5\n",
+ "\n",
+ "#Thickness of Cyclinder \n",
+ "t=r_o-r1 #mm\n",
+ "\n",
+ "#Result\n",
+ "print\"Thickness Required is\",round(t,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Thickness Required is 33.14 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.14,Page No.341"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d_o=300 #mm #Outside diameter \n",
+ "d1=180 #mm #Internal Diameter\n",
+ "p=12 #N/mm**2 #internal Fluid pressure\n",
+ "p_o=6 #N/mm**2 #External Pressure\n",
+ "r_o=150 #mm #Outside Diameter\n",
+ "r=90 #mm #Internal Diameter\n",
+ "\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From Lame's Equation we have\n",
+ "#p_x=b*(x**2)**-1-a ..........................(1)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(2)\n",
+ "\n",
+ "#At \n",
+ "x=r1=90 #N/mm**2 \n",
+ "p=42 #N/mm**2\n",
+ "#Sub in equation 1 we get\n",
+ "#42=b*(90**2)**-1-a ..............................(3)\n",
+ "\n",
+ "#At \n",
+ "x=r_o=150 #mm\n",
+ "p2=6 #N/mm**2\n",
+ "#sub in equation 1 we get\n",
+ "#6=b*(150**2)**-1-a ..............................(4)\n",
+ "\n",
+ "#From equations 3 and 4 weget\n",
+ "#36=b*(90**2)**-1-b2(150**2)**-1\n",
+ "#After further simplifying we get\n",
+ "b=36*90**2*150**2*(150**2-90**2)**-1\n",
+ "\n",
+ "#Sub value of b in equation 4 we get\n",
+ "a=b*(150**2)**-1-p_o\n",
+ "\n",
+ "#At \n",
+ "x=r1=90 #mm\n",
+ "F_x=b*(x**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#At \n",
+ "x2=r_o=150 #mm \n",
+ "F_x2=b*(x2**2)**-1+a #N/mm**2\n",
+ "\n",
+ "#Now if External pressure is doubled i.e p_o2=12 #N/mm**2 We have\n",
+ "p_o2=12 #N/mm**2\n",
+ "#sub in equation 4 we get\n",
+ "#12=b2*(150**2)**-1-a2 ..........................(5)\n",
+ "\n",
+ "#Max Hoop stress is to be 70.5 #N/mm**2,which occurs at x=r1=90 #mm\n",
+ "#Sub in equation 4 we get\n",
+ "#70.5=b*(90**2)**-1+a2 ................................(6)\n",
+ "\n",
+ "#Adding equation 5 and 6\n",
+ "#82.5=b2*(150**2)**-1+b*(90**2)**-1\n",
+ "#After furhter simplifying we get\n",
+ "b2=82.5*150**2*90**2*(150**2+90**2)**-1\n",
+ "\n",
+ "#Sub in equation 5 we get\n",
+ "a2=b2*(150**2)**-1-12 \n",
+ "\n",
+ "#If p_i is the internal pressure required then from Lame's theorem\n",
+ "p_i=b2*(r1**2)**-1-a2\n",
+ "\n",
+ "#Result\n",
+ "print\"Stresses int the material are:F_x\",round(F_x,2),\"N/mm**2\"\n",
+ "print\" :F_x2\",round(F_x2,2),\"N/mm**2\"\n",
+ "print\"Internal Pressure that can be maintained is\",round(p_i,2),\"N/mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Stresses int the material are:F_x 70.5 N/mm**2\n",
+ " :F_x2 34.5 N/mm**2\n",
+ "Internal Pressure that can be maintained is 50.82 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.15,Page No.344"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "r1=200 #mm #Inner Radius\n",
+ "r2=250 #mm #Radius at common surface\n",
+ "r3=300 #mm #Outer radius\n",
+ "p=6 #N/mm**2 #Inital pressure\n",
+ "p2=80 #N/mm**2 #Pressure\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Inner Cyclinder:\n",
+ "\n",
+ "#From Lame's Equation we have\n",
+ "#p_x=b*(x**2)**-1-a ..........................(1)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(2)\n",
+ "\n",
+ "#At \n",
+ "x=r1=200 #mm\n",
+ "p_x=0\n",
+ "#0=b1*(250**2)**-1-a1 .................(3)\n",
+ "\n",
+ "#At x=r2=250 #mm\n",
+ "p_x2=6 #N/mm**2\n",
+ "#6=b1*(250**2)-a1 ...................(4)\n",
+ "\n",
+ "#From Equation 3 and 4 we get\n",
+ "b1=6*200**2*250**2*(200**2-250**2)**-1\n",
+ "\n",
+ "#From equation 3 we get\n",
+ "a1=b1*(200**2)**-1\n",
+ "\n",
+ "F_200=b1*(200**2)**-1+a1\n",
+ "F_250=b1*(250**2)**-1+a1\n",
+ "\n",
+ "#For outer cyclinder \n",
+ "#From Lame's Equation we have\n",
+ "#p_x2=b2*(x**2)**-1-a2 ..........................(5)\n",
+ "#F_x2=b2*(x**2)**-1+a2 ...........................(6)\n",
+ "\n",
+ "\n",
+ "#At \n",
+ "x2=r2=250 #mm\n",
+ "p_x2=6 #N/mm**2\n",
+ "#6=b2*(250**2)**-1-a2 ...........................(7) \n",
+ "\n",
+ "#At\n",
+ "x3=300 #mm\n",
+ "#p_x2=0\n",
+ "#0=b2**2*(300**2)**-1-a2 .................................(8)\n",
+ "\n",
+ "#from equation 7 and 8 we get\n",
+ "b2=6*250**2*300**2*(300**2-250**2)**-1\n",
+ "\n",
+ "#sub in equation 8 we get\n",
+ "a2=b2*(300**2)**-1\n",
+ "\n",
+ "F_250_2=b2*(250**2)**-1+a2\n",
+ "F_300_2=b2*(300**2)**-1+a2\n",
+ "\n",
+ "#When Fluid is admitted\n",
+ "#Let Lame's equation be\n",
+ "#p_x3=b3*(x**2)**-1-a3 ..........................(5)\n",
+ "#F_x3=b3*(x**2)**-1+a3 ...........................(6)\n",
+ "\n",
+ "\n",
+ "#At x=200\n",
+ "p_x3=80 #N/mm**2\n",
+ "#80=b3*(200**2)**-1-a3 ................................(7)\n",
+ "\n",
+ "#At x=300 #mm\n",
+ "#p_x=0\n",
+ "#0=b3*(300**2)**-1-a3 ..............................(8)\n",
+ "\n",
+ "#from Equation 7 and 8 we get\n",
+ "b3=80*200**2*300**2*(300**2-200**2)**-1\n",
+ "\n",
+ "#From Equation 8 we get\n",
+ "a3=b3*(300**2)**-1\n",
+ "\n",
+ "#Hoop stresses \n",
+ "F_200_3=b3*(200**2)**-1+a3 #N/mm**2\n",
+ "F_250_3=b3*(250**2)**-1+a3 #N/mm**2\n",
+ "F_300_3=b3*(300**2)**-1+a3 #N/mm**2\n",
+ "\n",
+ "#Pressure at common surface\n",
+ "p_250=b3*(250**2)**-1-a3 #N/mm**2\n",
+ "\n",
+ "#final stress\n",
+ "f_200=F_200+F_200_3 #N/mm**2\n",
+ "f_250=F_250+F_250_3 #N/mm**2\n",
+ "f_300=F_250_2+F_250_3 #N/mm**2\n",
+ "f_300_2=F_300_2+F_300_3 #N/mm**2\n",
+ "\n",
+ "#Result\n",
+ "print\"final Hoop stress are:f_200\",round(f_200,2),\"N/mm**2\"\n",
+ "print\" :f_250\",round(f_250,2),\"N/mm**2\"\n",
+ "print\" :f_300\",round(f_300,2),\"N/mm**2\"\n",
+ "print\" :f_300_2\",round(f_300_2,2),\"N/mm**2\"\n",
+ "print\"Variation of Hoop stress and Radial stress\"\n",
+ "\n",
+ "#Final stresses\n",
+ "#Variation of hoop stress \n",
+ " \n",
+ "X1=[x,x2,x3,x3]\n",
+ "Y1=[f_200,f_250,f_300,f_300_2]\n",
+ "Z1=[0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in mm\")\n",
+ "plt.ylabel(\"Hoop Stress Distribution in N/mm**2\")\n",
+ "plt.show()\n",
+ "\n",
+ "#Due to Fluid\n",
+ "#Variation of hoop stress \n",
+ " \n",
+ "X1=[x,x2,x3]\n",
+ "Y1=[F_200_3,F_250_3,F_300_3]\n",
+ "Z1=[0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in mm\")\n",
+ "plt.ylabel(\"Hoop Stress Distribution in N/mm**2\")\n",
+ "plt.show()\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "final Hoop stress are:f_200 174.67 N/mm**2\n",
+ " :f_250 128.83 N/mm**2\n",
+ " :f_300 189.43 N/mm**2\n",
+ " :f_300_2 155.27 N/mm**2\n",
+ "Variation of Hoop stress and Radial stress\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEPCA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BDAiKsM5CrJZAwYMQEFBAQoLCzFr1iwmCSItOKIgIiKdOEdBREQ6MVEQEZFOTBRERKQTEwUR\nEenEREFERDoxURARkU7/H21GIMqBrUIbAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x57dbb10>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAAEPCAYAAABcA4N7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlUVEeiP/Bvs2kUUOMCSKsg+yYgKhqjgmwhLscNJjpm\ncIsv8SRvMjpiZn6ZRGdeBCbHlxHfmMXRmJdkfIljIpqJgWhoE40GohiMqMQFRTZXBETDVr8/Otxm\n627p5nY38P2c08f2dt9bZb15/U1V3aqrEEIIEBERaWFl7goQEZFlY1AQEZFODAoiItKJQUFERDox\nKIiISCcGBRER6SRbUBQXFyMyMhIBAQEIDAxEeno6AGD9+vVQKpUIDQ1FaGgoDhw4IJ2TkpICLy8v\n+Pr6IisrS66qERFRJyjkWkdRXl6O8vJyhISEoKamBmFhYdi7dy8+/vhjODg4YPXq1a2+X1BQgEWL\nFiE3NxclJSWIjo5GYWEhrKzY6SEiMifZfoWdnZ0REhICALC3t4efnx9KSkoAAB1lU0ZGBhYuXAhb\nW1u4ubnB09MTOTk5clWPiIgekkn+c72oqAh5eXmYOHEiAGDLli0IDg7G8uXLUVlZCQAoLS2FUqmU\nzlEqlVKwEBGR+cgeFDU1NViwYAE2b94Me3t7PPfcc7h8+TJOnToFFxcXrFmzRuu5CoVC7uoREZEe\nNnJevL6+HvPnz8fixYsxZ84cAMCwYcOkz1esWIFZs2YBAFxdXVFcXCx9du3aNbi6ura7pqenJy5e\nvChntYmIehwPDw9cuHDBoHNl61EIIbB8+XL4+/vjxRdflI6XlZVJ7z/99FMEBQUBAGbPno3/+7//\nQ11dHS5fvoyffvoJEyZMaHfdixcvQg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ePLJ\nJ4UQQpSXl4tBgwaJPXv2CCFa7xslhBAKhUJ89tlnQgghkpOTxX/913+1K7+2tlYEBASIr776Svj4\n+IhLly61+87OnTvF888/r7NeLV2+fFnY2NiIH3/8UTQ1NYmwsDCxbNkyIYQQGRkZYs6cOUIIIV59\n9VUxZcoU0dDQIH744QfxyCOPSFsyzJ07V+zdu1dHaxLpZ5HbjBN1Rk1NDY4dO4aEhATpWF1dHQD1\n1snNu4r6+flJ+/EfOXIEiYmJACDt36+NnZ0dZsyYAQAICwvrcMvqRx55BNu2bcOUKVOwefNmuLu7\n66yztnq15e7ujoCAAABAQEAAoqOjAQCBgYEoKiqSrhUfHw9ra2sEBgaiqakJcXFxAICgoCDpe0SG\nYlBQt9fU1ISBAwciLy+vw8/t7Oyk9+KXKTmFQtHq+RVCx1Rd81PjAPWe/9qGcvLz8zF06NCHfhhO\nR/Vqq0+fPq3Kbj6nbT1aHn/Y+hI9LM5RULfn6OgId3d3/Otf/wKg/tHNz8/Xec7kyZOxZ88eCCFQ\nUVGBw4cPS585ODigqqqqU3W4cuUK/vu//xt5eXk4cOBAh4+V1BVGxpDrukTNGBTU7dTW1mLEiBHS\n629/+xs+/PBDbN++HSEhIQgMDMS+ffuk77d8clfz+/nz50OpVMLf3x9PP/00xo4diwEDBgAAVq5c\niSeeeEKazG57ftsngQkhsGLFCmzatAnOzs7Yvn07VqxYIQ1/aTtX2/u252j7e/N7XdfVdW2ih8Xb\nY6nXunfvHvr3749bt24hPDwc3377rfQEMCLS4BwF9VozZ85EZWUl6urq8MorrzAkiLRgj4KIiHTi\nHAUREenEoCAiIp0YFEREpBODgoiIdGJQEBGRTgwKIiLS6f8DD21jwZIV/XcAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x57dc090>"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.16,Page No.348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "do=200 #mm #Inner Diameter\n",
+ "r_o=100 #mm #Inner radius\n",
+ "d1=300 #mm #outer diameter\n",
+ "r1=150 #mm #Outer radius\n",
+ "d2=250 #mm #Junction Diameter\n",
+ "r2=125 #mm #Junction radius\n",
+ "E=2*10**5 #N/mm**2 #Modulus of Elasticity\n",
+ "p=30 #N/mm**2 #radial pressure\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#from Lame's Equation we get\n",
+ "#p_x=b*(x**2)**-1-a ..........................(1)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(2)\n",
+ "\n",
+ "#Then from Boundary condition \n",
+ "#p_x=0 at x=100 #mm\n",
+ "#0=b1*(100**2)**-1-a1 .....................(3)\n",
+ "\n",
+ "#p_x2=30 #N/mm**2 at x2=125 #mm\n",
+ "#30=b1*(125**2)**-1-a1 ................................(4)\n",
+ "\n",
+ "#From equation 3 and 4 we get\n",
+ "b1=30*125**2*100**2*(100**2-125**2)**-1\n",
+ "\n",
+ "#From Equation 3 we get\n",
+ "a1=b1*(100**2)**-1\n",
+ "\n",
+ "#therefore Hoop stress in inner cyclinder at junction\n",
+ "F_2_1=b1*(125**2)**-1+a1 #N/mm**2\n",
+ "\n",
+ "#Outer Cyclinder\n",
+ "#p_x=b*(x**2)**-1-a ..........................(5)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(6)\n",
+ "\n",
+ "#Now at x=125 #mm\n",
+ "#p_x3=30 #N/mm**2\n",
+ "#30=b2*(125**2)**-1-a2 ..................................(7)\n",
+ "\n",
+ "#At x=150 #mm\n",
+ "#p_x4=0\n",
+ "#0=b2*(150**2)**-1-a2 ...................................(8)\n",
+ "\n",
+ "#From equations 7 and 8\n",
+ "b2=30*150**2*125**2*(150**2-125**2)**-1\n",
+ "\n",
+ "#From eqauation 8 we get\n",
+ "a2=b2*(150**2)**-1\n",
+ "\n",
+ "#Hoop stress at junction \n",
+ "F_2_0=b2*(125**2)**-1+a2 #N/mm**2\n",
+ "\n",
+ "rho_r=(F_2_0-F_2_1)*E**-1*r2\n",
+ "\n",
+ "#Result\n",
+ "print\"Shrinkage Allowance is\",round(rho_r,3),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Shrinkage Allowance is 0.189 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.17,Page No.350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d_o=500 #mm #Outer Diameter\n",
+ "r_o=250 #mm #Outer Radius\n",
+ "d1=300 #mm #Inner Diameter\n",
+ "r1=150 #mm #Inner Radius\n",
+ "d2=400 #mm #Junction Diameter\n",
+ "E=2*10**5 #N/mm**2 #Modulus ofElasticity\n",
+ "alpha=12*10**-6 #Per degree celsius\n",
+ "dell_d=0.2 #mm\n",
+ "dell_r=0.1 #mm\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let p be the radial pressure developed at junction\n",
+ "#Let Lame's Equation for internal cyclinder be\n",
+ "#p_x=b*(x**2)**-1-a ................................(1)\n",
+ "#F_x=b*(x**2)**-1+a ...............................(2)\n",
+ "\n",
+ "#At \n",
+ "x=150 #mm \n",
+ "p_x=0\n",
+ "#Sub in equation 1 we get\n",
+ "#0=b*(150**2)**-1-a .........................(3)\n",
+ "\n",
+ "#At \n",
+ "x2=200 #mm\n",
+ "#p_x2=p\n",
+ "#p=b*(200**2)**-1-a ......................(4)\n",
+ " \n",
+ "#From Equation 3 and 4\n",
+ "#p=b*(200**2)**-1-b(150**2)**-1\n",
+ "#after further simplifying we get\n",
+ "#b=-51428.571*p\n",
+ "\n",
+ "#sub in equation 3 we get\n",
+ "#a1=-2.2857*p\n",
+ "\n",
+ "#therefore hoop stress at junction is\n",
+ "#F_2_1=-21428.571*p*(200**2)**-1-2.2857*p\n",
+ "#after Further simplifying we geet\n",
+ "#F_2_1=3.5714*p\n",
+ "\n",
+ "#Let Lame's Equation for cyclinder be \n",
+ "#p_x=b*(x**2)**-1-a .........................5\n",
+ "#F_x=b*(x**2)**-1+a .............................6\n",
+ "\n",
+ "#At \n",
+ "x=200 #mm\n",
+ "#p_x=p2\n",
+ "#p2=b2*(20**2)**-1-a2 ...................7\n",
+ "\n",
+ "#At\n",
+ "x2=200 #mm\n",
+ "p_x2=0\n",
+ "#0=b2*(250**2)**-1-a2 ....................8\n",
+ "\n",
+ "#from equation 7 and 8 we get\n",
+ "#p2=b2*(200**2)**-1-b2*(250**2)**-1\n",
+ "#After further simplifying we get\n",
+ "#p2=b2*(250**2-200**2)*(200**2*250**2)**-1\n",
+ "#b2=111111.11*p\n",
+ "\n",
+ "#from equation 7\n",
+ "#a2=b2*(250**2)**-1\n",
+ "#further simplifying we get\n",
+ "#a2=1.778*p\n",
+ "\n",
+ "#At the junctionhoop stress in outer cyclinder \n",
+ "#F_2_0=b2*(200**2)**-1+a2\n",
+ "#After further simplifying we get\n",
+ "#F_2_0=4.5556*p\n",
+ "\n",
+ "#Considering circumferential strain,the compatibility condition\n",
+ "#rho_r*r2**-1=1*E**-1*(F_2_1+F_2_0)\n",
+ "#where F_2_1 is compressive and F_2_0 is tensile\n",
+ "#furter simplifying we get\n",
+ "p=0.1*200**-1*2*10**5*(3.5714+4.5556)**-1\n",
+ "\n",
+ "#Let T be the rise in temperature required\n",
+ "#dell_d=d*alpha*T\n",
+ "#After sub values and further simplifying we get\n",
+ "d=250 #mm\n",
+ "T=dell_d*(d*alpha)**-1 #Per degree celsius\n",
+ "\n",
+ "#Result\n",
+ "print\"Radial Pressure Developed at junction\",round(p,2),\"N/mm**2\"\n",
+ "print\"Min Temperatureto outer cyclinder\",round(T,2),\"Per degree Celsius\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Radial Pressure Developed at junction 12.3 N/mm**2\n",
+ "Min Temperatureto outer cyclinder 66.67 Per degree Celsius\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Example 8.8.18,Page No.355"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "import matplotlib.pyplot as plt\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "d_o=400 #mm #Outer Diameter\n",
+ "r_o=200 #mm #Outer radius\n",
+ "t=50 #mm #Thickness\n",
+ "r1=150 #mm #Internal Radius\n",
+ "p=50 #N/mm**2 #Internal Pressure\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#The Radial Pressure and hoop stress at any radial distance x are given by\n",
+ "#p_x=b*(x**2)**-1-a ..........................(1)\n",
+ "#F_x=b*(x**2)**-1+a ...........................(2)\n",
+ "\n",
+ "#Now at\n",
+ "x=150 #N/mm**2\n",
+ "p_x1=50 #N/mm**2\n",
+ "#Sub in equation 1 we get\n",
+ "#50=2*b*(150**3)**-1-a ...........................(3)\n",
+ "\n",
+ "#At x=200 #mm\n",
+ "p_x2=0\n",
+ "#0=2*b*(200**2)**-1-a ....................(4)\n",
+ "\n",
+ "#From equation 3 and 4 we get\n",
+ "#50=2*b*(150**3)**-1-2*b*(200**3)**-1\n",
+ "#After further simplifying we get\n",
+ "b=50*150**3*200**3*(200**3-150**3)**-1*2**-1\n",
+ "\n",
+ "#Sub in equation 3 we get\n",
+ "a=b*(200**3)**-1\n",
+ "\n",
+ "#Now At\n",
+ "x=150 #mm\n",
+ "F_x=b*(x**3)**-1+a\n",
+ "\n",
+ "#Now At\n",
+ "x2=160 #mm\n",
+ "F_x2=b*(x2**3)**-1+a\n",
+ "\n",
+ "#Now At\n",
+ "x3=170 #mm\n",
+ "F_x3=b*(x3**3)**-1+a\n",
+ "\n",
+ "#Now At\n",
+ "x4=180 #mm\n",
+ "F_x4=b*(x4**3)**-1+a\n",
+ "\n",
+ "#Now At\n",
+ "x5=190 #mm\n",
+ "F_x5=b*(x5**3)**-1+a\n",
+ "\n",
+ "#Now At\n",
+ "x6=200 #mm\n",
+ "F_x6=b*(x6**3)**-1+a\n",
+ "\n",
+ "#Result\n",
+ "print\"Plot of Variation of hoop stress\"\n",
+ "\n",
+ "#Plotting Variation of hoop stress\n",
+ "\n",
+ "X1=[x,x2,x3,x4,x5,x6]\n",
+ "Y1=[F_x,F_x2,F_x3,F_x4,F_x5,F_x6]\n",
+ "Z1=[0,0,0,0,0,0]\n",
+ "plt.plot(X1,Y1,X1,Z1)\n",
+ "plt.xlabel(\"Length x in mm\")\n",
+ "plt.ylabel(\"Hoop Stress Distribution in N/mm**2\")\n",
+ "plt.show()\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Plot of Variation of hoop stress\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEPCAYAAABCyrPIAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XlUleW+B/DvlkFLERV0o6KiIIMMgmNm6iYEwoFMk7T0\nojnU8eapm1e0riXVKWGVldqwTi4HlnpMvY7kVRF1Y3YwZ8ERUwFTwAFwAInpuX+8sAFhswd4997C\n97PWXgvfvff7/HxOh6/P+zzv8yqEEAJERNTstTB3AUREZBkYCEREBICBQEREFRgIREQEgIFAREQV\nGAhERARA5kC4fPkyAgICNC97e3ssX74cubm5CA4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LFlyxYxatQoIYQQ2dnZon379mLr1q1CCCFcXFzEvXv3NOdWKBTil19+EUII\nERUVJf7xj3/Uar+wsFB4e3uLgwcPCg8PD3Ht2rVan1m7dq1455136q2ruuvXrwtra2tx7tw5UV5e\nLvr37y/efPNNIYQQO3fuFOPGjRNCCLF48WIxbNgwUVpaKs6ePSueeeYZzVYEr7zyitixY0c9vUmk\nm8Xsdkqky6NHj5CcnIyJEydqjhUXFwOQtvSt3NDLy8tLsx/8kSNHNNuHK5VKBAYGaj2/ra0tRo8e\nDQDo378/9u/fX+szzzzzDFauXIlhw4Zh2bJl6NmzZ701a6vrST179oS3tzcAaa//kSNHAgB8fHyQ\nnp6uOVdYWBisrKzg4+OD8vJyhIaGAgB8fX01nyMyFgOBnhrl5eVo164dTp8+Xef71ffEFxVTYwqF\nosaT+EQ9U2aVT6gDgBYtWmi9BJOSkoKOHTvq/eCVuup6UsuWLWu0XfmdJ+uoflzfeon0xTkEemq0\nbdsWPXv2xP/+7/8CkH65pqSk1PudoUOHYuvWrRBCICcnR7N9NCBNIj948MCgGjIyMvD111/j9OnT\n2LNnT52PI6wvdBpCrvMSVWIgkMUqLCxEt27dNK9vv/0WGzZswKpVq+Dv7w8fHx/s2rVL8/nqT4Kq\n/HnChAlwdnZGnz59MHXqVPTr1w/29vYAgNmzZ+Oll17STCo/+f0nnywlhMDMmTOxdOlSODk5YdWq\nVZg5c6bmspW272r7+cnvaPtz5c/1nbe+cxPpi8tOqckrKChA69atce/ePQwePBj//ve/azyhj4gk\nnEOgJm/MmDHIz89HcXExPv74Y4YBkRYcIRAREQDOIRARUQUGAhERAWAgEBFRBQYCEREBYCAQEVEF\nBgIREQEA/h+bezx5xlsz+QAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x56be370>"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/Strength Of Materials/chapter_9.ipynb b/Strength Of Materials/chapter_9.ipynb
new file mode 100644
index 00000000..affc1754
--- /dev/null
+++ b/Strength Of Materials/chapter_9.ipynb
@@ -0,0 +1,779 @@
+{
+ "metadata": {
+ "name": "chapter_9.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 9:Columns And Struts"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.1,Page No.377"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "L=5000 #mm #Length of strut\n",
+ "dell=10 #mm #Deflection\n",
+ "W=10 #N #Load\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Central Deflection of a simply supported beam with central concentrated load is\n",
+ "#dell=W*L**3*(48*E*I)**-1 \n",
+ "\n",
+ "#Let E*I=X\n",
+ "X=W*L**3*(48*dell)**-1 #mm\n",
+ "\n",
+ "#Euler's Load\n",
+ "#Let Euler's Load be P\n",
+ "P=pi**2*X*(L**2)**-1\n",
+ "\n",
+ "#Result\n",
+ "print\"Critical Load of Bar is\",round(P,2),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Critical Load of Bar is 1028.08 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.2,Page No.377"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=2000 #mm #Length of square column\n",
+ "E=12*10**3 #N/mm**2 #Modulus of Elasticity\n",
+ "sigma=12 #N/mm*2 #stress\n",
+ "W1=95*10**3 #N #Load1\n",
+ "W2=200*10**3 #N #Load2\n",
+ "FOS=3\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#From Euler's Formula\n",
+ "#P=pi**2*E*I*(L**2)**-1 .........(1)\n",
+ "\n",
+ "#Working Load\n",
+ "#W=P*(FOS)**-1\n",
+ "\n",
+ "#Part-1\n",
+ "\n",
+ "#At W1=95*10**3 #N\n",
+ "#W1=P*(3*L**2)**-1\n",
+ "\n",
+ "#Let 'a' be the side of the square\n",
+ "#I=1*12**-1*a**4\n",
+ "\n",
+ "#sub value of I in Equation 1 and further rearranging we get\n",
+ "a=(W1*3*12*L**2*(pi**2*E)**-1)**0.25 #mm\n",
+ "\n",
+ "#From Consideration of direct crushing\n",
+ "#sigma*a**2=W1\n",
+ "#After Reaaranging the above equation we get\n",
+ "a2=(W1*(sigma)**-1)**0.5 #mm\n",
+ "\n",
+ "#required size is 103.67*103.67 i.e a*a\n",
+ "\n",
+ "#Part-2\n",
+ "\n",
+ "#At W2=200*10**3 #N\n",
+ "#W2=P*(3*L**2)**-1\n",
+ "#After substituting values and further Rearranging the above equation we get\n",
+ "a3=(W2*3*12*L**2*(pi**2*E)**-1)**0.25 #mm\n",
+ "\n",
+ "#From consideration of direct compression,size required is\n",
+ "a4=(W2*sigma**-1)**0.5\n",
+ "\n",
+ "#required size is 129.10*129.10 i.e a4*a4\n",
+ "\n",
+ "#Result\n",
+ "print\"For W1 Load Required size is\",round(a*a,2),\"mm**2\"\n",
+ "print\"For W2 Load Required size is\",round(a4*a4,2),\"mm**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "For W1 Load Required size is 10747.38 mm**2\n",
+ "For W2 Load Required size is 16666.67 mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.3,Page No.378"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Flange \n",
+ "b=100 #mm #Width\n",
+ "\n",
+ "D=80 #mm #Overall Depth\n",
+ "t=10 #mm #Thickness of web and flanges\n",
+ "L=3000 #mm #Length of strut\n",
+ "E=200*10**3 #N/mm**2 #Modulus of Elasticity\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Let centroid be at depth y_bar from top fibre\n",
+ "y_bar=(b*t*t*2**-1+(D-t)*t*((D-t)*2**-1+t))*(b*t+(D-t)*t)**-1 #mm \n",
+ "\n",
+ "#M.I at x-x axis\n",
+ "I_x=1*12**-1*b*t**3+b*t*(y_bar-t*2**-1)**2+1*12**-1*t*((D-t))**3+t*((D-t))*((((D-t)*2**-1)+t)-y_bar)**2\n",
+ "\n",
+ "#M.I at y-y axis\n",
+ "I_y=1*12**-1*t*b**3+1*12**-1*(D-t)*t**3 #mm**3\n",
+ "\n",
+ "#Least M.I\n",
+ "I=I_y\n",
+ "\n",
+ "#Since both ends are hinged\n",
+ "#Feective Length=Actual Length\n",
+ "L=l=3000 #mm\n",
+ "\n",
+ "#Buckling Load \n",
+ "P=pi**2*E*I*(l**2)**-1*10**-3 #KN\n",
+ "\n",
+ "#Result\n",
+ "print\"The Buckling Load for strut of tee section\",round(P,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Buckling Load for strut of tee section 184.05 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.4,Page No.379"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D=400 #mm #Overall Depth\n",
+ "\n",
+ "#Flanges\n",
+ "b=300 #mm #Width\n",
+ "t=50 #mm #Thickness\n",
+ "\n",
+ "t2=30 #mm #Web Thickness\n",
+ "\n",
+ "dell=10 #mm #Deflection\n",
+ "w=40 #N/mm #Load\n",
+ "FOS=1.75 #Factor of safety\n",
+ "E=2*10**5 #N/mm**2\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#M.I at x-x axis\n",
+ "I_x=1*12**-1*(b*D**3-(b-t2)*b**3) #mm**4\n",
+ "\n",
+ "#Central Deflection\n",
+ "#dell=5*w*L**4*(384*E*I)**-1\n",
+ "#After sub values in above equation and further simplifying we get\n",
+ "L=(dell*384*E*I_x*(5*w)**-1)**0.25\n",
+ "\n",
+ "#M.I aty-y axis\n",
+ "I=I_y=1*12**-1*t*b**3+1*12**-1*b*t2**3+1*12**-1*t*b**3 #mm**4\n",
+ "\n",
+ "#Both the Ends of column are hinged\n",
+ "\n",
+ "#Crippling Load\n",
+ "P=pi**2*E*I*(L**2)**-1 #N\n",
+ "\n",
+ "#Safe Load\n",
+ "S=P*(FOS)**-1*10**-3 #N\n",
+ "\n",
+ "#Result\n",
+ "print\"Safe Load if I-section is used as column with both Ends hhinged\",round(S,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Safe Load if I-section is used as column with both Ends hhinged 4123.29 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.5,Page No.381"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D=200 #mm #External Diameter\n",
+ "t=20 #mm #hickness\n",
+ "d=200-2*t #mm #Internal Diameter\n",
+ "E=1*10**5 #N/mm**2\n",
+ "a=1*(1600)**-1 #Rankine's Constant\n",
+ "L=4.5 #m #Length\n",
+ "sigma=550 #N/mm**2 #Stress\n",
+ "FOS=2.5\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Moment of Inertia\n",
+ "I=pi*D**4*64**-1-pi*d**4*64**-1\n",
+ "\n",
+ "#Both Ends are fixed\n",
+ "\n",
+ "#Effective Length\n",
+ "l=1*2**-1*L*10**3 #mm\n",
+ "\n",
+ "#Euler's Critical Load\n",
+ "P_E=pi**2*E*I*(l**2)**-1\n",
+ "\n",
+ "A=pi*4**-1*(D**2-d**2) #mm*2\n",
+ "\n",
+ "k=(I*A**-1)**0.5\n",
+ "\n",
+ "#Rankine's Critical Load\n",
+ "P_R=sigma*A*(1+a*(l*k**-1)**2)**-1\n",
+ "\n",
+ "X=P_E*P_R**-1 \n",
+ "\n",
+ "#Safe Load using Rankine's Formula\n",
+ "S=P_R*(FOS)**-1*10**-3 #KN\n",
+ "\n",
+ "#Result\n",
+ "print\"Safe Load by Rankine's Formula is\",round(S,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Safe Load by Rankine's Formula is 1404.36 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.6,Page No.382"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "L=3000 #mm #Length of column\n",
+ "W=800*10**3 #N #Load\n",
+ "a=1*1600**-1 #Rankine's constant\n",
+ "FOS=4 #Factor of safety\n",
+ "sigma=550 #N/mm**2 #stress\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Effective Length\n",
+ "l=L*2**-1 #mm \n",
+ "\n",
+ "#Let d1=outer diameter & d2=inner diameter\n",
+ "#d1=5*8**-1*d2\n",
+ "\n",
+ "#M.I\n",
+ "#I=pi*64**-1*(d1**4-d2**4) #mm**4\n",
+ "\n",
+ "#Area of section\n",
+ "#A=pi4**-1*(d1**2-d2**2) #mm**2\n",
+ "\n",
+ "#k=(I*A**-1) \n",
+ "#substituting values in above equation \n",
+ "#k=1*16**-1*(d1**2-d2**2)\n",
+ "#after simplifying further we get\n",
+ "#k=0.2948119.d1\n",
+ "\n",
+ "#X=l*k**-1\n",
+ "#substituting values in above equation and after simplifying further we get\n",
+ "#X=5087.9898*d1**-1\n",
+ "\n",
+ "#Crtitcal Load\n",
+ "P=W*FOS #N\n",
+ "\n",
+ "#From Rankine's Load\n",
+ "#P2=sigma*A*(1+a*(X)**2)**-1\n",
+ "#substituting values in above equation and after simplifying further we get\n",
+ "#d1**4-12156618*d1**4-1.96691*10**8=0\n",
+ "#Solving Quadratic Equation we get\n",
+ "#d1**2-12156618*d1-196691000=0\n",
+ "a=1\n",
+ "b=-12156.618\n",
+ "c=-196691000\n",
+ "\n",
+ "Y=b**2-4*a*c\n",
+ "\n",
+ "d1_1=((-b+Y**0.5)*(2*a)**-1)**0.5 #mm\n",
+ "d1_2=((-b-Y**0.5)*(2*a)**-1) #mm\n",
+ "\n",
+ "d2=5*8**-1*d1_1\n",
+ "\n",
+ "#Result\n",
+ "print\"Section of cast iron hollow cylindrical column is:d1_1\",round(d1_1,2),\"mm\"\n",
+ "print\" :d2 \",round(d2,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Section of cast iron hollow cylindrical column is:d1_1 146.16 mm\n",
+ " :d2 91.35 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.7,Page No.383"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "#Let X=(P*A**-1) #Average Stress at Failure \n",
+ "Lamda_1=70 #Slenderness Ratio\n",
+ "Lamda_2=170 #Slenderness Ratio\n",
+ "X1=200 #N/mm**2 \n",
+ "X2=69 #N/mm**2 \n",
+ "\n",
+ "#Rectangular section\n",
+ "b=60 #mm #width\n",
+ "t=20 #mm #Thickness\n",
+ "\n",
+ "L=1250 #mm #Length of strut\n",
+ "FOS=4 #Factor of safety\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Slenderness ratio\n",
+ "#Lamda=L*k**-1\n",
+ "\n",
+ "#The Rankine's Formula for strut\n",
+ "#P=sigma*A*(1+a*(L*k**-1)**-1\n",
+ "\n",
+ "#From test result 1,\n",
+ "#After sub values in above equation we get and further simplifying we get\n",
+ "#sigma_1=200+980000*a ...................(1)\n",
+ "\n",
+ "#From test result 2,\n",
+ "#After sub values in above equation we get and further simplifying we get\n",
+ "#sigma_2=69+1994100*a ...................(2)\n",
+ "\n",
+ "#Substituting it in equation (1) we get\n",
+ "a=131*1014100**-1 \n",
+ "\n",
+ "#Substituting a in equation 1\n",
+ "sigma_1=200+980000*a #N/mm**2\n",
+ "\n",
+ "#Effective Length \n",
+ "l=1*2**-1*L #mm\n",
+ "\n",
+ "#Least of M.I\n",
+ "I=1*12**-1*b*t**3 #mm**4\n",
+ "\n",
+ "#Area \n",
+ "A=b*t #mm**2 \n",
+ "\n",
+ "k=(I*A**-1)**0.5\n",
+ "\n",
+ "#Slenderness ratio\n",
+ "Lamda=l*k**-1\n",
+ "\n",
+ "#From Rankine's Ratio\n",
+ "P=sigma_1*A*(1+a*(Lamda)**2)**-1\n",
+ "\n",
+ "#Safe Load\n",
+ "S=P*(FOS)**-1*10**-3 #N\n",
+ "\n",
+ "#Result\n",
+ "print\"Constant in the Formula is:a \",round(a,6)\n",
+ "print\" :sigma_1\",round(sigma_1,2)\n",
+ "print\"Safe Load is\",round(S,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Constant in the Formula is:a 0.000129\n",
+ " :sigma_1 326.6\n",
+ "Safe Load is 38.98 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.8,Page No.385"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "D=200 #mm #Depth\n",
+ "b=140 #mm #width\n",
+ "\n",
+ "#Plate\n",
+ "b2=160 #mm #Width\n",
+ "t2=10 #mm #Thickness\n",
+ "\n",
+ "L=l=4000 #mm #Length\n",
+ "FOS=4 #Factor of safety\n",
+ "sigma=315 #N/mm**2 #stress\n",
+ "a2=1*7500**-1 \n",
+ "I_xx=26.245*10**6 #mm**4 #M.I at x-x\n",
+ "I_yy=3.288*10**6 #mm**4 #M.I at y-y\n",
+ "a=3671 #mm**2 #Area\n",
+ "k_x=84.6#mm\n",
+ "k_y=29.9 #mm\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Total Area\n",
+ "A=a+2*t2*b2 #mm**2\n",
+ "\n",
+ "#M.I\n",
+ "I=I_yy+2*12**-1*t2*b2**3 #mm**4\n",
+ "\n",
+ "k=(I*A**-1)**0.5 #mm\n",
+ "\n",
+ "#Let X=L*k**-1\n",
+ "X=L*k**-1\n",
+ "\n",
+ "#Appliying Rankine's Formula\n",
+ "P=sigma*A*(1+a2*(X)**2)**-1 #N\n",
+ "\n",
+ "#Safe Load\n",
+ "S=P*(FOS)**-1*10**-3 #KN\n",
+ "\n",
+ "#Result\n",
+ "print\"Safe axial Load is\",round(S,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Safe axial Load is 220.93 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.9,Page No.389"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "E=200*10**3 #N/mm**2 #Modulus of elasticity\n",
+ "sigma=330 #N/mm**2 #Stress\n",
+ "a=1*7500**-1 #Rankine's constant\n",
+ "A=5205 #mm**2 #area of column\n",
+ "I_xx=59.431*10**6 #mm**4 #M.I at x-x axis\n",
+ "I_yy=8.575*10**6 #mm**24#M.I at y-y axis\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Total M.I\n",
+ "I=I_xx+I_yy #mm**4\n",
+ "\n",
+ "#Area of compound Section \n",
+ "A2=2*A #mm**2\n",
+ "\n",
+ "k=(I*A2**-1)**0.5 #mm\n",
+ "\n",
+ "#Equating Euler's Load to Rankine's Load we get\n",
+ "#pi**2*E*I*(L**2)**-1=sigma*A*(1+a*(L*k)**2)**-1\n",
+ "#After Substitt=uting values and further simplifying we get\n",
+ "L=(39076198*(1-0.7975432)**-1)**0.5*10**-3 #m\n",
+ "\n",
+ "#Result\n",
+ "print\"Length of column for which Rankine's formula and Euler's Formula give the same result is\",round(L,2),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Length of column for which Rankine's formula and Euler's Formula give the same result is 13.89 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.10,Page No.387"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "sigma=326 #N/mm**2 #stress\n",
+ "E=2*10**5 #N/mm**2 #Modulus of Elasticity\n",
+ "FOS=2 #Factor of safety\n",
+ "a=1*7500**-1 #Rankine's constant\n",
+ "D=350 #mm #Overall Depth \n",
+ "\n",
+ "#Cover plates\n",
+ "b1=500 #mm #width\n",
+ "t1=10 #mm #Thickness\n",
+ "\n",
+ "d=220 #mm #Distance between two channels\n",
+ "\n",
+ "L=6000 #mm #Length of column\n",
+ "\n",
+ "A=5366 #mm**2 #Area of Column section \n",
+ "I_xx=100.08*10**6 #mm**4 #M.I of x-x axis\n",
+ "I_yy=4.306*10**6 #mm**4 #M.I of y-y axis\n",
+ "C_yy=23.6 #mm #Centroid at y-y axis\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "#Symmetric axes are the centroidal axes is\n",
+ "\n",
+ "#M.I of Channel at x-x axis\n",
+ "I_xx_1=2*I_xx+2*(1*12**-1*b1*t1**3+b1*t1*(D*2**-1+t1*2**-1)**2)\n",
+ "\n",
+ "#M.I of Channel at y-y axis\n",
+ "I_yy_1=2*(I_yy+A*(d*2**-1+C_yy)**2)+2*12**-1*t1*b1**3\n",
+ "\n",
+ "#As I_yy<I_xx\n",
+ "#So\n",
+ "I=I_yy_1 #mm**4 \n",
+ "\n",
+ "A2=2*A+2*t1*b1 #Area of channel\n",
+ "\n",
+ "k=(I*A2**-1)**0.5 #mm\n",
+ "\n",
+ "#Critical Load\n",
+ "P=sigma*A2*(1+a*(L*k**-1)**2)**-1 \n",
+ "\n",
+ "#Safe Load\n",
+ "S=P*2**-1*10**-3 #KN\n",
+ "\n",
+ "#Result\n",
+ "print\"Safe Load carrying Capacity is\",round(S,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Safe Load carrying Capacity is 2717.35 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.9.11,Page No.390"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "from math import sin, cos, tan, pi, radians\n",
+ "\n",
+ "#Initilization of Variables\n",
+ "\n",
+ "I=4.085*10**8 #mm**4 #M.I\n",
+ "A=20732.0 #mm**2 #area of column\n",
+ "f_y=250 #N/mm**2 \n",
+ "L=6000 #mm #Length of column\n",
+ "\n",
+ "#Calculations\n",
+ "\n",
+ "k=(I*A**-1)**0.5 #mm\n",
+ "lamda=L*k**-1 #Slenderness ratro\n",
+ "\n",
+ "#From Indian standard table\n",
+ "lamda_1=40 \n",
+ "sigma_a_c_1=139 #N/mm**2\n",
+ "lamda_2=50 \n",
+ "sigma_a_c_2=132 #N/mm**2 \n",
+ "\n",
+ "#Linearly interpolating between these values for lambda=42.744\n",
+ "\n",
+ "sigma_a_c_3=sigma_a_c_1-2.744*10**-1*(sigma_a_c_1-sigma_a_c_2)\n",
+ "\n",
+ "#Safe Load carrying capacity of column\n",
+ "P=sigma_a_c_3*A*10**-3\n",
+ "\n",
+ "#Result\n",
+ "print\"Safe Load carrying capacity is\",round(P,2),\"KN\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Safe Load carrying capacity is 2841.93 KN\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file