Controller parameter optimization of direct-drive permanent magnet synchronous generator based on SGA-SVM classification