A review on recent developments in control and optimization of micro grids | Synapse