A generalized approach to partial discharge modeling | Synapse