summaryrefslogtreecommitdiff
path: root/1808/CH7/EX7.10
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH7/EX7.10
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 '1808/CH7/EX7.10')
-rw-r--r--1808/CH7/EX7.10/Chapter7_Exampl10.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/1808/CH7/EX7.10/Chapter7_Exampl10.sce b/1808/CH7/EX7.10/Chapter7_Exampl10.sce
new file mode 100644
index 000000000..98730cfb1
--- /dev/null
+++ b/1808/CH7/EX7.10/Chapter7_Exampl10.sce
@@ -0,0 +1,31 @@
+clc
+clear
+//INPUT DATA
+ta1=15;//dry bulb temperature in Degree c
+ta2=25;//dry bulb temperature in Degree c
+tw1=13;//wet bulb temperature in Degree c
+tw2=18;//wet bulb temperature in Degree c
+V1=30;//volume of air in m^3/min
+V2=12;//volume of air in m^3/min
+pva=11.22;//Saturation pressure in mm Hg
+pvb=15.461;//Saturation pressure in mm Hg
+p=760;//pressure in mm of Hg
+cp=1.005;//specific pressure
+
+//CALCULATIONS
+pv1=(pva-((p-pva)*(ta1-tw1)*1.8/(2800-1.3*(1.8*ta1+32))));//Saturation pressure in mm Hg
+w1=0.622*(pv1/(p-pv1));//Specific humidity in kg w.v./kg d.a
+pv2=pvb-((p-pvb)*(ta2-tw2)*1.8/(2800-(1.3*(1.8*ta2+32))));//Saturation pressure in mm Hg
+w2=0.622*(pv2/(p-pv2));//Specific humidity in kg w.v./kg d.a
+h1=cp*ta1+w1*(2500+1.88*ta1);//Enthalpy of air per kg of dry air in kJ/kg d.a
+h2=cp*ta2+w2*(2500+1.88*ta2);//Enthalpy of air per kg of dry air in kJ/kg d.a
+ma1=V1/0.827;//Dry mass flow rate in kg d.a./min
+ma2=V2/0.8574;//Dry mass flow rate in kg d.a./min
+ma3=ma1+ma2;//Dry mass flow rate in kg d.a./min
+w3=((ma1*w1)+(ma2*w2))/ma3;//Specific humidity in kg w.v./kg d.a
+h3=((ma1*h1)+(ma2*h2))/(ma3);//Enthalpy of air per kg of dry air in kJ/kg d.a
+ta3=((ma1*ta1)+(ma2*ta2))/(ma3);//dry bulb temperature in Degree c
+tw3=((ma1*tw1)+(ma2*tw2))/(ma3);//wet bulb temperature in Degree c
+
+//OUTPUT
+printf('(i)The specific humidity of the mixture is %3.4f kg w.v./kg d.a \n (ii)Specific enthalpy of the mixture is %3.2f kJ/kg d.a. \n (iii)DBT corresponds to mixture is %3.3f Degree C \n (iv)WBT corresponds to mixture is %3.3f Degree C ',w3,h3,ta3,tw3)