Submitted:
28 July 2026
Posted:
29 July 2026
You are already at the latest version
Abstract

Keywords:
1. Introduction
2. Literature Review and Research Gap
2.1. Transformation of EU Electricity-Generation Mixes
2.2. Typologies and Clustering of Energy Pathways
2.3. Compositional Data and Log-Ratio Transformations
2.4. Time-Series Clustering and Dynamic Time Warping
2.5. Diversification, Concentration, and Energy Security
2.6. Research Gap and Positioning
3. Data and Variable Preparation
4. Methods
4.1. Compositional Representation
4.2. Country Trajectories
4.3. Distance Matrices
4.4. Clustering and Validation
4.5. Method Comparison and Endpoint Diagnostic
4.6. Robustness and Sensitivity Analysis
4.7. Concentration, Diversification, and Energy-Security Exposure
5. Results
5.1. Descriptive Evolution of Electricity-Generation Mixes
5.2. Main Typology of Transformation Pathways
5.3. Validation of the Four-Cluster Solution
5.4. Method Comparison
5.5. Endpoint Similarity and Full-Path Difference
5.6. Diversification, Concentration, and Energy-Security Exposure
6. Discussion
7. Conclusions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ARI | Adjusted Rand Index |
| CoDA | Compositional Data Analysis |
| DTW | Dynamic Time Warping |
| EU | European Union |
| GEP | Gross Electricity Production |
| HHI | Herfindahl-Hirschman Index |
| ILR | Isometric Log-Ratio |
| PAM | Partitioning Around Medoids |
| PCoA | Principal Coordinates Analysis |
| SDG7 | Sustainable Development Goal 7 |
| SIEC | Standard International Energy Product Classification |
References
- Rodrigues, J.F.D.; Wang, J.; Behrens, P.; de Boer, P. Drivers of CO2 Emissions from Electricity Generation in the European Union 2000–2015. Renew. Sustain. Energy Rev. 2020, 133, 110104. [Google Scholar] [CrossRef]
- Koval, V.; Khaustova, V.; Lippolis, S.; Ilyash, O.; Salashenko, T.; Olczak, P. Fundamental Shifts in the Eu’s Electric Power Sector Development: LMDI Decomposition Analysis. Energies 2023, 16, 5478. [Google Scholar] [CrossRef]
- Zakeri, B.; Staffell, I.; Dodds, P.; Grubb, M.; Ekins, P.; Jääskeläinen, J.; Cross, S.; Helin, K.; Gissey, G.C. The Role of Natural Gas in Setting Electricity Prices in Europe. Energy Rep. 2023, 10, 2778–2792. [Google Scholar] [CrossRef]
- Urbano, E.; Kampouropoulos, K.; Romeral, L. Energy Crisis in Europe: The European Union’s Objectives and Countries’ Policy Trends—New Transition Paths? Energies 2023, 16, 5957. [Google Scholar] [CrossRef]
- Borowski, P. Mitigating Climate Change and the Development of Green Energy versus a Return to Fossil Fuels Due to the Energy Crisis in 2022. Energies 2022, 15, 9289. [Google Scholar] [CrossRef]
- Goldthau, A.C.; Youngs, R. The EU Energy Crisis and a New Geopolitics of Climate Transition. JCMS J. Common Mark. Stud. 2023, 61, 115–124. [Google Scholar] [CrossRef]
- Grubb, M.; Butler, L.; Twomey, P. Diversity and Security in UK Electricity Generation: The Influence of Low Carbon Objectives. Energy Policy 2006, 34, 4050–4062. [Google Scholar] [CrossRef]
- Chalvatzis, K.; Ioannidis, A. Energy Supply Security in the EU: Benchmarking Diversity and Dependence of Primary Energy. Appl. Energy 2017, 207, 465–476. [Google Scholar] [CrossRef]
- Jewell, J.; Cherp, A.; Riahi, K. Energy Security under De-Carbonization Scenarios: An Assessment Framework and Evaluation under Different Technology and Policy Choices. Energy Policy 2014, 65, 743–760. [Google Scholar] [CrossRef]
- Gracceva, F.; Zeniewski, P. A Systemic Approach to Assessing Energy Security in a Low-Carbon EU Energy System. Appl. Energy 2014, 123, 335–348. [Google Scholar] [CrossRef]
- Csereklyei, Z.; Thurner, P.W.; Langer, J.; Küchenhoff, H. Energy Paths in the European Union: A Model-Based Clustering Approach. Energy Econ. 2017, 65, 442–457. [Google Scholar] [CrossRef]
- Huh, T.; Choi, Y.C.; Kim, J. The Time-Series of Energy Mix and Transition: A Comparative Study of OECD Countries through the Fuzzy-Set Analysis. Energies 2018, 11, 2992. [Google Scholar] [CrossRef]
- Brodny, J.; Tutak, M. Analyzing Similarities between the European Union Countries in Terms of the Structure and Volume of Energy Production from Renewable Energy Sources. Energies 2020, 13, 913. [Google Scholar] [CrossRef]
- Chudy-Laskowska, K.; Pisula, T. An Analysis of the Use of Energy from Conventional Fossil Fuels and Green Renewable Energy in the Context of the European Union’s Planned Energy Transformation. Energies 2022, 15, 7369. [Google Scholar] [CrossRef]
- Dmytrów, K.; Bieszk-Stolorz, B.; Landmesser-Rusek, J. Sustainable Energy in European Countries: Analysis of Sustainable Development Goal 7 Using the Dynamic Time Warping Method. Energies 2022, 15, 7756. [Google Scholar] [CrossRef]
- Dugo, V.; Gálvez-Ruiz, D.; Díaz-Cuevas, P. The Sustainable Energy Development Dilemma in European Countries: A Time-Series Cluster Analysis. Energy Sustain. Soc. 2025, 15, 36. [Google Scholar] [CrossRef]
- Maharaj, E.; Giovanni, L.; D’Urso, P.; Bhattacharya, M. Deployment of Renewable Energy Sources: Empirical Evidence in Identifying Clusters with Dynamic Time Warping. Soc. Indic. Res. 2024, 175, 741–762. [Google Scholar] [CrossRef]
- Kosowski, P.; Kosowska, K.; Janiga, D. Primary Energy Consumption Patterns in Selected European Countries from 1990 to 2021: A Cluster Analysis Approach. Energies 2023, 16, 6941. [Google Scholar] [CrossRef]
- Kosowski, P. From Fossil Fuels to Renewables: Clustering European Primary Energy Production from 1990 to 2022. Energies 2024, 17, 5596. [Google Scholar] [CrossRef]
- Egozcue, J.; Pawlowsky-Glahn, V.; Mateu-Figueras, G.; Barceló-Vidal, C. Isometric Logratio Transformations for Compositional Data Analysis. Math. Geol. 2003, 35, 279–300. [Google Scholar] [CrossRef]
- Egozcue, J.; Pawlowsky-Glahn, V. Compositional Data: The Sample Space and Its Structure. TEST 2019, 28, 599–638. [Google Scholar] [CrossRef]
- Greenacre, M. Compositional Data Analysis. Annu. Rev. Stat. Its Appl. 2021, 8, 271–299. [Google Scholar] [CrossRef]
- Greenacre, M.; Grunsky, E.; Bacon-Shone, J.; Erb, I.; Quinn, T. Aitchison’s Compositional Data Analysis 40 Years on: A Reappraisal. Stat. Sci. 2023, 38. [Google Scholar] [CrossRef]
- Marcillo-Delgado, J.C.; Ortego, M.I.; Pérez-Foguet, A. A Compositional Approach for Modelling SDG7 Indicators: Case Study Applied to Electricity Access. Renew. Sustain. Energy Rev. 2019, 107, 388–398. [Google Scholar] [CrossRef]
- Wei, Y.; Wang, Z.; Wang, H.; Li, Y. Compositional Data Techniques for Forecasting Dynamic Change in China’s Energy Consumption Structure by 2020 and 2030. J. Clean. Prod. 2021, 284, 124702. [Google Scholar] [CrossRef]
- Xiao, X.p.; Li, X. A Novel Compositional Data Model for Predicting the Energy Consumption Structures of Europe, Japan, and China. Environ. Dev. Sustain. 2023, 25, 11673–11698. [Google Scholar] [CrossRef]
- Xu, C.; Xiao, X.; Chen, H. A Novel Method for Forecasting Renewable Energy Consumption Structure Based on Compositional Data: Evidence from China, the USA, and Canada. Environ. Dev. Sustain. 2023, 26, 5299–5333. [Google Scholar] [CrossRef]
- Suo, R.; Wang, Q.; Tan, Y.; Han, Q. An Innovative MGM–BPNN–ARIMA Model for China’s Energy Consumption Structure Forecasting from the Perspective of Compositional Data. Sci. Rep. 2024, 14, 8494. [Google Scholar] [CrossRef] [PubMed]
- Sarda-Espinosa, A. Time-Series Clustering in R Using the Dtwclust Package. R J. 2019, 11, 22. [Google Scholar] [CrossRef]
- Holder, C.; Middlehurst, M.; Bagnall, A. A Review and Evaluation of Elastic Distance Functions for Time Series Clustering. Knowl. Inf. Syst. 2024, 66, 765–809. [Google Scholar] [CrossRef]
- Dau, H.A.; Silva, D.F.; Petitjean, F.; Forestier, G.; Bagnall, A.; Mueen, A.; Keogh, E.J. Optimizing Dynamic Time Warping’s Window Width for Time Series Data Mining Applications. Data Min. Knowl. Discov. 2018, 32, 1074–1120. [Google Scholar] [CrossRef]
- Kittel, M.; Hobbie, H.; Dierstein, C. Temporal Aggregation of Time Series to Identify Typical Hourly Electricity System States: A Systematic Assessment of Relevant Cluster Algorithms. Energy 2022, 247, 123458. [Google Scholar] [CrossRef]
- Stirling, A. A General Framework for Analysing Diversity in Science, Technology and Society. J. R. Soc. Interface 2007, 4, 707–719. [Google Scholar] [CrossRef] [PubMed]
- Axon, C.; Darton, R. Sustainability and Risk – a Review of Energy Security. Sustain. Prod. Consum. 2021, 27, 1195–1204. [Google Scholar] [CrossRef]
- Gasser, P.; Suter, J.; Cinelli, M.; Spada, M.; Burgherr, P.; Hirschberg, S.; Kadziński, M.; Stojadinović, B. Comprehensive Resilience Assessment of Electricity Supply Security for 140 Countries. Ecol. Indic. 2020, 110, 105731. [Google Scholar] [CrossRef]
- Eurostat. Production of Electricity and Derived Heat by Type of Fuel (nrg_bal_peh). European Commission, Eurostat database. 2026.
- Palarea-Albaladejo, J.; Martin-Fernandez, J.A. zCompositions: R Package for Multivariate Imputation of Left-Censored Data under a Compositional Approach. Chemom. Intell. Lab. Syst. 2015, 143, 85–96. [Google Scholar] [CrossRef]
- Martin-Fernandez, J.A.; Barcelo-Vidal, C.; Pawlowsky-Glahn, V. Zero Replacement in Compositional Data Sets. In Data Analysis, Classification, and Related Methods; Springer, 2000; pp. 155–160. [Google Scholar] [CrossRef]
- Martin-Fernandez, J.A.; Barcelo-Vidal, C.; Pawlowsky-Glahn, V. Dealing with Zeros and Missing Values in Compositional Data Sets Using Nonparametric Imputation. Math. Geol. 2003, 35, 253–278. [Google Scholar] [CrossRef]
- R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2025. [Google Scholar]
- Giorgino, T. Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package. J. Stat. Softw. 2009, 31, 1–24. [Google Scholar] [CrossRef]
- Schubert, E.; Rousseeuw, P.J. Fast and Eager k-Medoids Clustering: O(k) Runtime Improvement of the PAM, CLARA, and CLARANS Algorithms. Inf. Syst. 2021, 101, 101804. [Google Scholar] [CrossRef]
- Rousseeuw, P.J. Silhouettes: A Graphical Aid to the Interpretation and Validation of Cluster Analysis. J. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef]
- Tibshirani, R.; Walther, G.; Hastie, T. Estimating the Number of Clusters in a Data Set via the Gap Statistic. J. R. Stat. Soc. Ser. B Stat. Methodol. 2001, 63, 411–423. [Google Scholar] [CrossRef]
- Pakgohar, N.; Lengyel, A.; Botta-Dukát, Z. Quantitative Evaluation of Internal Cluster Validation Indices Using Binary Data Sets. J. Veg. Sci. 2024, 35, e13310. [Google Scholar] [CrossRef]
- Hennig, C. Cluster-Wise Assessment of Cluster Stability. Comput. Stat. Data Anal. 2007, 52, 258–271. [Google Scholar] [CrossRef]
- Steinley, D. Properties of the Hubert-Arabie Adjusted Rand Index. Psychol. Methods 2004, 9, 386–396. [Google Scholar] [CrossRef] [PubMed]
- Warrens, M.J.; van der Hoef, H. Understanding the Adjusted Rand Index and Other Partition Comparison Indices Based on Counting Object Pairs. J. Classif. 2022, 39, 487–509. [Google Scholar] [CrossRef]











| Fuel category | SIEC codes | Aggregation note | Reported zeros | Share of country-years reported zero | Countries zero in all years |
|---|---|---|---|---|---|
| Solid fossil fuels (including oil shale, oil sands, and peat) | C0000X0350-0370, C0350-0370, S2000, P1000 | Includes oil shale, oil sands, peat, and manufactured gases. | 106 | 0.1570 | 3 |
| Natural gas | G3000 | No additional aggregation. | 42 | 0.0622 | 1 |
| Oil and petroleum products | O4000XBIO | Excludes the biofuel portion. | 3 | 0.0044 | 0 |
| Nuclear heat | N900H | Uses the table-specific nuclear code for GEP/GWh. | 341 | 0.5052 | 13 |
| Hydro | RA100 | Excludes pumped hydro (RA130). | 50 | 0.0741 | 2 |
| Wind | RA300 | No additional aggregation. | 53 | 0.0785 | 0 |
| Solar | RA410, RA420 | Combines photovoltaic and thermal solar. | 125 | 0.1852 | 0 |
| Other renewables, biofuels and waste | RA200, RA500, BIOE, W6100_6220, X9900 | Combines geothermal, marine energy, bioenergy, non-renewable waste, and other fuels n.e.c. | 24 | 0.0356 | 0 |
| Cluster | Medoid country | Countries | Mean silhouette | Minimum silhouette | Bootstrap Jaccard | Member countries |
|---|---|---|---|---|---|---|
| C1 | Spain | 13 | 0.1821 | 0.0314 | 0.6940 | Austria, Belgium, Denmark, Finland, France, Germany, Greece, Ireland, Italy, Netherlands, Portugal, Spain, Sweden |
| C2 | Bulgaria | 9 | 0.1321 | 0.0187 | 0.6329 | Bulgaria, Croatia, Czechia, Estonia, Hungary, Poland, Romania, Slovakia, Slovenia |
| C3 | Malta | 2 | 0.4401 | 0.4338 | 0.8833 | Cyprus, Malta |
| C4 | Latvia | 3 | 0.1663 | 0.1188 | 0.8400 | Latvia, Lithuania, Luxembourg |
| Cluster | Medoid country | Countries | normalized Shannon | HHI 2024 | HHI | effective parts | renewables share |
|---|---|---|---|---|---|---|---|
| C1 | Spain | 13 | 0.1232 | 0.2930 | -0.0840 | 0.78 | 0.3734 |
| C2 | Bulgaria | 9 | 0.2379 | 0.2935 | -0.1944 | 1.10 | 0.2346 |
| C3 | Malta | 2 | 0.2784 | 0.6764 | -0.3236 | 0.49 | 0.1954 |
| C4 | Latvia | 3 | 0.2213 | 0.3030 | -0.1999 | 1.26 | 0.4507 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).