blob: 5657a9145eb08020b54bbf99a6caa2d735a82d47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Chapter 3
//Example 6
//PAge 51
clear;clc;
max_dem=15000;
lf=0.5;
pcf=0.4;
//reserve capacity
e_per_annum=max_dem*lf*8760;
printf("Energy generated per annum = %.0f kWh \n\n", e_per_annum)
pc=e_per_annum/pcf/8760;
printf("Plant capacity =%.0f kW \n\n", pc)
printf("Reserve capacity =%.1f kW \n\n", pc-max_dem);
|