Query regarding battery modeling
3 views (last 30 days)
Show older comments
Hello anybody,
now I'm trying to build a Li-ion battery model, in which I used FFRLS to identify parameters inside battery and UKF to estimate SOC.
However an error happened as showed below when model was running:

How could this problem be solved? I guess the data perhaps not suitable or anything else wrong.
In attachment the script and modeling file could be found.
please help me to solve it. many thanks in advance.
Best regards
Songkai
0 Comments
Answers (1)
Sabin
on 3 Jan 2023
The problem is soc vector used as breakpoint in lookup tables. The values of breakpoints must be strictly monotonically increasing. However, first 10 elements in soc vector are the same (0.3210). Best to keep only one value of 0.3210 in the soc vector and adjust the R0 and ocv vectors accordingly. I hope this helps.
0 Comments
See Also
Categories
Find more on Propulsion and Power Systems 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!