diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3720/CH5/EX5.3/Ex5_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3720/CH5/EX5.3/Ex5_3.sce')
-rw-r--r-- | 3720/CH5/EX5.3/Ex5_3.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3720/CH5/EX5.3/Ex5_3.sce b/3720/CH5/EX5.3/Ex5_3.sce new file mode 100644 index 000000000..6a23fea28 --- /dev/null +++ b/3720/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,24 @@ +//Example 5_3
+clc;clear;funcprot(0);
+// Given values
+m=5000;// Mass flow rate of water in kg/s
+W_eout=1862;//The electric power generated is measured in kW
+rho=1000;// The density of water in kg/m^3
+h=50;// The depth of the water in m
+g=9.81;// m/s^2
+e_min=g*h;// kJ/kg
+e_mout=0;// kJ/kg
+n_gen=0.95;// The generator efficiency
+
+// Calculation
+//(a)
+dE_mech=(m*(e_min-e_mout))/1000;//kW
+n_o=(W_eout/dE_mech);// The over all efficiency
+printf('(a)The over all efficiency,n_o=%0.2f\n',n_o);
+//(b)
+n_t=n_o/n_gen;// )The mechanical efficiency of the turbine
+printf('(b)The mechanical efficiency of the turbine,n_t=%0.2f\n',n_t);
+//(c)
+W_sout=n_t*dE_mech;// kW
+printf('(c)The shaft power output,W_shaft,out=%0.0f kW\n',W_sout);
+//The answer is a bit different due to rounding off error in textbook
|