Online Algorithms for Optimal Energy Distribution in Microgrids nidottuEnglanti, 2015