Is there some documentation to model the thermal port on a custom battery block?

조회 수: 4 (최근 30일)
Namratha . 2023년 1월 3일
답변: Javier Gazzarri . 2023년 1월 16일
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,


Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by