Capacitor bank heat generation