Because I would like to avoid unnecessary repeated word.
Was this the sentence you just deleted?
A locomotive has to be added fuel, such as coal, firewood, or other flammable substance, which is to be consumed to provide motion or energy for the machine.
All of the other suggestions are excellent!!!