Multi-Agent Model Predictive Control with Applications to Power Networks door