Evaluating microgrid effectiveness in transitioning energy portfolios