summaryrefslogtreecommitdiff
path: root/Chemical_Engineering_Thermodynamics/ch8_2.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Chemical_Engineering_Thermodynamics/ch8_2.ipynb')
-rw-r--r--Chemical_Engineering_Thermodynamics/ch8_2.ipynb40
1 files changed, 12 insertions, 28 deletions
diff --git a/Chemical_Engineering_Thermodynamics/ch8_2.ipynb b/Chemical_Engineering_Thermodynamics/ch8_2.ipynb
index e4dd389d..6b83d68c 100644
--- a/Chemical_Engineering_Thermodynamics/ch8_2.ipynb
+++ b/Chemical_Engineering_Thermodynamics/ch8_2.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:8df6804e24ffba947b26128cacd98ede56f82be4a3089c7567d672249f51ebda"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -28,8 +29,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of work done\n",
- "\n",
+ " \n",
"import math\n",
"\n",
"# Variables\n",
@@ -144,9 +144,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of efficiency of Rankine cycle\n",
- "\n",
- "# Variables\n",
+ " \n",
"T_max = 700+273.15;\t\t\t#[K] - Maximum temperature.\n",
"P_boiler = 10*10**(6);\t\t\t#[Pa] - Constant pressure in the boiler\n",
"P_condenser = 10*10**(3);\t\t\t#[Pa] - Constant pressure in the condenser\n",
@@ -226,9 +224,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculatrion of COP of carnot refrigerator and heat rejected\n",
- "\n",
- "# Variables\n",
+ " \n",
"W = 1.1;\t\t\t#[kW] - Work done per ton of refrigeration \n",
"\t\t\t#1 ton refrigeration = 3.517 kW, therefore\n",
"H = 3.517;\t\t\t#[kW] - Heat absorbed\n",
@@ -277,9 +273,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of minimum power required\n",
- "\n",
- "# Variables\n",
+ " \n",
"T_high = 20 + 273.15;\t\t\t#[K] - High temperature\n",
"T_low = 0 + 273.15;\t\t\t#[K] - Low temperature\n",
"Q_H = 10;\t\t\t#[kW] - Heat supplied\n",
@@ -320,9 +314,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of COP and power required\n",
- "\n",
- "# Variables\n",
+ " \n",
"T_high = 40 + 273.15;\t\t\t#[K] - High temperature\n",
"T_low = -20 + 273.15;\t\t\t#[K] - Low temperature\n",
"C = 10;\t\t\t#[tons of refrigeration] - Capacity\n",
@@ -366,9 +358,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of maximum refrigeration effect\n",
- "\n",
- "# Variables\n",
+ " \n",
"COP = 4;\t\t\t#Coefficient of performance\n",
"P = 10;\t\t\t#[kW] - Work done on the cycle\n",
"\n",
@@ -412,9 +402,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of refrigeration effect power consumed and COP of refrigerator\n",
- "\n",
- "# Variables\n",
+ " \n",
"m = 0.6;\t\t\t#[kg/s] - mass flow rate\n",
"T_low = -20+273.15;\t\t\t#[K] - Temperature at which vapour enters the compressor\n",
"T_high = 30+273.15;\t\t\t#[K] - Temperature at which vapour leaves the condenser\n",
@@ -527,8 +515,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of amount of air\n",
- "\n",
+ " \n",
"from scipy.optimize import fsolve \n",
"import math \n",
"\t\t\n",
@@ -601,8 +588,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Calculation of amount of air and temperature\n",
- "\n",
+ " \n",
"# Variables\n",
"\t\t\t#At 1 bar, 310 K \n",
"H_1 = 310.38;\t\t\t#[kJ/kg]\n",
@@ -702,9 +688,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Determination of temperature of air\n",
- "\n",
- "# Variables\n",
+ " \n",
"P_high = 40;\t\t\t#[bar]\n",
"P_low = 5;\t\t\t#[bar]\n",
"m_1 = 0.5;\t\t\t#[kg/s] - Rate of mass moving through the expander\n",