A Two-Layer Stochastic Model Predictive Control Scheme for Microgrids | Synapse