diff options
Diffstat (limited to '1943/CH1/EX1.9/Ex1_9.sce')
-rwxr-xr-x | 1943/CH1/EX1.9/Ex1_9.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1943/CH1/EX1.9/Ex1_9.sce b/1943/CH1/EX1.9/Ex1_9.sce new file mode 100755 index 000000000..5905c9beb --- /dev/null +++ b/1943/CH1/EX1.9/Ex1_9.sce @@ -0,0 +1,18 @@ + +clc
+clear
+//Input data
+C=300//Capacity of power plant in MW
+MXD=240//Maximum demand in MW in a year
+MND=180//Minimum demand in MW in a year
+//Assuming the load duration curve shown in Figure E1.9 on page no 30 to be straight line
+Y=8760//Number of hours in a year of 365 days
+
+//Calculations
+E=((MND*Y)+0.5*(MXD-MND)*Y)*1000//Energy supplied per year in kWh
+AL=(E/Y)//Average load in kW
+L=((AL/1000)/MXD)//Load factor
+CF=((AL/1000)*Y)/(C*Y)//Capacity factor
+
+//Output
+printf('(a) Load factor is %3.3f \n(b) Capacity factor is %3.2f',L,CF)
|