Text this: Stability Analysis and Voltage Control in the Power System Based on the Hybrid Automata Model