Dynamic Simulation of Heat Exchanger #1496
Replies: 1 comment 2 replies
-
@Simon20009 The short answer is that when you make a model dynamic you add extra degrees of freedom. You also need to think carefully about what it is you are trying to model and what matters in the system. For example, in heater and heat exchanges the thing that matters most is the thermal mass of the metal wall, not the material (and energy) holdup of the fluids. Thus, in many cases the thing you want to do is add a dynamic energy holdup for the wall material, but leave the fluid flows as (quasi)-steady-state. You might want to look at the lumped capacitance heat exchanger model (https://github.com/IDAES/idaes-pse/blob/main/idaes/models/unit_models/heat_exchanger_lc.py), which is generally a good place to start for dynamic heat exchangers. |
Beta Was this translation helpful? Give feedback.
-
Hi
I am trying to create a dynamic simulation with a heat exchanger (which is to be integrated into a heat pump circuit), but I encounter problems when initializing or solving.
Code for 1D heat exchanger
Wärmetauscher1D.ipynb.txt
Propane.py.txt
The model can be solved stationary.
In the dynamic model, I still have 2 degrees of freedom open at the end, but I don't know which ones are required.
Can you tell me what my mistake is?
Thanks for your help.
Errors:
Initializing:
Solver:
Beta Was this translation helpful? Give feedback.
All reactions