Just a couple thoughts...
1. If you wish 40kW you will not go bellow 120V, otherwise you risk to melt the copper windings due to heat. At 120V this is up to 300A peak, which is quite a lot. Beyond 300A, even pure copper heats. Bear in mind that at such amp draw, your battery connectors risk...