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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Linear Plant Specification 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by