Model predictive control (MPC) is an advanced control technique that is able to flexibly deal with complex, multivariable systems with high performance demands operating under constraints. MPC becomes more and more important in the field of renewable energy systems because it can account systematically for the complex and varying system demands while maximizing resource efficiency during operation. During the lectures the following topics will be treated: Introduction to MPC for energy systems Overview of traditional and advanced control concepts Basics of simulation and optimization Fundamentals and solution methods of linear MPC Fundamentals and solution methods of nonlinear MPC Modeling and control of building energy systems Modeling and control of solar energy plants Modeling and control of wind energy plants Bi-weekly voluntary exercises will be provided in order to help the student to understand the theory better.