Is there some documentation to model the thermal port on a custom battery block?
1 次查看(过去 30 天)
显示 更早的评论
There is not much to refer from when creating custom blocks on matlab. I'm currently building a custom battery block but I'm not able to implement the the thermal port. Is there some code that I can refer to?
Aditionally, repeatedly I get an error which says the number of variables are more that the number of equations or vice versa when I try to fix it. I do not have any redundant equations or variable in my code. So how can this be fixed?
0 个评论
回答(1 个)
Javier Gazzarri
2023-1-16
We offer a battery block in Simscape Battery and Simscape Electrical which do contain a thermal port. This block should meet most needs for battery cell modeling.
If you do wish to create a custom one out of Simscape blocks, you may want to add a thermal mass to the block, connect a controlled heat flow source to it, and feed if with the heat dissipation over the internal resistanced. Then, you can connect a physical connection port from the thermal mass to link the cell thermally to its surroundings.
Hope this helps,
Javier
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating Custom Components and Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!