Abstract
Model Predictive Control (MPC) can be used to control the energy distribution in a Smart Grid with a high share of stochastic energy production from renewable energy sources like wind. Heat pumps for heating residential buildings can exploit the slow heat dynamics of a building to store heat and hereby shift the heat pump power consumption to periods with both low electricity prices and a high fraction of green energy in the grid.