Project 2 - Rankine cycle Simulator
Rankine cycle
pressure of the heated steam in the tubine, cooling station pressure , working of tubine and water pumb, over all efficiency of the rankine cycle
%simple rankine cycle
%The pressure in condenser
P1=5.38;
P4=P1;
% the maximal temprature
T3=538;
%the pressure in boiler
P3=44;
P2=P3;
%computation of work of the bump
V1=XSteam('vL_p',P1);
Wp=-100*V1*(P2-P1);
%computation of Qin
h1=XSteam('hL_p',P1,T1);
h2=h1-Wp;
h3=XSteam('h_pT',P3,T3);
qin=h3-h2;
%computation of the work of the turbine
s3=XSteam('s_pT',44,538);
s4=s3;
h4=XSteam('h_ps',P4,s4);
Wt=h3-h4;
T1=XSteam('T_ph',P1, h1);
T2=XSteam('T_ph',P2, h2);
T4=XSteam('T_ph',P4, h4);
%computation of the thermal effieciency
s1=XSteam('s_pT',P1,T1);
s2=XSteam('s_pT',P2,T2);
Eff=100*(Wt-abs(Wp))/qin;
%computation of the quality at the exit of the turbine
x4=XSteam('x_ps',P4,s4);
figure(1)
hold on
plot(T1,s1,'*','color','b');
plot(T2,s2,'*','color','b');
plot(T3,s3,'*','color','b');
plot(T4,s4,'*','color','b');
plot([T1 T2 T3 T4],[s1 s2 s3 s4],'color','r');
xlabel('Temprature');
ylabel('Entropy');
figure(2)
hold on
plot(h1,s1,'*','color','b');
plot(h2,s2,'*','color','b');
plot(h3,s3,'*','color','b');
plot(h4,s4,'*','color','b');
plot([h1 h2 h3 h4],[s1 s2 s3 s4],'color','r');
xlabel('Enthalpy');
ylabel('entropy');
disp('Work of the bump:');disp(Wp)
disp('Work of the turbine :');disp(Wt)
disp('Efficiency:');disp(Eff)
Calculation work efficiency of the Rankine cycle
fprintf('state point1: \n')
disp('P1:');disp(P1)
disp('S1:');disp(s1)
disp('T1:');disp(T1)
disp('h1:');disp(h1)
fprintf('state point3: \n')
disp('P2:');disp(P2)
disp('S2:');disp(s2)
disp('T2:');disp(T2)
disp('h2:');disp(h2)
fprintf('state point3: \n')
disp('P3:');disp(P3)
disp('S3:');disp(s3)
disp('T3:');disp(T3)
disp('h3:');disp(h3)
fprintf('state point1: \n')
disp('P4:');disp(P4)
disp('S4:');disp(s4)
disp('T4:');disp(T4)
disp('h4:');disp(h4)
disp('x4:');disp(x4)
COMMAND window ouput showing
rankine_cycle
Work of the bump:
-4.2316
Work of the turbine :
611.5106
Efficiency:
21.1420
state point1:
P1:
5.3800
S1:
6.7961
T1:
154.6394
h1:
652.2148
state point3:
P2:
44
S2:
1.8889
T2:
155.0766
h2:
656.4464
state point3:
P3:
44
S3:
7.1540
T3:
538
h3:
3.5288e+03
state point1:
P4:
5.3800
S4:
7.1540
T4:
229.7310
h4:
2.9173e+03
x4:
1

conclution
Increase the temprature of the steam value that effieciency of rankine cycle will be increased further increasing the temprature to step by step 400,450,500,550,600 the efficiency likewise 36.0910,38.7152,41.0245,43.1190,45.0512
if possible to increase the temprature value the turbine efficiency will increase, the more output power will be getting