Locomotives whose motive power source is electricity generated on board or obtained via overhead wires or a third rail.