When steam locomotives first adopted electric headlights back in the day, where did the electricity to run them come from? did they have an alternator like a modern automobile does? Did they have batteries to power the light when the loco wasn't moving?
Just wondering...