The megohmmeter or megger is a portable deflection instrument widely used to check the insulation resistance of electrical cables and…