diff options
Diffstat (limited to '2223/CH3/EX3.3/Ex3_3.sce')
-rwxr-xr-x | 2223/CH3/EX3.3/Ex3_3.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2223/CH3/EX3.3/Ex3_3.sce b/2223/CH3/EX3.3/Ex3_3.sce new file mode 100755 index 000000000..56681d5dc --- /dev/null +++ b/2223/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,19 @@ +// scilab Code Exa 3.3 ideal reheat cycle gas turbine
+T1=300; // Minimum cycle Temperature in Kelvin
+r=25; // pressure ratio of the turbine and compressor
+gamma=1.4;
+T3=1500; // Maximum cycle Temperature in Kelvin
+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,"(a)mass flow rate through the turbine and compressor is")
+
+// part(b) Determining thermal efficiency of the plant
+n_th=(c+1-t)/(2*beeta-t-(beeta/sqrt(t)));
+disp ("%",n_th*100,"(b)thermal efficiency of the plant is")
|