: In this thesis, the problem of optimal coordination of plug-in electric vehicles charger for network harmonic mitigation is studied. Todey, due to increasing trend in fossil fuel price and environmental concerns, there is an upgoing trend in electric vehicles utilization. Plug-in Electric Vehicles (PEVs) connect to electric grids. Using power electronics interfaces, having interfaces makes it possible to convert PEVs to virtual act+ive filters to mitigate harmonics. To implement this idea, due to distributed nature of PEVs in power grid, we encountere with distributed power line conditioners In this thesis, we study battery characterestics and PEV chargers, extract a grid connected PEV model and investigate distributed active filters characterestics. By using 2 sample examples, the applicability of using PEVs as active filters are evaluated. The problem of coordinating PEVs performance to mitigate grid harmonics are modelled as a nonlinear optimization problem. The purpose of this problem is to minimize harmonic pollutions in power grids. This optimization problem is solved using Genetic Algorithm. For simulation, IEEE 13 Node Test feeder is used. This grid is considered as a small town which has 3 parking lots with different charging capacities. The results confirm the applicability of the proposed model for harmonic filtering. Keywords: 1) optimizatio 2) harmonic 3) Distributed power line conditioner