With the growth of industry manufacturers and population, power quality becomes more and more important issue, and is attracting significant attention due to the increase in the number of sensitive loads. A distribution static compensator (DSTATCOM) is a voltage source inverter (VS1)-based power electronic device, which is usually used to compensate reactive power and sustain the system voltage in distribution power system. Compared with the traditional STATCOM, multilevel STATCOMs exhibit faster dynamic response, smaller volume, lower cost, and higher ratings. A multilevel inverter connected to an energy storage device can control both active and reactive power flow, providing more flexible and versatile power transmission operation. SPWM is actually a kind of multi-pulse trigger mode and used to trigger the switches in DSTATCOM.