summaryrefslogtreecommitdiff
path: root/2417/CH8/EX8.3/Ex8_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2417/CH8/EX8.3/Ex8_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2417/CH8/EX8.3/Ex8_3.sce')
-rwxr-xr-x2417/CH8/EX8.3/Ex8_3.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/2417/CH8/EX8.3/Ex8_3.sce b/2417/CH8/EX8.3/Ex8_3.sce
new file mode 100755
index 000000000..a2d802863
--- /dev/null
+++ b/2417/CH8/EX8.3/Ex8_3.sce
@@ -0,0 +1,34 @@
+//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 8.3\n\n\n");
+// Chapter 8 : Vapor Power Cycles
+// Problem 8.3 (page no. 382)
+// Solution
+
+//Solution for (a)
+//Figurre 8.3 with the cycle extending into the superheat region and expanding along 4->5 is the appropriate diagram for this process.
+
+printf("Solution for (b)\n");
+//This problem can be solved either by use of the Mollier chart or the Steam Tables.If the chart is used,14.696 psia is first located on the saturated vapor line.Because the expansion,4->5,is isentropic,a vertical line on the chart is the path of the process.The point corresponding to 4 in figure 8.3 is found where this vertical line intersects 400 psia.At this point,the ent-halpy is 1515 Btu/lbm,and the corresponding temperature is approximatelty 980F.Saturated vapor at 14.696 psia has an enthalpy of 1150.5 Btu/lbm(from the Mollier chart).The Steam Tables sh-ow that saturated liquid at 14.696 psia has an enthalpy of 180.15 Btu/lbm.In terms of figure 8.3,and neglecting pump work,we have
+h1=180.15; //Unit:Btu/lbm //enthalpy
+h2=h1; //Enthalpy //Unit:Btu/lbm
+h4=1515; //Unit:Btu/lbm //enthalpy
+h5=1150.5; //Unit:kJ/kg //enthalpy
+//Neglecting pump work yields
+nR=(h4-h5)/(h4-h2); //Thermal efficiency of the cycle
+printf("Neglecting the pump work,The thermal efficiency of the cycle is %f percentage\n\n",nR*100);
+p2=400; //Unit:Psia //Upper pressure
+p1=14.696; //Unit:Psia //Lower pressure
+vf=0.01167; //Specific volume of saturated liquid //ft^3/lbm
+J=778; //Conversion factor
+Pumpwork=((p2-p1)*vf*144)/J; //Unit:Btu/lbm //1ft^2=144 in^2 //pumpwork
+//The efficiency of the cycle including pump work is
+nR=((h4-h5)-Pumpwork)/((h4-h1)-Pumpwork); //Thermal efficiency of the cycle
+printf("The thermal efficiency of the cycle including pump work is %f percentage\n\n",nR*100);
+//where the denominator is h4-h2=h4-h1-(h2-h1).Neglecting pump work is obviously justified in this case.An alternative solution is obtained by using the Steam Tables:at 14.696 psia ans sat-uration,sg=1.7567 ; at 400 psia,s= 1.7567.From Table 3(at 400 psia)
+// s h t
+//1.7632 1523.6 1000
+//1.7567 1514.2 982.4
+//1.7558 1512.9 980
+