In this paper we study energy cost saving strategies in power networks in presence of prosumers. Three tips are considered: (i) distributed power network architecture, (ii) peak energy shaving with the integration of prosumers’ contribution, (iii) Electric vehicles self-charging by means of prosumers’ production. The proposed distributed power network architecture reduces significantly the transmission costs and can reduce significantly the global energy cost up to 42 percent. Different types of prosumer who use self-charging photovoltaic systems, are able to intelligently buy energy from, or sell it, to the power grid. Therein, prosumers interact in a distributed environment during the purchase or sale of electric power using a double auction with negotiation mechanism. Using a two-step combined learning and optimization scheme, each prosumer can learn its optimal bidding strategy and forecast its energy production, consumption and storage. Our simulation results, conducted for the region of Sicily in Italy, show that the integration of prosumers can reduce peak hour costs up to 19 percent and 6 percent for eligible prosumers with electric vehicles.