Multilevel converters have the capability of handling high power as well as deliver output with reduced harmonics. So they can be implemented with renewable energy sources to produce multilayer output with symmetric cascade arrangement with reduced switches. Here the control technique is developed in such a way to reduce the harmonics in the grid integrated PV system. The paper proposes optimized Fractional Order Proportional Integral Derivative (FOPID) controller for a seven level reduced switch multilevel inverter. The War Strategy Optimization Algorithm (WSOA) which utilizes optimizing the strategic movements of armed forces (assault and defend) towards the final optimal value is used to optimize the FOPID controller. This WSOA algorithm is used to adjust the gain parameters of the FOPID controller there by improving the system performance. The characteristics of grid connected PV system are regulated by implementing this suggested technique. The projected approach is incorporated using MATLAB / Simulink and the performances are evaluated and compared with the conventional techniques like GA – PID and WSOA – PID controllers.