Professional Documents
Culture Documents
Project 1 - Parsing NASA Thermodynamic Data - Skill-Lync
Project 1 - Parsing NASA Thermodynamic Data - Skill-Lync
Aim-
Theory- A rankine cycle is an idealised Thermodynamic cycle which governs the working of a Heat Engine. In Rankine cycle,the
friction losses of a heat engine are neglected. It is a cycle which converts heat into mechanical energy which usually is converted into
electrical energy . There are four components in this cycle which work on four different processes.The four components are
turbine,Condensor,Pump and Boiler. Rankine cycle is nothing but a modification of Carnot cycle. Ideal Rankine cycle is very useful in
steam power plants and gas power plants. To improve the efficiency of Rankine cycle in the steam power plant, there are some
changes in Rankine cycle which differs from the Carnot cycle. Firstly, a pump is used in place of condenser to handle only liquid, not a
mixture of liquid and vapour.Secondly, exhaust steam from the turbine is completely condensed in the condenser, see in the following
diagram:
Gue 9193157828
Schedule Now
Related Courses
Processes and Working :
The fraction of the work produced by the turbine that is consumed by the compressor.
BW ratio=Wp/Wt
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
1
6/5/22, 11:46 AM Project 2 - Rankine cycle Simulator using Matlab : Skill-Lync
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
2
6/5/22, 11:46 AM Project 2 - Rankine cycle Simulator using Matlab : Skill-Lync
clear all
close all
clc
% At State 1
h1 = XSteam('h_pT', p1, T1); % Extracting Enthalpy at state pt 1
s1 = XSteam('s_pT', p1, T1); % Similarly
% At State 2
s2 = s1; % Isentropic Expansion
sf2= XSteam('sL_p', p2); % Saturated Liquid Entropy
sg2 = XSteam('sV_p', p2); % Saturated Vapour Entropy
x2 = (s2-sf2)/(sg2-sf2);
hf2 = XSteam('hL_p', p2);
hg2 = XSteam('hV_p', p2);
h2 = hf2 + (x2*(hg2-hf2));
% At State 3
p3 = p2; % Constant pressure Heat rejection in Condenser
s3= XSteam('sL_p', p3);
h3 = XSteam('hL_p', p3);
% At State 4
s4 = s3;
p4 = p1;
%Net work
Wnet = Wt - Wp;
%Thermal efficiency
thermal_eff = (Wnet/Qin)*100;
T4 = T3/((p3/p4)^((k-1)/k));
%Calculating Temperature, Entropy and Enthalpy at the vapour and liquid line for plotting
T6 = XSteam('Tsat_p', p1);
s5 = XSteam('sL_p', p1);
s6 = XSteam('sV_p', p1);
h5 = XSteam('hL_p', p1);
h6 = XSteam('hV_p', p1);
T5 = T6;
legend('Saturation curve','location','northwest')
1. Xsteam data is used to extract steam and water properties of enthaly , entropy at specific pressure and temperatures
for sat liquid, sat vapour conditions etc .
2. The program requires the input of Pressure ( in bar) at state point 1 ( turbine inlet) , Temperature at same point (degree celcius)
and pressure at condenser inlet (point 2).
3. With the help of these inlets & from Xsteam data, the program calculates all the state points of the Rankine cycle .
4. The Xsteam data works as , h1 = XSteam('h_pT' , p1 , T1) it returns the enthalpy of water at given pressure and temperature
in bar and degC respectively
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
5
6/5/22, 11:46 AM Project 2 - Rankine cycle Simulator using Matlab : Skill-Lync
5. As we extract the data , we use thermodynamic relation to further find state points and extract their data from XSteam which
are mentioned after studying the Rankine cycle.
6. Sf and sg , hf and hg , where f and g stands for saturated liquid and saturated vapour respectively are calculayed after studying
the plots of Rankine cycles and extracting data from Xsteam file.
7. The net work , work done by turbine , work done to run the pump , Heat in and heat out are calculated using
standard thermodynamic relation
8. Efficiency and Specific steam consumption (s.s.c) of the Rankine cycle is calculated from thermodynamic relations
and mentioning them in program using relations.
9. T , s and h are extracted at vapour and liquid line for plotting purpose , after 4th point for the variation you observe in the plot .
10. Saturation curve is plotted in red for saturated liquid and saturated gas in T-S and in H-S it is black .
11. Plot of T vs s and h vs s is created from all the points obtained from the program using the plot command and
mentioning all the lables, linewidth, color and title.
12. The plot changes as the user input changes for the above mentioned inputs .
13. Results are displayed in the command window by using sprint command .
Result - The input, ouput screen and the various state points with various parameters generated in the command window are shown
below
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
6
6/5/22, 11:46 AM Project 2 - Rankine cycle Simulator using Matlab : Skill-Lync
The performance of the Heat Engine was calculated and the following Observations were made:
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
7
6/5/22, 11:46 AM Project 2 - Rankine cycle Simulator using Matlab : Skill-Lync
REFERENCES
http://www.thermopedia.com/content/1072/
http://www.ecourses.ou.edu/cgi-bin/ebook.cgi?topic=th&chap_sec=10.1&page=theory
https://in.mathworks.com/matlabcentral/fileexchange/9817-x-steam-thermodynamic-properties-of-water-and-steam
https://www.learnthermo.com/T1-tutorial/ch09/lesson-E/pg10.php
LEAVE A COMMENT
Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our
comment policy, and your email address will NOT be published. Let's have a personal and meaningful conversation.
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
8
6/5/22, 11:46 AM Project 2 - Rankine cycle Simulator using Matlab : Skill-Lync
No comments found
Leave a comment
Comment
OBJECTIVE: To perform the Frequency analysis by creating a model provided to find out 5 mode
shapes of the shaft and to list out the resonant frequencies in Solidworks. THEORY: For a rotating shaft
there is a speed at which, for any small initial deflection, the centripetral force is equal to the elastic
restoring… Read more
OBJECTIVE: To create a centrifugal pump geometry to perform the flow simulation using Solidworks
and obtaining the analysis results to view the relationship between the mass flow rate and pressure
ratio. THEORY: 1.1 Centrifugal Pump- Centrifugal pumps are used to induce flow or raise pressure of a
liquid. Its working… Read more
MATLAB
Aim- Write a program that extracts the 14 coefficients from given THERMO.DAT file Calculate the
molecular weight of each species and display it in the command window. Plot the Cp, Enthalpy and
Entropy for the local temperature range (specific for each species). To save the plots as images with
appropriate names and… Read more
https://skill-lync.com/student-projects/project-2-rankine-cycle-simulator-112
9