well, diesel is more resilient against EMP
literally the engine can be set up so it can't be disabled, only the electrical parts in the generator
diesel engines don't actually need condensors and batteries and starter motors
you can just have a crank, that's it, crank, and a few cycles of that and you get enough compression and the diesel burns by itself
it is the most beautiful technology, but hard to find it set up without that electricity dependency and hard to find it used to directly generate torque or pressure for fluid or rotational work only
IMO, using electricity as the universal intermediate for the transmission of force is a dumb idea when we are at a solar peak while the galactic magnetism is flipping through a vertical point and might actually cause our planet to physically spin