Statistics for A robust optimization-based model predictive control of the energy management within grid-connected microgrids