Beta — Data under validation. Values may contain errors.

ED.CAPACITY

Installed generation capacity (MW) by technology and region.

Installed capacity

Signature

ED.CAPACITY(tech, [region], [date])

Description

Installed capacity (MW) by technology. National total when region is omitted; pass a CCAA name (e.g. "Andalucía", "Cataluña") for the regional figure. Source: REE installed capacity series (ESIOS indicators 1475-1491).

Capacity is a stock — it represents what is connected and operational at the end of the period. Returns the latest available month unless date is provided. For a time series use ED.CAPACITY.RANGE.

16 technologies covered — see the values table below. **battery** is special: it is operational grid-scale storage from REE's REData *almacenamiento* "Batería" series, **national-only** (no CCAA breakdown), **monthly/provisional**, with history from **2021-09** (~3 MW in 2021 → ~153 MW end-2025). It is a live, retroactively-revised series and does **not** match REE's annual *Informe del Sistema Eléctrico* (ISE-2025 reports 96 MW at end-2025 vs ~153 MW here — an upstream REE timing/scope difference, not an ingest issue). It excludes behind-the-meter self-consumption; hybrid (solar+battery) storage is a separate REE product. It is NOT the same as battery power flow or the grid-access pipeline.

Parameters

NameTypeDefaultDescription
tech*stringTechnology code. See valid values below.
regionstringCCAA name (e.g. "Andalucía"). Omit for the national total. Note: battery is national-only.
dateYYYY-MMMonth. Omit for the latest.

* Required.

Valid values for tech

CodeDescription
solar_pvSolar photovoltaic
windOnshore wind
nuclearNuclear
hydroHydro (reservoir + run-of-river)
pumped_hydroPumped storage (reversible hydro)
ccgtCombined-cycle gas (CCGT)
coalCoal
dieselDiesel engines (non-mainland island systems)
gas_turbineOpen-cycle gas turbine
steam_turbineConventional steam turbine
solar_thermalConcentrated solar thermal
cogenerationCogeneration
other_renewableOther renewables (biomass, biogas, geothermal…)
waste_renewableRenewable waste (organic fraction)
waste_non_renewableNon-renewable waste
batteryGrid-scale battery storage (operational). Source: REData almacenamiento "Batería" series — national-only (no CCAA split), monthly & provisional, history from 2021-09. This is a live, retroactively-revised series and will not match REE's annual Informe del Sistema Eléctrico (ISE-2025 reports 96 MW at end-2025 vs ~153 MW here — an upstream REE timing/scope difference, not an ingest discrepancy). Excludes behind-the-meter self-consumption; hybrid (solar+battery) storage is a separate REE product. NOT the same as battery power flow (ED.GET battery_charge/battery_delivery) or the grid-access pipeline (ED.GRID baterias).

Returns

Number — installed capacity in MW.

Examples

=ED.CAPACITY("solar_pv")National solar PV total (latest)
=ED.CAPACITY("wind", "Andalucía")Wind installed in Andalucía
=ED.CAPACITY("nuclear",, "2025-01")Nuclear at end of Jan 2025
=ED.CAPACITY("pumped_hydro")Pumped storage (bombeo) — Spain has ~6 GW
=ED.CAPACITY("battery")Operational grid-scale BESS (national, REData)

Notes

  • battery is operational grid-scale storage from REData almacenamiento (the "Batería" series): national-only (no CCAA split), monthly & provisional, history from 2021-09. Distinct from battery power flow (battery_charge/battery_delivery), grid-access pipeline (ED.GRID baterías), and behind-the-meter self-consumption.
  • The battery series is live and revised retroactively, so it does not match REE's annual *Informe del Sistema Eléctrico* (ISE-2025: 96 MW at end-2025 vs ~153 MW in this series). The gap is upstream REE timing/scope, not an ingest discrepancy — the series tracks the figures external trackers cite (~28 MW Apr-2025 → ~153 MW Dec-2025 → ~193 MW Feb-2026 → ~221 MW from Mar-2026). Hybrid (solar+battery) storage is a separate REE product and is not included.

Related functions