Control of Hopf Bifurcation and Chaos as Applied to Multimachine System