When I choose to simulate temperature effects of battery, it takes too much time to simulate
2 次查看(过去 30 天)
显示 更早的评论
I am trying to simulate the battery performance during charge and discharge and when I choose to simulate temperature effects of battery, it takes too much time to simulate. I am now working with a variable-step solver with automatic solver selection ans a Continuous powergui block. I tried to change the solver type and the relative tolerance but the simulation still slow.
R2019b
0 个评论
回答(1 个)
CHANDRA BABU GUTTIKONDA
2025-8-30
Simulating battery temperature effects in MATLAB R2019b can be slow because it adds thermal-electrical coupling, making the system stiff and computationally heavy. To improve performance, try switching to a stiff solver like ode15s, increase the relative tolerance slightly, and set a reasonable max step size. Simplifying the thermal model or using a discrete powergui block can also help.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!