summaryrefslogtreecommitdiff
path: root/2510/CH18/EX18.21/Ex18_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH18/EX18.21/Ex18_21.sce')
-rwxr-xr-x2510/CH18/EX18.21/Ex18_21.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2510/CH18/EX18.21/Ex18_21.sce b/2510/CH18/EX18.21/Ex18_21.sce
new file mode 100755
index 000000000..392267b1d
--- /dev/null
+++ b/2510/CH18/EX18.21/Ex18_21.sce
@@ -0,0 +1,17 @@
+//Variable declaration:
+m1 = 144206 //Mass flow rate of flue gas (lb/h)
+cp1 = 0.3 //Average heat capacities of the flue gas (Btu/lb F)
+cp2 = 0.88 //Average heat capacities of the solid (Btu/lb F)
+//From example 18.18:
+T1 = 550 //Initial temperature of gas ( F)
+T2 = 2050 //Final temperature of gas ( F)
+T3 = 70 //Initial temperature of solid ( F)
+T4 = 550-40 //Final temperature of solid ( F)
+
+//Calculation:
+Dhf = m1*cp1*(T2-T1) //For the flue gas, the enthalpy change for one hour of operation (Btu)
+Dhs = round(Dhf*10**-4)/10**-4 //For the solids, the enthalpy change for one hour of operation (Btu)
+m2 = Dhs/(cp2*(T4-T3)) //Mass of solid (lb)
+
+//Result:
+printf("The mass of solid is : %.0f lb .",m2)