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.18/Chapter5_Exampl18.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.18/Chapter5_Exampl18.sce')
-rw-r--r-- | 1808/CH5/EX5.18/Chapter5_Exampl18.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/1808/CH5/EX5.18/Chapter5_Exampl18.sce b/1808/CH5/EX5.18/Chapter5_Exampl18.sce new file mode 100644 index 000000000..3806ecfb6 --- /dev/null +++ b/1808/CH5/EX5.18/Chapter5_Exampl18.sce @@ -0,0 +1,28 @@ +clc
+clear
+//INPUT DATA
+c=4;//clearance
+p1=1;//pressure in bar
+p5=120;//pressure in bar
+va=15;//volume in m^3/min
+n=1.2;//index of expansion
+
+//CALCULATIONS
+N=log((p5/p1))/log(c);//No.of stages
+//take N=3.5=4 APPROXIMATELY
+C=(p5/p1)^(1/4);//Exact pressure ratio
+p2=C*p1;//Intermediate pressure in bar
+p3=C*p2;//Intermediate pressure in bar
+p4=C*p3;//Intermediate pressure in bar
+P5=C*p4;//Intermediate pressure in bar
+ip=p1*10^2*(va/60)*(n/(n-1))*N*(((p5/p1)^((n-1)/(n*N)))-1);//Minimum power to compress in kW
+
+//OUTPUT
+printf('(i)Number of stages %3.1f \n (ii)Exact pressure ratio %3.2f \n (iii)Intermediate pressure is p2 %3.4f bar \n p3 %3.4f bar \n p4 %3.4f bar \n p5 %3.4f bar \n (iv)Minimum power to compress is %3.2f kW ',N,C,p2,p3,p4,p5,ip)
+
+
+
+
+
+
+
|