Software development of a voltage sag analysis tool for power quality study | IEEE Conference Publication | IEEE Xplore