Offset-Free and Tube MPC on a Coupled Plant
Open the Drum Boiler and Turbine Coordinated Control app
Advanced Control Exercise 18 of 30 in Linear MPC · All exercises · Time: 15 minutes
A drum boiler and its turbine share one steam supply: the turbine valve gives megawatts now by spending pressure the boiler must rebuild. An MPC coordinates both. When the fuel changes quality, a nominal MPC settles off its setpoint; a disturbance estimate fixes that; and a tube MPC goes further and promises a hard limit for every fuel in a declared set. This exercise measures what each one buys and what the last one costs.
Learning Outcomes
- Explain why a nominal MPC settles with offset under an unmeasured disturbance.
- Write the augmented model and the target calculation that make an MPC offset-free.
- Explain constraint tightening in tube MPC and measure the range it gives up.
Book Chapter
Model Predictive Control and Economic Optimization (Volume 9), Chapter 4, Boiler-Turbine Simulator Where Fast Megawatts Are Borrowed From Drum Pressure. Read the chapter, open the PDF, or watch the lecture slides.
Theory in Brief
Augment the state with an input disturbance `d`, here the fuel's lost heating value, modeled as a constant and estimated by a Kalman filter:
$$\begin{bmatrix} x \\ d \end{bmatrix}_{k+1} = \begin{bmatrix} A & B_d \\ 0 & I \end{bmatrix} \begin{bmatrix} x \\ d \end{bmatrix}_k + \begin{bmatrix} B \\ 0 \end{bmatrix} u_k, \qquad y_k = C x_k$$
Each step a target calculation finds the steady state `(x_s, u_s)` that reaches the setpoint `r` with the estimated disturbance in place, and the MPC regulates to it:
$$\begin{bmatrix} A - I & B \\ C & 0 \end{bmatrix} \begin{bmatrix} x_s \\ u_s \end{bmatrix} = \begin{bmatrix} -B_d \hat d \\ r \end{bmatrix}$$
With `\hat d` correct the prediction is correct, and the offset goes. Tube MPC handles a disturbance known only to lie in a set `\mathcal W`. It plans a nominal trajectory `\bar x` and keeps the real state within a tube `\bar x \oplus \mathcal Z` around it by an ancillary feedback. To be sure the real state respects `x \in \mathcal X`, the nominal plan uses a tightened set:
$$\bar x_k \in \mathcal X \ominus \mathcal Z, \qquad \text{e.g.}\;\; p \le p_{max} - h_p$$
where `h_p` bounds the pressure deviation the worst fuel can cause.
Model: Physics-based. A nonlinear drum-boiler and turbine model, linearized for the MPC with fuel quality as an unmeasured input disturbance.
Decision: Fuel and turbine valve together, to follow the grid's load demand without breaching the drum pressure limit.
Learning: The disturbance estimate is learned online; the tube's bound comes from a declared set of fuels, not from data.
Exercise
Read 2 min · Predict 1 min · Run 7 min · Explain 3 min · Check your AI 2 min.
Predict. The fuel is 10 % poorer than the MPC's model thinks. Once everything settles, is the drum pressure back at its setpoint? Then: a 10 % richer fuel arrives during a load drop. What must a controller give up to promise the pressure never passes its limit?
Run the Drum Boiler and Turbine Coordinated Control app. Use the fastest speed, 120×, and press Run again to pause at the times in each step.
- Open 6 · MPC and the offset: a poorer fuel. Press Run and pause at 600 s. Read Pressure range.
- Set Control structure to Offset-free MPC while it runs and continue to 900 s. Read the pressure against its setpoint and the estimated fuel bias.
- Open 7 · Tube MPC: holding the limit for every fuel and run to 900 s on the nominal MPC. Read Ramp error · heat-rate credit and Pressure range.
- Reload the case (↻), set Control structure to Tube MPC before pressing Run, and run to 900 s. Read the same tiles.
Explain.
- The nominal MPC re-plans every step from the measured pressure. Why does it still settle off its setpoint?
- What does the tube MPC give up to hold the limit, and why is that the right price for a hard limit?
Generative AI Learning
Check the answer against your run: A good answer says the model's prediction stays wrong without a disturbance state, and writes the augmented model and the target equations. Your step 2 reading is the test: the offset should go after the switch. The assistant is your tutor and reviewer; you answer for every claim you turn in.
What to Turn In
A table with the pressure offset under the nominal and offset-free MPC, the estimated and true fuel bias, and the tube readings, your written prediction, and three sentences that answer the two questions.

Under the nominal MPC the pressure settles 1.2 kg/cm² from its setpoint by 600 s. The model predicts that the present fuel will raise the pressure, so the plan holds back fuel against a rise that never comes; the measured error is balanced by the model's error with the pressure off its setpoint. The offset-free estimator has run all along: at 600 s its fuel bias is -3.7 % against a true -3.8 %. The bias is expressed as a fuel-flow equivalent, `(q-1)\,a_1`, so a 10 % poorer heating value shows as about −3.8 %. After the switch the prediction becomes right, and at 900 s the pressure is 0.01 kg/cm² from its setpoint.
On the load drop with a richer fuel, the nominal MPC's tiles read IAE 522 MW·s · credit -1.0 % vs 140.0 kg/cm² · OVER THE LIMIT 558 s and 144.0 kg/cm² to 145.3 kg/cm² · ±1.3 kg/cm² from SP. The tube MPC reads IAE 661 MW·s · credit -0.8 % vs 140.0 kg/cm² and 142.3 kg/cm² to 144.7 kg/cm² · ±1.7 kg/cm² from SP: its pressure peaks at 144.70 kg/cm², under the 145 kg/cm² limit. It plans its nominal unit under a tightened limit, so it gives up the top few kg/cm² of the operating range and tracks the load a little worse. That is the honest price of a promise that holds for every fuel in the set rather than for the nominal one.
Measured with the app build of December 3, 2026 by a scripted replay of the steps above. Numbers that no tile shows come from the replay's record; your readings from the trends will be close. A later app release may move the last digit.
Model Predictive Control builds a linear MPC in Python. Add a disturbance state to a first-order plant, estimate it with a steady Kalman filter, and add the target calculation; then step a constant input disturbance with and without it. Plot the output: the offset that remains without it equals the disturbance times the model's steady gain error.
Related
- Check yourself: three-question quiz
- Course pages: Model Predictive Control, Stochastic MPC, Estimation and Control, Control Objectives
- Exercises: previous: 17 · MPC Behind a Dead Time; next: 19 · Explicit MPC: The Optimizer Solved in Advance
References
- Hedengren, J. D. (ed.), Model Predictive Control and Economic Optimization, Volume 9 of Interactive Control Engineering, Chapter 4, "Boiler-Turbine Simulator Where Fast Megawatts Are Borrowed From Drum Pressure", pp. 76–97, Advanced Process Solutions, 2026. PDF (CC BY 4.0).
- Pannocchia, G., Rawlings, J. B., Disturbance models for offset-free model-predictive control, AIChE Journal 49(2), 426–437, 2003.
- Mayne, D. Q., Seron, M. M., Raković, S. V., Robust model predictive control of constrained linear systems with bounded disturbances, Automatica 41(2), 219–224, 2005.
