A UPS program with on the net double-conversion topology (and generator mode) will continually filter filthy power and create clear AC output power. Filthy power is noisy, which produces a jagged sine wave but prevents greatest power output. The Ryobi generator has far more options compared to Many others, but https://www.powerupgen.com