Open source algorithms for maximizing V2G flexibility based on model predictive control

Journal Article (2026)
Author(s)

Cesar Diaz-Londono (Center for Research on Microgrids (CROM))

Stavros Orfanoudakis (TU Delft - Intelligent Electrical Power Grids)

P.P. Vergara Barrios (TU Delft - Intelligent Electrical Power Grids)

P. Palensky (TU Delft - Electrical Sustainable Energy)

Fredy Ruiz (Politecnico di Milano)

Giambattista Gruosso (Politecnico di Milano)

Research Group
Intelligent Electrical Power Grids
DOI related publication
https://doi.org/10.1016/j.epsr.2025.112082
More Info
expand_more
Publication Year
2026
Language
English
Research Group
Intelligent Electrical Power Grids
Volume number
250
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Integrating electric vehicles (EVs) into the power grid can revolutionize energy management strategies, offering both challenges and opportunities for creating a more sustainable and resilient grid. In this context, model predictive control (MPC) emerges as a powerful tool for addressing the complexities of Grid-to-Vehicle (G2V) and Vehicle-to-Grid (V2G) enabled demand response management. By leveraging advanced optimization techniques, MPC algorithms can anticipate future grid conditions and dynamically adjust EV charging and discharging schedules. However, no standard tools exist to evaluate novel energy management strategies based on MPC approaches. This work focuses on harnessing the potential of MPC in G2V and V2G applications by providing open-source algorithms that allow the maximization of EV flexibility and support demand response initiatives while mitigating the impact on EV battery health. Through extensive simulation and analysis, we demonstrate the efficacy of our approach in maximizing the benefits of G2V and V2G while assessing the impact on the longevity and reliability of EV batteries. Specifically, the proposed methods enable the optimization of EV charging and discharging schedules in real-time, taking into account fluctuating energy prices, grid constraints, and EV user preferences.