Energy storage devices directly connected to the distribution network