Data-driven optimization for microgrid control under distributed energy resource variability | Synapse