This article presents an optimal distributed energy resource management system for a smart grid connected to photovoltaics, battery storage, and electric vehicle aggregator. These systems are one of the key factors control power converters grid. The proposed includes communication architecture necessary realizing information flow between individual generators master supervisory algorithm. work ...