フィルターのクリア

Model Predictive Control (MPC)

3 ビュー (過去 30 日間)
Ulices Santa Cruz Leal
Ulices Santa Cruz Leal 2018 年 7 月 16 日
回答済み: Arkadiy Turevskiy 2018 年 8 月 15 日
I want to Integrate a closed-loop Lyapunov controlled system into my MPC Object in Simulink (e.g. set the initial state of the Lyapunov controlled system at the "beginning" of the MPC run and update the Lyapunov controlled system states and use them during the MPC optimization).
Question: How can I know the time at which the MPC object starts and finishes its Optimization algorithm?
*Attached an image with the Mathematical description of previous statement:
Thanks for your time!

回答 (1 件)

Arkadiy Turevskiy
Arkadiy Turevskiy 2018 年 8 月 15 日
Hi there, I think you might want to look at callbacks for MPC Controller block. Right click on the block, select "Block Properties", Callback (3rd tab). Callbacks let you execute MATLAB code (for example code that would initialize your parameters as you want) when certain events happen. You probably need StartFcn and StopFcn callbacks.
HTH. Arkadiy Turevskiy MathWorks

カテゴリ

Help Center および File ExchangeMatrix Computations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by