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.