Clear Filters
Clear Filters

Parameter estimation for the battery model in simulink

8 views (last 30 days)
Hello folks,
I am getting problem while performing parameter estimator tool in simulink. It shows an error -
I have my workspace and simulink model ready as per the formula, but now i think I am having problem with the Tool, as i don't have much experience with the tool. Please assist me with this.
Thank you in advance.

Answers (1)

Aman Banthia
Aman Banthia on 31 Aug 2023
Edited: Aman Banthia on 31 Aug 2023
Hello Arpit,
I understand that you are having trouble running their Simulink error and getting the error “All input arguments must be table” and needs help using the parameter estimator tool.
The error you are getting can be resolved by the following code
i_app = array2table(i_app)
phis_neg = array2table(phis_neg)
phis_pos = array2table(phis_pos)
T = array2table(T)
tout = array2table(tout)
V = array2table(V)
V_app = array2table(V_app)
yout = array2table(yout)
this will convert all your input and output variables from array to table.
You can refer to the following documentation to convert from array to table: Convert homogeneous array to table - MATLAB array2table - MathWorks India
Hope that the above solution removes your error.
Thank-you
Aman Banthia

Categories

Find more on Simulink Design Optimization 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!