TY - JOUR
T1 - A hybrid machine learning and optimization framework for energy forecasting and management
AU - Parvathareddy, Sravani
AU - Yahya, Abid
AU - Amuhaya, Lilian
AU - Samikannu, Ravi
AU - Suglo, Raymond Sogna
N1 - Publisher Copyright:
© 2025 The Author(s)
PY - 2025/6
Y1 - 2025/6
N2 - Accurate energy prediction and load optimization are crucial for improving grid efficiency and lowering operational costs in industrial and commercial energy systems. This study presents a hybrid framework that combines Fourier Transform (FT)-based transformers for high-resolution energy forecasting with an improved Covariance Matrix Adaptation Evolution Strategy (CMA-ES)-based genetic algorithm for optimal load scheduling. The novelty of this paper lies in the integration of FT-transformers with optimization algorithms to enhance forecasting accuracy and scheduling efficiency, offering a scalable solution for industrial-scale energy management. The FT-transformer model utilizes self-attention mechanisms and Fourier-based seasonality encoding to capture long-term dependencies, achieving a Mean Absolute Error (MAE) of 3.03×105 kWh and a Root Mean Square Error (RMSE) of 3.31×105 kWh, representing an improvement of 48% over traditional Recurrent Neural Networks (RNNs). The optimization component uses a multi-objective genetic algorithm CMA-ES to minimize peak energy demand fluctuations, reducing them by 27% while also minimizing cost deviations. Comparative analysis across various forecasting models, including RNNs, tree-based models, and CMA-ES, shows that the proposed method consistently outperforms existing techniques in both precision and computational efficiency. Scalability assessments indicate that, with their parallel processing capabilities, FT-transformers decrease the inference time by 38% compared to sequential models, making them suitable for real-time deployment in energy management systems. This study contributes to the field by integrating advanced machine learning with optimization for demand-side management, providing a scalable and efficient solution for industrial-scale energy forecasting. Future research will extend this framework with probabilistic forecasting and reinforcement learning for adaptive load control in dynamic energy environments.
AB - Accurate energy prediction and load optimization are crucial for improving grid efficiency and lowering operational costs in industrial and commercial energy systems. This study presents a hybrid framework that combines Fourier Transform (FT)-based transformers for high-resolution energy forecasting with an improved Covariance Matrix Adaptation Evolution Strategy (CMA-ES)-based genetic algorithm for optimal load scheduling. The novelty of this paper lies in the integration of FT-transformers with optimization algorithms to enhance forecasting accuracy and scheduling efficiency, offering a scalable solution for industrial-scale energy management. The FT-transformer model utilizes self-attention mechanisms and Fourier-based seasonality encoding to capture long-term dependencies, achieving a Mean Absolute Error (MAE) of 3.03×105 kWh and a Root Mean Square Error (RMSE) of 3.31×105 kWh, representing an improvement of 48% over traditional Recurrent Neural Networks (RNNs). The optimization component uses a multi-objective genetic algorithm CMA-ES to minimize peak energy demand fluctuations, reducing them by 27% while also minimizing cost deviations. Comparative analysis across various forecasting models, including RNNs, tree-based models, and CMA-ES, shows that the proposed method consistently outperforms existing techniques in both precision and computational efficiency. Scalability assessments indicate that, with their parallel processing capabilities, FT-transformers decrease the inference time by 38% compared to sequential models, making them suitable for real-time deployment in energy management systems. This study contributes to the field by integrating advanced machine learning with optimization for demand-side management, providing a scalable and efficient solution for industrial-scale energy forecasting. Future research will extend this framework with probabilistic forecasting and reinforcement learning for adaptive load control in dynamic energy environments.
KW - Deep learning
KW - Energy management
KW - Genetic algorithm
KW - Self-attention mechanism
KW - Transformer model
UR - http://www.scopus.com/inward/record.url?scp=105005938801&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=105005938801&partnerID=8YFLogxK
U2 - 10.1016/j.rineng.2025.105425
DO - 10.1016/j.rineng.2025.105425
M3 - Article
AN - SCOPUS:105005938801
SN - 2590-1230
VL - 26
JO - Results in Engineering
JF - Results in Engineering
M1 - 105425
ER -