How to configure capacitors for inverters