EI is also known as “Enernet”, which is an Internet of energy (IOE). EI is an integration of DRERs, DESDs, real-time energy monitoring, information sharing, real-time pricing, and energy transactions. EI aims to transform energy production, storage, and transport into. This project focuses on the Energy Internet as a large-scale cyber-physical system that virtualizes electric energy in packets to manage supply and demand in distribution grids, considering the existence of batteries and flexible consumption.