Hydrogen vs. Battery Electric Cars

there isn't going to be one solution to our global problem, as you say it will consist of bev and fcev. but if hydrogen is less efficient (you need more electricity to get enough hydrogen to go an equal distance as a bev) and if that is true how is wont the electrolysis process be more detrimental to the grid?   altho thinking about it you could generate hydrogen during the. be when there is peak power demand. i guess I've answered my own question haha