Getting back to @Ex850R 's comment about towing a generator behind the car to avoid "charger queue anxiety" (as that's what we have now - "range anxiety" is a notion of the past!) I thought I'd go thru a few calculations to help enlighten.
#1: The Volvo (and all current EVs) have an onboard AC charger. For the Volvo, this can charge at a max of 32A/230V single phase (~7.3 kW), or 16A per phase on 230V 3-phase (~11 kW)
#2: DC Fast Charging utilises an external charging station and bypasses the car's onboard charger. The car communicates through the charge port and tells the charger how much current to feed into the batteries. For the Volvo, the max DC charge rate is 150 kW, and it tapers down as you approach full charge. I think we still saw about 45 kW at 75% SOC, which is pretty impressive. The typical DC fast chargers are 50 kW, 150 kW, and 350 kW. Using a 50 kW charger you'd basically charge at 50 kW for the whole charge duration up to ~75%. There's no point in charging up past 80% as the charge rate drops off pretty quick...you'd only charge to a high SOC if you had to due to the distance needed to make it to your next charge stop.
So, if you had a generator trailer, what could you do? Unless you buy a huge generator and a DC fast charger to attach to it, that is not going to happen. Therefore, it means you will only be able to do AC charging. Best case, if you bought an 11 kW continuous 3-phase generator (who knows how much that would cost, and how much it would weigh), it would take you nearly 5 hours to charge from 15% to 75% (45 kWh going into the battery, at 85% efficiency for a total of about 53 kWh from the generator). On the 350 kW DC fast charger that took us about 25 minutes. So, even if we had to wait in a queue of cars at the fast chargers, we'd never be waiting as long as it would take to charge with a generator at 11 kW.
On top of that, I haven't covered the fact that if you attach a 1000 kg generator trailer to the XC40EV, your range would probably drop by 40%, so you'd have to charge more often. So yeah, not a good idea. And who knows how much fuel a large generator would go through to charge the car for 5 hours? I think in the long run you'd be money ahead to just pump that fuel into a petrol or diesel XC40 and skip an EV altogether.
Maybe this one? 3 litres per hour...15 litres for a 5 hour charge...hmmm...that would probably get you about 100 km pulling this on a trailer, so 15 litres of diesel per 100 km LOL! Better off to buy a diesel XC90! :)