Both solar and wind will create many periods of abundant electricity. This is happening. EU is betting on hydrogen as a strategy for dealing with this abundance. There is a hydrogen ladder [1], which describes the best opportunities currently known for hydrogen.
1: https://drive.google.com/file/d/1oZ3k6RCf8Y9YLKorogDeEB1Sp8n...