A Systematic Review on Local Microgrids Optimization and Emerging Trends | Synapse