blob: 1cb01a6f55ab5e8a9d0fb1a651fbbe44d5071d14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Example 35_6
clc;funcprot(0);
//Given data
MD=50;// MW
md=10;// MW
n_o=60/100;// Over all efficiency of the plant
L_h=60;// MWh
// Calculation
// From Fig.Prob.35.6
// Area DEGHD=0.6*Area EFBE;
// xy-120*10^3=(24-x)*(40*10^3-y)0.6;.....(a)
// y/40000=x/24;.....(b)
// Solving (a) and (b),we get
// x^2+72x-1044=0
coeff=[1,72,-1044];
y=roots(coeff);
x=y(2);// hours
y=(40000/24)*x*(1/1000);// Total capacity of hydel plant in MW
L_s=MD-y;// Capacity of steam plant in MW
printf('\nTotal capacity of hydel plant=%0.3f MW \nCapacity of steam plant=%0.3f MW',y,L_s);
// The answer vary due to round off error
|