SecurEnergy EU · Member State geography
EU Member State Energy Security GIS
Explore historical country indicators and generated Baseline, IMEC, and Piano Mattei forecast paths on the project’s GISCO Member State boundaries.
How to read this map
Geography, direction, and period
Choose a year, scenario, and metric. Historical years show observed country values; forecast years show the selected Baseline, IMEC, or Piano Mattei path. Risk metrics use yellow-to-red colors, where darker red means higher exposure or intensity. Positive coverage metrics use yellow-to-green colors, where darker green means higher coverage or renewable performance. Map colors share the complete generated metric domain across historical and forecast rows.
Metric guide and direction
GISCO 2024 · 20M boundaries
Member State map
Select or focus a country to inspect its values. Boundaries use the existing GISCO 2024 EU Member State layer; no generic map geometry is substituted.
Within-slice comparison
Country ranking
-
Selected Member State
Select a country
Select a country on the map or in the ranking to inspect available ESS and renewable indicators.
Country-level values
Selected slice table
ESS4 is not present in the generated country-level GIS dataset. This view displays only the metrics available in the original GIS output.
SecurEnergy EU · Indicator comparison
ESS vs Eurostat Comparison
Compare the project’s GDP-scaled ESS1 oil and gas channels with conventional EU27 import-to-consumption quotients, using the generated historical benchmark series.
How to read this comparison
Trend, not level equivalence
This view compares different indicator designs. ESS oil and gas channels adapt the paper’s ESS1 import-dependency/accessibility logic with GDP in the denominator. Conventional benchmarks are direct EU27 import-to-consumption quotients. Their absolute magnitudes are not intended to be numerically equivalent; compare direction and turning points rather than treating the difference as a dependency percentage.
Gap columns equal conventional quotient minus the corresponding ESS1 channel. Positive values mean the conventional quotient is higher for that year. These are raw differences, not percentage points.
Definitions, source, and validation context
Generated source: -
Latest build: - · Publication status: -
Build-level validation: -
Full formula definitions are centralized in the project Method & Formula Atlas.
GDP-scaled project channels
ESS results
ESS oil and ESS gas use the existing generated formula-channel values; they are not conventional import dependency percentages.
Direct import-to-consumption quotients
Eurostat-style results
The conventional values are stored as direct quotients. They are shown without percent conversion or rebasing.
Precomputed historical benchmark
Comparison table
Displayed values round to three decimals as in the legacy view; the API returns the original generated precision. Gap differences retain their raw quotient units.
SecurEnergy EU · Energy and output
ESS and Industrial Production
Compare ESS1, ESS2, and ESS3 with EU27 industrial production on the generated 2015-based index scale.
Interpretation
Co-movement, not causality
Read the lines as comparative trends. Lower ESS1 suggests lower modeled fossil-import exposure; lower ESS2 indicates less industrial energy per unit of GDP; higher ESS3 indicates stronger domestic production coverage. A higher industrial-production index means stronger output.
ESS1, ESS2, and ESS3 are each rebased to their own 2015 historical value. Industrial production retains the generated Eurostat 2015=100 index. The comparison shows co-movement only and does not establish causality.
Scenario dash patterns distinguish the ESS paths; scenario colors distinguish industrial-production overlays.
Definitions and data provenance
ESS1: Import-dependency and accessibility indicator. Lower future paths suggest lower modeled fossil-import exposure.
ESS2: Energy intensity, covering accessibility and affordability. Lower future paths mean less industrial energy is needed per unit of GDP.
ESS3: Domestic production-rate indicator. Higher future paths mean stronger domestic coverage and lower fragility to external supply interruptions.
Black line: Historical industrial-production trend for the EU or the sector shown in that panel.
Dotted black line: Missing recent annual industrial-production values are completed with a simple linear extension and shown as a dotted black line when present in the generated data.
Scenario paths: Baseline, IMEC, and Piano Mattei. For ESS these are forecast paths; for industrial production they are sensitivity overlays relative to a backtest-selected baseline using the scenario assumptions for ESS1, ESS2, ESS3, and digital spillovers.
Formula definitions are centralized in the Method & Formula Atlas.
Source artifacts: -
Latest build: - · Publication status: -
-
EU27 · B-D
Total Industry
EU27 · Eurostat industrial groupings
Industrial Sectors
SecurEnergy EU · Macro trends
Nominal vs Real GDP Trends
Compare EU27 nominal GDP with deflated real GDP on the legacy 2015 = 100 index base, including the generated project scenario paths through 2030.
How to read the comparison
Money value and real output
Nominal GDP includes price-level effects. Real GDP deflates those effects using the project’s 2015=100 deflator. The top panel compares indexed levels, the middle panel shows the nominal-minus-real index gap in index points, and the lower panel compares year-over-year growth.
The index gap is not a percentage-point measure. Forecast nominal GDP follows the selected project baseline plus scenario overlays; forecast real GDP deflates those same nominal paths. Forecast deflator growth after 2024 uses the generated page’s recent-average assumption.
Selected nominal-GDP baseline: -; backtest MAPE -%; direction accuracy -%.
Source and methodology
-
Generated source: -
Forecast deflator assumption after 2024: -
Indexed levels
Nominal and real GDP
Price-level separation
Nominal-real index gap
Annual change
Year-over-year GDP growth
Generated summary rows
GDP scenario snapshot
Snapshot values reproduce the legacy latest-history and final-forecast rows. The displayed GDP levels are indices, not million-euro amounts.
SecurEnergy EU · Policy analysis
Policy Scenarios, Shocks, and Sensitivity
Compare generated Baseline, IMEC, and Piano Mattei paths, then inspect the sensitivity, drivers, shock assumptions, and validation evidence behind them.
Reading guide
Direction before level
Read the historical segment first, then compare the colored forecast paths. Lower ESS1 and ESS2 indicate lower import exposure or energy intensity; higher ESS3 and renewable indicators indicate stronger domestic coverage or renewable performance. ESS4 is direction-normalized to 2015 = 100, where higher means stronger composite security. Scenario paths are exploratory, assumption-based sensitivities, not causal effects or point predictions.
Indicator definitions and interpretation
ESS1 ensemble: project average of the oil and gas import-dependency channels. Lower future values indicate lower external fossil exposure.
ESS1 oil and gas channels: oil and gas accessibility/import-exposure components.
ESS2: industrial energy intensity; lower values indicate less industrial energy per unit of GDP.
ESS3: domestic production ratio; higher values indicate stronger domestic coverage.
ESS4: directional security index. Lower ESS1 and ESS2 exposure raises the score; higher ESS3 coverage raises it. Raw paper composite is separately identified.
Renewable consumption share: higher means a larger renewable share in final consumption.
T_REN_RATE: renewable production intensity relative to system size.
T_REN_RATE_2: renewable production-to-consumption ratio.
Full formulas are centralized in the Method & Formula Atlas. Displayed source values retain their generated units and scales.
Generated scenario paths
Metric explorer
| Year | Period | Scenario | Variant | Value | Lower bound | Upper bound |
|---|
Forecast bands and variants are the generated pipeline outputs. Historical and forecast observations use the same metric source definitions as the Streamlit reference.
Source-generated chartsESS4 index, full scenario panels, forecast-quality backtest, and energy-partner analysis
This is the existing generated Plotly dashboard used by the Streamlit view. Its hover labels, legends, backtest charts, and partner-source comparisons are preserved unchanged.
Existing partner API
EU energy partners
| Rank | Partner | Share | Product | Source |
|---|
Source, product, year, unit, trade scope, and metric define each partner comparison. Current API partner observations are EU-level.
Inspect the evidence
Scenario diagnostics
Generated low / central / high variants
Sensitivity analysis
| Year | Variant | Value | Lower bound | Upper bound |
|---|
Variants use the pipeline's existing low, central, and high sensitivity scales. Baseline is not included in the legacy sensitivity selector.
Final forecast year contributions
Scenario decomposition
| Scenario | Year | Target metric | Driver | Contribution |
|---|
Contributions reproduce the generated decomposition artifact: central-variant final-year differences from Baseline; ESS1 oil and gas contributions are each halved.
Historical association, not causality
Driver relationships
| Indicator | Correlation | Standardized beta | R squared | Slope | Observations |
|---|
Historical associations are descriptive. They are not causal estimates or policy effects.
Manual registry and generated detections
Shock timing and modeled impacts
| Shock | Category / channel | Target | Start | End | Origin | Evidence | Notes |
|---|
Forecast impact overlays
| Year | Scenario | Shock | Target | Evidence | Generated impact |
|---|
Shock magnitudes are author-calibrated scenario assumptions; linked sources support context, not magnitude. Timeline items are not causal claims.
Pipeline-time screening snapshot
External geopolitical news
News matching is generated during pipeline refresh, not live monitoring. Matches are screening signals; auto-detected shocks have provisional magnitudes and are not causal estimates.
Auto-detected shocks
External-news matches
Rolling-origin evaluation
Forecast validation information
| Target year | Horizon | Actual | Predicted | Absolute percentage error | Direction | Model |
|---|
Validation checks, baseline selection, and benchmark tables
Formula and forecast checks
Selected baseline models
Historical reality benchmarks
Data lineage and recommended workflow
ESS/CODICE.py remains the historical reference for energy-dataset preparation. PIPELINE/run_all.py is the operational entry point coordinating core ESS and digital datasets, partner-source datasets, forecasts and dashboards, and validation and provenance outputs.
Energy-partner source hierarchy: Raw Comext is preferred for scholarly product-partner replication when populated; Official API is the reproducible annual quantity route; Workbook is the published comparison layer, especially for workbook-specific 2025 figures. These source layers differ in scope, units, coverage, and period.
External-news matches above reflect the most recent generated refresh snapshot. They are not live monitoring.
Refresh commands
python PIPELINE/run_all.py --refresh-eurostatFull project refresh: updates standard Eurostat inputs, rebuilds ESS and digital datasets, refreshes annual partner routes, forecasts, dashboards, validation, and provenance.
python PIPELINE/run_all.py --skip-external-newsRecommended local-development route; rebuilds analytical outputs while skipping external-news detection.
python PIPELINE/run_all.py --refresh-eurostat --refresh-comext --comext-start-year 2014 --comext-end-year 2025 --skip-external-newsPublication refresh with raw Comext partner replication.
python PIPELINE/fetch_comext_energy_imports.py --start-year 2014 --end-year 2025Lower-level Comext-only fetch for inspecting or validating its raw landing file.
python PIPELINE/auto_refresh.py --run-immediately --watch-shocks --interval-hours 24Periodic Eurostat checks and rebuilds when the local geopolitical shock registry changes.
python PIPELINE/check_grass_setup.py
.\run_project.ps1 -CheckGrassGRASS GIS wiring check, retained here because it is part of the shared application workflow reference.
Methodology and source notes
ESS1 follows the paper's import-dependency/accessibility concept; ESS2 is the industrial energy-intensity component; ESS3 is the domestic production-rate component. ESS4 is a directional, 2015-based index, while the raw composite remains separately available.
IMEC and Piano Mattei scenario magnitudes are author-calibrated exploratory assumptions. External sources provide context and mechanisms, not causal identification or calibrated effect sizes.
Backtest evaluation uses the extended Eurostat aggregate-proxy history; it is distinct from the production ESS workbook history. Inspect the source labels and horizon-specific scores before interpreting forecast performance.
Refresh status by dataset
Historical metrics and energy-partner validation
Historical metrics used in forecasts
Energy-partner validation checks
Generated partner artifacts
| Artifact | Available |
|---|
Native analytical workspace
Main Dashboard / Policy Scenarios
SecurEnergy EU energy-security indicators, policy scenarios, and country comparisons.
Historical series
Trend
Latest cross-section
EU27 comparison
| Reference | Value | Reading |
|---|
The EU27 reference is the project aggregate used by the existing country indicator dataset.
Member-state comparison
EU27 ranking
| Rank | Country | Value | Distance from EU27 | Reading |
|---|
Ranking follows the selected indicator direction. It is a within-project comparison, not a universal energy-security score.
Supplier evidence
EU energy partners
| Rank | Partner | Share | Product | Source |
|---|
Partner figures are conditional on source, product, year, unit, trade scope, and metric. The current API route is EU-level, not country-level.
Indicator distinction
ESS versus conventional dependency
-
| Year | ESS1 project channel | Conventional benchmark | Source distinction |
|---|
ESS values are internally consistent project index inputs. Conventional values are percentages and should not be interpreted as ESS values.
Macro interaction
GDP and macro context
-
| Year | Value | Period | Model context |
|---|
Forecast rows are generated model outputs and should not be read as observed macroeconomic data.
Industrial production
Production index
| Year | Index | Period | Scenario/model |
|---|
Index values are generated industrial-production outputs. Forecast and scenario rows retain their pipeline phase labels.
Digital intensity
Digital adoption context
| Year | Country | DII | EU27 reference | Source |
|---|
Digital intensity is supporting context, not an ESS formula input.
Policy scenarios
Scenario paths
| Year | Scenario | Value | Interval | Variant |
|---|
Scenario paths are exploratory sensitivity exercises. Intervals describe the generated model output, not certainty about policy outcomes.
GIS member states
Spatial indicator snapshot
| Country | Value | Spatial feature |
|---|
This first native GIS slice consumes the generated country geometry and attributes. Interactive map rendering remains a separate presentation step.
Provenance
What this number means
-
- Source artifact
- -
- Data build
- -
- Publication status
- -
Interpretation note
Read direction before level
-
This workspace reports generated research outputs. It does not replace official Eurostat dependency statistics or imply causality.
SecurEnergy EU · PRODCOM
Eurostat Sold Production Concept
A EU27 view of product-level sold-production value, its nominal index, and the activity mix from official PRODCOM data.
Concept and method
Current-price sold production
This companion view adds Eurostat's sold production concept without changing the project's broader all-production dashboard. It sums available product-level EUR values from PRODCOM DS-059358 for EU27_2020.
The index is a nominal rebasing of sold-production value to 2021 = 100. It is not a constant-price volume measure. Eurostat's Statistics Explained article also discusses constant-price presentation; this dashboard retains the directly reproducible PRODCOM value concept.
Source, units, and scope
-
Source artifacts: -
Latest build: - · Publication status: -
-
This sold-production concept complements, rather than replaces, the project's broader industrial-production index.
EU27 aggregate
Total EU Sold Production
Current price
Sold-production value
Nominal rebasing
Sold-production index
Annual movement
Year-over-year change
Manufacturing breakdown
Activities and shares
Five highlighted activities
Nominal activity indices
Broad activity groups
Share of EU sold production
Share snapshots are shown for 2014, 2024, and the final forecast year. “Other” comprises product divisions outside the five explicitly grouped broad activities.
Rolling historical backtests
Forecast Model Selection
Forecast extensions use the candidate model that performed best in rolling historical backtests for each series.
| Series | Selected baseline | Backtest MAPE | Direction accuracy | Tests |
|---|
SecurEnergy EU · Macro interaction
Macro Interaction Dashboard
Compare nominal GDP, household electricity prices, industrial sold production, CPI, and inflation across their generated histories and backtest-selected extensions.
How to read this view
Shared index and native units
-
The indexed chart compares each series with its own value in the first year shared by all five series. The raw-units chart keeps each series in its source unit and shows year-over-year changes; inflation-rate changes are percentage-point differences.
Indexed comparison
EU Macro Interaction Dashboard
-
Raw Units Explorer
Native value and annual change
Latest observed context
Series snapshots
Rolling historical backtestsMacro Forecast Model Selection
Forecast extensions use the candidate model that performed best in rolling historical backtests for each series.
| Series | Selected baseline | Backtest MAPE | Direction accuracy | Tests |
|---|
Co-movement Snapshot
Annual-change correlation
-
Source and provenanceHow we know each series
This table documents the source and transformation used before the indexed and raw-unit charts are drawn.
| Series | Source / file | Filters / scope | How the value is known | Unit in chart | Latest observed year | Dashboard treatment |
|---|
Build: - · Publication status: -
SecurEnergy EU · Experimental research
Multi-API ESS Trend Experiment
Eurostat-based ESS and renewable-production target histories with baseline and external-feature forecast experiments.
Target history and scope
Exact project ESS formula targets
Eurostat remains the target formula source. The exact generated country-sum production history is shown as observed history. The gray baseline and green augmented lines are future model outputs, selected on the full available history; they are not observed values or in-sample fitted history.
Panel meanings follow the generated target labels: ESS1 oil/gas exposure ensemble; ESS2 industrial energy intensity; ESS3 domestic production ratio (DEP / TEC); renewable consumption share (% of TEC); T_REN_RATE (T_REN_PROD / TEC); and T_REN_RATE_2 (T_REN_PROD / T_REN_C). See the Method & Formula Atlas for the project’s centralized formula definitions.
-
Six separate target panels
ESS and Renewable-Production Trends
Provenance and availability
Source Coverage and Formula Role
Coverage and publication labels below come from the generated experiment artifact. External observations supply features or context; they do not replace formula inputs.
Selected features · not causal effects
Source Features and Forecast Relationships
A source appears here when its generated variables were selected by the augmented model. The forecast shift compares the generated 2030 augmented value with the Eurostat trend baseline; it does not measure a causal source effect.
Selected source features by ESS target
2030 forecast change from baseline
Nested rolling-origin validation
Augmented Forecast Quality
Each backtest prediction uses only information available at its cutoff year. Negative MAPE or RMSE changes favor the augmented model; direction accuracy is reported as generated.
One-year MAPE · baseline vs augmented
One-year direction accuracy
Exploratory candidate grid
Source Ablation and Robustness
Each source case is shown with the best candidate model under the legacy one-year summary selection. Negative MAPE changes are lower than the Eurostat trend baseline. This candidate-grid diagnostic is separate from the nested augmented validation.
Multi-horizon robustness checks
Full-history model selection
Selected Multi-API Model
The future augmented line uses the all-APIs model family selected from the full available history. The nested backtest above is the validation-safe evidence.
Feature selection
Selected Features by ESS Target
Feature selection is performed inside each training window. The source map documents the generated lag and change variables; selection does not imply causality.
Technical provenanceVariable Source Map
Raw generated feature codes, source/resource, transformation, and meaning/unit from the legacy source map.
Supporting inputs · not target replacements
External Source Context
Comext import concentration · top partner share
Comext import concentration · HHI
World Bank/DataBank proxy indicators
Each series is indexed to its first available value from 2015. These are broad proxies, not exact Eurostat ESS inputs.
Wikipedia and GDELT shock evidence
Historical and screened event context used for interpretation; news monitoring availability is shown in the source coverage table.
OECD Energy-Related Public SDMX Dataflows
Candidate catalogue/context rows from the generated legacy dashboard.
Separate validation context
Original Project Forecast Quality
This is the original extended EU27 Eurostat aggregate-proxy backtest, separate from the exact production-history targets above. Predictions are rolling-origin results against later observed proxy history.
Backtest MAPE by metric and horizon
Direction accuracy by metric and horizon
Selected Baseline Models
Generated feature artifactsFeature Matrix and Model Input Previews
These are the last ten rows of the generated annual source feature matrix and its previous-year value / change inputs.
Model Inputs Preview
Source-row auditEvidence Rows Generated
Methodology and limitations
How to Interpret the Experiment
Generated artifacts:
SecurEnergy EU · Digital Intensity
Digital Intensity and ESS Scenarios
Observed EU27 digital-intensity history alongside Baseline, IMEC, and Piano Mattei scenario paths for GDP, industrial production, and ESS1–ESS3.
Scenario research view
Observed history and modeled paths
This view links the generated EU27 digital-intensity indicators with GDP, industrial-production, and ESS scenario paths. The paths are scenario overlays; they do not identify causal effects or describe observed future outcomes. Historical lines end at their available observations, and the shaded zone marks the 2025–2030 scenario period.
Scenario overlays
Choose scenario paths to display
Historical and scenario comparisons
Digital intensity, macro paths, and ESS response
Digital adoption
Digital Intensity: All Activities
Scenario GDP
EU27 GDP Path
Digital adoption
Digital Intensity: Manufacturing
Scenario industrial output
Industrial Production: Total Industry
Energy security
ESS1 Ensemble
Energy intensity
ESS2
Domestic production
ESS3
2030 scenario snapshot
Digital All versus ESS1
Scenario results
2030 Summary and Scenario Timeline
For ESS1 and ESS2, lower values indicate lower exposure or intensity. For ESS3, higher values indicate stronger domestic coverage. Delta columns compare with the generated Baseline scenario.
The timeline contains generated scenario years only; historical observations are shown in the separate chart panels.
Generated Eurostat source table
Country and Sector Digital Intensity
The table retains the source dataset, indicator version, NACE scope, employment-size group, unit, EU27 reference, and generated yearly fields. The EU27 history chart uses the corresponding historical-metrics output.
Methodology and sources
How to Read These Paths
Generated artifacts:
SecurEnergy EU · Supplier evidence
Energy Partners
EU energy-import partner shares and concentration evidence across Raw Comext, the Official Eurostat API, and published workbook figures. Each source remains separate.
How to read this view
Choose the source first, then check its coverage and validation status. Partner shares rank suppliers within the selected source, scope, product, metric, and year. Absolute value or quantity charts use the generated source fields; they are not interchangeable with shares. Concentration measures describe the selected supplier mix and are neither causal nor predictive.
Evidence selection
Source and Market Scope
Partner shares
Leading Import Partners
Absolute amounts
Estimated Value or Quantity
Selected market snapshot
Partner and Concentration Summary
HHI uses the legacy 0–10,000 scale. CR3 and CR5 are the combined shares of the three and five largest partners. The diversification score and risk band reproduce the legacy scorecard and do not predict future supply outcomes.
Further analysis
Rankings, Trends, and Validation
This comparison uses the selected scope, metric, and year. By-product scope compares all available products for the chosen source. It does not combine evidence across sources.
The trend uses the leading partners from the selected year, ranked under the current source and filters.
The curve orders all selected partners by share and shows cumulative share by rank.
This table shows the full selected-year ranking with the previous available source year, share change in percentage points, and dense-rank change where available.
Selected source
Source availability and reliability
Partner validation checks
Generated artifacts
Partner share is supplied by the generated source artifacts. Legacy concentration uses HHI = sum of squared decimal partner shares × 10,000. Workbook Q1 news benchmarks are retained as not-comparable diagnostics against annual 2025 workbook shares and do not count as blocking validation failures.
SecurEnergy EU · ESS input audit
Energy Table
Country-year energy indicators used to build the ESS metrics and EU27 aggregates.
Audit and interpretation
This table is the raw analytical backbone behind the ESS formulas. Use it to audit country-year inputs and derived indicators; it is intended as a validation table rather than a presentation chart.
Some columns are component inputs and some are derived project indicators. EU27 aggregate fields retain the generated values. The four numerator/denominator fields hidden by the legacy view remain hidden here.
Table controls
Filter the audit table
Leave Country and Year unselected to show all observations. Search is case-insensitive and supports the legacy regular-expression behavior.
Country-year inputs
Energy and ESS indicators
Numeric values are displayed to three decimal places, matching the legacy table formatting; the API retains the source values and missing observations remain blank.
Source and methodology
Source artifact: ESS/energy_ESS_TGI_ktoe.csv. This view reuses the exact generated country-year dataset used by the legacy dashboard.
Methods and provenance
Methodology and Source Notes
The complete research design, formulas, source hierarchy, validation approach, forecast construction, interpretation guardrails, and energy-partner methodology used by the local and hosted dashboards.
Contents
Methodology and Source Notes
Integrated Research Design
The project uses a mixed-method design combining qualitative policy research, comparative case studies, legal and institutional analysis, and quantitative energy-security modelling. This design reflects the fact that EU energy security is simultaneously a measurable condition and a political process. Statistical indicators can identify changes in import exposure, energy intensity, domestic production, and renewable capacity, but they cannot by themselves establish whether greater coordination between energy policy and the Common Foreign and Security Policy (CFSP) is legally feasible, politically acceptable, or institutionally effective.
The two components therefore perform different but connected functions. The qualitative component identifies the mechanisms through which energy dependence may affect EU external action, including asymmetric interdependence, supplier concentration, divergent national preferences, institutional fragmentation, and the strategic use of energy relationships. The quantitative component operationalises selected aspects of this vulnerability, evaluates their historical development, and constructs conditional forecasts under a baseline, an IMEC scenario, and a Piano Mattei scenario. The combined design supports an assessment of whether the proposed policy direction is consistent with both the institutional evidence and observable energy-security trends. It does not treat a statistical association or a scenario difference as proof that institutional integration causes a particular energy outcome.
Qualitative policy, legal, and case-study component
The qualitative evidence base prioritises primary documents: EU treaties and legislation, European Council and Council conclusions, European Commission communications and strategies, official implementation reports, international agreements, and speeches or statements by relevant institutional actors. National-government and international-organisation documents provide supplementary evidence, while the academic literature is used to derive theoretical expectations, identify contested interpretations, and test rival explanations.
Documents are selected purposively when they meet at least one of three criteria: direct relevance to the relationship between energy and external security; formal institutional or legal authority; or evidence about actor preferences, implementation, competence allocation, or policy effects. The legal analysis distinguishes measures that can be pursued through existing EU energy competences, CFSP coordination, secondary legislation, external agreements, or voluntary intergovernmental action. This prevents political desirability from being treated as equivalent to legal feasibility.
The documentary analysis uses a common thematic framework covering energy dependence, diversification, solidarity, strategic autonomy, external influence, institutional competence, decision-making procedures, and the distribution of costs and benefits among Member States. It also records whether energy is framed primarily as an economic commodity, an environmental concern, a security interest, or an instrument of external influence. Changes in framing are traced across major disruptions, including interruptions of Russian energy supplies, the annexation of Crimea, Russia's full-scale invasion of Ukraine, and the subsequent diversification of EU supplies.
Four cases are examined through a structured, focused comparison:
- EU-Russia energy relations as a case of asymmetric interdependence, supplier concentration, and potential coercive vulnerability.
- The Energy Union as an internal attempt to pool capabilities, strengthen solidarity, and coordinate national energy interests.
- The India-Middle East-Europe Economic Corridor (IMEC) as an infrastructure, connectivity, and diversification strategy.
- Piano Mattei as an Italian-led Mediterranean and African partnership with possible EU-level energy and foreign-policy spillovers.
The cases are selected for analytical variation rather than statistical representativeness. Each is assessed using the same questions: what vulnerability is identified; which actors possess decision-making authority; through which mechanism could the initiative affect energy security; how are its expected benefits and costs distributed; and which political, legal, implementation, or ethical constraints limit it? Claims are triangulated across primary documents, statistical evidence, and independent scholarship. Market conditions, technological change, climate policy, and national industrial interests are considered as rival explanations before an observed development is attributed to foreign-policy coordination.
Quantitative design and unit of analysis
The principal quantitative dataset is an EU27 country-year panel covering 2015-2024, followed by conditional forecast paths for 2025-2030. Eurostat observations are cleaned and merged by country and year, restricted to the current EU27 Member States, and aggregated from the underlying national contributions. EU-level ESS values are calculated from summed numerators and denominators rather than from an unweighted average of national ratios, so Member States with very different economic and energy-system sizes do not receive identical weights.
The quantitative workflow proceeds in five stages:
- retrieve and harmonise official Eurostat energy, GDP, industry, digital, PRODCOM, and partner-trade inputs;
- construct the historical ESS indicators and related comparison measures;
- validate formulas, units, coverage, and source provenance;
- select and estimate empirical baseline forecast models using rolling-origin backtests; and
- apply documented scenario and shock assumptions only after the baseline has been produced.
Eurostat remains the exact source for the production ESS targets. Comext supplies product-partner trade evidence. World Bank, OECD, Wikipedia, GDELT, and other external sources are used only as contextual evidence or experimental explanatory features, as described below; they do not replace the Eurostat variables used in the core formulas.
Core ESS Formulas Used In This Project
This repository applies an EU-focused adaptation of the ESS framework using the following indicators:
ESS1_oil = sum_i(TOI_i * TOC_i * TEC_i) / sum_i(TOC_i * TEC_i * GDP_i)ESS1_gas = sum_i(TGI_i * TGC_i * TEC_i) / sum_i(TGC_i * TEC_i * GDP_i)ESS1_ensemble = (ESS1_oil + ESS1_gas) / 2ESS2 = sum_i(IEC_i) / sum_i(GDP_i)ESS3 = sum_i(DEP_i) / sum_i(TEC_i)- Displayed paper composite:
ESS4 = (ESS1 + ESS2 + ESS3) / 3
Where each i is a country-year contribution before EU-level aggregation by year.
Following Erdal et al. (2015, pp. 136-137), ESS1 is an energy import-dependency indicator tied to the accessibility dimension of supply security; ESS2 is energy intensity, defined as energy use relative to GDP and linked to both accessibility and affordability; and ESS3 is the domestic production rate of energy, an accessibility indicator for domestic supply coverage. The paper's ESS4 is a multidimensional composite calculated as the arithmetic mean of ESS1, ESS2, and ESS3.
The EU dashboard adapts this framework by splitting ESS1 into oil and gas import-dependency channels, then averaging those channels as ESS1_ensemble for a project-level fossil-import exposure signal. The main policy dashboard now displays ESS4 by averaging the EU-adapted ESS1_ensemble, ESS2, and ESS3. Because lower ESS1 and ESS2 values are favorable in this implementation while higher ESS3 values are favorable, interpret ESS4 as a composite trajectory to read alongside its three components rather than as a standalone ranking.
Measurement Units And Harmonization
For the energy-side ESS inputs, the project uses Eurostat units as follows:
TOI: refreshed from Eurostat international oil trade inTHS_T(thousand tonnes)TGI: refreshed from Eurostat and converted fromTJ_GCVtoktoeTOC,TGC,TEC,T_REN_C,T_REN_PROD,DEP,IEC: refreshed from Eurostat inKTOE
GDP remains in Eurostat CP_MEUR monetary units and is not converted to an energy unit. The adapted ESS1 oil/gas channels and ESS2 values are therefore index-style implementations of the paper logic, not direct physical percentages. For publication, interpret magnitudes as internally consistent index levels and trends rather than as unit-free dependency shares.
Academic Reference For ESS Logic
The ESS family is adapted from:
Erdal, L., Pektas, A. O., Ozkan, O., & Ozkan, F. (2015). Security of energy supply in Japan: a key strategy and solutions. International Journal of Global Warming, 7(1), 128-159. https://doi.org/10.1504/IJGW.2015.067416
Reference pages used for metadata verification:
- Inderscience page:
https://www.inderscience.com/info/inarticle.php?artid=67416 - Secondary abstract page:
https://www.energy-xprt.com/articles/security-of-energy-supply-in-japan-a-key-strategy-and-solutions-471484
Adaptation Scope
The paper is Japan-focused, while this repository is EU-focused. Use this wording in research outputs:
an EU-focused adaptation of the ESS framework proposed by Erdal et al. (2015)
The primary source now stored locally in the project is:
Security_of_energy_supply_in_Japan_a_key.pdf
Pages 136-137 of the local PDF provide the base logic for the import-dependency/accessibility, energy-intensity/accessibility-affordability, domestic-production/accessibility, and composite ESS indicators that are adapted in the repository for EU-focused use.
Reality And Validation Layer
To keep interpretation transparent, the pipeline now exports:
DATA/generated/validation_checks.csv: formula consistency and forecast sanity checks.DATA/generated/publication_readiness_checks.csv: generated publication-readiness checklist with blocking failures and non-blocking limitations.DATA/generated/historical_metrics.csv: historical metric table used for trend projection.DATA/generated/reality_benchmarks.csv: side-by-side ESS channels vs conventional dependency ratios.DATA/generated/multisource_ess_target_history.csv,DATA/generated/multisource_ess_features.csv,DATA/generated/multisource_ess_model_features.csv,DATA/generated/multisource_ess_source_ablation_backtest.csv,DATA/generated/multisource_ess_source_ablation_summary.csv,DATA/generated/multisource_ess_model_selection.csv,DATA/generated/multisource_ess_robustness.csv,DATA/generated/multisource_ess_forecast_intervals.csv,DATA/generated/multisource_ess_augmented_backtest.csv,DATA/generated/multisource_ess_augmented_forecasts.csv,DATA/generated/multisource_ess_augmented_summary.csv, andDATA/generated/multisource_ess_api_influence.csv: exact production target history, source feature matrix, lagged/delta model features, source-ablation tests, final full-history regularized model selection, exploratory robustness rules, empirical forecast intervals, nested baseline-vs-augmented forecast evidence, and source-influence summary behind the multi-API ESS trend experiment.DATA/generated/multisource_ess_evidence.csvandDATA/generated/multisource_ess_source_coverage.csv: source-role audit tables behind the same dashboard.
These files are generated by python PIPELINE/run_all.py and displayed in Streamlit under Refresh Status.
The multi-API ESS trend dashboard preserves the publication distinction between exact formula targets and experimental features. Eurostat remains the exact source for ESS1, ESS2, ESS3, and renewable-production target series. The multi-API experiment uses the exact production-history target series in DATA/generated/multisource_ess_target_history.csv; the longer direct-EU Eurostat API series is retained as an aggregate-proxy forecast-quality context source, not as a replacement for the country-sum ESS1 formula. Comext, World Bank/DataBank, OECD, Wikipedia, and GDELT are converted into annual feature variables and then transformed into lagged and one-year-change model inputs. External API features are carried forward only after they first appear; missing early years are not filled backward or interpolated from later observations. World Bank WDI proxy zeros that appear after a positive historical run are treated as unavailable observations when they are known publication artifacts rather than plausible EU energy values. Wikipedia and GDELT event features include counts, evidence-weighted totals, direction counts, and magnitude-weighted channels so historical facts can affect the augmented model when they improve the rolling backtest. Phase 1 tests each source family separately, all sources together, and all-sources-minus-one-source cases. The reported augmented validation uses nested rolling-origin selection: for each cutoff, the model family is chosen only from earlier completed backtests. The final forecast line may use the best all-APIs regularized model selected from the full available history, and it is labelled separately from the nested validation evidence. Robustness is reported as publication-safe only when nested improvement holds across multiple horizons and error criteria; source-ablation robustness remains an exploratory candidate-grid diagnostic.
Forecast Quality Backtest Data Provenance
The Forecast Quality Backtest deliberately uses a different historical data construction from the main production ESS dataset.
The main ESS dataset is built from the project input workbooks refreshed through Eurostat (GDP.xlsx, TEC.xlsx, IEC.xlsx, TOC.xlsx, TGC.xlsx, T_REN_C.xlsx, T_REN_PROD.xlsx, TOI.xlsx, TGI.xlsx, and DEP.xlsx). These files are merged at country-year level, filtered to EU27 member states, and then used to build the current historical metrics and scenario forecasts.
The Forecast Quality Backtest instead uses DATA/generated/extended_eurostat_history.csv, an extended EU27 aggregate-proxy history fetched directly from Eurostat API series. This separate history is used because the backtest needs a longer sequence of past observations in order to simulate rolling-origin forecasts and compare each forecast with what actually happened afterward.
The extended backtest source uses direct EU27 aggregate Eurostat series, including:
NAMA_10_GDPfor GDP.NRG_BAL_Cfor total final energy consumption, industrial final energy consumption, oil consumption, gas consumption, and renewable consumption.NRG_BAL_PEHfor renewable gross electricity production.NRG_TI_OILfor oil import volume.NRG_TI_GASfor gas import volume, converted fromTJ_GCVtoktoe.NRG_BAL_Sfor domestic primary production.
This means the backtest is a validation layer, not a replacement for the main ESS construction. It tests whether the project trend logic would have performed well against a longer Eurostat historical record, while ESS1 production-history targets and ESS1 scenario forecasts continue to use the country-sum project formula.
Forecasting Methodology
Forecast objective and analytical distinction
The forecasting component estimates prospective EU energy-security paths from 2025 to 2030. It makes an explicit distinction between an empirical baseline and conditional policy scenarios. The baseline extends the historical series using the candidate model that performs best in historical testing. IMEC, Piano Mattei, and geopolitical or policy shock adjustments are applied only after that baseline has been constructed. The output is therefore a set of conditional projections, not a causal estimate of either initiative and not a claim about what will necessarily occur.
The directly forecasted variables include the ESS1 oil and gas exposure channels, ESS2 industrial energy intensity, ESS3 domestic production coverage, oil and gas import volumes, total energy consumption, renewable consumption and production, and the digital-intensity series used in the corridor scenarios. Derived indicators are recalculated from their projected components instead of being forecast independently:
ESS1_ensemble_t = (ESS1_oil_t + ESS1_gas_t) / 2ESS4_raw_t = (ESS1_ensemble_t + ESS2_t + ESS3_t) / 3renewables_share_t = 100 * T_REN_C_t / TEC_tT_REN_RATE_t = T_REN_PROD_t / TEC_tT_REN_RATE_2_t = T_REN_PROD_t / T_REN_C_t
The displayed directional ESS4 security index is also recomputed from the projected ESS1, ESS2, and ESS3 values using the historical reference values. Lower ESS1 and ESS2 values raise the security index, while higher ESS3 values raise it.
Candidate baseline models
The engine evaluates five deliberately transparent candidates for each baseline metric instead of imposing one trend specification on every series:
- Long linear trend:
Y_hat(T+h) = alpha + beta * (T+h), estimated using the full available history. - Recent linear trend: the same linear specification estimated from the most recent observations, allowing greater responsiveness to structural change.
- Average annual-change drift:
Y_hat(T+h) = Y_T + h * mean(delta_Y). - Recent weighted annual-change drift:
Y_hat(T+h) = Y_T + h * weighted_mean(delta_Y), with larger weights on recent annual changes. - Last observed value:
Y_hat(T+h) = Y_T.
These parsimonious specifications are appropriate to the limited length of the exact country-sum history and remain interpretable during sensitivity and policy review. They reduce the risk that a highly parameterised model produces an apparently precise but unstable long-range projection.
Rolling-origin backtesting and model selection
Candidate models are evaluated through rolling-origin backtesting. At each historical cutoff, a model is estimated using only information that would have been available at that date and forecasts the following one to five years. Each simulated forecast is compared with the observation that subsequently occurred. This reproduces the information constraint of a genuine forecast and prevents future observations from leaking into model estimation.
The primary selection criterion is mean absolute percentage error:
MAPE = (100 / N) * sum_t(abs((Y_t - Y_hat_t) / Y_t))
The audit tables also report mean absolute error, root mean squared error, percentage bias, and directional accuracy. Directional accuracy records whether the predicted movement has the same sign as the observed movement. These supplementary measures matter because a model can produce a low average level error while failing to identify changes in direction.
The candidate with the lowest rolling-backtest MAPE is selected separately for each metric. Forecast-quality reporting uses nested selection at each cutoff: the model family used for a simulated forecast is chosen only from backtests completed before that cutoff. After final selection, the winning specification is re-estimated on all observations available for the relevant target and used for the 2025-2030 forward baseline. Thus, the final forecast may use the complete history, while the reported validation evidence remains genuinely out of sample.
Most metrics use the longer Eurostat EU27 aggregate-proxy history, generally beginning in 1995, when it is available. This history provides enough completed forecast windows to evaluate multiple horizons. It is a validation layer rather than a replacement for the production ESS dataset. ESS1 oil and gas exposure continue from the exact 2015-2024 country-sum formula history so the historical and forecast values refer to the same target displayed in the dashboard.
The core model-selection evidence is exported to:
DATA/generated/forecast_model_backtest.csv: all candidate-model rolling forecasts and errors.DATA/generated/forecast_model_selection.csv: the selected baseline model and performance measures for each metric.DATA/generated/selected_baseline_forecasts.csv: the selected baseline paths before scenario and shock adjustments.DATA/generated/forecast_quality_backtest.csvandDATA/generated/forecast_quality_summary.csv: rolling-origin forecast evidence by metric and horizon.
Scenario construction after the baseline
For metric m, scenario s, and forecast year t, the central scenario path follows the operational logic:
Forecast_m,s,t = Baseline_m,t * (1 + ScenarioAdjustment_m,s + ShockAdjustment_m,s,t)
Scenario adjustments are calibrated from the historical distribution of year-over-year changes. The historical mean change is the reference rate. For metrics where lower values are favourable, such as import exposure and industrial energy intensity, an optimistic scenario normally draws on the lower part of the historical change distribution. For metrics where higher values are favourable, such as domestic and renewable production, it draws on the upper part. The exact selector, historical distribution, corridor component, and implied level adjustment are recorded in DATA/generated/scenario_calibration.csv.
The baseline represents a continuation of the selected historical dynamic without an additional IMEC or Piano Mattei acceleration. The IMEC scenario emphasises diversification, logistics efficiency, infrastructure connectivity, renewable capacity, and digital spillovers. The Piano Mattei scenario gives comparatively greater weight to gas-security and Mediterranean-African partnership channels, with more moderate changes elsewhere. Literature on corridors and foresight supports the proposed transmission mechanisms, but the numerical magnitudes remain author-calibrated assumptions because neither initiative supplies an observed historical treatment effect for the EU-level ESS targets.
Geopolitical and policy shocks
The separate shock registry defines the affected variable, direction, active window, persistence, decay function, evidence level, and scenario-specific magnitude of each event. Step, linear, and exponential decay functions allow an effect to end immediately, decline at a constant rate, or fade more rapidly after the active period. Official policy sources, historical evidence, Wikipedia, and screened GDELT results establish context or help detect potentially relevant events; they do not independently estimate the numerical effect.
Shock magnitudes are therefore scenario assumptions. Evidence levels affect uncertainty rather than converting contextual evidence into a causal coefficient. Manual entries whose source note contains placeholder are excluded from publication forecasts by default. Screened news or historical facts that fail the relevance rules remain diagnostic evidence and do not move the forecast.
Forecast uncertainty
Every central forecast is accompanied by a lower and upper bound. The uncertainty ratio combines:
- empirical error from the rolling backtest at the closest available forecast horizon;
- additional uncertainty proportional to the size of the scenario adjustment; and
- uncertainty associated with the magnitude and evidence level of active shocks.
The operational bounds are:
lower_m,s,t = max(forecast_m,s,t * (1 - uncertainty_m,s,t), 0)upper_m,s,t = forecast_m,s,t * (1 + uncertainty_m,s,t)
The non-negativity constraint prevents mechanically negative forecasts for physical quantities and ratios. Bounds for ESS1, ESS4, and renewable ratios are then derived consistently from the component bounds. These ranges are transparent scenario-uncertainty bands; they are not conventional probability-based confidence intervals and do not represent every possible geopolitical outcome.
Forecast validation, sensitivity, and interpretation
Automated checks confirm that the historical ESS formulas reproduce the stored series, the directional ESS4 index is correctly based at 2015 = 100, all central forecasts are non-negative, and every forecast satisfies lower <= central <= upper. Sensitivity analysis varies scenario parameters, while decomposition analysis identifies the components responsible for the difference between the baseline and each policy scenario.
The same rolling-backtest selection principle is applied to the related GDP, industrial-production, PRODCOM sold-production, and macroeconomic forecast views. Their selection and forecast files include:
DATA/generated/scenario_gdp_model_backtest.csvandDATA/generated/scenario_gdp_model_selection.csv.DATA/generated/industrial_production_model_backtest.csvandDATA/generated/industrial_production_model_selection.csv.DATA/generated/eurostat_sold_production_model_backtest.csv,DATA/generated/eurostat_sold_production_model_selection.csv, andDATA/generated/eurostat_sold_production_forecasts.csv.DATA/generated/eurostat_macro_interaction_model_backtest.csv,DATA/generated/eurostat_macro_interaction_model_selection.csv, andDATA/generated/eurostat_macro_interaction_forecasts.csv.
This design keeps forecast improvements empirical and auditable: an alternative model or external feature can improve the published result only when it reduces error in a historical rolling test. The scenarios should be interpreted through their direction, robustness, component decomposition, and distance from the baseline, rather than as precise estimates of the causal impact of IMEC or Piano Mattei.
Energy Partner Source Hierarchy
The repository now separates energy-partner analysis into three provenance layers:
Raw Comext: preferred scholarly replication layer when the local extract is populatedOfficial API: reproducible annual quantity route for coherent project-wide partner analysisWorkbook: published fallback and comparison layer, especially for workbook-specific 2025 figures
The operational outputs behind these layers are:
DATA/generated/eu_energy_partner_official_api_annual.csvDATA/generated/eu_energy_partner_shares.csvDATA/generated/eu_energy_partner_shares_from_comext.csvwhen populated
For academically scrutinized work, the recommended sequence is:
- use the raw Comext layer for product-partner evidence when publication-grade replication is required
- use the official API annual layer for reproducible quantity-focused partner charts
- keep workbook figures for published 2025 comparison and workbook-specific communication figures
Notes On Scenario Assumptions
The policy scenarios now use a documented calibration that combines historical evidence with corridor-informed scenario scaling instead of fixed ex ante percentage shifts.
- The baseline forecast is selected per metric from the rolling-backtest candidate set described above.
- Scenario differentials are calibrated from the historical year-over-year distribution of each forecasted metric.
- The reference rate is the historical mean year-over-year change for that metric.
IMECuses optimistic historical selectors, typically the 25th percentile for metrics where lower values are desirable (ESS1channels,ESS2, import volumes,TEC) and the 75th percentile where higher values are desirable (ESS3, renewable and digital metrics).Piano Matteiuses a mixed profile: stronger historical improvement on gas-security and resilience channels, with more moderate selectors on the other metrics.- A corridor layer informed by
A recursive networking economic analysis of international economic corridors: IMEEC and INSTCis then applied to scenario-sensitive channels. - In that layer, corridor benefit scores derived from the paper's reported post-corridor OPC improvements are translated into additional metric-specific adjustments for trade exposure, resilience, digital spillovers, and GDP overlays.
- The calibrated selectors, corridor components, and implied final level shifts are exported to
DATA/generated/scenario_calibration.csv. - Scenario GDP overlays are exported to
DATA/generated/scenario_gdp_paths.csv.
The Mattei scenario should be read as an Italian-led Mediterranean partnership case with modeled EU spillovers. Corridor and shock sources support context and transmission mechanisms; effect magnitudes remain author-calibrated scenario assumptions rather than source-estimated treatment effects.
The scenario-method sources now stored locally in the project are:
reference foresight scenarios on the global standing-KJNA31544ENN.pdfAttachment_0.pdf978-3-030-63505-3.pdfA recursive networking economic analysis of international economic corridors IMEEC and INSTC.pdf
Shock magnitudes in DATA/geopolitical_shocks.csv remain research-facing assumptions with evidence tags (high, medium, low) and should still be reported as scenario overlays rather than causal estimates. The publication registry uses citable source notes for the current manual shocks. Any future manual row whose source_note contains placeholder is excluded from publication forecast impacts by default and exported to DATA/generated/excluded_shocks.csv; set INCLUDE_PLACEHOLDER_SHOCKS=1 only for internal exploratory runs.
Publication Interpretation Guardrails
- Scenario paths are exploratory policy scenarios, not point predictions.
- The raw Comext route is populated and rebuilt from
DATA/raw/comext_energy_imports.csv; it is the preferred partner replication layer when discussing product-partner evidence. - The official API partner layer remains the reproducible annual quantity route for partner charts when raw Comext value/mass scope is not the focus.
- Workbook partner charts are withheld when
DATA/generated/energy_partner_validation.csvcontains failed checks. - Q1 2025 Eurostat news article rows in the workbook validation file are diagnostic context only because they are not annual 2025 checks.
- Digital-corridor effects are sensitivity assumptions. The historical digital-intensity panel now comes from Eurostat
ISOC_E_DIIN2for 2021-2025, combining DII version 3 observations for 2021, 2023, and 2025 with DII version 4 observations for 2022 and 2024, so version comparability should be disclosed in publication text.
Energy Partner Methodology
Scope
This project's Energy Partners view is built from Eurostat's workbook:
Energy_update_MAR_2026.xlsx
The workbook is a published Eurostat communication artifact derived from Eurostat's international trade in goods statistics (Comext).
Directly observed components
The following dataset elements are treated as direct observations because they are extracted without transformation from the workbook's partner tables:
by_product+trade_value_share_pctby_product+net_mass_share_pct
Products covered:
petroleum_oilnatural_gas_gaseousnatural_gas_liquefiedcoal
These come from the sheets:
Petroleum oil - partnersNatural gas (gas) partnersNatural gas (liq) partnersCoal partners
Derived components
The following dataset elements are derived and must be described as such in any scholarly output:
general+trade_value_share_pctgeneral+net_mass_share_pctestimated_partner_value_billion_eurestimated_partner_net_mass_million_tonnes
They are computed by combining:
- product-level partner shares from the partner sheets
- annual product totals from
Figure 3andExtra-EU imports
Product coverage
The energy products represented are those explicitly listed by Eurostat in the June 26, 2025 news release:
- petroleum oils:
27090010,27090090 - natural gas liquefied:
27111100 - natural gas in gaseous state:
27112100 - solid fuels:
2701,2702,2703,2704
In the project, the partner-side product group names are simplified to:
petroleum_oilnatural_gas_liquefiednatural_gas_gaseouscoal
coal is used as a convenience label for the solid-fuels block shown in the workbook partner tables. The annual totals include coal, lignite, peat, and coke from the Extra-EU imports sheet.
Reliability classification
High reliability
- by-product partner shares directly extracted from workbook tables
Medium reliability
- estimated partner values and quantities computed from direct shares and direct annual totals
Medium-low reliability
- general all-energy partner rankings, because they aggregate across heterogeneous products and rely on the workbook's grouped presentation
Main limitations
- The workbook is a secondary published artifact, not the raw Comext extraction itself.
- The
generalaggregate is not a directly published Eurostat partner table. - Quantity aggregation across unlike energy products is descriptive, not physically harmonized in a common energy unit.
- The partner category
Otheris an aggregated residual category. - Scholarly publication should distinguish direct observations from derived indicators.
Minimum citation language
Recommended wording:
By-product partner shares are directly extracted from Eurostat's March 2026 energy update workbook. Aggregate all-energy partner rankings and estimated partner quantities are author-derived indicators computed from Eurostat's published product-level shares and annual totals.
Validation approach in this repository
The script:
PIPELINE/validate_energy_partner_dataset.py
now separates same-scope workbook validation from external context checks.
Blocking validation checks are based on the workbook-derived annual dataset itself:
- by-product partner shares must sum to 100% for each product, year, and metric
- product totals used for estimated values and quantities must be present
- derived general partner shares must sum to 100% by year and metric
The Eurostat June 26, 2025 news article on EU energy imports is retained as diagnostic context only. That article reports first-quarter 2025 partner shares, while this project's workbook extraction uses annual 2025 partner shares. Those rows are therefore marked not_comparable in DATA/generated/energy_partner_validation.csv and are not treated as validation failures.
That validation is meant to support transparency, not to substitute for a full raw-Comext replication.
Raw replication path
The repository now includes:
PIPELINE/fetch_comext_energy_imports.pyPIPELINE/build_energy_partner_from_comext_raw.py
The fetcher downloads the filtered official Comext extract from Eurostat dataflow DS-045409 and writes the local raw landing file expected by the builder. The builder is the preferred route for a scholarly-grade partner-share rebuild because it starts from the filtered raw trade records rather than the communication workbook.
Main command:
.\.venv\Scripts\python PIPELINE\run_all.py --refresh-eurostat --refresh-comext --comext-start-year 2014 --comext-end-year 2025 --skip-external-news
Expected raw input
The script expects a CSV with at least these columns:
reporterpartnerflowyearproduct_codetrade_value_eurnet_mass_kg
Column aliases are supported for common variants such as:
declarantgeopartner_countrycn8valuenet_mass
Product mapping used in the raw replication script
27090010->petroleum_oil27090090->petroleum_oil27111100->natural_gas_liquefied27112100->natural_gas_gaseous2701->coal2702->coal2703->coal2704->coal
Filtering logic
The raw replication script:
- keeps import flows only
- keeps EU27 reporters or
EU27_2020 - excludes EU partners to retain extra-EU trade only
- aggregates to partner shares by product and in general
Scholarly recommendation
For academic writing, prefer:
- the raw-Comext pipeline when possible
- the workbook-derived pipeline only as an interim or descriptive layer
Recommended wording after the raw pipeline is in use:
Energy partner shares were replicated from an official Eurostat Comext extract using Combined Nomenclature energy-product codes and an explicit extra-EU filtering pipeline implemented in the project repository.
Energy Partner Data Routes
This project now has three distinct routes for energy-partner analysis.
1. Workbook-derived route
Output:
DATA/generated/eu_energy_partner_shares.csv
Strength:
- direct extraction of Eurostat-published partner share tables
Weakness:
- not fully raw-source reproducible
2. Official Eurostat API annual route
Output:
DATA/generated/eu_energy_partner_official_api_annual.csv
Builder:
PIPELINE/fetch_energy_partner_official_api.py
Strength:
- directly reproducible from the public Eurostat API
- no manual workbook parsing required
Weakness:
- annual
nrg_ti_*API currently anchors the official annual route to 2024 data - quantity-focused, not the same as full raw Comext trade-value replication
3. Raw Comext scholarly route
Expected input:
DATA/raw/comext_energy_imports.csv
Builder:
PIPELINE/build_energy_partner_from_comext_raw.py
Strength:
- strongest scholarly route in this repository
- explicit CN-code mapping and extra-EU filtering logic
Weakness:
- requires the official raw export file to be provided locally
Practical recommendation
- use
eu_energy_partner_official_api_annual.csvfor reproducible official annual quantity analysis - use
eu_energy_partner_shares.csvfor the published 2025 workbook figures already integrated in the app - use the raw Comext route when publication-grade replication is required
Canonical Method Section
Method & Formula Atlas
This is the canonical formula section for the Streamlit app and static website. Dashboard views refer back here instead of repeating the same equation panels.
Formula notation remains selectable and copyable. The displayed expressions and interpretations follow the legacy Atlas.
ESS1 Oil Exposure
ESS1_oil = sum_i(TOI_i * TOC_i * TEC_i) / sum_i(TOC_i * TEC_i * GDP_i)
Leman Erdal; Ali Osman Pektaş; Omer Ozkan; Filiz Özkan; Security of energy supply in Japan: a key strategy and solutions; p.136-137. ESS1 is the energy import-dependency indicator. It represents the accessibility dimension of energy-supply security: supply is more secure when it can continue and be made ready for use, whether the source is domestic or foreign. This project applies that logic to the oil-import channel.
ESS1 Gas Exposure
ESS1_gas = sum_i(TGI_i * TGC_i * TEC_i) / sum_i(TGC_i * TEC_i * GDP_i)
ESS1_ensemble = (ESS1_oil + ESS1_gas) / 2
Leman Erdal; Ali Osman Pektaş; Omer Ozkan; Filiz Özkan; Security of energy supply in Japan: a key strategy and solutions; p.136-137. ESS1 is an import-dependency ratio. This project applies the same accessibility logic to gas imports. The displayed ESS1 ensemble is the average of the oil and gas channels, used as a project-level fossil-import exposure signal.
ESS2 Industrial Energy Intensity
ESS2 = sum_i(IEC_i) / sum_i(GDP_i)
Leman Erdal; Ali Osman Pektaş; Omer Ozkan; Filiz Özkan; Security of energy supply in Japan: a key strategy and solutions; p.136-137. ESS2 is energy intensity, defined as energy use relative to GDP. It captures both accessibility and affordability because lower energy intensity reduces the energy required by the economy and can lower exposure to imported-energy needs. Lower values are therefore the stronger security direction.
ESS3 Domestic Production Ratio
ESS3 = sum_i(DEP_i) / sum_i(TEC_i)
Leman Erdal; Ali Osman Pektaş; Omer Ozkan; Filiz Özkan; Security of energy supply in Japan: a key strategy and solutions; p.136-137. ESS3 is the domestic production rate of energy. It measures the share of domestic energy production in total energy consumption and belongs to the accessibility dimension. Higher domestic production coverage improves supply security; falling values imply greater fragility if external supply is interrupted.
ESS4 Directional Security Index
Displayed ESS4 is normalizedESS4_raw_formula = (ESS1_ensemble + ESS2 + ESS3) / 3
ESS4_index = mean(ESS1_ensemble_2015 / ESS1_ensemble * 100, ESS2_2015 / ESS2 * 100, ESS3 / ESS3_2015 * 100)
ESS1 and ESS2Lower is better, so the index uses the inverse ratio.
ESS3Higher is better, so the index uses the direct ratio.
Important distinction: the raw paper average is retained as ESS4_raw_formula. The dashboard ESS4 value is the 2015 = 100 directional security index, so it can be much higher than the raw average.
ESS4 is a direction-normalized security index with 2015 = 100, so read it as a trajectory where higher values mean stronger composite security.
Renewable Consumption Share
renewables_share_t = 100 * T_REN_C_t / TEC_t
Higher values indicate a larger renewable share in final consumption.
Renewable Production Rates
T_REN_RATE = sum_i(T_REN_PROD_i) / sum_i(TEC_i)
T_REN_RATE_2 = sum_i(T_REN_PROD_i) / sum_i(T_REN_C_i)
Renewable production relative to total energy demand and renewable consumption.
Renewable Production Intensity (T_REN_RATE): Higher values indicate stronger renewable production relative to system size.
Renewable Production-to-Consumption Ratio (T_REN_RATE_2): Higher values indicate domestic renewable production is keeping up better with renewable use.
Conventional Dependency Benchmarks
OilDependency_conv = sum_i(TOI_i) / sum_i(TOC_i)
GasDependency_conv = sum_i(TGI_i) / sum_i(TGC_i)
Direct import-to-consumption ratios used only as a benchmark against ESS channels.
Comext Partner Shares
share_pct = 100 * partner_value / total_product_value
HHI = sum_j((share_pct_j / 100)^2) * 10000
Raw Comext product-partner evidence for import value, concentration, and supplier exposure. Higher HHI values indicate more concentration.
Forecast Validation
MAPE = mean(abs(actual - forecast) / abs(actual))
direction_accuracy = mean(sign(delta_actual) = sign(delta_forecast))
Rolling-origin backtests evaluate whether forecast paths reproduce direction and scale before scenario overlays.
Methodology and Source Notes
The complete research design, formulas, source hierarchy, validation approach, forecast construction, interpretation guardrails, and energy-partner methodology used by the local and hosted dashboards.
Open Methodology & SourcesBuild quality and disclosure
Publication Readiness Issues
Live publication-readiness register showing the current generated checks, open warnings or blockers, evidence files, resolution paths, and disclosure language for each tracked issue family.
Loading generated publication-readiness checks...
External news screening was skipped in this rebuild. That does not lower the publication-readiness status, but this artifact should not be described as refreshing live news-monitoring evidence.
Generated artifact
Generated Check Table
No readiness table found at DATA/generated/publication_readiness_checks.csv.
| Category | Issue | Status | Blocking | Generated Detail |
|---|
Causes and actions
Detailed Issue Register
No generated issue rows are available to expand.
Register Document
Durable Markdown register: docs/PUBLICATION_READINESS_ISSUES.md