summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.14/Chapter1_Example14.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH1/EX1.14/Chapter1_Example14.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1808/CH1/EX1.14/Chapter1_Example14.sce')
-rw-r--r--1808/CH1/EX1.14/Chapter1_Example14.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/1808/CH1/EX1.14/Chapter1_Example14.sce b/1808/CH1/EX1.14/Chapter1_Example14.sce
new file mode 100644
index 000000000..94cc8f2c9
--- /dev/null
+++ b/1808/CH1/EX1.14/Chapter1_Example14.sce
@@ -0,0 +1,34 @@
+clc
+clear
+//INPUT DATA
+a=450;//Area of indicator diagram mm^2
+S=9.806;//Spring number
+l=50*1.2;//Length of diagram
+d=0.15;//bore in m
+L=0.25;//stroke in m
+N=400;//engine speed in rpm
+nc=1;//number of cylinders
+n=2;//for single cylinder
+mf=3;//mass flow rate in kg/h
+cv=44200;//calorific value
+dTc=42;//rise of temperature for cooling water in Degree C
+cpw=4.18;//specific pressure
+mw=4;//mass of water
+T=225;//Brake torque in Nm
+
+//CALCULATIONS
+pmi=a*S/l;//mean effective pressure in N/cm^2
+IP=((pmi/10)*L*(3.14*(d^2)/4)*N*nc)/(60*n);//Indicated power in kW
+BP=(2*3.14*N*T)/60000;//brake power in kW
+nm=(BP/IP);//Meahanical efficiency in percentage
+nbt=(BP*3600/(mf*cv))*100;//Brake thermal efficiency in percentage
+bsfc=mf/BP;//Brake specific fuel consumption in kg/kWh
+Qs=mf*cv/3600;//Heat supplied in kW
+a11=(BP/Qs)*100;//% of heat equivalent to BP
+Qw=(mw*cpw*(dTc))/60;//Heat lost to cooling water in kW
+b11=(Qw/Qs)*100;//% of heat lost to cooling water
+Qe=(Qs-(BP+Qw));//heat utilised in the system
+c11=(Qe/Qs)*100;//% of heat lost to exhaust gases and radiation
+
+//OUTPUT
+printf('(i)Mechanical efficiency is %3.2f percentage \n(ii)Brake thermal efficiency is %3.2f percentage \n (iii)Brake specific fuel consumption is %3.3f kg/kW.hr \n(iv)\n(I)heat supplied is %3.3f kW \n (II)Heat utilised in the system %3.2f \n percentage',nm,nbt,bsfc,Qs,Qe)