The role of hydrogen in a net zero energy system