Method for programming energy flow in an accumulator of an electric vehicle, comprising the steps of: - connecting a device to a local point of connection to an electric power supply network, said device being adapted to be connected to the accumulator and executing the following steps: - recording information on past usages of the accumulator locally at said point of connection; - locally estimating information on a future usage of the accumulator, taking in input the information on past usages; - locally programming an energy flow between the electric power supply network and the accumulator on the base of the estimated information, - said step of recording includes recording a recharging start time when the accumulator is connected to the electric power supply network through said device, for recharging; - said step of estimating includes predicting a next recharging end time, when the accumulator will be disconnected from said supply network for use of the vehicle, - said step of programming includes recharging the accumulator between said recharging start time and said next recharging end time, said programming being carried out so as to recharge completely the accumulator within the next recharging end time, reducing the load of the supply network and a recharging cost, by means of variation of the current drawn from the supply network, wherein the method further includes - predicting a load of the supply network between the recharging start time and the next recharging end time, said prediction of the load being carried out on the basis of past measurements of loads (B1, B2,..., Bj) of the supply network between a pluralities of time instants (T0 1, T0 2,..., T0 n) for start of recharging and a corresponding pluralities of end times (T1 1, T1 2,..., T1 n), wherein said load measurement is associated with a voltage measured at the accumulator and supply network connection point, wherein the accumulator is programmed to absorb energy faster in a time interval (a-b) when the load of the network is estimated to be low and to absorb energy more slowly in a time interval (c-d) when the load of the network is estimated to be higher, and the accumulator is programmed to supply energy to the network in a further time interval (b-c) when the load of the network if estimated to be highest, and to vary an amount of energy supplied in different time intervals, wherein a cost of supplying the electric power in hour for time bands (F 1, F2,..., Fi) is stored and recharging is programmed between the recharging start time and the next recharging end time, with preference being given to lower-cost hour bands, said programming comprising interruption of the accumulator recharging in higher-cost hour bands. - connecting a device to a local point of connection to an electric power supply network, said device being adapted to be connected to the accumulator and executing the following steps: - recording information on past usages of the accumulator locally at said point of connection; - locally estimating information on a future usage of the accumulator, taking in input the information on past usages; - locally programming an energy flow between the electric power supply network and the accumulator on the base of the estimated information, - said step of recording includes recording a recharging start time when the accumulator is connected to the electric power supply network through said device, for recharging; - said step of estimating includes predicting a next recharging end time, when the accumulator will be disconnected from said supply network for use of the vehicle, - said step of programming includes recharging the accumulator between said recharging start time and said next recharging end time, said programming being carried out so as to recharge completely the accumulator within the next recharging end time, reducing the load of the supply network and a recharging cost, by means of variation of the current drawn from the supply network, wherein the method further includes - predicting a load of the supply network between the recharging start time and the next recharging end time, said prediction of the load being carried out on the basis of past measurements of loads (B1, B2,..., Bj) of the supply network between a pluralities of time instants (T0 1, T0 2,..., T0 n) for start of recharging and a corresponding pluralities of end times (T1 1, T1 2,..., T1 n), wherein said load measurement is associated with a voltage measured at the accumulator and supply network connection point,