Optimal Management of Energy Consumption and Comfort for Smart Buildings Operating in a Microgrid

Jerson A. Pinzon*, Pedro P. Vergara, Luiz C.P. Da Silva, Marcos J. Rider

*Corresponding author for this work

Research output: Contribution to journalArticleScientificpeer-review

67 Citations (Scopus)


This paper presents a mixed integer non-linear programming model to optimize, in a centralized fashion, the operation of multiple buildings in a microgrid. The proposed model aims to minimize the total cost of the energy imported from the main grid at the interconnection point, managing the power demand and generation of buildings, while operational constraints of the electrical grid are guaranteed. This approach considers the management of heating, ventilation, and air conditioning units, lighting appliances, photovoltaic generation and energy storage system of each building. Comfortable indoor conditions for the occupants are kept by a set of mathematical constraints. Additionally, a strategy that simplifies the original model is presented, based on a set of linearization techniques and equivalent representations, obtained through a pre-processing stage executed in EnergyPlus software. This strategy allows approximating the proposed model into a mixed integer linear programming formulation that can be solved using commercial solvers. The proposed model was tested in a 13-bus microgrid for different deterministic cases of study with non-manageable loads and smart buildings. A large-size test case is also considered. Finally, a rolling horizon strategy is proposed with the aim of addressing the uncertainty of the data, as well as reducing the amount of forecasting data required.

Original languageEnglish
Article number8330050
Pages (from-to)3236-3247
Number of pages12
JournalIEEE Transactions on Smart Grid
Issue number3
Publication statusPublished - 2019
Externally publishedYes


  • energy and comfort management
  • linear programming
  • microgrid
  • optimization
  • Smart buildings


Dive into the research topics of 'Optimal Management of Energy Consumption and Comfort for Smart Buildings Operating in a Microgrid'. Together they form a unique fingerprint.

Cite this