summaryrefslogtreecommitdiff
path: root/3685/CH21/EX21.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH21/EX21.1
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 '3685/CH21/EX21.1')
-rw-r--r--3685/CH21/EX21.1/Ex21_1.sce43
-rw-r--r--3685/CH21/EX21.1/Ex21_1.txt5
2 files changed, 48 insertions, 0 deletions
diff --git a/3685/CH21/EX21.1/Ex21_1.sce b/3685/CH21/EX21.1/Ex21_1.sce
new file mode 100644
index 000000000..f7d8de1d5
--- /dev/null
+++ b/3685/CH21/EX21.1/Ex21_1.sce
@@ -0,0 +1,43 @@
+clc
+// Given that
+r_c = 3.5 // Compression ratio
+n_c = 0.85 // Efficiency of compressor
+p1 = 1 // Pressure in bar
+t1 = 300 // Temperature in K
+t3 = 310 // Temperature at the exit of the intercooler in K
+r_c_ = 3.5 // Compression ratio for high pressure compressor
+n_c_ = 0.85 // Efficiency of H.P. compressor
+e = 0.8 // Effectiveness of regenerator
+n_t = 0.88 // Efficiency of H.P. tubine
+t6 = 1100 // Temperature in H.P. tubine in K
+t8 = 1050 // Temperature at the entrance of L.P. turbine in K
+n_t_ = 0.88 // Efficiency of L.P. turbine
+Cp = 1.005 // Heat capacity of air in kJ/kgK
+Cp_ = 1.15 // Heat capacity of gases in kJ/kgK
+gama = 1.4 // Heat capacity ratio for air
+gama_ = 1.33 // Heat capacity ratio for gases
+printf("\n Example 21.1\n")
+p2 = r_c*p1
+p4 = p2*r_c_
+t2_s = t1*((r_c)^((gama-1)/gama))
+t2 = t1+((t2_s-t1)/n_c)
+t4_s = t3*((r_c_)^((gama-1)/gama))
+t4 = t3+((t4_s-t3)/n_c_)
+Wc = Cp*((t2-t1)+(t4-t3))
+t7 = t6 - (Wc/Cp_)
+t7_s = t6 - (t6-t7)/n_t
+r_p = (t6/t7_s)^(gama_/(gama_-1))
+p7 = p4/r_p
+t9_s = t8/((p7/p1)^((gama_-1)/gama_))
+t9 = t8-(t8-t9_s)*n_t_
+Wt_LP = Cp_*(t8-t9)
+W_T = Wt_LP+Wc
+Rw = Wt_LP/W_T
+Q1 = (Cp_*t6-Cp*t4)+Cp_*(t8-t7)
+n_plant = Wt_LP/Q1
+printf("\n Power output = %f kJ/kg,\n The overall efficiency = %f percent",W_T,n_plant*100)
+//The answers given in the book have round off error
+
+
+
+
diff --git a/3685/CH21/EX21.1/Ex21_1.txt b/3685/CH21/EX21.1/Ex21_1.txt
new file mode 100644
index 000000000..4a45fc1d9
--- /dev/null
+++ b/3685/CH21/EX21.1/Ex21_1.txt
@@ -0,0 +1,5 @@
+
+ Example 21.1
+
+ Power output = 581.689343 kJ/kg,
+ The overall efficiency = 25.871743 percent \ No newline at end of file