Error in Parameter Esitmation ‘OutputTimes’

Technical Source
2 min readSep 22, 2021

--

Dear all,

I am having issue performing ‘Parameter Estimation’ of my Simulink model.

The model is able to simulate output values of my model in Simulink but not when performing Parameter Estimation. When simulating through ‘Parameter Estimation Toolbox’ this error is given;

“Invalid OutputTimes specified in the Configuration Parameters dialog for block diagram ‘ParameterEstimationSimulink’”

  • The input data is of continous state with variying timesteps
  • The model is using the same ‘Simulation time’ with attained input data that is loaded into the model
  • Simulink is able to simulate and compare model output and given input
  • The Solver used is ode45
  • All ports and blocks ‘Sample time’ configurations are given -1 (inherited)
  • In ‘Parameter Estimation’ the right Outport is chosen, with same array size as the input data

Can the error origin from the Input data? The input time is imported from an external meaasurment where ‘’Datetime” is converted into “Seconds” — double.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

A possible root cause of the issue can be repeating time values in the experimental data which get indirectly fed to ‘OutputTimes’ within Configuration Parameters when called by Simulink.

  • To verify this :

You may check non unique time values in data by executing the following command:

length(unique(Your2dvector(:,1))

To cause the error, this value might be smaller than the length of your experimental data.

  • Approach to removing duplicate entries:

We can average the values of repeating column entries and get a unique array of elements. I would suggest backing up your experimental data before doing the matrix operations below.

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet