error designing model in Model Predictive Control
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Sam Chak
am 5 Sep. 2022
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.
Antworten (1)
Sayan
am 21 Sep. 2023
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 Kommentare
Siehe auch
Kategorien
Mehr zu Refinement finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!