How to correctly estimate simulation time and error in a battery cell simulation

6 vues (au cours des 30 derniers jours)
Jorge
Jorge le 25 Mai 2023
I am modeling a battery cell using an equivalent circuit model. I have 3 different models for 1RC, 2RC and 3RC. However when i measure the simulation time using the profiler i get similar times with all three circuits. Morover the error associated with the simulation also stays roughly the same. According to the bibliography the more RC branches the circuit has, the longer it takes to simulate but the less error it has.
Anyone has any idea where this problem might be comming from?
The circuit uses LUTs for the circuit parameters and a SoC estimation block(coloumb counting)
Thanks.

Réponses (1)

Javier Gazzarri
Javier Gazzarri le 23 Juil 2023
Hello Jorge,
Your statement about error and simulation time is correct. However, if the model is simple (e.g. it only has a single cell) you will not notice a significant performance difference because MATLAB will be able to run it very fast in both cases.
The reason why you are not seeing a difference in accuracy may be that your simulation is mainly exciting the first order in the ECM dynamics, so the other two RC pairs are not contributing significantly. This is the case, for example, when the second and third time constants are large compared to the dynamic behavior of your input. For example, if the current is changing on a second-time-frame, time constants of the order of 100 or 1000 seconds will not play a significant role in the simulation.
Please let me know if this helps.
Javier

Catégories

En savoir plus sur Energy Storage dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by