summaryrefslogtreecommitdiff
path: root/3685/CH8/EX8.18/Ex8_18.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH8/EX8.18/Ex8_18.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 '3685/CH8/EX8.18/Ex8_18.sce')
-rw-r--r--3685/CH8/EX8.18/Ex8_18.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3685/CH8/EX8.18/Ex8_18.sce b/3685/CH8/EX8.18/Ex8_18.sce
new file mode 100644
index 000000000..cfdc774b1
--- /dev/null
+++ b/3685/CH8/EX8.18/Ex8_18.sce
@@ -0,0 +1,23 @@
+clc
+h1 = 3230.9 // Enthalpy of steam at turbine inlet in kJ/kg
+s1 = 6.69212// Entropy of steam at turbine inlet in kJ/kgK
+V1 = 160 // Velocity of steam at turbine inlet in m/s
+T1 = 400 // Temperature of steam at turbine inlet in degree Celsius
+h2 = 2676.1 // Enthalpy of steam at turbine exit in kJ/kg
+s2 = 7.3549 // Entropy of steam at turbine exit in kJ/kgK
+V2 = 100 // Velocity of steam at turbine exit in m/s
+T2 = 100 // Temperature of steam at turbine exit in degree Celsius
+T0 = 298 // Ambient temperature in K
+W = 540 // Work developed by turbine in kW
+Tb = 500 // Average outer surface temperature of turbine in K
+
+printf("\n Example 8.18")
+Q = (h1-h2)+((V1^2-V2^2)/2)*1e-03-W // Heat loss
+I = 151.84-Q*(0.404) // Irreversibility
+AF = W + Q*(1-(T0/Tb)) + I // Exergy transfer
+n2 = W/AF // second law efficiency
+
+printf("\n Irreversibility per unit mass is %f kJ/kg",I)
+printf("\n The second law efficiency of the turbine is %d percent",n2*100)
+
+