summaryrefslogtreecommitdiff
path: root/3733/CH32/EX32.16A/Ex32_16A.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.16A/Ex32_16A.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.16A/Ex32_16A.sce')
-rw-r--r--3733/CH32/EX32.16A/Ex32_16A.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3733/CH32/EX32.16A/Ex32_16A.sce b/3733/CH32/EX32.16A/Ex32_16A.sce
new file mode 100644
index 000000000..639c0aa8b
--- /dev/null
+++ b/3733/CH32/EX32.16A/Ex32_16A.sce
@@ -0,0 +1,16 @@
+// Example 32_16A
+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
+n=60;// Number of days plant should shut down annualy
+
+// Calculation
+E_d=((P_1*t_1))+((P_2*t_2));//The amount of energy generated per day in Mwh/day
+N=365-n;// No. of days (the plant is working)
+E_y=E_d*N;//The amount of energy generated per year in Mwh
+L_f=E_y/(P*(N*24));// Annual load factor
+printf('\n Annual load factor=%0.3f',L_f);