Power Consumption Forecasting for Industrial Systems

Published:

Overview

In my Bachelor’s thesis at HTWG Konstanz, I developed and compared machine learning models for forecasting industrial power consumption. The work involved preprocessing production-related time series data, training multiple models, and evaluating them using standard error metrics.

The project was conducted using real-world production data provided by the industrial company Fondium in Singen, Germany, and focused on improving prediction accuracy for energy management.

Methods & Tools

  • Data Processing: Python (Pandas, NumPy, Scikit-learn, statsmodels)
  • Models: ARIMA, LSTM (PyTorch), XGBoost
  • Evaluation Metrics: MAE, RMSE, R²
  • Visualization: Matplotlib, Seaborn
  • Environment: PyCharm, Anaconda

Results

  • XGBoost and LSTM achieved the highest prediction accuracy (R² ≈ 0.95), with XGBoost being significantly faster in training.
  • An application scenario demonstrated potential weekly cost savings of around €309 through optimized production scheduling based on model forecasts.

Model performance comparison on validation (10 splits) and test datasets:

ModelMAE (Val.)RMSE (Val.) (Val.)MAE (Test)RMSE (Test) (Test)Training Time
ARIMA33.44242.6250.69832.93241.1440.74169.679 s
LSTM18.07323.4240.91512.48116.3530.95935.371 s
XGBoost16.80121.6570.92713.43618.0320.9500.520 s

These results demonstrate that XGBoost offers an optimal balance between prediction performance and computational efficiency.

Notes: Due to confidentiality, the full thesis document is not publicly available.