blob: ce420bd75b9478a9fb3aa44c1c6a7d20c8f2f836 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Example 32_16
clc;funcprot(0);
//Given data
MD=500;// Maximum demand in MW
F_l=0.5;// Load factor
F_c=0.4;// Capacity factor
// Calculation
E=MD*F_l*8760;// Energy generated per year in MWh
Pc=E/(F_c*8760);// Plant capacity in MW
Rc=Pc-MD;// Reserve capacity of the plant in MW
printf('\nReserve capacity of the plant=%0.0f MW',Rc);
|