Thanks To XSteam. I was able to calculate the various thermodynamic properties at different points seamlessly The input to the code are taken from 'rankinecycle.xlsx'. In this Excel Sheet there are various tabs in which the input has to be entered rowwise. Note that data entered in a row of a tab corresponds to the data entered in the same row number of another different tab. Care has to be taken while entering the data.
Data entry must be done very carefully. Data entered in Row 1 of each Tab Corresponds to one cycle, similarly Row 2 and so on.
-
In 'Rankine Pressures' In the first column the condensor pressure has to be entered and in the secon column the boiler pressure has to be entered
-
In 'Boiler Temperatures' Note that in the first column the temperature at the boiler input has to be entered and in the second column the temperature at the boiler output has to be entered
-
In 'Reheat' Here the number of reheat cycles has to be entered in each row. Observe that in few rows 0 has been entered, this indicated that there are no reheat cycles in that particular Rankine Cycle, i.e, Steam directly enters into the condensor form the output of boiler.
-
In 'Reheat Pressure Drops' Corresponding to the number entered in each row of the 'Reheat' Tab, number of columns in the different rows of the 'Rankine Pressure Drops' Tab has to be entered as shown in the above image.
-
In 'Reheat Temperatures' Similar to the 'Reheat Pressure Drops' the Temperature to which Steam has to be heated in each of these cycles has to be enterd as shown in the above image.
-
In 'OUTPUT' In the Column A: Total Turbine Work in that corresponding cycle is given as output in all the rows.
In the Column C: Total Pump Work in that corresponding cycle is shown
In the Column E: Total Heat that is added in the cycle is shown
In the Column G: The Efficiency of the cycle is given as output.
At the end the change in efficiency is plotted with the change in boiler and condensor pressures. So, I suggest the user to keep either of the pressures constant while changing the others to know its effect on the efficiency of the cycle.
There are further addition that need to be done to this like adding the Regenerator cycle