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?

回答(1 个)

Javier Gazzarri
Javier Gazzarri 2023-1-16
Hello Namratha,
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

类别

Help CenterFile 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!

Translated by