Comparison and Explanation of Forecasting Algorithms for Energy Time Series