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

답변 (1개)

CHANDRA BABU GUTTIKONDA
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.

카테고리

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