Motivated by a specific application in electricity distribution networks, we present a hierarchical model predictive control algorithm for scheduling energy storage devices. We demonstrate that, for the proposed optimization problem, the alternating direction method of multipliers can be implemented in a distributed fashion. Numerical experiments supporting the theoretical results are provided