I think it would be better to
I think it would be better to use a small gas turbine APU as the range extender. Adding a diesel engine would just add even more weight on top of the weight of the batteries. Large gas turbines are the most efficient engines currently available. Scaling that down to something that can run at 100% while charging batteries, and cycle on/off as needed, would add range while adding much less weight than a diesel engine.