summaryrefslogtreecommitdiff
path: root/2705/CH14/EX14.2/Ex14_2.sce
blob: ec512aa1869886bcec2e7ed81d6c88dfa11b7810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
clear;
clc;
disp(' Example 14.2');

// aim : To determine 
// (a) the intermediate pressure
// (b) the total volume of each cylinder
// (c) the cycle power

// given values
v1 = .2;// air intake, [m^3/s]
P1 = .1;// intake pressure, [MN/m^2]
T1 = 273+16;// intake temperature, [K]
P3 = .7;// final pressure, [MN/m^2]
n = 1.25;// compression index
N = 10;// speed, [rev/s]

// solution
// (a)
P2 = sqrt(P1*P3);// intermediate pressure, [MN/m^2]
mprintf('\n (a) The intermediate pressure is  =  %f  MN/m^2\n',P2);

// (b)
V1  = v1/N;// total volume,[m^3]
// since intercooling is perfect so 2 lie on the isothermal through1, P1*V1=P2*V2
V2 = P1*V1/P2;// volume, [m^3]
mprintf('\n (b) The total volume of the HP cylinder is  =  %f  litres\n',V2*10^3);

 // (c)
 CP = 2*n/(n-1)*P1*v1*((P2/P1)^((n-1)/n)-1);// cycle power, [MW]
  mprintf('\n (c) The cycle power is  =  %f  MW\n',CP*10^3);
 
 // there is calculation mistake in the book so answer is not matching
 
 //  End