Head-end power

electric train heating by locomotives

Head-end power (HEP) or Electric train supply (ETS) is the electric power distribution system on a passenger train. The power source, usually a locomotive (or a generator car) at the front or 'head' of a train, provides the electricity used for heating, lighting, air conditioning, etc.