summaryrefslogtreecommitdiff
path: root/Chemical_Reaction_Engineering_by_O._Levenspiel/ch10.ipynb
blob: bfe8563f39991f04c99459c13aa4500f5cb3dab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 10 : Choosing the Right Kind of Reactor"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.1 pageno : 243"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "CAo = 1.                # feed\n",
      "CA = 0.25\n",
      "v = 100.                #litre/min\n",
      "ko = .025\n",
      "k1 = 0.2                # min**-1\n",
      "k2 = 0.4                # liter/mol.min\n",
      "\n",
      "# Calculations\n",
      "rA = ko+k1*CA+k2*CA**2\n",
      "V = (v/4.)*(CAo-CA)/rA\n",
      "#For 4 Reactor System\n",
      "Vt = 4*V;\n",
      "\n",
      "# Results\n",
      "print \" The Total volume of 4 reactor system is %.f litres\"%(Vt)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The Total volume of 4 reactor system is 750 litres\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.2 pageno : 245"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "print \"For Intermediate R is desired\"\n",
      "#we want step 1 fast than 2 and step 1 fast than 3\n",
      "print \" E1<E2,E1<E3 so use a low temperature and plug flow \"\n",
      "print \"For Product S is desired\"\n",
      "#Here speed is all that matters\n",
      "print \" High speed is all that matters so use a high temperature and plug flow \"\n",
      "print \"For Intermediate T is desired\"\n",
      "#We want step 2 fast than 1 and step 2 fast than 4\n",
      "print \" E2>E1,E3>E5 so use a falling temperature and plug flow \"\n",
      "print \"For Intermediate U is desired\"\n",
      "#We want step 1 fast than 2 and step 3 fast than 5\n",
      "print \" E2>E1,E3>E5 so use a rimath.sing temperature and plug flow \"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "For Intermediate R is desired\n",
        " E1<E2,E1<E3 so use a low temperature and plug flow \n",
        "For Product S is desired\n",
        " High speed is all that matters so use a high temperature and plug flow \n",
        "For Intermediate T is desired\n",
        " E2>E1,E3>E5 so use a falling temperature and plug flow \n",
        "For Intermediate U is desired\n",
        " E2>E1,E3>E5 so use a rimath.sing temperature and plug flow \n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}