Economic nonlinear MPC for a population of thermostatically controlled loads


Thermostatically controlled loads, including heat pumps, electrical space heaters, air-conditioners, electrical boilers, and refrigerators, have a large potential to provide regulation services to energy systems. In this paper, we design a price-responsive control system for aggregating and coordinating a population of thermostatically controlled loads, each with a relatively small power consumption. The goal is to shift electricity consumption of the whole group to the periods with low electricity prices. Model predictive control is an advanced control method, which can naturally include electricity price and weather forecasts as well as the dynamics of the loads into the control problem. The main challenge is to find an accurate aggregate model describing demand response of the population. The proposed solution is a nonlinear modification of bin state transition model, which is further used for formulating nonlinear mixed integer optimization problem. The control objective is to minimize operational cost of the population. As a case study, we consider a population of electrical space heaters. The numerical simulations demonstrate the accuracy of the obtained model and that the proposed control system reduces the operational cost up to 20%, whereas the customer comfort is not compromised.

This is a preview of subscription content, log in to check access.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14


  1. 1.

    Backhaus S, Sinitsyn N, Kundu S, Hiskens I (2011) Modeling and control of thermostatically controlled loads. Los Alamos National Laboratory (LANL), Tech. Rep

  2. 2.

    Blaabjerg F, Iov F, Kerekes T, Teodorescu R, Ma K (2011) Power electronics-key technology for renewable energy systems. In: Power Electronics, Drive Systems and Technologies Conference (PEDSTC), 2011 2nd, pp. 445–466. IEEE

  3. 3.

    Clarke WC, Manzie C, Brear MJ (2016) An economic mpc approach to microgrid control. In: 2016 Australian Control Conference (AuCC), pp. 276–281

  4. 4.

    Clausen A, Ghatikar G, et al (2014) Load management of data centers as regulation capacity in denmark. In: Green Computing Conference (IGCC), 2014 International, pp. 1–10. IEEE

  5. 5.

    Corradi O, Ochsenfeld H, Madsen H (2013) Pinson P Controlling electricity consumption by forecasting its response to varying prices. IEEE Trans Power Syst 28(1):421–430

    Article  Google Scholar 

  6. 6.

    Halvgaard R, Poulsen NK, Madsen H, Jørgensen JB (2012) Economic model predictive control for building climate control in a smart grid. In: Innovative Smart Grid Technologies (ISGT), 2012 IEEE PES, pp. 1–6. IEEE

  7. 7.

    Halvgaard R, Poulsen NK, Madsen H, Jørgensen JB (2013) Thermal storage power balancing with model predictive control. In: Control Conference (ECC), 2013 European, pp. 2567–2572. IEEE

  8. 8.

    Hammerstrom D, Ambrosio R, Brous J, Carlon T, Chassin D, DeSteese J, Guttromson R, Horst G, Järvegren O, Kajfasz R, et al. (2007) Pacific northwest gridwise testbed demonstration projects. Part I. Olympic Peninsula Project 210

  9. 9.

    Hao H, Sanandaji BM, Poolla K, Vincent TL (2015) Aggregate flexibility of thermostatically controlled loads. IEEE Trans Power Syst 30(1):189–198

  10. 10.

    Hao H, Sanandaji BM, Poolla K, Vincent TL (2015) Potentials and economics of residential thermal loads providing regulation reserve. Energy Policy 79:115–126

    Article  Google Scholar 

  11. 11.

    Jørgensen JB (2007) Adjoint sensitivity results for predictive control, state-and parameter-estimation with nonlinear models. In: Control Conference (ECC), 2007 European, pp. 3649–3656. IEEE

  12. 12.

    Koch S, Mathieu JL, Callaway DS (2011) Modeling and control of aggregated heterogeneous thermostatically controlled loads for ancillary services. In: Proc. PSCC, pp. 1–7

  13. 13.

    Meibom P, Hilger KB, Madsen H, Vinther D (2013) Energy comes together in Denmark: the key to a future fossil-free danish power system. IEEE Power Energy Mag 11(5):46–55

    Article  Google Scholar 

  14. 14.

    Perfumo C, Braslavsky JH, Ward JK (2014) Model-based estimation of energy savings in load control events for thermostatically controlled loads. IEEE Trans Smart Grid 5(3):1410–1420

    Article  Google Scholar 

  15. 15.

    Perfumo C, Kofman E, Braslavsky JH, Ward JK (2012) Load management: Model-based control of aggregate power for populations of thermostatically controlled loads. Energy Convers Manag 55:36–48

    Article  Google Scholar 

  16. 16.

    Petersen LN, Jørgensen JB (2014) Real-time economic optimization for a fermentation process using model predictive control. In: Control Conference (ECC), 2014 European, pp. 1831–1836. IEEE

  17. 17.

    Petersen LN, Jørgensen JB, Rawlings JB (2015) Economic optimization of spray dryer operation using nonlinear model predictive control with state estimation. IFAC-Papers Line 48(8):507–513

    Article  Google Scholar 

  18. 18.

    Petersen LN, Poulsen NK, Niemann HH, Utzen C, Jørgensen JB (2014) Economic optimization of spray dryer operation using nonlinear model predictive control. In: Decision and Control (CDC), 2014 IEEE 53rd Annual Conference on, pp. 6794–6800. IEEE

  19. 19.

    Sanandaji BM, Hao H, Poolla K (2014) Fast regulation service provision via aggregation of thermostatically controlled loads. In: System Sciences (HICSS), 2014 47th Hawaii International Conference on, pp. 2388–2397. IEEE

  20. 20.

    Totu LC (2015) Large scale demand response of thermostatic loads. Ph.D. thesis, Ph. D. dissertation, Faculty of Engineering and Science, Aalborg University

  21. 21.

    Yoon JH, Baldick R, Novoselac A (2014) Dynamic demand response controller based on real-time retail price for residential buildings. IEEE Trans Smart Grid 5(1):121–129

    Article  Google Scholar 

  22. 22.

    Zhang W, Kalsi K, Fuller J, Elizondo M, Chassin D (2012) Aggregate model for heterogeneous thermostatically controlled loads with demand response. In: Power and Energy Society General Meeting, 2012 IEEE, pp. 1–8. IEEE

  23. 23.

    Zhang W, Lian J, Chang CY, Kalsi K (2013) Aggregated modeling and control of air conditioning loads for demand response. IEEE Trans Power Syst 28(4):4655–4664

    Article  Google Scholar 

Download references

Author information



Corresponding author

Correspondence to Nikita Zemtsov.

Additional information

This work has partly been funded by CITIES (the Danish Innovation Fund - DSF 13095-00027B) and partly by the Student Grant Competition of the Technical University of Liberec.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Zemtsov, N., Hlava, J., Frantsuzova, G. et al. Economic nonlinear MPC for a population of thermostatically controlled loads. Comput Sci Res Dev 33, 157–167 (2018).

Download citation


  • Smart energy grid
  • Economic model predictive control
  • Nonlinear model predictive control
  • Thermostatically controlled loads
  • Aggregate modeling
  • Nonlinear bin state transition model