Incorporating security risks into natural gas forecasting: An interpretable, policy-oriented machine learning framework

Wenya WANG , Hongyu WU , Jiali ZHAO , Jian SU

Eng. Manag ›› 2026, Vol. 13 ›› Issue (1) : 146 -163.

PDF (5427KB)
Eng. Manag ›› 2026, Vol. 13 ›› Issue (1) :146 -163. DOI: 10.1007/s42524-026-5240-1
Energy and Environmental Systems
RESEARCH ARTICLE
Incorporating security risks into natural gas forecasting: An interpretable, policy-oriented machine learning framework
Author information +
History +
PDF (5427KB)

Abstract

Most existing predictive models remain demand-centric and fail to systematically incorporate supply-side risks such as import dependence, price volatility, and market concentration. Thus, this study proposes a SHAP-driven Weighted Rule Attention Mechanism (SWRAM), and explicitly embeds energy security risk factors including import dependence, market concentration, and price volatility into natural gas consumption forecasting. The model integrates explainable machine learning with a rule-constrained attention mechanism to enable both transparent feature attribution and robust predictive performance, and, when compared with the benchmark models, it demonstrates lower forecasting errors and more stable generalization, thereby validating the effectiveness of embedding SHAP-based rule-constrained weights within the attention mechanism. Using monthly data for China from 2012 to 2024, the results show that supply capacity and infrastructure remain the dominant drivers of natural gas consumption, while risk-related factors have gained importance since 2020, reflecting the impact of global supply-chain instability. Interaction analysis reveals a strong nonlinear coupling between domestic production and import dependence, indicating that insufficient domestic output amplifies exposure to external risks. Price volatility exerts an increasingly significant effect during global energy shocks, especially between 2021 and 2023. These findings suggest that natural gas consumption is shaped jointly by short-term demand cycles and long-term structural dependencies. The SWRAM framework provides an interpretable and policy-oriented tool for improving forecasting reliability and supporting data-driven energy security governance.

Graphical abstract

Keywords

natural gas consumption / risk factors / attention mechanism / SHAP values / machine learning

Cite this article

Download citation ▾
Wenya WANG, Hongyu WU, Jiali ZHAO, Jian SU. Incorporating security risks into natural gas forecasting: An interpretable, policy-oriented machine learning framework. Eng. Manag, 2026, 13(1): 146-163 DOI:10.1007/s42524-026-5240-1

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Agrell P J, Dehaybe H, Rodriguez M H, (2025). Balancing supply security and decarbonization: Optimizing Germany’s LNG port infrastructure under the European Green Deal. Energy Policy, 198: 114484

[2]

Ata B, Pénzes J, Pakrooh P, Lotfata A, Mohammed S, (2025). Comprehensive analysis of factors influencing EU-countries household energy consumption (2000–2022): Trends and vulnerability to COVID-19 and the Russia-Ukraine war. Energy Strategy Reviews, 59: 101728

[3]

Avraam C, Bistline J E T, Brown M, Vaillancourt K, Siddiqui S, (2021). North American natural gas market and infrastructure developments under different mechanisms of renewable policy coordination. Energy Policy, 148: 111855

[4]

Avraam C, Chu D, Siddiqui S, (2020). Natural gas infrastructure development in North America under integrated markets. Energy Policy, 147: 111757

[5]

Aydin M, (2018). Natural gas consumption and economic growth nexus for top 10 natural gas-consuming countries: A granger causality analysis in the frequency domain. Energy, 165: 179–186

[6]

Azlina A A, Law S H, Nik Mustapha N H, (2014). Dynamic linkages among transport energy consumption, income and CO2 emission in Malaysia. Energy Policy, 73: 598–606

[7]

Benigno P, Morana C, Tirelli P, (2025). Introduction to the special issue on macroeconomic regime changes: Theory, evidence, and policy challenges ahead. European Economic Review, 180: 105164

[8]

Bhagat S K, Tiyasha T, Awadh S M, Tung T M, Jawad A H, Yaseen Z M, (2021). Prediction of sediment heavy metal at the Australian Bays using newly developed hybrid artificial intelligence models. Environmental Pollution, 268: 115663

[9]

Bilgili L, (2025). Environmental life cycle assessment of the Russian, Canadian, and Qatari natural gas supply to Europe. Journal of Environmental Management, 387: 125922

[10]

Boţa-Avram C, Apostu S A, Ivan R, Achim M V, (2024). Exploring the impact of macro-determinant factors on energy resource depletion: Evidence from a worldwide cross-country panel data analysis. Energy Economics, 130: 107341

[11]

Cao W, Wang G, Liang X, Hu Z, (2024a). A STAM-LSTM model for wind power prediction with feature selection. Energy, 296: 131030

[12]

Cao X, Zhang Z, Qian Y, Wen Z, (2024b). The spatial pattern, driving factors and evolutionary trend of energy cooperation and consumption in the “Belt and Road Initiative” countries. Energy, 306: 132416

[13]

Chai J, Liang T, Lai K K, Zhang Z G, Wang S, (2018). The future natural gas consumption in China: Based on the LMDI-STIRPAT-PLSR framework and scenario analysis. Energy Policy, 119: 215–225

[14]

Chen YWang CMiao J (2025). Marginal impact of European gas shocks on EU inflation variations: Evidence from a TVP-SVAR-SV approach. Economic Analysis and Policy

[15]

Dai X, Xiao L, Li M C, Wang Q, (2022). Toward energy finance market transition: Does China’s oil futures shake up global spots market. Frontiers of Engineering Management, 9( 3): 409–424

[16]

Demski C, Poortinga W, Whitmarsh L, Böhm G, Fisher S, Steg L, Umit R, Jokinen P, Pohjolainen P, (2018). National context is a key determinant of energy security concerns across Europe. Nature Energy, 3( 10): 882–888

[17]

Di Bella G, Flanagan M, Foda K, Maslova S, Pienkowski A, Stuermer M, Toscani F, (2024). Natural gas in Europe: The potential impact of disruptions to supply. Energy Economics, 138: 107777

[18]

Eskandari H, Saadatmand H, Ramzan M, Mousapour M, (2024). Innovative framework for accurate and transparent forecasting of energy consumption: A fusion of feature selection and interpretable machine learning. Applied Energy, 366: 123314

[19]

Goodell J W, Gurdgiev C, Paltrinieri A, Piserà S, (2023). Global energy supply risk: Evidence from the reactions of European natural gas futures to Nord Stream announcements. Energy Economics, 125: 106838

[20]

Jiang H, Dong X, Jiang Q, Dong K, (2020). What drives China’s natural gas consumption? Analysis of national and regional estimates. Energy Economics, 87: 104744

[21]

Karasu S, Altan A, Bekiros S, Ahmad W, (2020). A new forecasting model with wrapper-based feature selection approach using multi-objective optimization technique for chaotic crude oil time series. Energy, 212: 118750

[22]

Kim J, Jaumotte F, Panton A J, Schwerhoff G, (2025). Energy security and the green transition. Energy Policy, 198: 114409

[23]

Kong F, Li J, Jiang B, Wang H, Song H, (2023). Integrated generative model for industrial anomaly detection via bidirectional LSTM and attention mechanism. IEEE Transactions on Industrial Informatics, 19( 1): 541–550

[24]

Li C, Yang X, Wang L, (2025). Public energy conservation behavior and the impact of tiered pricing: Based on water, electricity and gas consumption measurements in typical urban households in China. Energy Policy, 202: 114593

[25]

Li F, Zhang J, Li X, (2023). Energy security dilemma and energy transition policy in the context of climate change: A perspective from China. Energy Policy, 181: 113624

[26]

Li M, Liu X, Yang M, (2024). Analyzing the regional inequality of renewable energy consumption and its driving factors: Evidence from China. Renewable Energy, 223: 120043

[27]

Li Y, Yang Y, Zhu K, Zhang J, (2021). Clothing sale forecasting by a composite GRU–prophet model with an attention Mechanism. IEEE Transactions on Industrial Informatics, 17( 12): 8335–8344

[28]

Liang T, Chai J, Zhang Y J, Zhang Z G, (2019). Refined analysis and prediction of natural gas consumption in China. Journal of Management Science and Engineering, 4( 2): 91–104

[29]

Liu J, Peng C, Zhang J, (2025). Understanding the relationship between rural morphology and photovoltaic (PV) potential in traditional and non-traditional building clusters using shapley additive exPlanations (SHAP) values. Applied Energy, 380: 125091

[30]

Peng C, Chen H, Lin C, Guo S, Yang Z, Chen K, (2021). A framework for evaluating energy security in China: Empirical analysis of forecasting and assessment based on energy consumption. Energy, 234: 121314

[31]

Qiao W, Yang Z, Kang Z, Pan Z, (2020). Short-term natural gas consumption prediction based on Volterra adaptive filter and improved whale optimization algorithm. Engineering Applications of Artificial Intelligence, 87: 103323

[32]

Sassi F, (2025). The (Un)Intended consequences of power: The global implications of EU LNG strategy to reach independence from Russian gas. Energy Policy, 198: 114494

[33]

Scharf H, Möst D, (2024). Gas power — How much is needed on the road to carbon neutrality. Energy Policy, 187: 114026

[34]

Wang C, Song J, Shi D, Reyna J L, Horsey H, Feron S, Zhou Y, Ouyang Z, Li Y, Jackson R B, (2023). Impacts of climate change, population growth, and power sector decarbonization on urban building energy use. Nature Communications, 14( 1): 6434

[35]

Wang C N, Nguyen T T V, Chiang C C, Le H D, (2024a). Evaluating renewable energy consumption efficiency and impact factors in Asia-pacific economic cooperation countries: A new approach of DEA with undesirable output model. Renewable Energy, 227: 120586

[36]

Wang H, Li Y F, Ren J, (2024b). Machine learning for fault diagnosis of high-speed train traction systems: A review. Frontiers of Engineering Management, 11( 1): 62–78

[37]

Wang T, Lin B, (2014). China’s natural gas consumption and subsidies—From a sector perspective. Energy Policy, 65: 541–551

[38]

Wang Y, Song M, Han Y, Wang Y, (2025). Multi-scale coupling measurement and driving factor analysis between carbon emission from energy consumption and ecological environment—The case study of Pearl River Delta urban agglomeration. Sustainable Cities and Society, 127: 106425

[39]

Wejnert-Depue C, Zhang Y, Casper K, O’Neill B C, Waldhoff S T, (2025). A conceptual framework for residential energy security in the context of clean energy transitions. Energy Research & Social Science, 126: 104096

[40]

Xu B, Lin B, (2019). Can expanding natural gas consumption reduce China’s CO2 emissions. Energy Economics, 81: 393–407

[41]

Yang K, Han Q, Yang D, de Vries B, (2025). Historical changes and driving factors of food-water-energy footprint consumption: A Case study of the Beijing-Tianjin-Hebei city agglomeration. Sustainable Cities and Society, 122: 106222

[42]

Zang H, Xu R, Cheng L, Ding T, Liu L, Wei Z, Sun G, (2021). Residential load forecasting based on LSTM fusing self-attention mechanism with pooling. Energy, 229: 120682

[43]

Zhang L, Bai W, Xiao H, Ren J, (2021). Measuring and improving regional energy security: A methodological framework based on both quantitative and qualitative analysis. Energy, 227: 120534

[44]

Zhao J, Jiang Q, Dong X, Dong K, (2020). Would environmental regulation improve the greenhouse gas benefits of natural gas use? A Chinese case study. Energy Economics, 87: 104712

[45]

Zhong Y, Li G, Yang J, Zheng H, Yu Y, Zhang J, Luo H, Wang B, Weng Z, (2024). Learning motif-based graphs for drug–drug interaction prediction via local–global self-attention. Nature Machine Intelligence, 6( 9): 1094–1105

RIGHTS & PERMISSIONS

Higher Education Press

PDF (5427KB)

925

Accesses

0

Citation

Detail

Sections
Recommended

/