German renewable energy: lack of network expansion
Although Germany has massively invested into green energy, the issue is that the electric network has not been sufficiently expanded. This means that solar and wind energy has to be turned off to not overload the network. However, the owners of solar/wind energy still get paid. This means that in Germany, the price of energy will only make up ~50% of the bill. The other 50% are payments for unused energy (to not overload the network) and costs for expanding the electric network (because some regions such as Bavaria refuse to have wind turbines or solar panels "because they look ugly", but still need electric). Lesson: When implementing renewable energy in the rest of the world, we have to keep in mind that we have to massively invest into the electric network as well or it won't work.
UK has a similar situation between England and Scotland. Connectors between them require approval from both regions and so national grid are landing cables from off shore wind farms hundreds of miles further south than they should. All to avoid politicians.
Germany is ruled by NIMBYs, unfortunately. And a lot of people are just stuck in the past and refuse to acknowledge that things change regardless of whether they like it or not. Oh and then there's the Bavarians.
For renewables to work you need diversity of generation. The sun might be shining in Spain when the wind doesn't blow in Germany. If we start putting barriers to cooperation in place through "local first" mindsets then each region will be maintain gas and coal long after they could have been turned off.
The problem is that you need a reason to transport the electricity from Spain to Germany. There are very real limits to the electricity grid and that means, that you can not ignore the location of the electricity production. So in a market based system, electricity in Spain has to be cheaper then in Germany, the difference being the cost of electricity transport and/or the cost of flexible electricity generation in Germany, depending on the grid having enough capacity.
That does not mean barriers, just a system to not pretend the weather in Spain and Germany is the same at all times or that the electricity grid is not limited in any way.