diff options
Diffstat (limited to '2441/CH1/EX1.4/Ex1_4.sce')
-rwxr-xr-x | 2441/CH1/EX1.4/Ex1_4.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2441/CH1/EX1.4/Ex1_4.sce b/2441/CH1/EX1.4/Ex1_4.sce new file mode 100755 index 000000000..c43a13918 --- /dev/null +++ b/2441/CH1/EX1.4/Ex1_4.sce @@ -0,0 +1,23 @@ +//exa 1.4
+clc;clear;close;
+format('v',6);
+//12 to 5 am
+L1=20;//MW
+t1=5;//hours
+//5 to 9 am
+L2=40;//MW
+t2=4;//hours
+//9 to 6 pm
+L3=80;//MW
+t3=9;//hours
+//6 to 10 pm
+L4=100;//MW
+t4=4;//hours
+//10 to 12 am
+L5=20;//MW
+t5=2;//hours
+//Energy Poduced in 24 hours
+E=L1*t1+L2*t2+L3*t3+L4*t4+L5*t5;//MWh
+disp(E,"Energy Supplied by the plant in 24 hours(MWh) :");
+LF=E/24;//%//Load Factor
+disp(LF,"Load Factor(%)");
|