How can I optimize the model for the parameter estimation with the greybox modeling tools to compute the estimation faster?
조회 수: 2 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2021년 9월 15일
답변: MathWorks Support Team
2021년 9월 15일
It is sought to perform parameter estimation concerning the non-linear equations for a physical model using the greybox modeling tools from the System Identification Toolbox. However, running this model takes a very long time in Simulink.
How can I optimize the model for the parameter estimation with the greybox modeling tools to compute the estimation faster?
채택된 답변
MathWorks Support Team
2021년 9월 15일
The main speed-up technique is to write a mex version of the physical model for which the parameters need to be estimated. Please refer to the following documentation example for more information,
Moreover, one could try speed-accuracy trade-off by using different numerical gradient computation options. See for instance the nlgreyestOptions->GradientOptions. Choosing the DifferencingScheme to be forward or backward, rather than central, can reduce the number of function calls, and thus reduce the overall simulation time.
Lastly, one could try to make the objective as smooth and convex as possible, reduce the number of unknowns, place sensible bounds on free parameters etc., in order to speed up the computations.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Model Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!