Explainable Artificial Intelligence for Three-Hour-Ahead Natural Gas Consumption Forecasting with Uncertainty Quantification
Dmytro Tymoshchuk, Grigorii Shymchuk, Iaroslav Lytvynenko, Serhii Lupenko, Mariusz Rząsa
Key points
From the paper's conclusion- The findings are limited to forecasting for a single city and one test year.
Abstract
This study investigates short-term natural gas consumption forecasting in the city of Ternopil and the contribution of different feature groups to forecasting accuracy. Synchronized natural gas consumption and meteorological observations from 2007 to 2019 were used. A total of 203 calendar, meteorological, and derived features were constructed. Six machine learning models, three naive baseline forecasts, and a seasonal ETS model were compared. Hyperparameters were optimized using Optuna, model performance was evaluated using six temporal folds with an expanding training window, and final testing was conducted on data from 2019. XGBoost achieved the lowest mean root mean squared error of 4307.13 ± 280.29 m3 across the cross-validation folds and a root mean squared error of 6517.29 m3 on the test set. No statistically significant difference was found between XGBoost and Random Forest, although both models outperformed the baseline forecasts. Feature ablation analysis showed that adding historical gas consumption features to calendar features reduced the mean root mean squared error by 81.42%. Adding meteorological features to a feature set that already included consumption history further reduced this error by 0.51%. Among the features evaluated for XGBoost, gas consumption 24 h before the target interval had the highest mean absolute SHAP value. The adaptive online conformal method produced prediction intervals that contained the observed consumption in 89.32% of cases, compared with a nominal coverage level of 90%. However, these intervals had the largest mean width among the prediction interval methods considered. The findings are limited to forecasting for a single city and one test year.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Interpretable Machine Learning for Municipal Residential Gas Consumption: Integrating Climate, Building Stock, and Socioeconomic DriversSustainability · 2026
- A hybrid XGBoost-RF residual learning model for energy consumption forecasting.Frontiers in artificial intelligence · 2026
- 2050 Subnational Residential Natural Gas Demand Forecasting Using Pooled Panel DataEnergies · 2026
- Data-Driven Prediction of Provincial Energy Consumption in China and Its Implications for Sustainable Development PolicySustainability · 2026
- Probabilistic electrical power demand forecasting with uncertainty quantificationarXiv · 2026
- Residential energy consumption dynamics: A SHAP-based interpretation, k-means clustering, and predictive modellingGreen Energy and Resources · 2026