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

3 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Upekha Pathirage
Upekha Pathirage am 14 Mär. 2022
Verschoben: Sabin am 29 Sep. 2023
I changed the "inport" & "outport" ports to "goto" & "from" ports. Now the model is working.

Kategorien

Mehr zu Battery Pack Modeling finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by