summaryrefslogtreecommitdiff
path: root/3733/CH2/EX2.5/Ex2_5.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3733/CH2/EX2.5/Ex2_5.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3733/CH2/EX2.5/Ex2_5.sce')
-rw-r--r--3733/CH2/EX2.5/Ex2_5.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3733/CH2/EX2.5/Ex2_5.sce b/3733/CH2/EX2.5/Ex2_5.sce
new file mode 100644
index 000000000..a84b14a19
--- /dev/null
+++ b/3733/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,22 @@
+// Example 2_5
+clc;funcprot(0);
+//Given data
+A=2260;// The catchment area in km^2
+AAR=154;// The average annual rainfall in cm
+H=120;// The head drop in m
+n_t=85;// Turbine efficiency in %
+n_g=90;// Generation efficiency in %
+F_l=1;// Load factor
+N=240;// The speed of the runner in rpm
+PEL=20;// Percoalation and evaporation losses in %
+g=9.81;// m/s^2
+
+//Calculation
+V=A*10^6*(AAR/100)*(1-((PEL/100)));// The quantity of water available for power generation per year in cu.m
+Q=V/(365*24*3600);// Quantity of water available per second in m^3/sec
+m=Q*1000;// Discharge in kg/sec
+P=((m*g*H)/1000)*(n_t/100)*(n_g/100);// Power developed in kW
+P=P/1000;// MW
+N_a=(N*sqrt(P))/(H)^(5/4);
+printf('\nPower developed,P=%0.2f MW \nSingle pelton wheel with 4 jets can be used.',P)
+//The answer seems different due to calculation error occur in the book