summaryrefslogtreecommitdiff
path: root/509/CH6/EX6.1/6_1.sci
blob: 72224d58d9c893ccc6cc15dd3f948c7b33d03c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Chapter 6 Example1//
clc
clear
//catchment area of reservoir=a,average rainfall=ar,percent of rainfall utilized=pu//
//average available water for electricity production=we//
a=50;// in km^2//
ar=150;// in cm/year //
pu=75;// in percent//
we=(a*10^6)*(ar/100)*(pu/100);// to convert in terms of 10^6//
printf("\n Total available water for electricity production = %.3f m^3\n",we);
//quantity available=qa//
qa=we/(365*24*60*60);
//power generated=p,efficiency of turbine=te,efficiency of generator=ge,load factor=lf,mean head=mh//
te=88;// in percent//
ge=93;// in percent//
lf=75;// in percent//
mh=40;
p=0.736*qa*1000*mh*(ge/100)*(te/100)/75;
printf("\n Total Power generated in kW = %.2f kW\n",p);
// installed capacity=ic//
ic=p/(lf/100);
printf("\n Installed capacity of the generators = %.2f kW\n",ic);
// the values given in the book are approximated to the nearest decimal//