フィルターのクリア

How to set number of measured disturbances to zero in MPC Designer

5 ビュー (過去 30 日間)
Bill Tubbs
Bill Tubbs 2023 年 5 月 27 日
回答済み: Bill Tubbs 2023 年 5 月 27 日
I'm using the MPC Designer tool from Simulink for the first time.
I have a system with one MV, one CV, and one unmeasured input disturbance.
When I select 'MPC Structure' in MPC Designer the 'Define MPC Structure by Linearisation' window appears. In that window, when I select "Change I/O Sizes' button, the following window appears:
When I change the '1' by 'Number of measured disturbances (MD)' to '0' as shown above, or to nothing (blank), and press enter it says:
I looked at this demonstration example in the documentatiuon here, the window looks different but the example shows this field blank.
What am I doing wrong?

回答 (1 件)

Bill Tubbs
Bill Tubbs 2023 年 5 月 27 日
I figured it out.
When you first add an MPC Controller to your simulink model, it has one measured disturbance input by default. From the Block Parameters window (after double-clicking it) you need to uncheck the box next to Measured Disturbance (md) in the Additional Inports area and click Apply, before cliking the 'Design' button:
Then when you click Change I/O Sizes in the designer there is no field for Number of measured disturbances:

カテゴリ

Help Center および File ExchangeController Creation についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by