I have a portable water pump-VFD system that I am trying to operate from a portable generator. The VFD trips the GFCI immediately upon plugging the system in. I believe this occurs because of the capacitors in the VFD. The suggested fixes are either to remove the neutral bond wire on the generator or to rewire the VFD so that the ground wire from the pump goes to neutral. I am looking for advise as to whether one of these solutions is better than the other, or if there is another solution that does not remove the GFCI from the system. The critical issue here is safety. I am not an electrician so go easy.