Effect of material and design parameters on the life and operating voltage of a ZnO varistor