Simulink Parameter Estimation Error Nonlinear Least Squares
Show older comments
Hi,
I'm trying to run the parameter estimation example showed on this video (https://www.mathworks.com/videos/estimating-parameters-of-a-battery-68957.html).
I've done all the setups exactly as in the video and when I start the estimation of the parameters, I get the following message: "the levenberg-marquardt algorithm does not handle bound constraints and the trust-region-reflective algorithm requires at least as many equations as variables: aborting". I'm completly lost at what's the reason for that, even more because I use the exact same model as in the video and I can't find the source of the problem.
Does anyone know how to solve it?
The model and codes I use are the ssc_lithium_cell_1RC_estim.slx and ssc_lithium_cell_1RC_estim_ini.mat and the data used for the estimation is the one from LiBatt_PulseData.mat that comes together with the files when you download it.
PS.: I've had to change the solver type in the configurations manually to ode15s. The simscape model also comes with the ssc_lithium_cell_1RC_estim_ini.mat in the PreLoadFnc Callback. I'm working with Matlab 2014a.
1 Comment
Guilherme Pereira
on 30 Aug 2017
Answers (1)
Zuolu Wang
on 8 Apr 2020
0 votes
Hi,
Could you please share where I can find the model of ssc_lithium_cell_1RC_estim.slx?
Many thanks.
2 Comments
Changjiang Wang
on 6 Mar 2022
type "ssc_lithium_cell_2RC" in Matlab command window and press "Enter"
subramanya
on 12 May 2025
You wont get anything
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!