O'Reilly logo

Process Control: Modeling, Design, and Simulation by B. Wayne Bequette

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix 16.3

Use the following files to reproduce the van de Vusse simulations shown in Figure 16-9. These are based on an unconstrained DMC strategy. Files for the constrained formulation, involving qp and quadprog from the optimization toolbox, are available on the book web page.

dmcsim.m

 % dmcsim % % 26 Oct 00 - revised 4/5 Aug 01 for Chapter 16 - MPC % b.w. bequette % unconstrained DMC simulation, calls: smatgen.m and dmccalc.m % currently contains van de vusse reactor model and plant % % MPC tuning and simulation parameters n = 50; % model length p = 10; % prediction horizon m = 1; % control horizon weight = 0.0; % weighting factor ysp = 1; % setpoint change (from 0) timesp = 1; % time of setpoint change delt = 0.1; % sample time tfinal ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required