I. Introduction
In recent years, maintaining the dynamic power balance of power grids has become a challenge due to the uncertainty introduced by Distributed Energy Resources (DERs) such as photovoltaic (PV) and wind energy generators, electric vehicles, etc. These DERs create congestion and imbalance on the grid due to unmanageable production and consumption of energy, so, optimal Energy Management Systems (EMS) are required to operate the grid appropriately. These kinds of systems can reduce the overall cost of energy supply in the day-ahead economic power dispatch and in the real-time operation [1], [2].