The document discusses the optimization of array factors in active planar phased arrays using Particle Swarm Optimization (PSO) to recover degraded patterns due to antenna element failures. The work highlights the importance of evolutionary algorithms in improving efficiency and reducing costs of repairing such systems, especially under conditions where up to 20% of elements can fail. Various cases of recovery are analyzed, showing success in pattern optimization with statistical evaluations performed to compare results with original patterns.