Error using 'pem' and 'greyest' in System Identification of a MIMO system.
2 次查看(过去 30 天)
显示 更早的评论
I am have been working on System Identification of a MIMO system. While using the commands:
sys_grey_out = greyest(data, sys_grey, opt);
or
sys_pem = pem(data, init_sys);
I am getting the following the error:
The initial computation of the loss function failed. The initial model, if
specified, may be unstable. Consider setting estimation focus to "stability" or
"simulation". Also make sure that the parameter bounds do not make the model
unstable.
Setting the focus to Simulation or Stability isn't helping. Can anyone help me with the error?
2 个评论
Gillian Rosen
2017-3-15
Hi Pranjal,
I understand that you are trying to use the functions 'pem' and 'greyest' for system identification of a MIMO system, but that you are encountering an error that states that "the initial computation of the loss function failed".
To ensure that this issue is specific to your particular system, have you tried running examples from the 'greyest' and 'pem' documentation pages (linked below)? Were you successful?
You mentioned that you have tried setting the focus to 'Stability' and 'Simulation', as suggested by the error message. Have you also made sure that the parameter bounds for your model do not make the model unstable?
Changing other 'greyest' options to better fit your system may also help in this situation. See the following documentation link for a full list of options:
If you need more assistance, it would be very helpful if you posted a code snippet that would allow others to recreate the error that you are seeing.
Gergely Takács
2018-12-7
Gillian;
I am getting the same error message for a
nlgreyest()
problem. The error message seems to suggest that nlgreyest() can only handle open-loop stable models, is that correct? (I know that my model is unstable...)
回答(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!