Text this: New detection of voltage sag based on phase angle analysis