Adaptive Event-Guided System and Method for Avoiding Voltage Emergencies