diff options
Diffstat (limited to '1226/CH17/EX17.12/EX17_12.sce')
-rwxr-xr-x | 1226/CH17/EX17.12/EX17_12.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1226/CH17/EX17.12/EX17_12.sce b/1226/CH17/EX17.12/EX17_12.sce new file mode 100755 index 000000000..7c1a49161 --- /dev/null +++ b/1226/CH17/EX17.12/EX17_12.sce @@ -0,0 +1,18 @@ +clc;funcprot(0);//EXAMPLE 7.12
+// Initialisation of Variables
+N=1800;...................//Engine rpm
+l=0.11;...................//Engine stroke in m
+d=0.085;..................//Engine bore in m
+ma=0.56;..................//Air flow rate in kg/min
+BP=6;.....................//Brake power developed in kW
+afr=20;...................//Air fuel ratio
+C=42550;..................//Calorific value of fuel in kJ/kg
+rhof=1.18;................//Density of fuel in kg/m^3
+//calculations
+V=(%pi/4)*d*d*l*(N/2);.....................//Volume displacemt in m^3/min
+Ma=V*rhof;.................................//Mass of air in kg/min
+etaV=ma/Ma;................................//Volumetric efficiency
+fc=ma/afr;.................................//Fuel concumption
+bsfc=(fc*60)/BP;...........................//Brake specific fuel consumption in kg/kWh
+disp(etaV*100,"The volumetric efficiency (in %):")
+disp(bsfc,"Brake specific fuel consumption (in kg/kWh):")
|