Spain Energy Scenario Planner

Integrated model: PV orientation + BESS + day/night split monthly sufficiency + grid quality + system cost. Reference year: 2025 REE actuals (Panel 3). Model represents 2025 scenario: end-2025 installed capacity (48 GW solar, 33 GW wind), 256 TWh demand.

By Isgar Bos · isgarbos.com

How to read this model

This is a directional tool, not a precision tool. Move the sliders to discover how policy levers interact — solar orientation, BESS, grid corridor, electrification, weather years. The structural relationships (solar capture rate falls with scale; wind displaces gas more than solar; corridor unlocks curtailed renewables; demand growth rescues solar's economics through the S-curve) are robust and reflect Spanish grid physics. The absolute numbers in €/tCO₂, €/MWh and TWh are indicative — calibrated to REE 2025 and Aurora/Ember/IRENA published values, but not predictive at single-decimal precision. Use this to understand what matters and why; for project-grade investment decisions, refer to a full hourly-dispatch model (PLEXOS, Aurora) with stochastic weather years.

1 — Generation capacity & PV orientation 2025 actuals as reference
PV orientation
South 30° maximises annual yield but creates noon peak. E/W 60° splits generation into morning & evening — remainder is equal east/west.
100%
48 GW
33 GW
Policy levers
WACC reflects financing conditions the government controls. Gas peaker cost reflects carbon price policy.
7.0%
€85
2025 normal
Firm capacity
7 GW
Hydro
28 TWh
5.9 TWh
0 GWh
6 GW
256 TWh
13 TWh
⚡ Key outcomes — updates with every slider

3 — Daily generation profile (from orientation mix) PV orientation affects monthly yield
East array South array West array BESS discharge Demand shape
Summer (June)
Summer profile
Winter (December) — 60° tilt advantage
Winter profile

4 — Monthly generation vs demand Day/night split · gas = night-only when grid is good
Solar delivered Solar curtailed (wasted) Wind Nuclear Hydro Pumped+BESS CHP cogen (fixed ~16 TWh/yr) Gas peaker / import Demand
Monthly generation

5 — Scenario outcomes & system cost
Generation sufficiency
Solar + wind analysis

6 — Gas peaker & curtailment by month — separate problems, separate solutions
Gas peaker / import (TWh) — falls with wind & nuclear
Curtailment (TWh) — falls with grid, BESS & E/W orientation

7 — Policy tool: cheapest decarbonisation per € invested solar bar responds to Panel 1 sliders
Shorter bar = cheaper CO₂ reduction per € invested. EU ETS carbon price ~€65/tCO₂ shown as reference. All values per GW installed. Solar bar changes with orientation, BESS and demand sliders in Panel 1.

Grid investment cost-benefit — does the corridor pay for itself?
Spain's €13.6B grid plan 2025–2030 (~€2.3B/yr). Each GW of corridor added reduces curtailment and allows more southern solar to displace gas. Gas peaker cost: €85/MWh all-in. Reads from corridor slider in Panel 1.

8 — 2025 reference Red Eléctrica official — Informe del Sistema Eléctrico, Marzo 2026
SourceTWh% mixInstalledNote
Wind58.821.6%33 GWREE confirmed. Post-blackout 4 TWh curtailed. Normal year = 58.8 + 4 = 62.8 TWh. Model uses 62.8 TWh.
Nuclear51.719.0%7.1 GWREE confirmed. Flat baseload; phase-out 2027–2035 (contested — Almaraz extension requested Oct 2025)
Solar PV (grid)50.218.4%48 GWREE confirmed. Post-blackout 3 TWh curtailed. Normal year = 50.2 + 3 = 53.2 TWh. Excl. ~11 TWh self-consumption. Model uses 53.2 TWh.
Gas CCGT (peninsular)45.716.8%26 GWREE confirmed. Post-blackout: REE curtailed 7 TWh wind+solar and ran 7 TWh extra gas to compensate. Normal year = 45.7 − 7 = 38.7 TWh.
Hydro (conventional)27.810.2%12 GWREE confirmed. Essentially normal year (avg ~28 TWh). Model slider set to 28 TWh.
CHP / cogen16.36.0%Derived (6% × 271.9). Industrial byproduct — zero marginal electricity cost; runs regardless of grid conditions.
Pumped hydro (output)5.92.2%8 GWREE confirmed: 5,886 GWh discharged, 9,204 GWh charged. Net consumer of electricity (−3.3 TWh). Modelled separately.
Island fossil (gas/oil)8.02.9%Canarias + Baleares + Ceuta/Melilla. NOT in peninsular CCGT figure. Not modelled — island systems are isolated.
Solar thermal (CSP)2.40.9%2.3 GWDerived (0.9% × 271.9). Concentrated solar — dispatchable with thermal storage.
Biomass + biogas4.11.5%Derived. Stable baseload from organic waste and agricultural residues.
Coal1.10.4%<1 GWDerived. Historic low — 50% reduction vs 2024. Near phase-out.
Total metered generation271.9100%142 GWREE official figure. Excl. self-consumption (~11 TWh estimated, behind-meter). CO₂ emissions: 29.5 Mt (REE confirmed).
Pumped storage consumption−9.2REE confirmed: 9,204 GWh consumed to pump water uphill. Counted on demand side.
Net exports−13.0REE confirmed: 12,794 GWh. 4th consecutive year net exporter. Not attributable to any single source.
Transmission losses~2.7Estimated ~1% of generation.
Domestic demand (metered)256REE confirmed: 256,086 GWh. Growing 2.8% vs 2024. Balance: 271.9 − 9.2 − 13.0 − 2.7 ≈ 247 TWh delivered + 9 TWh rounding/other.
Structural curtailment~2Normal grid congestion. Aurora 2026 estimate: ~3 TWh/yr structural going forward.
Post-blackout curtailment~7One-off 2025: REE curtailed renewables to keep gas running for grid inertia post April 28. July: 11% curtailment rate. Returns to ~3 TWh structural in 2026.
Model normalisation:
Wind/solar set to normalised 2025 (62.8/53.2 TWh) — post-blackout 7 TWh curtailment restored to RE generation. Other firm sources (CSP 2.4 + biomass 4.1 + coal 1.1 = 7.6 TWh) added to supply pool. Net exports default 13 TWh (REE actual). At defaults: gas ≈ 45 TWh, matching REE metered 45.7 — i.e. model reproduces the actual blackout-distorted year. Set exports = 0 to see "closed system" gas of ~32 TWh; set wind/solar back to metered 58.8/50.2 to model the actual 2025 dispatch.
Technology cost reference — fixed market/technology assumptions not policy variables
SourceCapex €M/GWLCOE €/MWhCF %Note
Solar PV€700M/GW€32/MWh19%Lowest in Europe. Capture rate ~55% at 48 GW — falling with scale
Onshore wind€1,200M/GW€50/MWh28%Best sites Spain. EU avg auction €76/MWh. Seasonally complementary to solar
Nuclear life extension€500M/GW€33/MWh83%Cheapest firm capacity. 30yr life extension. Phase-out 2027–2035 contested
Nuclear new build€6,000–8,000M/GW€90–120/MWh85%European new build 2025. Not realistic for Spain this decade
Conventional hydro~€15/MWhvariableFully developed. Existing fleet amortised. No new sites available
Pumped hydro (new)€1,500–2,000M/GW€50–80/MWhseasonalClosed-loop only. Long life, seasonal storage, provides inertia
Field BESS€150/kWh€65/MWhdailyCo-located at PV site. Daily cycling. No grid permit needed
Grid corridor (S→N)€250–500M/GWPayback 3–7 yrs on gas savings alone. Permitting is the bottleneck
9 — Model assumptions every hard-coded coefficient

Every number below is a modeller choice or a literature-sourced constant. Change any of them and policy ranking can flip. Listed for transparency.

CoefficientValueUsed forSource / Justification
Solar gas-displacement rate (base)15% at 256 TWh demandPanel 8 €/tCO₂ for solarAurora 2025 anchor. S-curve in demand (cumulative-normal, inflection 320 TWh, peak +40pp at 400 TWh). Reflects: noon already saturated at low demand → flat slope; mid-demand electrification absorbs noon → steepest gain; very high demand re-saturates → tapers. Corridor coupling: zero at default sliders (gas barely runs at midday today), grows with joint stress of demand × solar build, capped +8pp. Captures that S→N corridor matters for solar gas-displacement only when both electrification and solar expansion stress the transmission.
Wind gas-displacement rate (base)85% at 256 TWh demandPanel 8 €/tCO₂ for windAurora/Ember anchor. S-curve, peak +10pp at 400 TWh. Wind already high — small headroom.
Solar capture rate (base)52% at 48 GW, 256 TWh, pure southEffective solar costAurora 2025 anchor. S-curve in demand (peak +30pp). Linear penalty for scale (−0.3pp/GW above 48). Linear bonuses for E/W (+15pp), BESS (+10pp cap), pumped (+5pp), corridor (+5pp).
Wind capture rate (base)85% at 256 TWhEffective wind costEU avg 2024. S-curve, peak +5pp at 400 TWh.
Grid quality slope0.02 per GWCurtailment formulaCalibrated to 2024 actual ~2 TWh curtailment at 6 GW corridor. Formula: gridQuality = min(0.99, 0.85 + (corridorGW − 4) × 0.02). At 6 GW → 89% quality; at 15 GW → 99%. The fraction (1 − gridQuality) of post-BESS/pumped noon surplus becomes curtailment. No first-principles derivation — calibrated to match observed 2024–25 curtailment.
Corridor gas saving2.5% per GWPanel 8 corridor €/tCO₂Modeller estimate from REE corridor expansion plans. Not from a dispatch model.
CO₂ factor (Spanish CCGT)0.40 tCO₂/MWhAll CO₂ calculations55% efficient gas turbine, EU emission factor. Standard.
Solar LCOE€32/MWhSystem costIRENA Spain 2025. Lowest in Europe.
Wind LCOE€50/MWhSystem costSpanish auction 2024-25.
Solar capex€700M/GWPanel 8BNEF 2025 utility-scale Spain.
Wind capex€1,200M/GWPanel 8BNEF 2025 onshore wind Spain.
Nuclear life-ext capex€500M/GWPanel 8OECD NEA 2024 LTO costs. 30-year extension assumed.
Field BESS capex€150/kWhBESS LCOSBNEF Europe 2025. 4-hour systems.
Asset lives25 yr (RE), 30 yr (nuc), 15 yr (BESS)Annuity calcStandard. Nuclear extension 30 yr assumes Spanish 60-yr licence path.
Solar fleet CF (blended)12.7%TWh per GW53.2 TWh / 48 GW / 8.76 = derived from REE 2025.
Wind fleet CF (blended)21.7%TWh per GW62.8 TWh / 33 GW / 8.76 = derived from REE 2025.
Nuclear CF83%Nuclear TWhSpanish fleet average 2024.
Other firm sources7.6 TWh flatSupply poolCSP 2.4 + biomass 4.1 + coal 1.1 from REE 2025. Inflexible — does not respond to sliders.
CHP annual16 TWh, winter-shapedSupply poolREE 2025. Industrial heat-led shape (winter > summer).
Gas baseline (price-hours formula)45 TWh"Hours gas sets price" cardAnchored to model default. Power-law decay with exponent 0.6.
Pumped charge efficiency80% RTECurtailment absorptionStandard pumped hydro round-trip.
BESS charge efficiency92% / 95%Curtailment absorptionStandard Li-ion charge/discharge.

Outside scope: The model is an annual energy balance with monthly disaggregation. It does not simulate hourly dispatch, merit-order clearing, firm capacity adequacy, transmission flow physics, wholesale price formation, or sector-coupling pathways. Those are the territory of full-resolution models (PLEXOS, Aurora, TIMES). For the question this tool addresses — which policy levers move which outcomes, and in what order of magnitude — annual resolution with calibrated dynamic relations is sufficient.

Grid stability / inertia note: The April 2025 blackout exposed a synchronous-mass shortfall under high-RE conditions. This is a separate concern from the energy balance modelled here. Spain is addressing it independently with synchronous condensers and rotating-mass devices ("flywheel"-class units), so the model does not encode an inertia floor on gas. A planner using this tool to set a low gas target should verify that the inertia/grid-forming buildout is on track in parallel.

10 — Validation against 2025 actuals model output vs REE measured

Move sliders back to defaults to see this comparison. Numbers in italics are derived from model; non-italic are REE/Ember actuals.

MetricModel output (defaults)REE / Ember 2025 actualΔComment
Gas peaker generation~45 TWh45.7 TWh metered (38.7 normalised)−2%Within rounding band ✓
Solar generation53.2 TWh50.2 metered + 3 curtailed = 53.20%Calibrated ✓
Wind generation62.8 TWh58.8 metered + 4 curtailed = 62.80%Calibrated ✓
Nuclear generation50.9 TWh51.7 TWh−1.5%Within rounding ✓
Curtailment~3 TWh~3 TWh structural (Aurora 2026 fwd)0%Tuned to match ✓
Hours gas sets price15%~15% (Ember 2026)0%Anchored — formula not validated forward
CO₂ emissions (power)~18 Mt29.5 Mt (REE incl. all fossil)−39%Model only counts gas peaker; REE includes coal+CHP+CSP+islands
Net exports13 TWh (slider)13 TWh0%Set by user. Modelled flat across months — real exports are summer-skewed; winter gas slightly overstated as a result.
Solar capture rate52%52% (Aurora 2025)0%Anchored — base case validates only

What is and isn't validated: The annual energy balance reproduces REE 2025 within ~2%. Capture rates and displacement rates are anchored to Aurora/Ember 2025 published values; their dynamic shape with demand follows an S-curve calibrated to grid physics. The €/tCO₂ ranking in Panel 8 (nuclear < grid/wind < solar at current demand) survives ±50% perturbation of every heuristic coefficient — it is a structural result of when each source generates relative to when gas runs, not an artefact of the constants chosen. The S-curve also captures solar's improving case as Spain electrifies — at 360 TWh demand with E/W orientation and storage, solar approaches wind on €/tCO₂. Direction is robust; magnitudes are indicative.