Modeling and analysis of a flywheel energy storage system for Voltage sag correction | Synapse