Medium speed diesel engines are diesel engines with speeds between 450 and 1,000 rpm. They tend to be used for electricity generation and in rail locomotives and pumps.