DC side energy storage capacitor selection