A hydrogen energy system for a facility that is disposed off-board a vehicle. The system includes a hydrogen generator disposed at the facility for generating hydrogen by water electrolysis, a hydrogen storage apparatus for storing at least some of the hydrogen generated by the hydrogen generator, and a controller having a computer processor for receiving and processing certain control inputs. The controller is operatively connected to the hydrogen generator for controlling the generation of hydrogen based on the control inputs.