diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /479/CH5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '479/CH5')
-rwxr-xr-x | 479/CH5/EX5.1/Example_5_1.sce | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/479/CH5/EX5.1/Example_5_1.sce b/479/CH5/EX5.1/Example_5_1.sce new file mode 100755 index 000000000..605ae1e8d --- /dev/null +++ b/479/CH5/EX5.1/Example_5_1.sce @@ -0,0 +1,39 @@ +//Chemical Engineering Thermodynamics
+//Chapter 5
+//Thermodynamic Potentials and Maxwell's Relation
+
+//Example 5.1
+clear;
+clc;
+
+//Given
+T = 293;//Constant temperature in K
+w_NH3 = 20/100;//weight of NH3 in an aqueous solution in Kg
+w_H2O = 80/100;//weight of H2O in an aqueous solution in Kg
+V_f = 40;//feed rate in Kg/min
+M_NH3 = 17;//Molecular weight of NH3
+M_H2O = 18;//Molecular weight of H20
+R = 1.98;//gas constant in Kcl/Kg mole K
+V_s = 62;//Rate of heating steam in Kg/min
+P1_H2O = 11.6;//Vapour pressure of water in feed in mm Hg
+P2_H2O = 17.5;//Vapour pressure of pure water in mm Hg
+P1_NH3 = 227;//Vapour pressure of NH3 in feed in mm Hg
+P2_NH3 = 6350;//Vapor pressure of pure NH3 in mm Hg
+//From steam tables:
+Hs = 666.4;//Enthalpy of steam at 160 deg celsius & 2Kgf/cm^2 in Kcal /Kg
+Ss = 1.75;//Entropy of steam at 160 deg celsius & 2Kgf/cm^2V in Kcal/Kg K
+Hl = 20.03;//Enthalpy of liquid water at 20 deg celsius in Kcal/Kg
+Sl = 0.0612;//Entropy of liquid water at 20 deg celsius in Kcal/Kg K
+
+//To Calculate the efficiency of the separation process
+//Material Balance:
+n_NH3 = (V*w_NH3)/M_NH3;//Kg moles of NH3 in feed(tops)
+n_H2O = (V*w_H2O)/M_H2O;//Kg moles of H20 in feed(bottoms)
+//del_F = del_F_NH3 +del_F_H2O;
+del_F = (R*T*n_NH3*log(P2_NH3/P1_NH3))+(R*T*n_H2O*log(P2_H2O/P1_H2O));//Theoretical minimum work done in Kcal
+//The available energy of the steam can be calculated from equation 4.14(page no 110)
+del_B = -V_s*((Hl-Hs)-T*(Sl-Ss));//Available energy of the steam in Kcal
+E = (del_F/del_B)*100;
+mprintf('The efficiency of the separation process is %f percent',E);
+//end
+
|