"Heat Generation
You can calculate heat generated within the capacitor from any one of three formulas:
P=2πFCV2tanδ (1)
P=Irmstanδ/2πFC (2)
P=Irms2 ESR (3)
Where:
P=Power dissipated in watts
F=Frequency of waveform
C=Capacitance in farads
V=rms voltage of waveform
tan δ=Dissipation Factor of the capacitor at frequency F
I=rms Current
ESR=Equivalent Series Resistance in ohms
When the waveform is sinusoidal, the above equations apply directly. For non-sinusoidal waveforms, you must first analyze the waveform to determine Vrms and Irms. If evaluating waveforms with harmonic content, apply the equations for each harmonic frequency for voltage or current and the loss factor tan δ at the harmonic frequency. The power for all harmonics is then summed. Also, non-sinusoidal waveforms may induce high peak currents, which may stress the termination and cause localized end heating."