Analysis of capacitor capacity aging