summaryrefslogtreecommitdiff
path: root/611/CH6/EX6.12/Chap6_Ex12_R1.sce
diff options
context:
space:
mode:
Diffstat (limited to '611/CH6/EX6.12/Chap6_Ex12_R1.sce')
-rwxr-xr-x611/CH6/EX6.12/Chap6_Ex12_R1.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/611/CH6/EX6.12/Chap6_Ex12_R1.sce b/611/CH6/EX6.12/Chap6_Ex12_R1.sce
new file mode 100755
index 000000000..e586d548f
--- /dev/null
+++ b/611/CH6/EX6.12/Chap6_Ex12_R1.sce
@@ -0,0 +1,28 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-6,Example 12,Page 226
+//Title: Minimum power for compression
+//================================================================================================================
+clear
+clc
+
+//INPUT
+P1=0.1;//pressure at which air enters the compressor in MPa
+T1=300;//temperature at which air enters the compressor in K
+P2=1;//pressure at which air leaves the compressor in MPa
+T2=300;//temperature at which air leaves the compressor in K
+T0=300;//ambient temperature in K
+N=1;//molar flow rate of air in mol/s
+gaamma=1.4;//ratio of specific heat capacities (no unit)
+R=8.314;//universal gas constant in J/molK
+
+//CALCULATION
+
+//T0=T1=T2 and h2-h1=Cp*(T2-T1)=0 as T2=T1
+
+Ws=(-N*T0*(-R*log (P2/P1)))*10^-3;//calculation of minimum power required for compression using Eq.(6.99) in kW
+
+//OUTPUT
+mprintf("\n The minimum power required to compress one mole per second of air=%0.3f kW\n",Ws);
+
+//===============================================END OF PROGRAM===================================================