A study of the effects of internal discharges on epoxy resins using a scanning electron microscope