summaryrefslogtreecommitdiff
path: root/3843/CH12/EX12.5/Ex12_5.sce
blob: 6ea6242db0133209380d6d9a2e140199c3192650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Example 12_5
clc;funcprot(0);
// Given data
T=25;// °C
P=1;// atm
// Assuming theoretical air C_3H_8+5(O_2+3.76N_2)--->3CO_2+4H_2O(l)+18.8N_2
N_CO2=3;// mol
N_H2O=4;// mol
N_N2=18.8;// mol
// From table B-7
hbar0_fp=-103850;// kJ/kmol (C_3H_8)
hbar_fgp=15060;// kJ/kmol (C_3H_8)
hbar0_fCO2=-393520;// kJ/kmol
hbar0_fH2O=-285830;// kJ/kmol

// Calculation
Q_gp=(N_CO2*hbar0_fCO2)+(N_H2O*hbar0_fH2O)-hbar0_fp;// The enthalpy of combustion of gaseous propane in kJ/kmol fuel
Q_lp=(N_CO2*hbar0_fCO2)+(N_H2O*hbar0_fH2O)-(hbar0_fp-hbar_fgp);// The enthalpy of combustion of liquid propane in kJ/kmol fuel
printf("\nThe enthalpy of combustion of gaseous propane,Q=%7.0f kJ/kmol fuel \nThe enthalpy of combustion of liquid propane,Q=%7.0f kJ/kmol fuel",Q_gp,Q_lp);