diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH5/EX5.19/Chapter5_Exampl19.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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/CH5/EX5.19/Chapter5_Exampl19.sce')
-rw-r--r-- | 1808/CH5/EX5.19/Chapter5_Exampl19.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1808/CH5/EX5.19/Chapter5_Exampl19.sce b/1808/CH5/EX5.19/Chapter5_Exampl19.sce new file mode 100644 index 000000000..d1ff880fc --- /dev/null +++ b/1808/CH5/EX5.19/Chapter5_Exampl19.sce @@ -0,0 +1,25 @@ +clc
+clear
+//INPUT DATA
+va=30;//volume in m^3
+p1=1;//pressure in bar
+p2=16;//pressure in bar
+n=1.32;//index of expansion and compression
+N=320;//speed of the copressor in rpm
+t1=300;//temperature in K
+t2=312;//temperature in K
+c=0.04;//clearance
+nm=0.8;//mech efficiency in percentage
+
+//CALCULATIONS
+va1=p1*va*t2/(t1*p1);//volume in m^3/min
+nv=(1+c-c*(((p2/p1)^(1/n))));//volumetric efficiency in percentage
+vs=va1/nv;//swept volume in m^3/min
+d=((vs*4/(3.14*1.2*N*4))^(1/3))*100;//dimensions of the cylinder in cm
+l=1.2*d;//dimensions of the cylinder in cm
+ip=(n/(n-1))*p1*10^2*(va1/30)*(((p2/p1)^((n-1)/n))-1);//Power required for motor in kW
+mp=ip/(2*nm);//Power required for motor in kW
+
+//OUTPUT
+printf('(i)Dimensions of the cylinder bore %3.2f cm \n stroke %3.2f cm \n (ii)Power required for the motor is %3.2f kW',d,l,mp)
+
|