summaryrefslogtreecommitdiff
path: root/3878/CH29/EX29.1/Ex29_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3878/CH29/EX29.1/Ex29_1.sce')
-rw-r--r--3878/CH29/EX29.1/Ex29_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3878/CH29/EX29.1/Ex29_1.sce b/3878/CH29/EX29.1/Ex29_1.sce
new file mode 100644
index 000000000..eb2500755
--- /dev/null
+++ b/3878/CH29/EX29.1/Ex29_1.sce
@@ -0,0 +1,15 @@
+clear
+//
+// Variable declaration
+T_e=3// The evaporating temperature in °C
+T_in=20// The temperature of air entering coil in °C
+T_out=11// The temperature of air off coil at full air flow in °C
+T_c=35// The condensing temperature in °C
+af=(1-0.15)// The reduced air flow
+
+// Calculation
+LMTD=((T_in-T_e)-(T_out-T_e))/log((T_in-T_e)/(T_out-T_e))// K
+T_aoff=T_in-(T_in-T_out)/af// Air off coil at 85% air flow (°C)
+Cp=(af)**0.8// Coil performance at 85% air flow (°C)
+LMTD_85=LMTD/Cp// LMTD at 85% air flow in K
+printf("\n \n LMTD at 85 percentage air flow=%2.1f K(error)",LMTD_85)