Stochastic character of partial discharges in insulators