Hydrogen vs. Battery Electric Cars

One thing that was not considered when you talked about producing hydrogen is that oxygen is also produced by electrolysis. Assuming that the oxygen is also collected and sold, then the cost inefficiency involved with electrolysis should be divided between the hydrogen and oxygen production and not assigned wholly to hydrogen. While this won't tip the efficiency scales in favor of hydrogen, the fact that oxygen is a byproduct of electrolysis could be important for hospitals and all the rocket ships NASA and the private corporations are launching (which all use large quantities of LOX, Liquid OXygen).