- Using functions, you can seperate each of the sections in to seperate function and make a call to both the functions return the values as requirement from one which can be used in the other depending on your system configuration. https://www.mathworks.com/help/matlab/ref/function.html
- You can simulate and modulate physical systems using "Simscape". Here is an example it might help provide some more information.
Using Matlab pdepe solver
2 次查看(过去 30 天)
显示 更早的评论
I want to simulate performance of a hybrid thermal energy storage system with a latent and sensible heat storage sections, but i am new to Matlab. I have developed a code for transient heat transfer in the latent heat storage section, between a heat transfer fluid and the PCM capsules. I am seeking for assistance on how to include a similar code for the sensible section. The conditon for linking the two sections is that, the HTF outlet temperature from the latent section is equal to the HTF inlet temperature for the sensible section. Please help on how I can link the two codes.
0 个评论
采纳的回答
Gyan Vaibhav
2024-4-16
Hi luckywell,
I understand that you are trying to use the values you get in the LHS section of your code in to the SHS section during simulation. If you could have provided the code I could have been able to suggest you better, however here are a few tips that might help.
Hope this helps.
Thanks
Gyan
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fluid Mechanics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!