Influence of hydrogen on grid investments for smart microgrids