What is the best way to heat up a thermal liquid ?
Show older comments
Hello everyone,
In your opininon what is the best way to heat up a thermal liquid knowing the heat flow (in W). I am currently using a pipe with a controlled heat flow source but the fluid is not heating up correctly. Thank you in advance.
6 Comments
Andres Adam
on 6 Jun 2024
Hi Karim, could you clarify what you mean by "not heating up correctly"? How do you know that the result is not correct?
Karim Darwich
on 6 Jun 2024
Andres Adam
on 6 Jun 2024
Using a controlled heat flow source is a good way to ensure that the liquid in a pipe (TL) is heated or cooled. Whether it is the best way or not will depend on the physical setup you want to model.
You will not get an exact match using mdot*Cp*DT mostly because Simscape uses temperature-dependent values for density and Cp, but you can get very close. The temperature will also be affected by the viscous dissipation due to the pipe walls. You can check the documentation for the formulas used in the pipe block, and the source code for the foundation library Pipe (TL) is also open.
If you still suspect something is wrong, do you mind sharing your model?
Karim Darwich
on 7 Jun 2024
Andres Adam
on 7 Jun 2024
Edited: Andres Adam
on 7 Jun 2024
Got it. A couple of notes first:
- You do not need two mass flow rate sources. One mass flow rate will ensure the specified mass flow through its line, and there is only one flow entry and one flow exit, so the second source is redundant and discrepancies will cause errors.
- You have an algebraic loop in your system. The temperature at the pipe exit will depend on the heat flux added, but the heat flux added depends on the pipe exit temperature. This can make the simulation unstable or slower. You can solve this by simply adding a unit delay in the sensor reading or the specification of heat flux. This will also help model real-world delays/latencies in your heating process.
I got your model and compared the Q added to mass flow * Cp * (Tin-Tout). The result is very close, but it is not exact - and it should not be!
is valid for stationary processes, neglecting conductive heat transfer and viscous dissipation.
is valid for stationary processes, neglecting conductive heat transfer and viscous dissipation. Your pipe is 2km long, that means there can be considerable heat dissipation, non-stationary effects, and conductive heat transfer. The Q you are specifiying with the "Controlled heat flow source" is the sum of conductive and convective heat transfer.
I will write an answer with a plot and another suggestion. Let me know if you have any more questions!
Karim Darwich
on 7 Jun 2024
Accepted Answer
More Answers (0)
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

