Model-based Predictive Control