Generalized pi-circuit tower grounding model for direct lightning response simulation