Effect of uncertainty on optimization of microgrids | Synapse