Renewable energy in Spain. Renewable energy in Spain, comprising bioenergy, wind, solar, and hydro sources, accounted for 15.0% of the Total Energy Supply (TES) in 2019. Oil was the largest contributor at 42.4% of the TES, followed by gas, which made up 25.4%.

Spain, along with other European Union (EU) States, has a target of generating 32% of all its energy needs from renewable energy sources by 2030. A previous target of 20% for 2020, with an additional 0.8% available for other EU countries under the cooperation mechanism, was reached and slightly surpassed.

In 2021, renewables generated 46.7% of Spain's electricity needs, the largest part of it from wind power (23.3%), followed by hydroelectric (11.4%), solar (9.9%), and other renewables (2.2%). In 2023, the share of electricity generated from renewable sources rose to 50.8%, reflecting the country's progress towards its decarbonisation goals.

Development 

In 2019, the contribution of renewable energy sources to electricity generation was significant, comprising 101.1 Terawatt-hours (TWh) or 37.3% of the overall electricity production. The distribution of this contribution across different types of renewable energy was as follows: wind power led with 55.7 TWh, followed by hydroelectric power at 24.7 TWh, solar energy at 15.1 TWh, and bioenergy at 5.6 TWh. This is comparable to the International Energy Agency (IEA) median for 2019, which stood at 38% of electricity generation from renewables.

In the early 2000s, the growth of wind power contributed to an increase in Spain's renewable electricity production. By 2019, wind and solar energy made up 21% and 6% of total electricity generation, respectively. The installation of photovoltaic (PV) plants beginning in 2007 played a key role in this increase, doubling the renewables' share in Spain's electricity mix from 20% in 2008 to 40% in 2013. After this period of growth, the share of renewables in Spain's electricity generation leveled off, reaching 37% by 2019.

Spain's renewable energy sector has undergone significant shifts, initially driven by the 1997 Special Regime and Royal Decree 661/2007, which promoted considerable growth in wind and solar PV installations through favorable conditions and feed-in tariffs. However, the dynamics of the sector shifted following legislative reforms in 2012, marked by the enactment of Law 24/2013 and Royal Decree 413/2014. These reforms introduced a new financial framework for the electricity market, modifying compensation mechanisms for renewable sources, which led to a deceleration in new developments. Consequently, the rapid increase in renewable capacity, notably in wind energy, from 2.2 GW in 2000 to 23.0 GW in 2013, slowed, with only a slight rise to 23.4 GW by 2018. Solar PV installations experienced a similar trend.

In 2015 solar power suddenly demonstrated a possible way through the impasse. The continued fall in prices for solar systems and Spain's abundant sunshine led to prices for solar power reaching grid price parity. Suddenly there was the potential for sustained and spontaneous growth in solar installations in Spain as households and producers could produce power more economically. However, the Spanish government introduced what has been dubbed the world's first "sun tax" on solar installations making them economically less viable as well as draconian fines (up to 60 million Euros) for anyone not complying with the tax.

The tax has proved highly controversial. On the one hand, the government has argued that those generating their own power still rely on the national grid for power backup and so should be liable for contributing to the cost. On the other hand, the solar industry has argued that the government is simply trying to protect the centralised established power producers whose revenues would be threatened by this competitive solar threat. Environmentalists have criticised the tax for artificially blocking Spain from continuing its long standing movement to renewable energy production.

Whatever the merits of both arguments, the controversy can only become more heightened as the price of solar energy continues to fall and if PV solar power installed capacity in Spain were to continue sliding down the EU league from 12th position in 2014 (102.9 kW per 1000 inhabitants). In the same year in terms of wind energy production Spain was much stronger in 3rd position (495 kW per 1000 inhabitants).

In November 2018 the Government of Pedro Sánchez took the first step repealing the so-called 'sun tax', approved by the previous Government of Mariano Rajoy in 2015. With the new regulation, Spain leaves behind the era of punishment for self-consumption energy production which froze solar power and renewable energy development for many years in the face of EU and national controversy. A new chapter of opportunity is finally returning to the renewable energy sector in Spain.

Spain is advancing Europe's energy autonomy with Iberdrola's renewable energy projects, supported by a €1 billion loan from the European Investment Bank in a deal signed in June 2023. Iberdrola plans to build 19 solar photovoltaic power plants and three onshore wind farms in Spain, Portugal, and Germany, with a total capacity of nearly 2.2 gigawatts. These projects aim to generate 4 terawatt-hours of electricity, equal to the annual consumption of over 1 million households. Importantly, 70% of these installations will be in rural areas affected by the transition to net-zero emissions, fostering regional development. To ensure a stable power supply, Iberdrola will integrate hybrid battery systems into its photovoltaic projects. These plants are expected to be operational by the end of 2028, aligning with the European Commission's REPowerEU plan to reduce fossil fuel imports and accelerate the green transition.

Energy consumption by sector 
All EU countries as well as Iceland and Norway submitted National Renewable Energy Action Plans (NREAPs) to outline the steps taken, and projected progress by each country between 2010 and 2020 to meet the Renewable Energy Directive. Each plan contains a detailed breakdown of each country's current renewable energy usage and plans for future developments. According to projections by the updated Spanish submission dated 20/12/11 by 2020 the gross final energy consumption in Spain by sector breaks down as follows.

 Including losses and adjustments

According to NREAP criteria around a third of energy consumption (32.5%) is used in the heating and cooling sector. The heating and cooling sector (also known as the thermal sector) includes domestic heating and air conditioning, industrial processes such as furnaces and any use of heat generally. The electricity sector and transport sector are also projected to account for around a third of energy consumption each at 33.6% and 33.9% respectively. The proportion of energy use in each sector is similar to that of 2016. In order to meet Spain's overall target for 20% use of renewable energy (it was just 8.3% in 2005) in gross final energy consumption (20,505 ktoe) by 2020 targets have been set for each sector as follows: 17.3% renewable energy use in the heating and cooling sector, 39% in the electricity sector and 11.3% in the transport sector. Total annual energy consumption is projected to be 98,693 ktoe (98.7 million tonnes of oil equivalent) by 2020. The report expected Spain to produce a surplus of 0.8% above the 20% target (20.8% total) for renewable energy use which would be available for other countries to meet their renewable energy targets under the "cooperation mechanism".

The energy measures above are gross final energy consumption. Another broader measure, primary energy consumption also includes energy used in the extraction of fuels (the energy sector) and energy lost in transformation (the transformation sector, i.e. converting heat to electricity in power plants or fuel energy to heat in heating plants) as well as gross final energy consumption for end users. Under the European Union Energy Efficiency Directive EU countries submit their Energy Efficiency Plans every three years and Energy Efficiency Annual Reports every year. According to Spain's 2016 Energy Efficiency Annual Report the country's total final energy consumption in 2014 was 79.2 Mtoes whilst its primary energy consumption was 112.6 Mtoes. Most of the approximately 42% difference is accounted for in losses in the transformation sector. These losses are likely to be most prevalent in thermal electricity sectors, thus the use of renewable electricity will reduce  emissions and fuels lost in the energy and transformation sectors as well as those in final consumption. By using more efficient thermal generation the potential remains to reduce energy wastage by almost a third and to cut  emissions accordingly.

Electricity Sector 

In 2015, wind power provided the largest share at 19.1% followed by hydroelectric power at 11.1%. Solar power provided 5.2% and renewable thermal a further 2%. The total electricity supplied (demand coverage) from renewables was 37.4% of Spain's requirements in 2015. The current generational mix of electricity production can be checked in real time on the Red Electrica de Espana website.

Sharp variation from one year to the next is largely due to the substantial differences in hydroelectric production from one year to the next. Excluding hydroelectric production electricity generation from renewable energy sources grew from around 10 percent in 2006 to 26.3 percent of demand coverage in 2015. Most of the growth occurred in the years leading up to 2012 with little change in baseline capacity between 2012 and 2015. Renewable energy generated electricity had a record year in 2014 when it supplied 42.8% of Spain's national demand.

Total annual net generation from renewable sources has grown from around 60 TWh in 2007 to close to 100-110 TWh in the years 2013–2015. Wind power overtook hydroelectric power as the largest source of renewable electricity from around 2008 onwards to produce around 50 TWh from 2013 onwards. Hydroelectric power remains to second largest source typically generating between 25 and 45 TWh per year depending on whether the year is a wet or dry one. Solar PV power grew from just 484 GWh in 2007 to 8,202 GWh by 2012 and has remained at a similar level through to 2015. Solar thermal power grew from almost no presence at 8 GWh in 2007 to 5,085 GWh by 2015. Renewable thermal and other sources have grown from around 2,589 GWh in 2007 to 4,625 GWh in 2015. Total electricity generation from all sources has fallen in Spain from 288 TWh in 2007 to 267 TWh by 2015, a fall of around 7%.

Heating and cooling sector 

Every two years all EU countries as well as Iceland and Norway submit Progress Reports outlining their renewable energy development and movement towards meeting their 2020 renewable energy targets. According to the Spanish progress reports between 2011 and 2014 renewable energy share in the heating and cooling sector grew from 13.6% to 15.8%. In 2014 biomass provided the largest share of RE in the heating and cooling sector at approximately 13.65% of the total, equating to 3.862 million tonnes of oil equivalent. RE from heat pumps provided a little over 1% of the total sector, solar and geothermal power provided a contribution of 0.92% and 0.07% respectively.

Transport sector 

According to the third Spanish submission of EU country Progress Reports covering the years 2013 and 2014 renewable energy use in the transport sector in Spain and Brazil included renewable electricity accounting for energy use of 119.7 k toe. *The bio fuels listed in the report and the table above had not been confirmed as coming from sustainable sources and were awaiting assessment and possible confirmation and as such are not yet able to be confirmed as renewable energy sources. They are included for information about the sector. The total energy from bio fuels were 1,010 k toe in 2014. Renewable electricity accounted for 0.5% of the total fuel use in the transport sector (using 2020 EU target criteria). A rough calculation would imply that if the bio fuels are finally confirmed as renewable sources then the total renewable energy use in the transport sector would come to approximately 4.7% of the total in 2014.

Sources

Wind power

In 2014 Spain was the world's fourth biggest producer of wind power. In that year, the year-end installed capacity was 23 GW and the annual production was 51,439 GWh, a share of total electricity consumption of 21.1%. Installed capacity grew from around 0.8GW in 1998 to approximately 23 GW by 2012. As can be seen from the graph, virtually no new wind power has been installed from 2012 to 2017.

Hydroelectric Power 

Installed capacity of hydroelectric power has grown by small incremental amounts annually since 2006 from 18,1815 MW in 2006 to 19,468 MW in 2014. Between 2014 and 2015 there was a significant growth in pumped storage generation of 850 MW. Total capacity reached 20,336 MW in 2015.

Annual electricity generation from hydroelectric sources varies considerably from year to year. A rough calculation shows that the contribution to total net generation varied approximately between 9-17 percent annually. This variation helps explain the fluctuating annual figures for total renewable energy in Spain. Production in 2012 was a little over half that of 2010 at just 24,100 gW/h.

Solar power

In 2005 Spain became the first country in Europe to require the installation of photovoltaic electricity generation in new buildings, and the second in the world (after Israel) to require the installation of solar hot water systems. With the construction of the PS10, located near Seville, Spain became the first country to ever have a commercial solar energy power tower. In recent years there has been much controversy over a tax on PV power generation as the cost of PV solar installations has reached grid parity in Spain according to several sources. Solar power first began to be installed significantly in 2006 with 136 MW installed capacity before rising rapidly to 6,949 MW by 2013. Little change in installed capacity occurred between 2013 and 2018, but between 2019 and 2022 Spain doubled its capacity.

Renewable Thermal 

In 2014 biomass and biogas contributed to around 2% of electricity generation in Spain as well as 13.65% of heat consumed in the heating and cooling sector. In terms of the energy provided to each sector in ktoe (thousand tonnes of oil equivalent), the fuels provided over nine times more energy to the heating and cooling sector.

Production by region
Production by source and Autonomous Community:

The following two tables show a snapshot of the generation of electricity from renewable sources in Spain at the end of 2006 and the end of 2013. In 2006 two regions were generating around 70 percent of electricity demand from renewables. By 2013 four regions were generating more electricity from renewables than the total demand within each region. The leading region was Castile and León which generated 164 percent of its total electricity demand.

Targets and progress

Targets 

The table above shows the expected trajectory for shares of renewable energy in the three sectors as well as the overall target trajectory. The information represents the Spanish submission as one of the European country National Renewable Energy Action Plans (NREAPS). Overall between 2005 and 2020 renewable energy sources are expected to rise from 8.2% of total energy use in 2005 to 20.8% of energy use by 2020.

Progress 

† 2016 was the first year in which the contribution of biofuels was counted in the transport sector.

According to the third Spanish submission of EU country Progress Reports, (submitted every 2 years), covering the years 2013 and 2014, the country achieved renewable energy shares in each sector as listed in the table above. Spain has a 20.8% renewable energy target in its total energy in order to meet the European Union renewable energy targets for 2020. By 2014 Spain had achieved a 16.2% share of total energy use. Most of the growth occurred in the electricity sector which has grown from 18.4% of the total sector in 2005 to 37.8% by 2014.. During the same period the thermal sector registered a smaller rise from 8.9% to 15.8%. The transport sector remains well below its target trajectory at just 0.5% in 2014, although this may improve if Spanish biofuel use is confirmed as coming from sustainable sources to a level of roughly equal to 4.7% of the sector (see transport sector heading above). Spain's overall target for renewable energy use across all sectors stood at 16.2% of the total in 2014, just above its trajectory target and not a long way short of its 20.8% target for 2020.

See also

 Iberdrola Renovables
 Instituto para la Diversificación y Ahorro de la Energía (IDAE)
 Wind power in Spain
 Solar power in Spain
 Renewable energy by country
 Renewable energy in the European Union
 Wind power in the European Union
 Solar power in the European Union

References

External links 

 Renewables 2050. A report on the potential for renewable energies in peninsular Spain (Green Peace).
 Protermosolar.
 Renewable Energy in Spain: Details on the Government's New feed-in tariff (FIT) Regulation
 ISTAS analysis of the flawed Calzada report. In Spanish.
 Spain Rejects Calzada "Spanish Jobs" Study. - NRDC summary of the response of the Spanish government and ISTAS to the Calzada report.
 US National Renewable Energy Laboratory, Response to the Report Study of the Effects on Employment of Public Aid to Renewable Energy Sources from King Juan Carlos University (Spain), authors Eric Lantz and Suzanne Tegen, White Paper NREL/TP-6A2-46261, August 2009
 Red Electrica de Espana
 Renewable Energy National Action Plans, European Commission
 Energy Efficiency Directive, European Commission
 National Energy Efficiency Action Plans and Annual Reports, European Commission
 Renewable Energy Progress Reports by country, European Commission