Spain's solar energy boom has been a topic of much discussion and concern, with headlines painting a picture of a bust and investors looking to exit. But is this the full story? In my opinion, the narrative is more complex and nuanced than it initially seems. While it's true that Spain's solar power has created a glut of electricity, leading to negative prices and potential investor exodus, there are several factors at play that are often overlooked. Firstly, let's consider the broader context. Spain's ambitious expansion of renewables is a response to the urgent need to reduce carbon emissions and transition away from polluting fossil fuels. The country has invested over €70 billion in clean energy in the last 15 years, and this has paid off in terms of renewable energy production. According to Ember, Spain relied on fossil fuels for just 25% of its electricity in 2025, and its per capita emissions were below the EU average. This is a significant achievement and a testament to the success of Spain's renewable energy strategy. However, the merit order principle, which ensures that electricity prices are based on the most expensive power plants still needed to meet demand, means that despite investment in renewables, electricity prices remain high across Europe. This is a critical point, as it highlights the tension between the desire for renewable energy and the need for affordable electricity. Now, let's delve into the solar glut issue. The surge in solar investment has indeed created a glut of electricity, with negative prices and potential investor exodus. But what many people don't realize is that this is not an isolated problem. In fact, it's a symptom of a broader issue: the inflexibility of solar energy. Solar power is generated in the day, when energy consumption tends to be low, and stops producing energy in the evening, when many households need more energy. This creates a mismatch between supply and demand, leading to negative prices and wasted solar energy. To address this, experts suggest introducing a price floor and a price ceiling, similar to the mechanism used under the 'Iberian exception'. This would help ensure that renewable generators can earn an adequate return on their investments and prevent the widespread occurrence of zero or negative prices. But, in my opinion, the solution goes beyond this. Battery storage is a promising solution, allowing both households and solar farms to store energy produced during the day for use later in the evening. This would help even out Spain's energy consumption and reduce the amount of negative electricity prices. In fact, Bloomberg states that one solar firm in Spain pulled its sale after choosing to invest in batteries. The cost of batteries has plummeted by 85% in the last 10 years, making them a much more affordable solution. The European Commission has approved €200 million in Spanish State aid to accelerate the green transition, including aid for investments in battery storage. However, it's not just about batteries. Creating more demand at times of high renewables output is another important solution. Smart electrification, such as smart charging for electric vehicles, can help absorb excess energy and reduce the amount of negative prices. In fact, according to Ember estimates, smart charging EVs alone would have the potential to absorb around 3% of peak hourly wind and solar generation in Spain. But, the problem is that the variable part of the network charge is at its highest level during the hours of 10am to 2pm and 6-10pm, discouraging consumption precisely at the time of the midday solar peak. This is a critical issue that needs to be addressed. In conclusion, Spain's solar energy boom is not a bust, but rather a complex and evolving situation. While the glut of electricity and negative prices are real issues, there are solutions available, such as battery storage and smart electrification. The challenge now is to implement these solutions and create a more sustainable and resilient energy system for Spain. In my opinion, the future of Spain's energy sector looks bright, but it will require a combination of policy, technology, and consumer behavior changes to fully realize its potential.