diff options
Diffstat (limited to 'Chemical_Engineering_Thermodynamics/ch7_2.ipynb')
-rw-r--r-- | Chemical_Engineering_Thermodynamics/ch7_2.ipynb | 76 |
1 files changed, 27 insertions, 49 deletions
diff --git a/Chemical_Engineering_Thermodynamics/ch7_2.ipynb b/Chemical_Engineering_Thermodynamics/ch7_2.ipynb index 11e9b4cd..dae2b7f0 100644 --- a/Chemical_Engineering_Thermodynamics/ch7_2.ipynb +++ b/Chemical_Engineering_Thermodynamics/ch7_2.ipynb @@ -1,6 +1,7 @@ { "metadata": { - "name": "" + "name": "", + "signature": "sha256:1fc4ec5605309ff88ba6d75ddff6c3046fc8a8dc45dca2d12f7651c49812921e" }, "nbformat": 3, "nbformat_minor": 0, @@ -27,8 +28,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of entropy change\n", - "\n", + " \n", "import math \n", "\n", "\n", @@ -81,8 +81,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Determination of work done\n", - "\n", + " \n", "import math \n", "from scipy.integrate import quad \n", "\t\t\t\n", @@ -161,8 +160,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Evaluation of beta and K for nitrogen gas\n", - "\n", + " \n", "from scipy.optimize import fsolve \n", "\n", "\n", @@ -226,9 +224,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of temperature change and entropy change of water\n", - "\n", - "# Variables\n", + " \n", "T = 45+273.15;\t\t\t#[K]\n", "P_1 = 10;\t\t\t#[kPa] - Initial pressure\n", "P_2 = 8600;\t\t\t#[kPa] - Final pressure\n", @@ -300,9 +296,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of change in entropy and enthalpy\n", - "\n", - "# Variables\n", + " \n", "T = 270;\t\t\t#[K]\n", "P_1 = 381;\t\t\t#[kPa] - Initial pressure\n", "P_2 = 1200;\t\t\t#[kPa] - Final pressure\n", @@ -353,8 +347,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of percentage change in volume\n", - "\n", + " \n", "# Variables\n", "T_1 = 0;\t\t\t#[C] - Initial tempetaure\n", "T_2 = 100;\t\t\t#[C] - Final temperature\n", @@ -404,9 +397,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Determination of enthalpy and entropy change\n", - "\n", - "# Variables\n", + " \n", "T_1 = 25 + 273.15;\t\t\t#[C] - Initial tempetaure\n", "T_2 = 50 + 273.15;\t\t\t#[C] - Final temperature\n", "P_1 = 1;\t\t\t#[bar] - Initial pressure\n", @@ -479,8 +470,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "#Calculation of volume expansivity and isothermal compressibility\n", - "\n", + " \n", "# Variables\n", "T = 100 + 273.15;\t\t\t#[K]\n", "P = 10;\t\t\t#[MPa]\n", @@ -535,8 +525,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of specific heat capacity\n", - "\n", + " \n", "# Variables\n", "T = 300 + 273.15;\t\t\t#[K]\n", "P = 4;\t\t\t#[MPa] \n", @@ -589,9 +578,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of specific heat capacity\n", - "\n", - "# Variables\n", + " \n", "T = 300 + 273.15;\t\t\t#[K]\n", "P = 2.0;\t\t\t#[MPa]\n", "\n", @@ -632,9 +619,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of volume expansivity and isothermal compressibility\n", - "\n", - "# Variables\n", + " \n", "T = 80 + 273.15;\t\t\t#[K]\n", "P = 10;\t\t\t#[MPa] \n", "\n", @@ -699,8 +684,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of mean Joule Thomson coefficient\n", - "\n", + " \n", "# Variables\n", "P_1 = 150;\t\t\t#[bar]\n", "P_2 = 1;\t\t\t#[bar]\n", @@ -771,8 +755,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of Joule Thomson coefficient\n", - "\n", + " \n", "# Variables\n", "T = 300;\t\t\t#[K] - Temperature\n", "P = 5;\t\t\t#[atm] - Pressure\n", @@ -825,8 +808,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of pressure\n", - "\n", + " \n", "# Variables\n", "den_liq = 13690.;\t\t\t#[kg/m**(3)] - Density of liquid mercury\n", "den_solid = 14190.;\t\t\t#[kg/m**(3)] - Density of solid mercury\n", @@ -878,8 +860,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of enthalpy change and entropy change\n", - "\n", + " \n", "# Calculations and Results\n", "\t\t\t#(1)\n", "\t\t\t# At 1 bar\n", @@ -932,8 +913,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of ratio of temperature change and pressure change\n", - "\n", + " \n", "# Variables\n", "H_fus = 80;\t\t\t#[cal/g] - Heat of fusion at 0 C and 1 atm pressure\n", "T = 0+273.15;\t\t\t#[K] - Temperature\n", @@ -975,7 +955,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Determination of boiling point of water\n", + " \n", "\n", "# Variables\n", "P = 2;\t\t\t#[atm] - Surrounding pressure\n", @@ -1025,8 +1005,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of enthalpy and entropy of vaporization of water\n", - "\n", + " \n", "# Variables\n", "T_1 = 0.01 +273.15;\t\t\t#[K]\n", "T_2 = 1 + 273.15;\t\t\t#[K]\n", @@ -1075,7 +1054,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of heat of vaporization of water\n", + " \n", "\n", "# Variables\n", "T = 100. + 273.15;\t\t\t#[K]\n", @@ -1129,7 +1108,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of latent heat of vaporization\n", + " \n", "\n", "# Variables\n", "T_1 = 100 + 273.15;\t\t\t#[K]\n", @@ -1189,7 +1168,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Determination of temperature dependence\n", + " \n", "from scipy.integrate import quad \n", "from scipy.optimize import *\n", "\n", @@ -1292,8 +1271,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Calculation of fugacity of water\n", - "\n", + " \n", "# Variables\n", "T = 300 + 273.15;\t\t\t#[K] - Temperature\n", "P = 9000;\t\t\t#[kPa] - Pressure\n", @@ -1340,7 +1318,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of fugacity of saturated steam\n", + " \n", "\n", "# Variables\n", "T = 200 + 273.15;\t\t\t#[K] - Temperature\n", @@ -1401,7 +1379,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Estimation of fugacity of steam\n", + " \n", "\n", "# Variables\n", "T = 320 + 273.15;\t\t\t#[K]\n", @@ -1509,7 +1487,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "# Determination of fugacities at two states\n", + " \n", "\n", "# Variables\n", "T = 300 + 273.15;\t\t\t#[K]\n", |