Partial discharge measurement and analysis in PPIs