summaryrefslogtreecommitdiff
path: root/Non_Conventional_Energy_Resources/Chapter12.ipynb
diff options
context:
space:
mode:
authorhardythe12015-06-03 15:27:17 +0530
committerhardythe12015-06-03 15:27:17 +0530
commitdf60071cf1d1c18822d34f943ab8f412a8946b69 (patch)
treeab059cf19bad4a1233a464ccf5d72cf8b3fb323c /Non_Conventional_Energy_Resources/Chapter12.ipynb
parentfba055ce5aa0955e22bac2413c33493b10ae6532 (diff)
downloadPython-Textbook-Companions-df60071cf1d1c18822d34f943ab8f412a8946b69.tar.gz
Python-Textbook-Companions-df60071cf1d1c18822d34f943ab8f412a8946b69.tar.bz2
Python-Textbook-Companions-df60071cf1d1c18822d34f943ab8f412a8946b69.zip
add books
Diffstat (limited to 'Non_Conventional_Energy_Resources/Chapter12.ipynb')
-rwxr-xr-xNon_Conventional_Energy_Resources/Chapter12.ipynb71
1 files changed, 71 insertions, 0 deletions
diff --git a/Non_Conventional_Energy_Resources/Chapter12.ipynb b/Non_Conventional_Energy_Resources/Chapter12.ipynb
new file mode 100755
index 00000000..58982291
--- /dev/null
+++ b/Non_Conventional_Energy_Resources/Chapter12.ipynb
@@ -0,0 +1,71 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:51836aeee86fdbe9ff075e142b59a3694a305b3949989cbb3e8809bdfd1573b6"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter12:Emerging Technologies"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex12.1:pg-375"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "# given data\n",
+ "delG=-39.59 # kJ/mol\n",
+ "delH=-56.83 # change in enthalpy in kJ/mol\n",
+ "mdotmethanol=32.0 # in g/s\n",
+ "mdotoxygen=48.0 # in g/s\n",
+ "\n",
+ "Wmax=166.3 # -delG in kJ\n",
+ "\n",
+ "flowmethanol=mdotmethanol*100*3600/(Wmax*1000) # in kg/h\n",
+ "flowoxygen=mdotoxygen*100*3600/(Wmax*1000) # in kg/h\n",
+ "print \"The required flow rate of methanol is \",round(flowmethanol,2),\"kg/h\"\n",
+ "print \"The required flow rate of oxygen is \",round(flowoxygen,2),\"kg/h\"\n",
+ "delQ=delH-delG # using eq 12.7 \n",
+ "\n",
+ "fuelrate=-delQ*19.24/mdotmethanol # in kcal/s\n",
+ "\n",
+ "print \"The required heat removal rate is \",round(fuelrate,3),\"kcal/s\"\n",
+ "\n",
+ "# The answer is wrong in textbook because of incorrect conversion from g/s to kg/h"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The required flow rate of methanol is 69.27 kg/h\n",
+ "The required flow rate of oxygen is 103.91 kg/h\n",
+ "The required heat removal rate is 10.366 kcal/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file