summaryrefslogtreecommitdiff
path: root/3733/CH32/EX32.17/Ex32_17.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3733/CH32/EX32.17/Ex32_17.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/CH32/EX32.17/Ex32_17.sce')
-rw-r--r--3733/CH32/EX32.17/Ex32_17.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3733/CH32/EX32.17/Ex32_17.sce b/3733/CH32/EX32.17/Ex32_17.sce
new file mode 100644
index 000000000..26997fa41
--- /dev/null
+++ b/3733/CH32/EX32.17/Ex32_17.sce
@@ -0,0 +1,19 @@
+// Example 32_17
+clc;funcprot(0);
+//Given data
+P=1000;// Plant capacity in MW
+P_1=1000;// MW
+t_1=2;// hours
+P_2=500;// MW
+t_2=6;// hours
+P_3=300;// MW
+t_3=8;// hours
+n=50;// Number of days plant should shut down completely
+
+// Calculation
+E_g=((P_1*t_1))+((P_2*t_2)+((P_3*t_3)));//Eenergy generated per working day in Mwh
+N=365-n;// Working days/year of the plant
+E_s=E_g*N;// Energy supplied per year in MWh
+F_l=E_s/(P*(N*24));// Annual load factor
+printf('\n Annual load factor=%0.3f',F_l);
+