Simulation of some transients disturbs involving power quality. The m.file is needed to create the inputs in order to train the Artificial Neural Network. Pay attention in randomness range value and the value of i simulations.
Gabriel C. S. Almeida (2020). Model of Six Power Quality Transients Disturbs (https://www.mathworks.com/matlabcentral/fileexchange/75958-model-of-six-power-quality-transients-disturbs), MATLAB Central File Exchange. Retrieved .
Inspired by: Voltage Sag and Voltage Swell Caused by Line Fault, Voltage Notch and Harmonic Caused By 6-Pulse Three Phase Rectifier, Oscillatory Transient Caused by Capacitor Banking Energizing, Impulsive Transient Caused By Lightning