error designing model in Model Predictive Control
8 ビュー (過去 30 日間)
古いコメントを表示
Good morning,
I´m trying to define MPC Structure by linearization. I would be grateful if you could tell me how to resolve this error message " plant model cannot be a pure direct feed-through system without additional dynamics" . I have tried using delay blocks as suggested in some posts, but I cannot get it to work. Thank you, best regards.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1117160/image.png)
6 件のコメント
Sam Chak
2022 年 9 月 5 日
Though I'm not familiar with batteries but I remember that the event of charging and discharging of batteries are dynamical processes.
Do you have the transfer function to describe the SOC of the battery?
If your battery model is in State-space, then you have a non-zero "Direct" feed-through matrrix D.
回答 (1 件)
Sayan
2023 年 9 月 21 日
I understand from the error that your "Plant" model used in the MPC structure in MPC Designer is a pure direct feed-through. The possible reasons for the error and their possible fixes are mentioned below.
- Ensure the "Plant" model used in your model does not contain any direct feed-through between input and output.
- You can try introducing additional intermediary states to the "Plant" model to eliminate direct feed-through.
- Use the "Debug" tool in Simulink to find any error present in the "Plant" model.
- Test the plant model by running it independently to find any errors or warnings in the "Diagnostic Viewer" and resolve them before reconfiguring the MPC designer with the updated model.
You can go through the following MATLAB documentation about the "Algebraic Loop" concept to remove direct feed-through in your model.
Hope this helps in resolving the error.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Refinement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!