A locomotive builder may make a range of locomotives of different power, with the lowest power shunter with, say, one genset engine, and the highest power main line freight locomotive with several genset engines.
The different genset engines do not have to be the same size.