Simulink Parameter Estimation Error Nonlinear Least Squares
显示 更早的评论
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 个)
Zuolu Wang
2020-4-8
0 个投票
Hi,
Could you please share where I can find the model of ssc_lithium_cell_1RC_estim.slx?
Many thanks.
2 个评论
Changjiang Wang
2022-3-6
type "ssc_lithium_cell_2RC" in Matlab command window and press "Enter"
subramanya
2025-5-12
You wont get anything
类别
在 帮助中心 和 File Exchange 中查找有关 Parameter Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!