An Effective Semianalytical Method for Simulating Grounding Grids