diff options
Diffstat (limited to '83/CH1/EX1.3')
-rwxr-xr-x | 83/CH1/EX1.3/example_1_3.sce | 23 | ||||
-rwxr-xr-x | 83/CH1/EX1.3/result_example_1_3.txt | 13 |
2 files changed, 36 insertions, 0 deletions
diff --git a/83/CH1/EX1.3/example_1_3.sce b/83/CH1/EX1.3/example_1_3.sce new file mode 100755 index 000000000..07632e5c0 --- /dev/null +++ b/83/CH1/EX1.3/example_1_3.sce @@ -0,0 +1,23 @@ +//Chapter 1 +//Example 1.3 +//page 7 +clear;clc; +md=25; +lf=0.6; +pcf=0.5; +puf=0.72; + +avg_demand=lf*md; +installed_capacity=avg_demand/pcf; +reserve=installed_capacity-md; +daily_ener=avg_demand*24; +ener_inst_capa=installed_capacity*24; +max_energy=daily_ener/puf; + +printf('Average Demand= %.2f MW \n\n',avg_demand); +printf('Installed capacity= %.2f MW \n\n\',installed_capacity); +printf('Reserve capacity of the plant= %.2f MW \n\n',reserve); +printf('Daily energy produced= %d MWh \n\n',daily_ener); +printf('Energy corresponding to installed capacity per day= %d MWh \n\n',ener_inst_capa); +printf('Maximum energy that could be produced = %d MWh/day \n\n',max_energy); + diff --git a/83/CH1/EX1.3/result_example_1_3.txt b/83/CH1/EX1.3/result_example_1_3.txt new file mode 100755 index 000000000..e49091db6 --- /dev/null +++ b/83/CH1/EX1.3/result_example_1_3.txt @@ -0,0 +1,13 @@ + +Average Demand= 15.00 MW + +Installed capacity= 30.00 MW + +Reserve capacity of the plant= 5.00 MW + +Daily energy produced= 360 MWh + +Energy corresponding to installed capacity per day= 720 MWh + +Maximum energy that could be produced = 500 MWh/day + |