最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How can I overlay a Rankine cycle on top of a Temperature-Entropy plot? How can I add physical transformations on top o

programmeradmin6浏览0评论

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()

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论