Multi-stage ANN model for optimizing the configuration of external lightning protection and grounding systems