diff options
author | kinitrupti | 2017-05-12 18:53:46 +0530 |
---|---|---|
committer | kinitrupti | 2017-05-12 18:53:46 +0530 |
commit | f270f72badd9c61d48f290c3396004802841b9df (patch) | |
tree | bc8ba99d85644c62716ce397fe60177095b303db /Elementary_heat_Power_by_H_L_Solberg/Chapter11.ipynb | |
parent | 64d949698432e05f2a372d9edc859c5b9df1f438 (diff) | |
download | Python-Textbook-Companions-f270f72badd9c61d48f290c3396004802841b9df.tar.gz Python-Textbook-Companions-f270f72badd9c61d48f290c3396004802841b9df.tar.bz2 Python-Textbook-Companions-f270f72badd9c61d48f290c3396004802841b9df.zip |
Removed duplicates
Diffstat (limited to 'Elementary_heat_Power_by_H_L_Solberg/Chapter11.ipynb')
-rwxr-xr-x | Elementary_heat_Power_by_H_L_Solberg/Chapter11.ipynb | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/Elementary_heat_Power_by_H_L_Solberg/Chapter11.ipynb b/Elementary_heat_Power_by_H_L_Solberg/Chapter11.ipynb new file mode 100755 index 00000000..138cf155 --- /dev/null +++ b/Elementary_heat_Power_by_H_L_Solberg/Chapter11.ipynb @@ -0,0 +1,104 @@ +{ + "metadata": { + "name": "EHP-11" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": "Feed Water Heaters and Condensers" + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": "Example 11.1,Page 554" + }, + { + "cell_type": "code", + "collapsed": false, + "input": "# Initialization of Variable\nfrom math import pi\nfrom math import atan, cos\nfrom numpy import *\nm1=1000.0 #lb/hr\nm2=5000.0 #lb/hr\nm3=3000.0 #lb/hr\n#From mollier charts\nh5=196.16 #Btu/lb\nh1=38.04 #Btu/lb\nh2=67.97 #Btu/lb\nh3=117.89 #Btu/lb\nh4=1156.3 #Btu/lb\n\n#calculations\nm4=(m1*h1+m2*h2+m3*h3-(m1+m2+m3)*h5)/(h5-h4) #mass rate\n\n#results\nprint \"Pounds of steam entering the heater in lb/hr\", round(m4,3)", + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": "Pounds of steam entering the heater in lb/hr 1076.801\n" + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": "Example 11.2,Page 558" + }, + { + "cell_type": "code", + "collapsed": false, + "input": "# Initialization of Variable\nfrom math import pi\nfrom math import atan, cos\nfrom numpy import *\nP1=100.0 #psia\nT1=400.0 #F\nT2=70.0 #F\n#\"From mollier charts\"\nh1=1227.6 #Btu/lb\nh2=298.4 #Btu/lb\nh3=279.9 #Btu/lb\nh4=38.04 #Btu/lb\n\n#calculations\nm1=(h3-h4)/(h1-h2)\n#results\nprint \"Mass of steam required in lb steam per lb water\",round(m1,3)", + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": "Mass of steam required in lb steam per lb water 0.26\n" + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": "Example 11.3,Page 567" + }, + { + "cell_type": "code", + "collapsed": false, + "input": "# Initialization of Variable\nfrom math import pi\nfrom math import atan, cos\nfrom numpy import *\nh0=1260.0 #Btu/lb\nmsr=15.0 #lb\nm4=15.0 #lb per hr per kw\nt2=80.0 #F\nt3=60.0 #F\n\n#calculations\nh1=h0-3413/msr \n#\"from mollier charts\"\nh4=58 #Btu/lb\ndt=t2-t3\nm3=m4*(h1-h4)/dt\n\n#results\nprint \"enthalpy of steam entering the condenser in Btu/lb\",round(h1,3)\nprint \" mass of cooling water in lb per hr per kw\",round(m3,3)", + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": "enthalpy of steam entering the condenser in Btu/lb 1032.467\n mass of cooling water in lb per hr per kw 730.85\n" + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": "Example 11.4,Page 568" + }, + { + "cell_type": "code", + "collapsed": false, + "input": "# Initialization of Variable\nfrom math import pi\nfrom math import atan, cos\nfrom numpy import *\nm4=8*1000000 #lb per hr\ndt=12 #F\n\n#calculations\n#from mollier charts\")\ndh4=950 #Btu/lb\nm3=m4*(dh4)/dt #mass rate\n\n#results\nprint \" mass of cooling water in lb per hr\",round(m3,4)", + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": " mass of cooling water in lb per hr 633333333.0\n" + } + ], + "prompt_number": 6 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |