You can use the HG7 on generator power; however it is more critical to size the device properly. If the nonlinear load represents a great portion of the total generator load and the drive is very lightly loaded, the filter capacitance may cause the generator to experience voltage regulation issues. You may also contact the generator provider for their guidelines on the use of harmonic mitigation and capacitive equipment on their systems.