summaryrefslogtreecommitdiff
path: root/2510/CH18/EX18.21/Ex18_21.sce
blob: 392267b1d55ee72dbfac2c22d4ac14fa31be89d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)