The amount of electricity used in Spain has inched up this year after falling for two consecutive years, with a record 56% coming from renewable sources such as wind and solar, according to estimates on Thursday from grid operator Red Electrica.

Flagging electricity demand has been a key concern for Spain's renewables industry, which warned that the mismatch with increasing supply of green energy threatened future investments in the sector.

Demand rose 1% - or 1.6% when adjusted by working hours and temperature - from 2023 to 248 terawatt hours, the preliminary figures show.

A view shows wind turbines in front of a cow at Paradela's City Council, in Galicia, Spain September 27, 2022. REUTERS/Nacho Doce

Spain has set ambitious targets for renewables in its climate and energy plan. By the end of the decade, renewables are expected to generate 81% of the country's electricity.

The 56% coming from renewables in 2024 represents an increase of six percentage points over last year, which had been the highest so far.

Wind was again the main source of electricity generated in Spain, accounting for roughly 23% of the mix, followed by nuclear power at 19%.

After a strong growth, solar photovoltaic occupied third place, surpassing gas plants.

Carbon dioxide emissions tied to the production of electricity fell more than 16%, thanks to the growth of green energy sources and a sharp decline in use of gas to produce electricity.