diff options
8 files changed, 1561 insertions, 0 deletions
diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter19.ipynb b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter19.ipynb new file mode 100644 index 00000000..02c1bd34 --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter19.ipynb @@ -0,0 +1,233 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:0a0dd37bdc7db5c1b4ca75c4955576312772179eda17923e843e67249eea1b0b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter19-Auxiliary Systems"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg379"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#page no 379\n",
+ "#find the amount heat absourbed by the cooling system\n",
+ "import math\n",
+ "hp=300.\n",
+ "F=0.38\n",
+ "f=19200.\n",
+ "hi=0.30\n",
+ "Hi=hp*F*f\n",
+ "C=hi*Hi\n",
+ "Cs=C/hp\n",
+ "print\"%s %.2f %s\"%(\"heat lost to cooling system\",Cs,\"per bhp-hr\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "heat lost to cooling system 2188.80 per bhp-hr\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg379"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#page no 379\n",
+ "import math\n",
+ "#find the gallons of water it is neccasry to pump\n",
+ "x=160.\n",
+ "h=2600.\n",
+ "t=60.\n",
+ "#part (a)\n",
+ "#water temperaute rise in 15 deg\n",
+ "Cs=x*h\n",
+ "print \"part a\"\n",
+ "Hcs=Cs/t\n",
+ "#absorbs per minutes is 15\n",
+ "Aw=Hcs/15.\n",
+ "#gals of water per min 8.33\n",
+ "G=Aw/8.33\n",
+ "print\"%s %.2f %s\"%(\"amount of water\",Aw,\"gpm\")\n",
+ "print\"%s %.2f %s\"%(\"amount of water\",G,\"gpm\")\n",
+ "print\"partb\"\n",
+ "#pound of water required to absorb is 45 deg\n",
+ "Aw1=Hcs/45.\n",
+ "#gallon per water required per min 8.33\n",
+ "G1=Aw1/8.33\n",
+ "print\"%s %.2f %s\"%(\"amount of water required of 45 deg\",Aw1,\"gpm\")\n",
+ "print\"%s %.2f %s\"%(\"gallon of water required of 45 deg\",G1,\"gpm\")\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "part a\n",
+ "amount of water 462.22 gpm\n",
+ "amount of water 55.49 gpm\n",
+ "partb\n",
+ "amount of water required of 45 deg 154.07 gpm\n",
+ "gallon of water required of 45 deg 18.50 gpm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg389"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "import math\n",
+ "#page no 389\n",
+ "#find how many gallons will a 64-inches \n",
+ "#two thirds of 6 is 4 \n",
+ "l=120+4+4\n",
+ "#from table \n",
+ "#capacity of full tank\n",
+ "Cf=13.93*l\n",
+ "print\"%s %.2f %s\"%(\"capacity of full tank\",Cf,\"gal\")\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "capacity of full tank 1783.04 gal\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg389"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#how many gallon does the same tank hold of 25 inches\n",
+ "x=25.\n",
+ "y=64\n",
+ "z=x/y\n",
+ "print\"%s %.2f %s\"%(\"gallons does hold\",z,\"\")\n",
+ "#volume fraction\n",
+ "#1783 is last problem got result we are using it same one\n",
+ "Z=0.3611\n",
+ "Ct=Z*1783.\n",
+ "print\"%s %.2f %s\"%(\"content of tank\",Ct,\"gal\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "gallons does hold 0.39 \n",
+ "content of tank 643.84 gal\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4_1-pg394"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#page no 394\n",
+ "#find out how much air enter in cylinder \n",
+ "#as th amount water air taken into engine per hour \n",
+ "x=300\n",
+ "c=3.9\n",
+ "t=60.\n",
+ "D=1.2*70200./(1000.)\n",
+ "#dust entering \n",
+ "#engine in 1 year \n",
+ "E=D*9.*250.\n",
+ "De=E/7000.\n",
+ "print\"%s %.2f %s\"%(\"dust entering engine \",De,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "dust entering engine 27.08 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter4.ipynb b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter4.ipynb new file mode 100644 index 00000000..37d95873 --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter4.ipynb @@ -0,0 +1,451 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:b4ba8641549f203e8fea11318b963810a10e4c60714677d1e612b112f1a26eec"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter4-Basic Terms of Physics and Engineering"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg61"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the area piston for given parameters\n",
+ "#given\n",
+ "a=3.\n",
+ "#diameter squared\n",
+ "#calculation\n",
+ "A=0.785*3**2\n",
+ "print\"%s %.2f %s\"%(\"area of piston \",A,\"\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "area of piston 7.07 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg62"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find the area of piston and displacement of that piston\n",
+ "a=3.\n",
+ "b=4.\n",
+ "A=0.785*3**2\n",
+ "print\"%s %.2f %s\"%(\"area of piston \",A,\"\")\n",
+ "D=A*b\n",
+ "#by using above results\n",
+ "print\"%s %.2f %s\"%(\"displacement of piston \",D,\"cu in\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "area of piston 7.07 \n",
+ "displacement of piston 28.26 cu in\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg63"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find the piston speed\n",
+ "pa=9.\n",
+ "S=1600.\n",
+ "#average piston velocity =distance traveld/time to travel\n",
+ "#first divide by 1 min and u will get same result late divide by 12 because to express per minute\n",
+ "Ps=(pa*S)/(12.)\n",
+ "print\"%s %.2f %s\"%(\"piston speed \",Ps,\"ft per min\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "piston speed 1200.00 ft per min\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#compute the average acceleration `\n",
+ "#pressure= force/area\n",
+ "#first express the velocity in ft per sec.time\n",
+ "t=5.\n",
+ "v=9000.\n",
+ "Min=(9000./60.)\n",
+ "Aa=(Min/t)\n",
+ "print\"%s %.2f %s\"%(\"average acceleration\",Aa,\"ft per sec^2\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "average acceleration 30.00 ft per sec^2\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg65"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#compute the pressure force\n",
+ "#given\n",
+ "w=12000.\n",
+ "p=6.\n",
+ "a=10**2\n",
+ "f=p*a\n",
+ "P=w/f\n",
+ "print\"%s %.2f %s\"%(\"pressure \",P,\"Psi\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pressure 20.00 Psi\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex6-pg66"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#compute the gas force action on pistion \n",
+ "#use the figure to compute it \n",
+ "p=500.\n",
+ "D=5**2\n",
+ "#force=pressure*area\n",
+ "area=0.785*D\n",
+ "F=p*area\n",
+ "print\"%s %.2f %s\"%(\"force \",F,\"lb\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "force 9812.50 lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex7-pg67"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find the ratio of weight of certain volume \n",
+ "Oil=1*8.34\n",
+ "g=0.89\n",
+ "#weight of the oil equal to weight of 1 gal\n",
+ "w=Oil*g\n",
+ "print\"%s %.2f %s\"%(\"wegiht of gal \",w,\"lb per gal\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "wegiht of gal 7.42 lb per gal\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex8-pg69"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find out what is mass of an engine piston that wieghs\n",
+ "w=55.\n",
+ "#mass weight divide by 32.2\n",
+ "#because it convets to lb\n",
+ "M=w/32.2\n",
+ "print\"%s %.2f %s\"%(\"mass of an engine\",M,\"lb\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mass of an engine 1.71 lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9-pg69"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the work neccasry to raise a weight\n",
+ "#given\n",
+ "import math\n",
+ "w=150.\n",
+ "d=8.\n",
+ "Work=w*d\n",
+ "print\"%s %.2f %s\"%(\"work necesary \",Work,\"ft-lb\")\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "work necesary 1200.00 ft-lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex10-pg70"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find out power required to do in three cases:\n",
+ "import math\n",
+ "w=150.\n",
+ "d=8.\n",
+ "Work=w*d\n",
+ "print\"%s %.2f %s\"%(\"work necesary \",Work,\"ft-lb\")\n",
+ "\n",
+ "#case(1)\n",
+ "t1=2.\n",
+ "power=Work/t1\n",
+ "Horsepower=power/550.\n",
+ "print\"%s %.2f %s\"%(\"powe requiered for time \",power,\"ft-lb\")\n",
+ "#case(2)\n",
+ "t2=8.\n",
+ "power=Work/t2\n",
+ "Horsepower=power/550.\n",
+ "print\"%s %.2f %s\"%(\"for power requiered at t2 \",power,\"ft-lb per sec\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "work necesary 1200.00 ft-lb\n",
+ "powe requiered for time 600.00 ft-lb\n",
+ "for power requiered at t2 150.00 ft-lb per sec\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex11-pg70"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the electric generator to takes 150 kn \n",
+ "#given\n",
+ "import math\n",
+ "g=150.\n",
+ "a=1.341\n",
+ "p=g*a\n",
+ "print\"%s %.2f %s\"%(\"equilient horse power\",p,\"hp\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "equilient horse power 201.15 hp\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex12-pg73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the work done by exhaust gases \n",
+ "#given\n",
+ "import math\n",
+ "w=500.\n",
+ "v1=9000.\n",
+ "v2=5400.\n",
+ "t=60.\n",
+ "V1=v1/t\n",
+ "V2=v2/t\n",
+ "hp=32.2\n",
+ "KE1=(1/2.)*(500/32.2)*(150**2)\n",
+ "KE2=(1/2.)*(500/32.2)*(90**2)\n",
+ "W=KE1-KE2\n",
+ "print\"%s %.2f %s\"%(\"workdone\",W,\"ft-lb\")\n",
+ "\n",
+ "#answer is wrong in textbook"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "workdone 111801.24 ft-lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter5.ipynb b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter5.ipynb new file mode 100644 index 00000000..cfa37787 --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter5.ipynb @@ -0,0 +1,360 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fef0bfe16bb766d61c55d7abce00a03d90744b0d062da59a25a40a9ae9f5911d"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter5-Heat and Combustion"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg76"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find the heat required \n",
+ "t2=185\n",
+ "t1=95\n",
+ "W1=42\n",
+ "cp=0.5\n",
+ "g=0.92\n",
+ "w1=8.31*g\n",
+ "W=W1*w1\n",
+ "Q=W*cp*(t2-t1)\n",
+ "print(W)\n",
+ "print\"%s %.2f %s\"%(\"heat required is\",Q,\"\")\n",
+ "\n",
+ "#answer is slighlty different due to roundoff error "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "321.0984\n",
+ "heat required is 14449.43 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find the back pressure and heat required \n",
+ "import math\n",
+ "g=9.\n",
+ "w1=0.0361\n",
+ "Bp=g*w1\n",
+ "#as 1 psi =2.036\n",
+ "Bp1=Bp*2.0326\n",
+ "print\"%s %.3f %s\"%(\"back pressure\",Bp,\"\")\n",
+ "print\"%s %.2f %s\"%(\"heat required is\",Bp1,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "back pressure 0.325 \n",
+ "heat required is 0.66 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find the total weight of a given temperature and velocity\n",
+ "import math\n",
+ "v=9500.\n",
+ "p=5.\n",
+ "t=180.\n",
+ "V=v/(12.**3)\n",
+ "#normal barometric pressure 14.7\n",
+ "bP=p+14.7\n",
+ "bP1=144.*bP\n",
+ "#640 is total temperature conveting into k\n",
+ "W=(bP1*V)/(53.3*640.)\n",
+ "\n",
+ "print\"%s %.2f %s\"%(\"total weight\",W,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total weight 0.42 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "import math\n",
+ "#find the rate of flow outlet\n",
+ "t=600.\n",
+ "c=1200.\n",
+ "t2=400.\n",
+ "AT=t+460.\n",
+ "AT1=t2+460.\n",
+ "Rfo=c*(AT1/AT)\n",
+ "print\"%s %.2f %s\"%(\"Rate of flow outlet\",Rfo,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Rate of flow outlet 973.58 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "import math\n",
+ "#find the final pressure gage and convert absloute temperature to normal temprature \n",
+ "a=210.\n",
+ "t=160.\n",
+ "t2=60.\n",
+ "#absloute temperature to convert is 460\n",
+ "AT=160.+460.\n",
+ "AT1=60.+460.\n",
+ "IP=210.+14.7\n",
+ "FP=IP*(520./620.)\n",
+ "print(FP)\n",
+ "FPg=(FP-14.7)\n",
+ "print\"%s %.2f %s\"%(\"final pressue gage is\",FPg,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "188.458064516\n",
+ "final pressue gage is 173.76 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex6-pg81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "import math\n",
+ "#find the final pressure gage\n",
+ "a=240.\n",
+ "b=15.\n",
+ "IP=14.7\n",
+ "FP=IP*(a/b)\n",
+ "Fpg=FP-IP\n",
+ "print\"%s %.2f %s\"%(\"final pressure gage is\",Fpg,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "final pressue gage is 220.50 \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex7-pg85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find out weight of hydrogen\n",
+ "import math\n",
+ "#1lb hydrogen +8 lb oxygen gives\n",
+ "T=1.+8.\n",
+ "#this problem deals with 24 lb oxygen so\n",
+ "t=24./8.\n",
+ "#multiplying all equation by 3\n",
+ "TT=3+24\n",
+ "\n",
+ "print\"%s %.2f %s\"%(\"3 lb of hydrogen requires\",TT,\"lb\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "3 lb of hydrogen requires 27.00 lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex8-pg86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "o=0.14\n",
+ "h=0.86\n",
+ "O=120*o\n",
+ "H=120*h\n",
+ "O2=134.4+275.5\n",
+ "print\"%s %.2f %s\"%(\"Total O2 uniting with oil\",O2,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total O2 uniting with oil 409.90 \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9-pg87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#find the total weight and airfuel ratio\n",
+ "#given data\n",
+ "O2=409.9\n",
+ "lb=0.231\n",
+ "w=409.9\n",
+ "W=w/lb\n",
+ "AFR=W/120.\n",
+ "print\"%s %.2f %s\"%(\"toatl weight\",W,\"\")\n",
+ "print\"%s %.2f %s\"%(\"air fuel ratio\",AFR,\"\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "toatl weight 1774.46 \n",
+ "air fuel ratio 14.79 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter7.ipynb b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter7.ipynb new file mode 100644 index 00000000..79d61c82 --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter7.ipynb @@ -0,0 +1,347 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:04f751b480a168c32320aa1a4f25365f0c332ba45913aa789b4bd2240724cfad"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter7-Engine Power and Fuel Consumption"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg109"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "import math\n",
+ "#find the brake horse power\n",
+ "N=1150.\n",
+ "Wt=151.\n",
+ "l=4.\n",
+ "Wo=22.\n",
+ "#finding netforce\n",
+ "#f=Wt-Wo\n",
+ "F=Wt-Wo\n",
+ "#then as\n",
+ "R=4.\n",
+ "#calculating Brake horse power\n",
+ "Bhp=F*R*N/(5250.)\n",
+ "print\"%s %.2f %s\"%(\"braking horse power\",Bhp,\"bhp\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "braking horse power 113.03 bhp\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg111"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find out what is torque produced by and engine \n",
+ "N=850.\n",
+ "bhp=62.\n",
+ "#by writting terms in equation \n",
+ "#5250 is dividing equation\n",
+ "T=5250*bhp/(N)\n",
+ "print\"%s %.2f %s\"%(\"torque produced by an engine\",T,\"lb-ft\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "torque produced by an engine 382.94 lb-ft\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg112"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find out brake mean effective pressure of a 6-cylinder\n",
+ "D=5**0.75\n",
+ "bhp=120.\n",
+ "l=8.\n",
+ "m=6.\n",
+ "n=1000.\n",
+ "bmep=1008000*((bhp/(D**2)*l*m*n))\n",
+ "print\"%s %.2f %s\"%(\"brake mean effective pressure\",bmep/2.95,\"psi\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "brake mean effective pressure 176037824580.37 psi\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#compute brake mean effective pressure\n",
+ "#given\n",
+ "T=350.\n",
+ "D=4**0.25\n",
+ "L=5\n",
+ "M=4\n",
+ "#bmep for 4-cycle engine=192*t\n",
+ "bmep=192*(T/(D**2)*L*M)\n",
+ "#bmep for 2-cycle engine \n",
+ "bmep2=bmep/2\n",
+ "print\"%s %.2f %s\"%(\"bmep for 4-cycle\",bmep,\"psi\")\n",
+ "print\"%s %.2f %s\"%(\"bmep for 2-cycle\",bmep,\"psi\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "bmep for 4-cycle 672000.00 psi\n",
+ "bmep for 2-cycle 672000.00 psi\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex5-pg114"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find out mechanical efficency of an engine\n",
+ "bhp=57.\n",
+ "ihp=19.\n",
+ "ihp1=ihp+bhp\n",
+ "\n",
+ "#computing according to equtaion\n",
+ "Me=(bhp/ihp1)*100.\n",
+ "print\"%s %.2f %s\"%(\"mechanical efficency\",Me,\"percent\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mechanical efficency 75.00 percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex6-pg115"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the mechanical efficency of the diesel engine \n",
+ "#fid we set forth constant \n",
+ "fhp=19\n",
+ "bhp=57/2.\n",
+ "ihp=bhp+fhp\n",
+ "Bhp=(bhp/ihp)*100\n",
+ "print\"%s %.2f %s\"%(\"mechanical efficeny\",Bhp,\"bhp\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mechanical efficeny 60.00 bhp\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex7-pg117"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the brake thermal efficency of an engine \n",
+ "#given\n",
+ "w=16.2\n",
+ "t=20.\n",
+ "p=126.\n",
+ "q=19300.\n",
+ "#during 20 minutes period of the test 126 bhp for a period 1/3 hour 126*(1/3.)\n",
+ "btu=42.*2544.\n",
+ "hi=16.2*19300.\n",
+ "bth=(btu/hi)*100.\n",
+ "print\"%s %.2f %s\"%(\"brake thermal efficency\",bth,\"percent\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "brake thermal efficency 34.17 percent\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex8-pg118"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find the brake thermal efficency\n",
+ "#given\n",
+ "f=0.44\n",
+ "q=19500\n",
+ "#for each bhp output is 2544\n",
+ "hi=f*q\n",
+ "bth=(2544./hi)*100.\n",
+ "print\"%s %.2f %s\"%(\"brake thermal efficency\",bth,\"bhp\")"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "brake thermal efficency 29.65 bhp\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9-pg118"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#find fuel consumption when using fuel 18\n",
+ "#given\n",
+ "bth=38.\n",
+ "#calculating heat input\n",
+ "#1 bhp 2544\n",
+ "hi=(2544./bth)*100.\n",
+ "print\"%s %.2f %s\"%(\"heat input\",hi,\"btu per hp\")\n",
+ "F=hi/18390.\n",
+ "print\"%s %.2f %s\"%(\"fuel consumption\",F,\"lb\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "heat input 6694.74 btu per hp\n",
+ "fuel consumption 0.36 lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter8.ipynb b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter8.ipynb new file mode 100644 index 00000000..252c5fa6 --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/Chapter8.ipynb @@ -0,0 +1,170 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:737c25ab146839416edc37d8814a5fc3a04ddf79b32a9b1013fd164c94bed389"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter8-Engine Rating and Performance"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg125"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find brake mean effective pressure\n",
+ "bhp=150.\n",
+ "D=8.\n",
+ "L=10**0.5\n",
+ "M=5.\n",
+ "N=600.\n",
+ "#substutting bmep\n",
+ "Bmep=1008000*(150./(8.*8.*5.*600.*10**0.5))\n",
+ "print\"%s %.2f %s\"%(\"brake mean effective power\",Bmep/3.32,\"psi\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "brake mean effective power 75.01 psi\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg130"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "import math\n",
+ "#find the piston speed of enigne running\n",
+ "N=1200.\n",
+ "x=5**(0.5)\n",
+ "y=4**(0.5)\n",
+ "#setting equations\n",
+ "Ps=(N*x)/(6.)\n",
+ "print\"%s %.2f %s\"%(\"piston speed\",Ps*2.46,\"ft\")\n",
+ "#2.46 is converting into units\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "piston speed 1100.15 ft\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg136"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#test of diesel engine correct the fuel consumption\n",
+ "import math\n",
+ "x=18900.\n",
+ "y=19350.\n",
+ "#for given fuel consumption of 0.46 lb \n",
+ "#finding the 19350 fuel consumption is\n",
+ "Cf=(x/y)*0.46\n",
+ "print\"%s %.2f %s\"%(\"correct fuel consumption\",Cf,\"lb per hour\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "correct fuel consumption 0.45 lb per hour\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex4-pg137"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "#find total heat consumption of low heat value basis \n",
+ "import math\n",
+ "#heat consumption of gaseous fuel ,low heat value\n",
+ "x=6.8\n",
+ "y=950.\n",
+ "H=x*y\n",
+ "#heat consumption of pilot value\n",
+ "e=0.021\n",
+ "f=19350.\n",
+ "E=e*f\n",
+ "T=H+E\n",
+ "print\"%s %.2f %s\"%(\"total heat consumption value\",T,\"per bhp\")\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "total heat consumption value 6866.35 per bhp\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter4.png b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter4.png Binary files differnew file mode 100644 index 00000000..13737fe8 --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter4.png diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter5.png b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter5.png Binary files differnew file mode 100644 index 00000000..e283840e --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter5.png diff --git a/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter7.png b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter7.png Binary files differnew file mode 100644 index 00000000..115bf4db --- /dev/null +++ b/Diesel_and_High_Compression_Gas_Engines_Fundmentals_by_Kates_E.J/screenshots/chapter7.png |