Spain has published far-reaching plans to completely switch away from fossil fuels to run its power system entirely on renewable electricity by 2050 and to fully