Similar Items: Optimized Dual ANN Control Technique for Efficient Energy Management System (EMS) of Microgrid