Battery variable heat transfer question
3 次查看(过去 30 天)
显示 更早的评论
I am using the Specialized Power Systems Simscape block. I would like to be able to change the thermal resistance/thermal time constant over the course of the simulation (see image). I was thinking about changing the value of Batt.Rth (see image) but I can not find where I can edit this value.
Thanks in Advance,
Matt
0 个评论
采纳的回答
Joel Van Sickel
2020-8-21
Hello Matthew,
to make that value editable, you will need to create a custom block and modify the battery. To do this, you would use the powergui block customize function. Customize the battery block, then delete the gain block and replace it with a product block. Then you can add an input port to be the thermal resistance so that you can control it externally while the simulation is running. Most specialized power systems blocks cannot have their parameters changed durring simulaiton unless modified like this.
Regards,
Joel
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Magnetic Elements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!