- Add a delay in your system model to eliminate the direct dependency of y(k) on mv(k).
- If you want to simulate some dynamics, you can modify the output function to calculate y(k) based on the previous state or delayed manipulated variable.
Direct feedthrough MPC Design
5 views (last 30 days)
Show older comments
I am working in the design of a controller using the MPC Toolbox. When trying to run the MATLAB code, using the validateFcns() function I get the following warning:

Is there any way to solve this problem and use a direct feedrough from the manipulated vairbales to the output?
Tank you!
0 Comments
Answers (1)
Kothuri
on 17 Jan 2025 at 6:51
Hi David Arenes,
The warning you are seeing indicates "direct feedthrough" from the manipulated variables (MVs) to the outputs (OVs) in your nonlinear MPC (NMPC) setup. MATLAB's MPC toolbox uses this warning to highlight a potential issue that in direct feedthrough, the output at the current timestep y(k) depends on the manipulated variable mv(k).
To rectify this warning you can:
You can refer the below MATLAB Answer for more info:
0 Comments
See Also
Categories
Find more on Model Predictive Control Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!