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

3 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Upekha Pathirage
Upekha Pathirage il 14 Mar 2022
Spostato: Sabin il 29 Set 2023
I changed the "inport" & "outport" ports to "goto" & "from" ports. Now the model is working.

Categorie

Scopri di più su Battery Pack Modeling in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by