An investigation into the use of pulsed power for efficient hydrogen production