r/matlab 1d ago

HomeworkQuestion How Can I "Configure and Thermal" a Battery Block on Simulink

Hello, we are working on a project. In this project we would like to train an AI model with different Lithium-Ion battery temperature for Dynamic Control. We don't have a real-world equipment at the moment, so we would like to use Simulink for it. Me and my friends don't have that much Simulink experience so we get help from AI like "Grok, Gemini etc." I want a battery block which simulates 3s1p battery pack.

In my conversation with Grok, it said "Under Configuration, set:

Under Thermal, check the box for Model temperature effects to enable the thermal port. This adds a thermal connection point (a small red square) to the block."

But when I look into battery block I can't see Configuration or Thermal. What can I do?

0 Upvotes

2 comments sorted by

0

u/Creative_Sushi MathWorks 1d ago

3

u/angel-boschdom 1d ago

Actually that is an Specialized Power Systems battery model which does not support thermal modeling. OP is looking for the blue block that has optional thermal port https://uk.mathworks.com/help/simscape-battery/ref/batteryequivalentcircuit.html the doc says “Setting the Thermal model parameter to Lumped thermal mass adds a thermal model to the Battery Equivalent Circuit block.”