How to use Simscape to solve heat conduction equation?
2 views (last 30 days)
Show older comments
Pietro Fiondella on 29 Oct 2021
Answered: Yifeng Tang on 27 Jul 2022
I want to model an heat coduction problem given the temperature distribution in time on one side of the wall T(t) and the initial T(t=0) on the other using SIMSCAPE's THERMAL BLOCKS.
I tried this way:
With the signal modeled in this way
I'm not sure this is te corret way of do this because i obtain wrong results no matter wich parametr i change.
How can i set the problem in the correct way? Any hints?
Yifeng Tang on 27 Jul 2022
I guess by "wrong results" you mean the measured heat flow rate doesn't make sense? I noticed you connected the heat flow rate sensor in parallel to the conduction component. It needs to be connected in series instead. Think of heat flow as current and temperature difference as voltage. Use the heat flow rate sensor like an ammeter.
More generally, it's the difference between the through variables and across variables. More info here:
Find more on Creating Custom Components and Libraries 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!