Results of my code on top of which I would like to plot the cycle:
I’m struggling to plot a Rankine cycle using the provided thermodynamic points. I can input any data they want, but I can’t find the appropriate tool to do it. Currently, I’m using Coolprop, but it’s specifically designed for refrigerator cycles, and the documentation is limited. Could you please help me with this?
I’ve tried using Coolprop, and the graphs are visually appealing. However, I’m unable to understand how to add thermodynamic transformations or create a cycle. My goal is to obtain a Temperature-Entropy plot with the classic dome and isolines of pressure. I’ve successfully achieved this, but I would like to overlay my Rankine cycle on top of it, ensuring that it accurately represents the physical transformations.
import CoolProp
from CoolProp.Plots import PropertyPlot
ts_plot = PropertyPlot('Water', 'Ts')
ts_plot.calc_isolines(CoolProp.iQ, num=11)
ts_plot.calc_isolines(CoolProp.iP)
ts_plot.title(r'$T,s$ Graph for Water')
ts_plot.xlabel(r'$s$ [kJ/kg K]')
ts_plot.ylabel(r'$T$ [K]')
ts_plot.grid()
ts_plot.set_axis_limits([0,10,273.15,800])
ts_plot.show()