ED.CAPACITY
Installed generation capacity (MW) by technology and region.
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.
15 technologies covered — see the values table below.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| tech* | string | — | Technology code. See valid values below. |
| region | string | — | CCAA name (e.g. "Andalucía"). Omit for the national total. |
| date | YYYY-MM | — | Month. Omit for the latest. |
* Required.
Valid values for tech
| Code | Description |
|---|---|
| solar_pv | Solar photovoltaic |
| wind | Onshore wind |
| nuclear | Nuclear |
| hydro | Hydro (reservoir + run-of-river) |
| pumped_hydro | Pumped storage (reversible hydro) |
| ccgt | Combined-cycle gas (CCGT) |
| coal | Coal |
| diesel | Diesel engines (non-mainland island systems) |
| gas_turbine | Open-cycle gas turbine |
| steam_turbine | Conventional steam turbine |
| solar_thermal | Concentrated solar thermal |
| cogeneration | Cogeneration |
| other_renewable | Other renewables (biomass, biogas, geothermal…) |
| waste_renewable | Renewable waste (organic fraction) |
| waste_non_renewable | Non-renewable waste |
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