I want to know the answer to the following question:
How do some locomotives function in order to be more flexible in operation?
All the background I'm provided with is that "Selection of an electrification system is based on economics of energy supply, maintenance, and capital cost compared to the revenue obtained for freight and passenger traffic.". Is that enough to answer the question?