Diagnostic of electrical systems: expectations and answers