Abstract: A voltage sag generator for alternating current power systems intentionally creates power quality disturbances. The sag generator has a switch-mode impedance between its input and its output. Varying the duty-cycle of the switch-mode impedance causes voltage sags.