summaryrefslogtreecommitdiff
path: root/3843/CH8/EX8.11/Ex8_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3843/CH8/EX8.11/Ex8_11.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 '3843/CH8/EX8.11/Ex8_11.sce')
-rw-r--r--3843/CH8/EX8.11/Ex8_11.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3843/CH8/EX8.11/Ex8_11.sce b/3843/CH8/EX8.11/Ex8_11.sce
new file mode 100644
index 000000000..65dabffea
--- /dev/null
+++ b/3843/CH8/EX8.11/Ex8_11.sce
@@ -0,0 +1,23 @@
+// Example 8_11
+clc;funcprot(0);
+// Given data
+T_1=-10;// °C
+T_3=40;// °C
+P_1=0.15;// MPa
+n_c=0.80;// The efficiency of the compressor
+mdot=0.6;// kg/s
+
+// Calculation
+// From appendix D we find,using T_3=40°C
+h_4=74.5;// kJ/kg
+h_3=h_4;// kJ/kg
+// From table D-3 at P_1=0.15 MPa and T_1=10°C
+h_1=185;// kJ/kg
+s_1=0.732;// kJ/kg.K
+s_2a=s_1;// kJ/kg.K
+P_2=1.0;// MPa
+h_2a=(((0.732-0.7254)/(0.7476-0.7254))*(225.3-217.8))+218;// kJ/kg
+h_2=((h_2a-h_1)/n_c)+h_1;// kJ/kg
+Q_E=mdot*(h_1-h_4);// The rate of refrigeration in kW
+COP=Q_E/(mdot*(h_2-h_1));// The coefficient of performance
+printf("\nThe rate of refrigeration,Q_E=%2.1f kW \nThe coefficient of performance,COP=%1.2f",Q_E,COP);