qnli question: How do some locomotives function in order to be more flexible in operation? sentence: 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.