Competitive prediction-aware online algorithms for energy generation scheduling in microgrids | Synapse