A hydrogen economy is a hypothetical future economy in which the primary energy used for automobiles and other vehicles as well as creating electricity comes from hydrogen . In a future full hydrogen economy , primary energy sources and feedstock would be used to produce hydrogen gas as stored energy for use in various sectors of the economy .