Challenge

Project 2 - Rankine cycle Simulator

1.first of all display – Rankine cycle simulator, using disp command.
2.Now write rankine cycle’s all process using fprintf command.
3.Assign the values of given parameters ,Turbine inlet pressure(p_1) = 30 bar, Turbine inlet temperature(t_1) = 400 deg celsius ,Turbine outlet pressure(p_2) = 0.05 bar.
4.Put XSteam. m file in same directory and call the XSteam function with suitable arguments to find the values of enthalpy, entropy for state 1.
5.Use fprintf command to print values of variables we found. Repeat the procedure for all other states to find unknows.
6.Now apply a for loop to find values of enthalpy and entropy at saturated temperature and store them into variables.
7.Find net work output and back work ratio with suitable formulas.
8.Plot the T-s and h-s diagram using all the value we have found in different states and give proper x and y label and add state number by text command.
9.Plot saturation line using the values we have found by for loop
        Rankine cycle simulator

 1-2  is the  isentropic expansion process
 2-3  is the constant pressure heat rejection process
 3-4  is the isentropic compression process
 4-1  is the constant pressure heat addition process

           Results

 At state point 1
 P1 is:30.000000 bar
 T1 is:400.000000 deg celcius
 H1 is:3231.571027 KJ/Kg
 S1 is:6.923260 KJ/KgK

 At state point 2
 P2 is:0.050000 bar
 T2 is:32.875490 deg celcius
 H2 is:2110.708472 KJ/Kg
 S2 is:6.923260 KJ/KgK

 At state point 3
 P3 is:0.050000 bar
 T3 is:32.875490 deg celcius
 H3 is:137.763073 KJ/Kg
 S3 is:0.476254 KJ/KgK

 At state point 4
 P4 is:30.000000 bar
 T4 is:32.963066 deg celcius
 H4 is:140.762226 KJ/Kg
 S4 is:0.476254 KJ/KgK

 At state point 5
 P5 is:30.000000 bar
 T5 is:233.858445 deg celcius
 H5 is:1008.371370 KJ/Kg
 S5 is:2.645621 KJ/KgK

 At state point 6
 P6 is:30.000000 bar
 T6 is:233.858445 deg celcius
 H6 is:2803.264739 KJ/Kg
 S6 is:6.185788 KJ/KgK>> 


Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.