summaryrefslogtreecommitdiff
path: root/98/CH4/EX4.16/example4_16.sce
blob: 3b2ef6f22120d3caffab6dcc2bbb294c3060ca7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 4
//Example 4_16
//Page 83

clear;clc;

cap_b=17241;
cap_a=50000-cap_b;
y=8760*cap_b/50000;

printf("Capacity of station B = %d kW \n", cap_b);
printf("Capacity of station A = %d kW \n", cap_a);
printf("Number of hours if station B operation = %d hours \n\n", y);