Access to electricity and supplying reliable energy are the key elements that support local economic development and contribute to reducing poverty. Moreover, the problem of environmental protection can be considered as a factor of sustainable development. In response to these many challenges, appropriate national and regional policies, as well as mechanisms, have been implemented. In Mali, strong dependence on the importation of oil, growth in demand, and the low rate of electrification have pushed the highest authorities to think of diversified technological solutions like renewable energy for the satisfaction of energy demands, especially photovoltaics, for which the country has significant potential. The hybrid systems used is a compromise, because the emission rate of carbon dioxide emitted by thermal power plants must be reduced and limited to preserve supernatural disasters. For this, hybrid photovoltaic systems coupled to the grid increased, but the management of the production of these photovoltaics poses a lot of problem due to its intermittent status. It is in this context that we conducted an optimization study of a hybrid system photovoltaic connected to the grid. We applied our approach to the most extensive distribution post of Mali capital. For the simulation, we used the modeling and simulation tool named HOMER.