Partial discharges mechanisms under different voltage waveforms