Germany plans to phase out nuclear energy and replace it with renewable sources, such as wind and solar power.