Home Battery Dispatch under a Tiered Peak Power Tariff
Pith reviewed 2026-05-24 07:31 UTC · model grok-4.3
The pith
An MPC policy with simple forecasts dispatches home batteries to within 1.7% of the minimum cost under tiered peak power tariffs.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
With perfect foresight the minimum cost solves a mixed-integer linear program that provides a lower bound on the cost of any implementable policy. The proposed model predictive control policy uses simple forecasts of loads and prices and solves a small mixed-integer linear program at each time step. Numerical experiments on one year of data from a home in Trondheim, Norway, show that the MPC policy attains a cost within 1.7% of the prescient bound and saves close to three times as much as the best rule-based policy considered.
What carries the argument
The model predictive control policy that repeatedly solves a small mixed-integer linear program using forecasts of loads and prices.
If this is right
- The prescient minimum cost is the solution of a mixed-integer linear program.
- The MPC policy attains costs within 1.7% of the prescient bound on real data.
- Savings from the MPC policy are nearly three times those of the best rule-based policy tested.
- The approach remains practical because it solves only a small MILP at each time step.
Where Pith is reading between the lines
- The same MILP-plus-MPC structure could be adapted to other peak-based tariff designs by changing only the objective coefficients.
- Improving forecast accuracy beyond the simple methods used would likely shrink the remaining 1.7% gap to the bound.
- The framework could be extended to include on-site solar generation or electric-vehicle charging by adding the corresponding variables to the MILP.
- Commercial or multi-home settings with the same tariff structure would be a direct next application.
Load-bearing premise
Simple forecasts of loads and prices are accurate enough for the MPC policy to reach near-prescient performance.
What would settle it
If the MPC policy applied to the Trondheim year-long dataset produces a cost more than 3% above the prescient MILP bound, the claim of near-optimality would be falsified.
Figures
read the original abstract
We consider the problem of operating a battery in a home connected to the grid to minimize electricity cost, which combines an energy charge and a tiered peak power charge based on the average of the $N$ largest daily peak powers in each billing month. With perfect foresight of loads and prices, the minimum cost is the solution of a mixed-integer linear program (MILP), which provides a lower bound on the cost of any implementable policy. We propose a model predictive control (MPC) policy that uses simple forecasts of loads and prices and solves a small MILP at each time step. Numerical experiments on one year of data from a home in Trondheim, Norway, show that the MPC policy attains a cost within $1.7\%$ of the prescient bound, and saves close to three times as much as the best rule-based policy we consider.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript formulates the home battery dispatch problem under a tariff combining energy charges and a tiered peak power charge (based on the average of the N largest daily peak powers per billing month) as a mixed-integer linear program (MILP) when loads and prices are known in advance. This prescient MILP provides a lower bound on achievable cost. The authors propose a model predictive control (MPC) policy that solves a smaller MILP at each time step using simple forecasts of loads and prices. On one year of real load and price data from a home in Trondheim, Norway, the MPC policy achieves a cost within 1.7% of the prescient bound and saves approximately three times as much as the best rule-based policy considered.
Significance. The work demonstrates a practical, implementable policy that comes close to the theoretical optimum for battery operation under a realistic and complex tariff structure. The direct comparison to the prescient MILP bound on real data provides strong evidence of near-optimality without circularity or post-hoc fitting. This could be significant for the design of home energy management systems and for understanding the value of storage under peak-power tariffs.
minor comments (2)
- [Abstract / Problem formulation] The value of N (number of largest daily peaks averaged for the tiered charge) is not stated in the abstract or problem statement; it should be given explicitly with a citation to the relevant equation or section.
- [MPC policy description] The description of the 'simple forecasts' used inside the MPC (e.g., persistence, moving average, or other) is brief; adding one sentence or a short paragraph on their exact construction would improve reproducibility.
Simulated Author's Rebuttal
We are grateful to the referee for their positive assessment of our manuscript and their recommendation to accept.
Circularity Check
No significant circularity detected
full rationale
The paper's central claim is an empirical performance comparison on one year of real load/price data from Trondheim: the proposed MPC policy (small MILP per step with simple forecasts) achieves cost within 1.7% of an independently solved prescient MILP bound and outperforms rule-based policies by a factor of ~3. The prescient bound is obtained by direct MILP encoding of the tiered tariff with perfect foresight; no parameters are fitted to the reported outcomes, no predictions reduce to fitted inputs by construction, and no self-citation chains or uniqueness theorems are invoked to justify the modeling steps. The MILP formulations follow standard mixed-integer linear programming for battery dispatch and are self-contained against external benchmarks.
Axiom & Free-Parameter Ledger
axioms (2)
- standard math The optimization problems can be solved to optimality as MILPs for the relevant problem sizes
- domain assumption Simple forecasts of loads and prices are adequate inputs for the MPC policy
Reference graph
Works this paper leans on
-
[1]
On the optimal inventory equation,
R. Bellman, I. Glicksberg, and O. Gross, “On the optimal inventory equation,” Management Science, vol. 2, no. 1, pp. 83–104, 1955
work page 1955
-
[2]
The theory of maximum kw demand charges for electricity,
S. Berg and A. Savvides, “The theory of maximum kw demand charges for electricity,” Energy economics, vol. 5, no. 4, pp. 258–266, 1983
work page 1983
-
[3]
The economics of electricity demand charges,
S. Henderson, “The economics of electricity demand charges,” The Energy Journal, vol. 4, no. Special Issue, 1983
work page 1983
-
[4]
Assessment of utility side cost savings from battery energy storage,
J. Alt, M. Anderson, and R. Jungst, “Assessment of utility side cost savings from battery energy storage,” IEEE Transactions on Power Systems , vol. 12, no. 3, pp. 1112–1120, 1997
work page 1997
-
[5]
E. Andersen and K. Andersen, “The mosek interior point optimizer for lin- ear programming: An implementation of the homogeneous algorithm,” High performance optimization, pp. 197–232, 2000
work page 2000
-
[6]
The elements of statistical learning. springer series in statistics,
T. Hastie, R. Tibshirani, and J. Friedman, “The elements of statistical learning. springer series in statistics,” New York, NY, USA , 2001
work page 2001
-
[7]
S. Boyd and L. Vandenberghe, Convex optimization . Cambridge university press, 2004
work page 2004
-
[8]
J. Forrest and R. Lougee-Heimer, “CBC user guide,” in Emerging theory, meth- ods, and applications, INFORMS, 2005, pp. 257–277
work page 2005
-
[9]
Value analysis of bat- tery energy storage applications in power systems,
A. Oudalov, D. Chartouni, C. Ohler, and G. Linhofer, “Value analysis of bat- tery energy storage applications in power systems,” in 2006 IEEE PES Power Systems Conference and Exposition , IEEE, 2006, pp. 2206–2211
work page 2006
-
[10]
Residential customer response to real-time pricing: The anaheim critical peak pricing experiment,
F. Wolak, “Residential customer response to real-time pricing: The anaheim critical peak pricing experiment,” 2007
work page 2007
-
[11]
Chal- lenges in integrating distributed energy storage systems into future smart grid,
A. Mohd, E. Ortjohann, A. Schmelter, N. Hamsic, and D. Morton, “Chal- lenges in integrating distributed energy storage systems into future smart grid,” in 2008 IEEE international symposium on industrial electronics , IEEE, 2008, pp. 1627–1632
work page 2008
-
[12]
SCIP: Solving constraint integer programs,
T. Achterberg, “SCIP: Solving constraint integer programs,” Mathematical Programming Computation, vol. 1, pp. 1–41, 2009
work page 2009
-
[13]
H. Farhangi, “The path of the smart grid,” IEEE power and energy magazine , vol. 8, no. 1, pp. 18–28, 2009
work page 2009
-
[14]
User’s manual for CPLEX v12.1 , 2009. 37
work page 2009
-
[15]
Electrical energy storage for the grid: A battery of choices,
B. Dunn, H. Kamath, and J.-M. Tarascon, “Electrical energy storage for the grid: A battery of choices,” Science, vol. 334, no. 6058, pp. 928–935, 2011
work page 2011
-
[16]
Using vehicle-to-grid technology for frequency reg- ulation and peak-load reduction,
C. White and M. Zhang, “Using vehicle-to-grid technology for frequency reg- ulation and peak-load reduction,” Journal of Power Sources , vol. 196, no. 8, pp. 3972–3980, 2011
work page 2011
-
[17]
W. Cole, T. Edgar, and A. Novoselac, “Use of model predictive control to enhance the flexibility of thermal energy storage cooling systems,” in 2012 American Control Conference (ACC), IEEE, 2012, pp. 2788–2793
work page 2012
-
[18]
Free Software Foundation, GLPK - GNU linear programming kit , https:// www.gnu.org/software/glpk/, 2012
work page 2012
-
[19]
Demand reduction in building energy systems based on economic model predictive control,
J. Ma, J. Qin, T. Salsbury, and P. Xu, “Demand reduction in building energy systems based on economic model predictive control,” Chemical Engineering Science, vol. 67, no. 1, pp. 92–100, 2012
work page 2012
-
[20]
National utility rate database,
S. Ong and R. McKeel, “National utility rate database,” National Renewable Energy Lab.(NREL), Golden, CO (United States), Tech. Rep., 2012
work page 2012
-
[21]
Dynamic network energy man- agement via proximal message passing,
M. Kraning, E. Chu, J. Lavaei, S. Boyd, et al., “Dynamic network energy man- agement via proximal message passing,” Foundations and Trends ® in Opti- mization, vol. 1, no. 2, pp. 73–126, 2013
work page 2013
-
[22]
L. Sigrist, E. Lobato, and L. Rouco, “Energy storage systems providing primary reserve and peak shaving in small isolated power systems: An economic assess- ment,” International Journal of Electrical Power & Energy Systems , vol. 53, pp. 675–683, 2013
work page 2013
-
[23]
Security con- strained optimal power flow via proximal message passing,
S. Chakrabarti, M. Kraning, E. Chu, R. Baldick, and S. Boyd, “Security con- strained optimal power flow via proximal message passing,” in 2014 Clemson university power systems conference, IEEE, 2014, pp. 1–8
work page 2014
-
[24]
Today in energy: February archive,
T. Shear, “Today in energy: February archive,” US Energy Information Ad- ministration (EIA), Independent statistics & Analysis , 2014
work page 2014
-
[25]
CVXPY: A Python-embedded modeling language for convex optimization,
S. Diamond and S. Boyd, “CVXPY: A Python-embedded modeling language for convex optimization,”Journal of Machine Learning Research, vol. 17, no. 83, pp. 1–5, 2016
work page 2016
-
[26]
A. Lucas and S. Chondrogiannis, “Smart grid energy storage controller for frequency regulation and peak shaving, using a vanadium redox flow battery,” International Journal of Electrical Power & Energy Systems , vol. 80, pp. 26– 36, 2016. 38
work page 2016
-
[27]
Tariff reform for a smarter grid,
Norwegian Water Resources and Energy Directorate, “Tariff reform for a smarter grid,” NVE Report, Tech. Rep. 62, 2016
work page 2016
-
[28]
R. Sebasti´ an, “Application of a battery energy storage for frequency regulation and peak shaving in a wind diesel power system,” IET Generation, Transmis- sion & Distribution , vol. 10, no. 3, pp. 764–770, 2016
work page 2016
-
[29]
P. Simshauser, “Distribution network prices and solar pv: Resolving rate insta- bility and wealth transfers through demand tariffs,”Energy Economics, vol. 54, pp. 108–122, 2016
work page 2016
-
[30]
M. Jones and M. Peet, “Solving dynamic programming with supremum terms in the objective and application to optimal battery scheduling for electricity consumers subject to demand charges,” in 2017 IEEE 56th Annual Conference on Decision and Control (CDC) , IEEE, 2017, pp. 1323–1329
work page 2017
-
[31]
J. McLaren, P. Gagnon, and S. Mullendore, “Identifying potential markets for behind-the-meter battery energy storage: A survey of us demand charges,” National Renewable Energy Lab.(NREL), Golden, CO (United States), Tech. Rep., 2017
work page 2017
-
[32]
Designing more cost reflec- tive electricity network tariffs with demand charges,
R. Passey, N. Haghdadi, A. Bruce, and I. MacGill, “Designing more cost reflec- tive electricity network tariffs with demand charges,” Energy Policy, vol. 109, pp. 642–649, 2017
work page 2017
-
[33]
Dynamic energy management with scenario-based robust mpc,
M. Wytock, N. Moehle, and S. Boyd, “Dynamic energy management with scenario-based robust mpc,” in 2017 American Control Conference (ACC) , IEEE, 2017, pp. 2042–2047
work page 2017
-
[34]
S. Boyd and L. Vandenberghe, Introduction to applied linear algebra: vectors, matrices, and least squares . Cambridge university press, 2018
work page 2018
-
[35]
Parallelizing the dual revised simplex method,
Q. Huangfu and J. Hall, “Parallelizing the dual revised simplex method,” Math- ematical Programming Computation, vol. 10, no. 1, pp. 119–142, 2018
work page 2018
-
[36]
A stochastic model predictive control framework for stationary battery systems,
R. Kumar, M. Wenzel, M. Ellis, M. ElBsat, K. Drees, and V. Zavala, “A stochastic model predictive control framework for stationary battery systems,” IEEE Transactions on Power Systems , vol. 33, no. 4, pp. 4397–4406, 2018
work page 2018
-
[37]
M. Nicolson, M. Fell, and G. Huebner, “Consumer demand for time of use electricity tariffs: A systematized review of the empirical evidence,” Renewable and Sustainable Energy Reviews , vol. 97, pp. 276–289, 2018
work page 2018
-
[38]
N. Moehle, E. Busseti, S. Boyd, and M. Wytock, “Dynamic energy manage- ment,” Large Scale Optimization in Supply Chains and Smart Manufacturing: Theory and Applications, pp. 69–126, 2019. 39
work page 2019
-
[39]
Economic model predictive control for time- varying cost and peak demand charge optimization,
M. Risbeck and J. Rawlings, “Economic model predictive control for time- varying cost and peak demand charge optimization,” IEEE Transactions on Automatic Control, vol. 65, no. 7, pp. 2957–2968, 2019
work page 2019
-
[40]
M. Jones and M. Peet, “Extensions of the dynamic programming framework: Battery scheduling, demand charges, and renewable integration,” IEEE Trans- actions on Automatic Control , vol. 66, no. 4, pp. 1602–1617, 2020
work page 2020
-
[41]
The pandas development team, Pandas-dev/pandas: Pandas , version latest, Feb. 2020
work page 2020
-
[42]
Optimal management of the peak power penalty for smart grids using MPC-based reinforcement learning,
W. Cai, H. Esfahani, A. Kordabad, and S. Gros, “Optimal management of the peak power penalty for smart grids using MPC-based reinforcement learning,” in 2021 60th IEEE Conference on Decision and Control (CDC) , IEEE, 2021, pp. 6365–6370
work page 2021
-
[43]
W. Cai, A. Kordabad, and S. Gros, “Energy management in residential micro- grid using model predictive control-based reinforcement learning and Shapley value,” Engineering Applications of Artificial Intelligence , vol. 119, p. 105 793, 2023
work page 2023
-
[44]
Gurobi Optimization, LLC, Gurobi Optimizer Reference Manual, 2023
work page 2023
-
[45]
Nord Pool, Nord Pool: Power market operations , 2023. 40
work page 2023
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.