Experiences with digital analysis of discharges in high voltage components