summaryrefslogtreecommitdiff
path: root/3733/CH2/EX2.9/Ex2_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3733/CH2/EX2.9/Ex2_9.sce')
-rw-r--r--3733/CH2/EX2.9/Ex2_9.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3733/CH2/EX2.9/Ex2_9.sce b/3733/CH2/EX2.9/Ex2_9.sce
new file mode 100644
index 000000000..a2a012ff7
--- /dev/null
+++ b/3733/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,19 @@
+//Example 2_9
+clc;funcprot(0);
+// Given values
+A=250*10^6;// Catchment area in m^2
+Ar=1.25;// Annual rainfall in m
+H=60;// Average head in m
+P_w=70;// Percentage of water in the dam
+n_t=0.9// Turbine efficiency
+n_g=0.95// Generator efficiency
+g=9.81;// The acceleration due to gravity in m/s^2
+
+//Calculation
+V=(A*Ar*(P_w/100));// Total water used for power generation in m^3
+printf('Total water used for power generation=%0.3e m^3\n',V);
+q=(V/(365*24*3600));
+printf('Water flow rate =%0.2f m^3/sec\n',q);
+P=((q*1000*9.81*60)/1000)*n_t*n_g*(1/1000);
+printf('The capacity of the power plant,P=%0.1f MW\n',P);
+// The answer vary due to round off error