Solver problems in design case for heat pump model #830
Replies: 2 comments 5 replies
-
|
Hi @manuel32128, thank you for reaching out. The issue is two issues:
As a side note: with the latest version of tespy, you can also directly impose saturation temperature instead of using CoolProp to calculate saturation pressure and impose that. Instead of T_start = 273.15 + (50)
p_cond = CP.PropsSI("P", "Q", 1, "T", T_start, working_fluid) / 1e5
c2.set_attr(T=65, p=p_cond, fluid={working_fluid: 1})you ca do: c2.set_attr(T_dew=50) # or T_bubble, no difference hereBest |
Beta Was this translation helpful? Give feedback.
-
|
One more addition: Is there an actual drum in your real system? If not, I'd advise you to look into the Best |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to write a simulation for a real heat pump in order to then compare real and simulated values during operation. The heat pump is merely a demonstration model for students. The condenser and evaporator are both refrigerant-air heat exchangers and use ambient air as source and sink (as an explanation for the unusual parameters :) ).
After the final parameterization, I encounter problems with the solver. Before that, all the sub-steps worked.
In the final offdesign, only the ambient temperature and the compressor power are to be specified.
If anyone could help me with this, that would be great.
Thank you in advance.
HeatPump_tespy_R134a.py
Beta Was this translation helpful? Give feedback.
All reactions