**4. Conclusion**

The design of an 18-poled 8000 rpm 7 kVA PMSG is optimized in this study. The goal is to determine the optimal levels of magnet thickness (MH), offset, and embrace (EMB) to keep the air-gap flux density at 1 tesla while maximizing efficiency and minimizing other responses. For this purpose, Ansys Maxwell is used for calculating the responses and Minitab is used for mathematically modeling the relations between the factors and the responses by using simulation results. Then MSGO, PSO, RSM, and GA are used for optimization by running these algorithms through the regression models. Matlab coding is performed for this stage. Although the results of the four methods are nearly identical, MSGO and PSO outperform the other methods for the sample PMSG presented in this study. Although the results of the four methods are nearly identical, one advantage of RSM is that it does not require program coding and allows for visual examination of the relationships between factors and responses. The RSM is clearly less complex than the PSO, MSGO, and GA, according to the time complexity analysis. When comparing the PSO, MSGO, and GA, it is clear that the MSGO has fewer parameters to tune and produces extremely accurate results, making it extremely efficient. In the future, we plan to expand the work to include additional

design parameters, higher power groups, and additional optimization methods. The optimum factor levels are calculated as: magnet thickness: 5.48 mm, offset: 0 mm, embrace: 1% at the end of optimization phase. The embrace must be at its peak in order to obtain the desired responses. In addition, the magnet thickness must be greater than 4 mm. The results demonstrated that offset has no discernible effect on the selected responses for the selected PMSG structure in this manuscript.
