Techniqueresearch
Economic MPC
Also called economic model predictive control.
MPC whose cost is a general economic objective, not a distance to a setpoint, with stability shown by dissipativity.
Economic MPC is model predictive control whose stage cost is a direct economic measure, such as energy use, raw material cost or lost product, and not a weighted distance to a setpoint. Standard MPC first computes the best steady state and then tracks it with a positive definite cost. Economic MPC optimizes the economic cost along the whole transient, which can earn more on the way. The price is that the usual stability proof breaks: the economic cost is not zero at the steady state and not positive elsewhere, so the optimal value is not a Lyapunov function. The fix is strict dissipativity. If a storage function exists, the cost rotated by it is positive definite, the rotated problem has the same solutions, and the rotated optimal value is a Lyapunov function. Without dissipativity, economic MPC still keeps the average cost no worse than the best steady state, but the closed loop may never settle.
In plain words
Ordinary predictive control is told where to go and is paid for staying close. Economic predictive control is told what costs money and is left to find the best way to run. Often the best long-run choice is still to settle at one operating point, and then the controller finds it on its own and saves money on the way there. But it does not always settle. Sometimes cycling between two points is cheaper than any single point, and then the controller cycles. To prove that it settles, one shows that the cost, after adding a fixed correction that depends on the state, rewards closeness to the best point. That correction does not change which plan is best, so the controller behaves like an ordinary one with a hidden target.
When it applies
- A plant with constraints , and a stage cost that measures money, energy or another real quantity.
- The best steady state , the solution of subject to and , exists, with value .
- For stability at : the system is strictly dissipative with respect to the supply rate . That is, there is a storage function and a positive definite function with
- For the average cost bound alone, no dissipativity is needed.
For a linear plant with a strictly convex cost, a linear storage from the multiplier of the steady state problem works when that problem has strong duality, as shown by Diehl, Amrit and Rawlings (2011).
The template
- Steady state. Solve the steady state problem for and , and keep its multiplier of the constraint .
- Problem. At the measured , solve
A terminal region with a terminal cost and a local controller can replace , with the condition . 3. Apply and repeat. Apply and solve again at the next sample. 4. Check dissipativity to know whether the loop settles at . Form the rotated cost
and check that .
Why it works.
Average cost. Let solve the problem at . The shifted sequence with appended is feasible at , because and keeps it there. Its cost is . So
Summing over samples gives . If is bounded below on the feasible set, for example because is compact, the average cost of the closed loop is at most in the limit. This holds with or without dissipativity (Angeli, Amrit and Rawlings 2012).
Stability. Sum the rotated cost along any feasible sequence. The storage terms telescope:
With fixed, the right side is the economic cost plus a term that depends only on . So the rotated problem and the economic problem have the same minimizers, and the controller is the same. The rotated stage cost is positive definite around , and the rotated problem is a standard MPC problem with a terminal equality constraint. By the MPC stability theorem, its optimal value is a Lyapunov function, and is asymptotically stable for the closed loop.
What is not proved here. For nonlinear plants, finding a storage function is in general hard, and there is no general recipe. Without a terminal constraint, stability needs a turnpike property and holds only near for long horizons. Strict dissipativity is close to necessary: Müller, Angeli and Allgöwer showed that it is needed for optimal steady state operation under a controllability condition. These results are cited and not proved here.
Classic examples
A dissipative scalar plant. Take and . The cost wants and , which is not a steady state. Steady states satisfy , and gives , and . The multiplier is , and with ,
So the plant is strictly dissipative, and economic MPC with is exactly tracking MPC with the cost . With from , the first plan is , and the closed loop goes through toward . With the states differ from these by less than . The economic and the rotated problem give exactly the same inputs at every sample.
A plant that prefers to cycle. Take , and . Steady states have and cost , so the best steady state is with . But the cycle with costs at every step. With and , the plan from is , with cost . The closed loop applies only and plans again, so it alternates between and for ever with average cost . Even from the first input is , with plan cost : the controller leaves the best steady state. The terminal constraint is met by every plan but never reached, and the average bound holds, but is not stable. No storage function exists, since along the cycle the dissipation inequality would sum to .
Process control. In chemical plants, the economic cost is the price of feed and energy minus the value of product. Economic MPC can exploit cheap periods of energy or move the plant to a better operating point faster than a two-layer scheme of steady state optimization and tracking control.
Variations
- Terminal region and cost. Replace by a terminal set and cost, which enlarges the feasible set.
- No terminal ingredients. Use a long horizon and rely on the turnpike property, under which optimal open loop trajectories stay near for most of the horizon.
- Periodic operation. If a periodic orbit is optimal, replace the steady state by that orbit, with a periodic terminal constraint and dissipativity with respect to the orbit.
- Average constraints. Constrain the average of some quantity over time, such as emissions, instead of each value.
- Regularized economic MPC. Add a small tracking term to the economic cost so that the rotated cost becomes positive definite, at a small loss of economic performance.
- Uncertainty. Combine with stochastic MPC for expected economic costs.
Pitfalls
- Assuming that it settles. Without strict dissipativity the loop can cycle or wander, as in the second example. Check the storage function before relying on convergence.
- A wrong steady state. The terminal constraint uses . If it is not the best steady state, the average bound refers to the wrong value.
- Nonconvex costs. Economic costs are often linear or nonconvex in the inputs, which can make the problem harder and the inputs jump between bounds.
- Short horizons without terminal constraints. With a short horizon, the controller can greedily use up resources at the end of the horizon, and the closed loop can be worse than steady operation.
- Model error. Economic optimization pushes the plant toward its constraints, where model errors matter most. Add back off from the constraints.
Exercises
- Find the best steady state of with . (Answer: , and gives , and .)
- In exercise 1, verify that makes the rotated cost . (Answer: , which is the given square sum.)
- Show that the plant with and is not dissipative with respect to at . (Answer: the inequality for and gives and , whose sum is .)
- Show that with , the economic and the rotated problems have the same minimizers. (Answer: the sums differ by , which does not depend on the inputs.)
- Derive the average cost bound from . (Answer: sum over samples, divide by , and use that is bounded on the feasible set, so .)
References
- Moritz Diehl, Rishi Amrit and James B. Rawlings, A Lyapunov function for economic optimizing model predictive control, IEEE Transactions on Automatic Control 56, 703-707, 2011, the rotated cost and the Lyapunov function for economic MPC with a terminal equality constraint under strong duality of the steady state problem
- David Angeli, Rishi Amrit and James B. Rawlings, On average performance and stability of economic model predictive control, IEEE Transactions on Automatic Control 57(7), 1615-1626, 2012, the bound on the closed loop average cost, and asymptotic stability under strict dissipativity
- James B. Rawlings, David Q. Mayne and Moritz M. Diehl, Model Predictive Control, Theory, Computation, and Design, 2nd edition, Nob Hill Publishing, 2017, the section on economic MPC, with dissipativity and the rotated cost
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag CVGADP Edit this page History Report an error Markdown