summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.23/Chapter1_Example23.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH1/EX1.23/Chapter1_Example23.sce')
-rw-r--r--1808/CH1/EX1.23/Chapter1_Example23.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1808/CH1/EX1.23/Chapter1_Example23.sce b/1808/CH1/EX1.23/Chapter1_Example23.sce
new file mode 100644
index 000000000..bcb75693c
--- /dev/null
+++ b/1808/CH1/EX1.23/Chapter1_Example23.sce
@@ -0,0 +1,23 @@
+clc
+clear
+//INPUT DATA
+Vs=1.5*10^-3;//capacity of cylinder in m^3
+N=3000;//speed in rpm
+BP=48;//break power in kW
+nv=0.92;//volumetric efficiency in percentage
+P=101.325;//atmospheric pressure in kPa
+Ra=0.287;//gas constant
+Ta=303;//atm.temperature in K
+x=21;//airfuel ratio
+
+
+//CALCULATIONS
+Roa=(P/(Ra*Ta));//Density of air in kg/m^3
+ma=(nv*Roa*Vs*N/(2*60));//mass of air in kg/s
+mf=ma/x;//mass of fuel in kg/s
+bsfc=mf*3600/BP;//Brake specific fuel consumption in kg/kWh
+me=ma+mf;;//mass rate of exhaust flow in kg/s
+bpo=(BP/Vs)/1000;//Brake output per displacement in kW/litres
+
+//OUTPUT
+printf('(i)Rate of air flowinto engine %3.5f kg/s \n (ii)Brake specific fuel consumption is %3.3f kg/kWh \n (iii)mass rate of exhaust flow is %3.5f kg/s \n (iv)Brake output per displacement is %3.i kW/litres',ma,bsfc,me,bpo)