Saildog wrote:...For long trips I was wondering whether it would be possible to tow a small trailer that contains a diesel generator (genset) that would be running and connected to the cars charging socket.
Sorry if this topic has been raised before. I looked for it, but couldn't find it.
It has been raised endlessly, almost as often as guys wanting to charge their cars with a couple of solar panels bungied to the roof. The answer to your question is NO. The AC charger cannot be run while the car is on, so you CANNOT use an AC generator to charge the car while moving.
What Ingineer did was connect a DC generator directly to the HV bus of the car, which DOES work, but will cost you big money and require custom hardware. Unless you are an electrical engineer or a EV mechanic, it is likely outside your capability.
BTW, the solar panel idea is a bust, too. It would require all of the expertise mentioned, plus you could barely get a handful of miles added even if you left the car in the sun all day long.