Data Compression for Time Series Modelling: A Case Study of Smart Grid Demand Forecasting
Mikkel Bue Lykkegaard, Svend Vendelbo Nielsen, Akanksha Upadhyay, Mikkel Bendixen Copeland, Philipp Trénell
TL;DR
This study tackles the challenge of managing large volumes of high-frequency time series data in smart energy systems by evaluating Discrete Wavelet Transform (DWT)-based lossy compression. It benchmarks three forecasting models—Ordinary Least Squares (OLS), XGBoost, and TiDE—on a seawater intake system under varying compression rates and biorthogonal wavelets, using Normalized Mutual Information (NMI) to quantify information retention. Key findings show that XGBoost is robust to compression artifacts across wavelets and rates, while OLS is sensitive to smoother, high-rate compressions; TiDE displays competitive but variable performance. The results demonstrate that, with carefully chosen wavelets and compression levels, wavelet-based compression can dramatically reduce data storage needs without sacrificing forecasting accuracy, informing edge- and cloud-based deployment in smart grids and related high-frequency forecasting domains.
Abstract
Efficient time series forecasting is essential for smart energy systems, enabling accurate predictions of energy demand, renewable resource availability, and grid stability. However, the growing volume of high-frequency data from sensors and IoT devices poses challenges for storage and transmission. This study explores Discrete Wavelet Transform (DWT)-based data compression as a solution to these challenges while ensuring forecasting accuracy. A case study of a seawater supply system in Hirtshals, Denmark, operating under dynamic weather, operational schedules, and seasonal trends, is used for evaluation. Biorthogonal wavelets of varying orders were applied to compress data at different rates. Three forecasting models - Ordinary Least Squares (OLS), XGBoost, and the Time Series Dense Encoder (TiDE) - were tested to assess the impact of compression on forecasting performance. Lossy compression rates up to $r_{\mathrm{lossy}} = 0.999$ were analyzed, with the Normalized Mutual Information (NMI) metric quantifying the relationship between compression and information retention. Results indicate that wavelet-based compression can retain essential features for accurate forecasting when applied carefully. XGBoost proved highly robust to compression artifacts, maintaining stable performance across diverse compression rates. In contrast, OLS demonstrated sensitivity to smooth wavelets and high compression rates, while TiDE showed some variability but remained competitive. This study highlights the potential of wavelet-based compression for scalable, efficient data management in smart energy systems without sacrificing forecasting accuracy. The findings are relevant to other fields requiring high-frequency time series forecasting, including climate modeling, water supply systems, and industrial operations.
