Subharmonic Bifurcations and Chaotic Dynamics for a Class of Ship Power System