Power Smoothing Using a Flywheel Driven by a Switched Reluctance Machine