How battery-electric and hybrid trains can provide flexible, lower-emission alternatives to diesel traction and full-route electrification.