summaryrefslogtreecommitdiff
path: root/2223/CH3/EX3.4/Ex3_4.sce
blob: aa3a340fe1d21222883d01c17aae3b82d55fb511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// scilab Code Exa 3.4 Calculations on Gas Turbine Plant for an ideal reheat cycle with optimum reheat pressure and perfect exhaust heat exchange
T1=300;  // Minimum  cycle Temperature in Kelvin
r=25; // pressure ratio of the turbine and compressor
T3=1500;  // Maximum cycle Temperature in Kelvin
gamma=1.4; // Specific Heat Ratio
cp=1.005; // Specific Heat at Constant Pressure in kJ/(kgK)
beeta=T3/T1;
n=(gamma-1)/gamma;
t=(r^n);
d=1/sqrt(t);
// part(a) Determining mass flow rate through the turbine and compressor
c=2*beeta*[1-d];
wp_max=cp*T1*(c+1-t);
m=1000/wp_max;
disp ("kg/s" ,m," mass flow rate through the turbine and compressor is")


// part(b) Determining thermal efficiency of the plant
c=sqrt(t)*(sqrt(t)+1)/(2*beeta);
n_th=1-c;
disp ("%",n_th*100," thermal efficiency of the plant is")