How to fix State of charge must be greater than or equal to minimum value of the Vector of state-of-charge values, SOC.
17 views (last 30 days)
Show older comments
Hello, I've created my own model for battery cell parameter estimation using simscape, and table based battery cell. In the model workspace I've defined the SOC loockup table ranging as follow [0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1].
When I run my simulation it goes well, up to a moment where it stops and shows this message :
I don't understand why it's displaying that error, any guidance ? Thanks.
Answers (1)
David John
on 4 May 2023
Most likely the state-of-charge is crossing 0 at that time of your simulation. Try taking a look at the stateOfCharge variable in the simlog to see its behaviour.
2 Comments
David John
on 26 May 2023
Did you check to see if the state-of-charge crosses zero? If it does, then your model is no longer valid, and hence the error. It is not physically meaningful to drain a battery beyond zero state-of-charge. Are you forcing current out of your battery?
See Also
Categories
Find more on Parameter Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!