diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /167/CH11/EX11.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '167/CH11/EX11.2')
-rwxr-xr-x | 167/CH11/EX11.2/ex2.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/167/CH11/EX11.2/ex2.sce b/167/CH11/EX11.2/ex2.sce new file mode 100755 index 000000000..0aa74bfeb --- /dev/null +++ b/167/CH11/EX11.2/ex2.sce @@ -0,0 +1,30 @@ +//ques2
+//The Actual Vapor-Compression Refrigeration Cycle
+clear
+clc
+//state 1
+P1=0.14;//Pressure in MPa
+T1=-10;//Temperature in C
+h1=246.36;//enthalpy of heat in kJ/kg
+//state 2
+P2=0.8;//Pressure in MPa
+T2=50;//Temperature in C
+h2=286.69;//Enthalpy of heat in kJ/kg
+//state 3
+P3=0.72;//Pressure in MPa
+T3=26;//Temperature in C
+h3=87.83;//Enthalpy in kJ/kg
+
+h4=h3;//throttling
+ms=0.05;//mass flow rate in kg/s
+Qls=ms*(h1-h4);//heat removal in kW
+Wins=ms*(h2-h1);//Power in kW
+printf('(a) Rate of heat removal = %.2f kW \n',Qls);
+printf(' Power = %.2f kW \n',Wins);
+
+//(b)The isentropic efficiency of the compressor is determined as
+h2s=284.21;
+nc=(h2s-h1)/(h2-h1);
+printf(' (b) Isentropic efficiency = %.3f \n',nc);
+COPr=Qls/Wins;
+printf(' (c) Coefficient of performance of the refrigerator = %.1f \n',COPr);
|