Rectifier resonant capacitor function