admin管理员组文章数量:1403493
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()
本文标签:
版权声明:本文标题:python - How can I overlay a Rankine cycle on top of a Temperature-Entropy plot? How can I add physical transformations on top o 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744370896a2603020.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论