Reinforcement learning for control of flexibility providers in a residential microgrid. Issue 1 (12th November 2019)