필터 지우기
필터 지우기

When using the Parameter Estimator, an error occurs when trying to use both the accelerator mode and fast restart simultaneously

조회 수: 2 (최근 30일)
I am trying to find the optimal parameters for my simulation using Simulink's Parameter Estimator.
However, when I set the 'SimulationMode' to 'Accelerator' and enable 'Fast Restart' at the same time, the Estimation Progress Report displays the following error message.
As you can see, "Cannot change the 'SimulationMode' parameter when the model 'examplemodel' is initialized in Fast Restart" is shown.
Also, I can select 'error to view' from 1 to 8, and for each error to view, all error messages are the same with only slight differences in the parameter values.
However, when I change the 'SimulationMode' to 'normal' or turn off Fast Restart, the parameter estimator works correctly.
But I want to use the 'accelerator' mode and Fast Restart simultaneously to increase the estimation speed.
When running the engine throttle model example(command open_system('spe_engine_throttle')), it seems that there are no issues with using both the 'accelerator' mode and Fast Restart simultaneously. This suggests that the Parameter Estimator does not restrict the use of these two features together.
Is there any speculation on the reasons for this error message occurring?
  댓글 수: 1
Jeong Kuk Hong
Jeong Kuk Hong 2023년 8월 7일
It seems that specifying the Initial condition when configuring the experiment in the Parameter Estimator was the cause. After removing the Initial condition, it works fine.

댓글을 달려면 로그인하십시오.

채택된 답변

Devesh Bhasin
Devesh Bhasin 2023년 8월 10일
Hi Jeong,
Thanks for reporting the issue. As of R2023a, the only workaround seems to be either (1) not using Accelerator mode, or (2) not setting the inital states in the experiment.
That said, we have taken note of this issue and will investigate it further on our end.
If you want automated notifications about if/when this issue is resolved, please email support@mathworks.com.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Design Optimization에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by