Considering the background of the Energiewende challenges like energy efficiency and flexibility become more important for the industrial production. A smart building automation system is able to decrease energy costs and improve the performance of supply systems. Model-based predictive control (MPC) is a suitable approach to optimize complex energetic systems as presented in the ETA model factory at Technical University of Darmstadt.