Until some years ago, the electricity in German grids flowed in only one direction – from a large-scale power station to transformer stations and from there to nearby consumers.