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

3 ビュー (過去 30 日間)
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.

回答 (1 件)

Upekha Pathirage
Upekha Pathirage 2022 年 3 月 14 日
移動済み: Sabin 2023 年 9 月 29 日
I changed the "inport" & "outport" ports to "goto" & "from" ports. Now the model is working.

カテゴリ

Help Center および File ExchangeBattery Pack Modeling についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by