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 /2774/CH5/EX5.14 | |
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 '2774/CH5/EX5.14')
-rwxr-xr-x | 2774/CH5/EX5.14/Ex5_14.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2774/CH5/EX5.14/Ex5_14.sce b/2774/CH5/EX5.14/Ex5_14.sce new file mode 100755 index 000000000..fbe8b3448 --- /dev/null +++ b/2774/CH5/EX5.14/Ex5_14.sce @@ -0,0 +1,23 @@ +clc
+// initialization of variables
+
+T1=600+273 // initial temperature in kelvin
+P1=2 // initial pressure in MPa
+P2=10 // final pressure in kPa
+mdot=2 // mass flow rate in kg/s
+EffT=0.8 // efficiency of turbine
+WdotT=2496 // theoritical power of turbine in kW
+
+//solution
+Wdota=EffT*WdotT // actual power output of turbine
+h1=3690 // specific enthalpy @ 2MPa and 600 degree celsius
+h2=h1-(Wdota/mdot) // final enthalpy from first law of thermodynamics
+
+T2=((h2-2688)/(2783-2688))*(150-100)+100 // by interpolating from steam table @ P2= 10 kPa, h2=2770
+s2=8.46 // final specific entropy by interpolation from steam table
+
+printf("The temperature by interpolation is %.0f degree celsius \n",T2)
+printf("The final entropy by interpolation is %.2f kJ/kg.K",s2)
+// The temperature and entropy are found by interpolation from steam table and cannot be shown here.
+
+
|