Head-end power
In rail transport, head-end power (HEP) or electric train supply (ETS) is the electrical power distribution system on a passenger train. The power source, usually a locomotive at the front or 'head' of a train (or a generator car), provides the electricity used for lighting, electrical and other 'hotel' needs. The maritime equivalent is hotel electric power. A successful attempt by the London, Brighton and South Coast Railway in October 1881 to light the passenger car between London and Brighton heralded the beginning of using electricity to light trains in the world.
History
Oil lamps were introduced in 1842 to light trains. Economics drove the Lancashire and Yorkshire Railway to replace oil with coal gas lighting in 1870, but a gas cylinder explosion on the train led them to abandon the experiment. Oil-gas lighting was introduced in late 1870. Electrical lighting was introduced in October 1881 by using twelve Swan carbon filament incandescent lamp connected to an underslung battery of 32 Faure lead-acid rechargeable cells, suitable for about 6 hours lighting before being removed for recharging.