The role of batteries in the Spanish electricity market: key to the energy transition

The energy transition in Spain is progressing at full speed. In just a few years, the country has been filled with solar panels and wind turbines, leading Europe in the incorporation of clean energy. But this success has its flip side: the Spanish electricity system was not designed to handle so much renewable energy without a stable backing. April 28th made it clear. In the middle of a spring afternoon, with the sun shining and the wind blowing, part of the country was left without electricity. It was not sabotage or a one-off technical failure: it was a warning.

Although there are no details of what happened that day, some experts point out that it was a direct consequence of a saturated renewable generation system at a time of traditional synchronous low generation – that is, without the electrical “weight” provided by large conventional power plants. The network, as it was conceived, needs stability, and that stability is provided by technologies capable of maintaining the balance of the system in milliseconds. Without that backup, excess green energy can become a problem. That is why, rather than blaming renewables, the blackout points to a structural debt: we have not followed the renewable revolution with the necessary infrastructure. Batteries, synchronous compensators and other flexibility technologies are no longer a futuristic option, but an urgent pillar so that the energy transition does not become a risk to supply security.

What are electric batteries and how do they work?

Electric batteries store energy to release later when needed. The most common today are lithium-ion, although there are also emerging technologies such as flow, sodium or second-life batteries from electric vehicles. Its applications range from domestic self-consumption to utility-scale installations, including backup systems for electricity grids or data centers.

Beyond storing energy, batteries can operate as key assets of the electrical system. Its services include energy arbitrage (buying low and selling high), the provision of balancing and reserve services, and participation in capacity markets.

In Spain, access to markets such as day-ahead, intraday or adjustment services is already contemplated, although still with certain practical limitations.

Regulation and technical and legal barriers

Many of these limitations, however, are rooted in a regulatory framework that has not yet evolved at the pace required by the energy transition.

To this day, obstacles persist such as:

  • Lack of a legal figure for batteries: they are currently considered generators or consumers, which implies double tolls and costs that discourage their development.
  • Delays in the remuneration of services: there are still no stable mechanisms to remunerate services such as network balance or rapid response capacity, which are valued in other markets.

Until a year ago, there was a third additional barrier: grid connection problems. Characterized by priority to renewables, administrative slowness, and lack of systemic vision that integrates storage into grid planning. However, something is starting to move…

Hybridization

The hybridization of energy facilities is becoming the axis on which regulators want to start building a more coherent and functional regulatory framework. This approach – which combines renewable generation and storage at the same connection point – is at the heart of the Draft Royal Decree amending RD 413/2014, which is currently being processed. The proposal not only recognizes the strategic value of hybrid plants but also gives them grid access priority over projects that operate solely on renewables or batteries alone. It is a relevant first step towards a more flexible, efficient and resilient model.

There is still much to be done, but this project shows where the path is going. A warning to developers: hybridization is beginning to take center stage in energy regulation.

The deployment of batteries on a large scale not only transforms the electrical system from within but will also have visible effects for the consumer. By enabling greater integration of renewables and reducing clean energy discharges, batteries can help lower prices at peak times and reduce electricity market volatility. In addition, in the not-so-distant future, they could facilitate more advanced self-consumption models, where households, energy communities or companies optimize their consumption with their own storage systems. In this new ecosystem, the consumer will cease to be a passive actor and will become an active part of the stability and efficiency of the system.

To adapt to the rapidly evolving energy landscape, Haya Energy Solutions now offers a valorization service that offers a comprehensive analysis — economic, technical, and regulatory — to help you identify the maximum potential of your project. Through our proprietary tools, CHEF and RINGO, we project future price hourly curves and optimize battery usage according to different valorization scenarios (grid services, capacity market, SRAD, among others). We tailor each study to the client’s specific characteristics, whether for stand-alone or hybrid systems, ensuring informed and cost-effective decisions.

To make its deployment a reality for all users, the development of well-designed hybrid models, intelligent management systems and aggregation platforms that allow thousands of small storage units to be coordinated will be essential. The future of the Spanish electricity system will not only be more renewable, but it will also be more flexible, decentralized and smarter. And batteries will be at the center of that transformation.

Broadly speaking, aggregators – entities that pool multiple distributed energy resources (including batteries) – will transform the Spanish electricity market by providing flexibility, optimizing the use of storage capacity and strengthening the integration of renewables. Thanks to aggregators, batteries will be able to participate in a coordinated manner in wholesale, adjustment and ancillary services markets, reducing clean energy curtailment and smoothing price volatility. This will lead to more intense competition in capacity and reserve auctions, greater efficiency in the supply-demand balance and a different distribution of benefits between producers, consumers and network operators. However, its real impact will depend on regulatory maturity (Directive 2019/944), system interoperability and country-specific incentives, as well as the evolution of battery costs.

Future prospects

The PNIEC 2023-2030 sets ambitious targets for installed battery capacity. With a goal of 22 GW of storage by 2030, of which an estimated 9 GW will be battery; The aim is to make the grid more flexible to manage high levels of solar and wind, reduce discharges of renewables, especially in spring, and support non-peninsular areas and self-consumption.

In regulatory terms, it is on the table that the new capacity auction framework (scheduled for 2025-2026) explicitly includes storage, although it is not yet defined.

In addition, more innovative technologies such as green hydrogen, hybrid systems and second-life batteries are expected to complement this evolution. Thus, innovation will be key to reducing costs, increasing efficiency and achieving true sustainable electrification.

Spain is moving towards a cleaner electricity system, but also a more complex one. Batteries are presented as a central element to provide flexibility and firmness to the network. Although there are still challenges to overcome, their role will be decisive in the decarbonization of the energy system and in the construction of a safer, more efficient and resilient model.

Paloma Hepburn Jiménez & Diego Marroquín

Suscribe to our Newsletter

Each month, one of our experts publishes an article describing his view on a specific topic of the constant changes taking place in the energy market, with special focus on the French market.

Biography

Diego is a Consultant at Haya Energy Solutions. He has 1 year of experience specializing in developing models for energy price forecasting, energy availability and production, and battery optimization.

Diego obtained a bachelor’s in Science in Political Economy from the King’s College London, and later a dual Master’s in Management and Computer Science from the IE University of Madrid.

Diego Marroquín

Consultant

Diego Marroquin - Consultant | Haya Energy Solutions

Biography

Céline is the Head of Business Development and Administration at Haya Energy Solutions. She plays a key role in driving the company’s growth by expanding its market presence, strengthening brand positioning at the European level and implementing strategic initiatives. She also manages the company’s administrative operations, ensuring efficient financial management, including accounting and budget oversight.

She is also a Consultant at Haya Energy Solutions, specialising in the optimisation of energy procurement through the analysis of market trends and regulatory developments. She also provides strategic guidance to identify opportunities and tailor solutions to the specific needs of each client.

Céline holds a degree in Philology from the Sorbonne University and holds a master’s in Project Management and Cultural Tourism from the University of Clermont-Ferrand.

Céline Haya Sauvage

Head of Business Development and Administration

Céline Haya Sauvage - Head of Business Development and Administration | Haya Energy Solutions

Investment Advice

“Decarbonization of the Energy and Transport sectors is arguably today’s main economic driver for the industry.”

Biography

His career started in civil engineering as a Project Manager in France, Martinique and Australia. Afterwards, he became the General Manager of a subsidiary in Venezuela. In 1992, he established Dalkia in Germany (district heating, cogeneration, and partnerships) and represented Véolia in Thailand. In 2000, he opened the commercial office of Endesa in France to take advantage of the liberalized retail market. From 2006, as a development Manager at Endesa France, he led Endesa’s plan for Combined Cycle generation in France and developed the wind and PV portfolio of Snet at the same time. 

Philippe worked for 3 years at E.ON’s headquarters coordinating the company´s activities in France. He was strongly involved in the French hydro concession renewal project. As a Senior Vice President – Project Director at Solvay Energy Services from April 2012 to February 2014 he was in charge of the H2/Power to gas and European direct market access deployment projects. Philippe has been an HES expert since 2014.

Philippe holds engineering degrees both from the Ecole Polytechnique and the Ecole Nationale des Ponts & Chaussées (France) and has a combined experience of more than 25 years in energy and infrastructure. In addition to English, Mr. Boulanger is fluent in French, German & Spanish.

Philippe Boulanger

Electricity Expert

Philippe Boulanger - Electricity Expert | Haya Energy Solutions

“The world is changing. New investors pay particular attention to the energy sector while historical actors adapt their position to the market.”

Biography

Antonio is the founder and President of Haya Energy Solutions, a specialized consulting firm focused on the energy sector, which has developed M&A projects in renewable and conventional power generation, cogeneration, district heating, gas and power retail, energy procurement and power optimization in France, Spain, Portugal, Germany and UK.

Prior to this, Antonio was CEO of KKR’s CELEST Power in France (2x410MW CCGT). He was also CEO of Endesa France and General Secretary, Strategy & Corporate Development Director at E.ON France. Formerly, he held different positions at Endesa, including Responsible for M&A at Endesa Europe and Regulation Specialist at Endesa Distribution.

Antonio holds an MBA from the University of Deusto and a degree in Industrial Engineering from the Higher Technical School of Engineering of the University of Seville.

Antonio Haya

President

Antonio Haya - President | Haya Energy Solutions