I once exploded a couple of beer can sized electrolytic capacitors and destroyed a 3-phase, 15 amp Variac by turning up the Variac too fast to raise the voltage of a DC supply that didn't have a sufficient limitation on the charging current.
Edit. The capacitors in a DC supply that is feeding an inverter will need to be sized to carry significant ripple current due to the reactive current in an inductive load supplied by the inverter.