A method for testing partial discharge characteristics of switch cabinet based on improved particle swarm algorithm | Synapse