 This research proposes a novel approach to optimize the charging of electric vehicles, EVs. It takes into consideration factors such as thermal line limits, transformer loading, voltage limits, and parking availability patterns to determine an optimal charging schedule for EVs. The results show that this approach can lead to a flatter load profile, reduced peak load, and the prevention of power system element aging. This article was authored by Monica Alonso, Hortensia Amaris, Jean-Gardy Germain and others.