summaryrefslogtreecommitdiff
path: root/3733/CH2/EX2.11/Ex2_11.sce
blob: 8eb2cd95dde43d41aa616fd536cc5771680fc99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Example 2_11
clc;funcprot(0);
//Given data
V=6*10^6;// m^3
H=75;// m
F_l=0.6;// Load factor
n_g=72/100;// The over all generation efficiency
rho_w=1000;// kg/m^3
g=9.81;// m/s^2

//Calculation
P=((V)/(365*24*3600))*(((rho_w)*g*H*n_g)/(1000));// The power capacity of the plant in kW
E=P*F_l*365*24;// Energy produced in kWh
printf('\nEnergy produced=%0.0f kW',E);
// The answer provided in the textbook is wrong