A semianalytical approach for the evaluation of radiated immunity on printed circuit boards in metallic enclosures