Analysis of lightning effects on power plant connection