Modeling and Analysis of a Flywheel Energy Storage System for Voltage Regulation