Chain matrix analysis of periodically grounded power lines