summaryrefslogtreecommitdiff
path: root/3888/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3888/CH6/EX6.1/Ex6_1.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3888/CH6/EX6.1/Ex6_1.sce')
-rw-r--r--3888/CH6/EX6.1/Ex6_1.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3888/CH6/EX6.1/Ex6_1.sce b/3888/CH6/EX6.1/Ex6_1.sce
new file mode 100644
index 000000000..cc70f44da
--- /dev/null
+++ b/3888/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,25 @@
+//Electric Power Generation, Transmission and Distribution by S.N.Singh
+//Publisher:PHI Learning Private Limited
+//Year: 2012 ; Edition - 2
+//Example 6.1
+//Scilab Version : 6.0.0 ; OS : Windows
+
+clc;
+clear;
+
+
+reser_catch_area=50; //Catchment area of reservoir in km^2
+avg_rainfall=150; //Average rainfall in cm/year
+station_head=40; //Mean head of station in m
+UF=0.75; //Utilization factor
+LF=0.75; //Load factor
+tur_eff=0.88; //Efficiency of turbine
+gen_eff=0.93; //Efficiency of generator
+water_volume=reser_catch_area*10^6*1.5*UF; //Available water for electricity production in m^3
+Q=water_volume/(365*24*60*60); //Available quantity in m^3/sec
+P=(0.736/75)*Q*1000*station_head*tur_eff*gen_eff; //Power of station in kW
+install_cap_gen=P/LF; //Generator installed capacity in kW
+
+printf("\nThe power is %.2f kW",P);
+printf("\nInstalled capacity of the generator is %.f kW",install_cap_gen);
+ //variation present in result due to wrong calculation of Q value