summaryrefslogtreecommitdiff
path: root/2870/CH15/EX15.2/Ex15_2.sce
blob: 6becc2d299f66c35990e2c90815213e4bd1698ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
clc;clear;
//Example 15.2

//given data
P=100;

//from Table A-1
Mair=29;
MC=12;
MH=2;

//calculations
//Chemical reaction
//C2H6 + 1.2at(1O2 + 3.76) =2CO2 + 3H2O + 0.2athO2 + (1.2*3.76)athN2
//ath is the stoichiometric coefficient for air
//Oxygen balance gives
// 1.2ath = 2 + 1.5 + 0.2ath
ath=(2+1.5)/(1.2-0.2);
AF=(1.2*ath)*4.76*Mair/(2*MC+3*MH);
disp(AF,'air-fuel ratio of combustion process in kg air/kg fuel');
//C2H6 + 4.2(O2 + 3.76N2)  = 2CO2 + 3H2O + 0.7O2 + 15.79N2;
Nprod=2+3+0.7+15.79;
//for dew point water vapour condenses
Nv=3;
Pv=Nv/Nprod*P;
//at this Pv
Tdp=52.3;
disp(Tdp,'the dew-point in C')