Is there some documentation to model the thermal port on a custom battery block?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Javier Gazzarri
on 16 Jan 2023
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 Comments
See Also
Categories
Find more on Creating Custom Components and Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!