That's simply not relevant. Exclude nuclear from my above comment, consider only solar and it makes no difference. Using any kind of electricity, solar or otherwise, to split water to get hydrogen is not competitive with steam reforming of hydrocarbons and it certainly isn't competitive with batteries. The most economically efficient way to get hydrogen is to get it from hydrocarbons, and even that is not competitive with batteries.
> Green hydrogen produced by the electrolysis of water is less than 0.1% of total hydrogen production.
This is not the way it's done, and it's not because we don't have enough solar panels. It's because electrolysis sucks. Hypothesize a country where 100% of the grid is run off solar if you want to, "green hydrogen" is still dead on arrival.
Getting hydrogen by splitting water: https://en.wikipedia.org/wiki/Green_hydrogen
> Green hydrogen produced by the electrolysis of water is less than 0.1% of total hydrogen production.
This is not the way it's done, and it's not because we don't have enough solar panels. It's because electrolysis sucks. Hypothesize a country where 100% of the grid is run off solar if you want to, "green hydrogen" is still dead on arrival.