The document describes a power system model used to obtain training data for an artificial neural network (ANN) to detect high impedance faults. The power system model includes two radial distribution feeders with linear and nonlinear loads, voltage correction capacitor banks, and an equivalent high impedance fault arc model. Digital simulations were performed using an electromagnetic transient program to generate training data for different fault types, locations, and contingencies like capacitor switching. The proposed ANN module processes current and voltage signals at the beginning of the distribution line. Its six inputs are the second and third harmonics of residual current and voltage, as well as the second and third harmonics of residual apparent impedance. The ANN is trained to detect high impedance faults based