summaryrefslogtreecommitdiff
path: root/3831/CH12/EX12.12
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH12/EX12.12
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 '3831/CH12/EX12.12')
-rw-r--r--3831/CH12/EX12.12/Ex12_12.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3831/CH12/EX12.12/Ex12_12.sce b/3831/CH12/EX12.12/Ex12_12.sce
new file mode 100644
index 000000000..a278ad620
--- /dev/null
+++ b/3831/CH12/EX12.12/Ex12_12.sce
@@ -0,0 +1,28 @@
+// Example 12_12
+clc;funcprot(0);
+// Given data
+// State 1
+T_DB1=25.0;// °C
+phi_1=80.0/100;// The relative humidity
+h_1=67;// kg/(kg da)
+w_1=0.016;// kg H2O/(kg da)
+// State 2
+T_DB2=6.0;// °C
+phi_2=100/100;// The relative humidity
+h_2=21;// kg/(kg da)
+h_f2=25.2;// kg/(kg da)
+w_2=0.0056;// kg H2O/(kg da)
+// State 3
+T_DB3=20.0;// °C
+phi_3=40/100;// The relative humidity
+h_3=35;// kg/(kg da)
+w_3=w_2;// kg H2O/(kg da)
+
+// Calculation
+// (a)
+dw=w_1-w_2;// kg H2O/(kg dry air)
+// (b)
+Q_cbym_da=(h_2-h_1)+((w_1-w_2)*h_f2);// kJ/(kg dry air)
+// (c)
+Q_rbym_da=h_3-h_2;// kJ/(kg dry air)
+printf("\n(a)The amount of water removed per unit mass of dry air,w_1-w_2=%0.3f kg H2O/(kg dry air) \n(b)The amount of cooling required per unit mass of dry air,Q_cooling/m_dry air=%2.1f kJ/(kg dry air) \n(c)The reheating heat transfer rate,Q_reheating/m_dry air=%2.0f kJ/(kg dry air)",dw,Q_cbym_da,Q_rbym_da);