summaryrefslogtreecommitdiff
path: root/3685/CH8/EX8.16
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH8/EX8.16')
-rw-r--r--3685/CH8/EX8.16/Ex8_16.sce22
-rw-r--r--3685/CH8/EX8.16/Ex8_16.txt3
2 files changed, 25 insertions, 0 deletions
diff --git a/3685/CH8/EX8.16/Ex8_16.sce b/3685/CH8/EX8.16/Ex8_16.sce
new file mode 100644
index 000000000..b5d882305
--- /dev/null
+++ b/3685/CH8/EX8.16/Ex8_16.sce
@@ -0,0 +1,22 @@
+clc
+m = 1000 // Mass of fish in kg
+T0 = 300 // Ambient temperature in K
+P0 = 1 // Ambient pressure in bar
+T1 = 300 // Initial temperature of fish in K
+T2_ = -20 // Final temperature of fish in degree Celsius
+Tf_ = -2.2 // Freezing point temperature of fish in degree Celsius
+Cb = 1.7 // Specific heat of fish below freezing point in kJ/kg
+Ca = 3.2 // Specific heat of fish above freezing point in kJ/kg
+Lh = 235 // Latent heat of fusion of fish in kJ/kg
+
+printf("\n Example 8.16")
+T2 = T2_+273 // Final temperature of fish in K
+Tf = Tf_+273 // Freezing point temperature of fish in K
+H12 = m*((Cb*(Tf-T2))+Lh+(Ca*(T1-Tf))) // Enthalpy change
+H21 = -H12 // Enthalpy change
+S12 = m*((Cb*log(Tf/T2))+(Lh/Tf)+(Ca*log(T1/Tf))) // Entropy change
+S21 = -S12 // Entropy change
+E = H21-T0*S21 //Exergy produced
+printf("\n Exergy produced is %f MJ or %f kWh",E/1e3,E/3600)
+//The answers vary due to round off error
+
diff --git a/3685/CH8/EX8.16/Ex8_16.txt b/3685/CH8/EX8.16/Ex8_16.txt
new file mode 100644
index 000000000..5ffdf8ff7
--- /dev/null
+++ b/3685/CH8/EX8.16/Ex8_16.txt
@@ -0,0 +1,3 @@
+
+ Example 8.16
+ Exergy produced is 34.621027 MJ or 9.616952 kWh \ No newline at end of file