When I choose to simulate temperature effects of battery, it takes too much time to simulate
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
CHANDRA BABU GUTTIKONDA
le 30 Août 2025
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 commentaires
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!