Equipment failure probability due to the impact of lightning