diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /172/CH11/EX11.1/ex1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '172/CH11/EX11.1/ex1.sce')
-rwxr-xr-x | 172/CH11/EX11.1/ex1.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/172/CH11/EX11.1/ex1.sce b/172/CH11/EX11.1/ex1.sce new file mode 100755 index 000000000..bae723ced --- /dev/null +++ b/172/CH11/EX11.1/ex1.sce @@ -0,0 +1,27 @@ +//Ques 1
+//To determine the efficiency of Rankine cycle
+clc
+clear
+//1-Inlet state of pump
+//2-Exit state of pump
+P2=2000;//Exit pressure in kPa
+P1=10;//Inlet pressure in kPa
+v=0.00101;//specific weight of water in m^3/kg
+wp=v*(P2-P1);//work done in pipe in kJ/kg
+h1=191.8;//Enthalpy in kJ/kg from table
+h2=h1+wp;//enthalpy in kJ/kg
+//2-Inlet state for boiler
+//3-Exit state for boiler
+h3=2799.5;//Enthalpy in kJ/kg
+//3-Inlet state for turbine
+//4-Exit state for turbine
+//s3=s4(Entropy remain same)
+s4=6.3409;//kJ/kg
+sf=0.6493;//Entropy at liquid state in kJ/kg
+sfg=7.5009;//Entropy difference for vapor and liquid state in kJ/kg
+x4=(s4-sf)/sfg;//x-factor
+hfg=2392.8;//Enthalpy difference in kJ/kg for turbine
+h4=h1+x4*hfg;//Enthalpy in kJ/kg
+
+nth=((h3-h2)-(h4-h1))/(h3-h2);
+printf('Percentage efficiency = %.1f ',nth*100);
\ No newline at end of file |