Not getting OCV fading curve of a Battery equivalent circuit model based on runtime and Thevenin models

3 vues (au cours des 30 derniers jours)
I am modeling a 850mAh battery equivalent circuit using Simulink as in the picture. I assume battery parameters including resistors and capacitors are constant and only Open Circuit Voltage (OCV) change with battery SOC. SOC is calculated using the following equation where i is battery current in Amp, C is battery capacity in Ah.
I use a -0.85A step current as the input to the controlled current source so that the battery discharge current is a constant 0.85A. The stop time is set to 3600. The SOC-OCV relation is through a lookup table where SOC change from 1 to 0 while OCV change from 4.1V to 3.6V. With this I expect OCV and terminal voltage to have a decreasing curve over the time 3600s. However, OCV is constant and the terminal voltage is reducing.
I do not know how to set the solver configuration settings for this. Can anyone explain where I'm wrong. All figures attached.

Réponses (1)

Upekha Pathirage
Upekha Pathirage le 14 Mar 2022
Déplacé(e) : Sabin le 29 Sep 2023
I changed the "inport" & "outport" ports to "goto" & "from" ports. Now the model is working.

Catégories

En savoir plus sur Battery Pack Modeling dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by