The document presents a study on the optimal integration of wind energy into the electrical grid, focusing on enhancing system performance while considering stability and security constraints. A multi-objective optimization approach, using a novel variant of genetic algorithms called NSGA-II, is employed to maximize loadability and minimize real power losses. Results from simulations on a modified IEEE 14-bus system demonstrate the effectiveness of this method in improving dynamic performance of the grid.