summaryrefslogtreecommitdiff
path: root/Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb
diff options
context:
space:
mode:
authorJovina Dsouza2014-06-18 12:43:07 +0530
committerJovina Dsouza2014-06-18 12:43:07 +0530
commit206d0358703aa05d5d7315900fe1d054c2817ddc (patch)
treef2403e29f3aded0caf7a2434ea50dd507f6545e2 /Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb
parentc6f0d6aeb95beaf41e4b679e78bb42c4ffe45a40 (diff)
downloadPython-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.tar.gz
Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.tar.bz2
Python-Textbook-Companions-206d0358703aa05d5d7315900fe1d054c2817ddc.zip
adding book
Diffstat (limited to 'Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb')
-rw-r--r--Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb152
1 files changed, 152 insertions, 0 deletions
diff --git a/Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb b/Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb
new file mode 100644
index 00000000..759dde83
--- /dev/null
+++ b/Basic_Principles_And_Calculations_In_Chemical_Engineering/ch7.ipynb
@@ -0,0 +1,152 @@
+{
+ "metadata": {
+ "name": ""
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7 : A General Strategy for Solving Material Balance Problems"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ " Example 7.1 Page no.169\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# Understanding the Problem\n",
+ "# Solution\n",
+ "\n",
+ "# Variables\n",
+ "v_ts = 105.0 ; # velocity of train wrt station-[cm/s]\n",
+ "v_mt = 30.0 ; # velocity of man wrt train-[cm/s]\n",
+ "v_hm = 2.0 ; # velocity of hot dough wrt man-[cm/s]\n",
+ "v_am = 1.0 ; # velocity of ant wrt man- [cm/s]\n",
+ "# By careful reading of problem you can see that ant is moving away from man's mouth at 1 cm/s , so ant's velocity wrt station \n",
+ "#is say v_as\n",
+ "\n",
+ "# Calculation\n",
+ "v_as = v_ts + v_mt + v_am;\n",
+ "\n",
+ "# Results\n",
+ "print ' The ant is moving towards station at the rate of %.1f cm/s.'%v_as"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The ant is moving towards station at the rate of 136.0 cm/s.\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ " Example 7.4 Page no. 180\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# Drawing a Sketch of a Mixing Process\n",
+ "# Solution\n",
+ "\n",
+ "# Variables\n",
+ "n_un= 7 ; # Number of unknowns in the given problem- 3 values of xi and 4 values Fi\n",
+ "n_ie = 5 ; # Number of independent equations\n",
+ "\n",
+ "# Calculations\n",
+ "d_o_f = n_un-n_ie ; # No. of degree of freedom\n",
+ "\n",
+ "# Results\n",
+ "print 'Number of degree of freedom for the given system is %i .'%d_o_f"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of degree of freedom for the given system is 2 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 3,
+ "metadata": {},
+ "source": [
+ " Example 7.5 Page no. 182\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# Placing the unknown Information on the Diagram\n",
+ "# Solution\n",
+ "\n",
+ "# variables\n",
+ "n_un=8 ; # Number of unknowns in the given problem- 8 values of mole fractions\n",
+ "n_ie =6 ; # Number of independent equations- six elemental balances \n",
+ "\n",
+ "# Calculation\n",
+ "d_o_f= n_un-n_ie ;# Number of degree of freedom\n",
+ "\n",
+ "# Results\n",
+ "print 'Number of degree of freedom for the given system is %i .'%d_o_f\n",
+ "#Note: Experiments show that the change in CH1.8O.5N.16S.0045P.0055 and the change in C(alpha)H(beta)O(gamma) prove to be \n",
+ "#related by amount of biomass present and the maintenance coefficient(the moles of substrate per mole of biomass per second) \n",
+ "#so the respective quantities cannot be chosen independently.Consequently with this extra constraint,only one degree of freedom \n",
+ "#remains to be specified, the basis"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of degree of freedom for the given system is 2 .\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "code",
+ "collapsed": true,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file