summaryrefslogtreecommitdiff
path: root/1775/CH3/EX3.7/Chapter3_Example7.sce
blob: 78caaf11e5f369b9a4037f13a96fcd757881653e (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
29
30
31
32
33
34
35
//Chapter-3, Illustration 7, Page 145
//Title: Internal Combustion Engines
//=============================================================================
clc
clear

//INPUT DATA
n=2;//No. of cylinders
N=4000;//speed of engine in rpm
nV=0.77;//Volumetric efficiency
nM=0.75;//Mechanical efficiency
m=10;//fuel consumed in lit/h
g=0.73;//spcific gravity of fuel
Raf=18;//air-fuel ratio
Np=600;//piston speed in m/min
imep=5;//Indicated mean efective pressure in bar
R=281;//Universal gas constant in J/kg-K
T=288;//Standard temperature in K
P=1.013;//Standard pressure in bar

//CALCULATIONS
L=Np/(2*N);//Piston stroke in m
mf=m*g;//mass of fuel in kg/h
ma=mf*Raf;//mass of air required in kg/h
Va=(ma*R*T)/(P*60*(10^5));//volume of air required in (m^3)/min
D=sqrt((2*Va)/(nV*L*N*3.1415));//Diameter in m
IP=(2*imep*100*L*3.1415*(D^2)*N)/(4*60);//Indicated Power in kW
BP=nV*IP;//Brake Power in kW

//OUTPUT
mprintf('Piston Stroke is %3.3f m \n Bore diameter is %3.4f m \n Brake power is %3.1f kW',L,D,BP)



//==============================END OF PROGRAM=================================