This study presents an approach to optimizing the output power in a magnetically geared generator by employing subdomain modeling and particle swarm optimization. Accordingly, the subdomain analytical method is utilized to obtain the induced voltage, inductance which are used to predict output power. Afterward, the swarm intelligence optimization technique is applied to reach the maximum output power point. The 12/17/15 prototype evaluated the proposed model by comparing the calculated results and finite element method simulation.