Statistics for Simulation, design and implementation of energy management system for hybrid microgrid