Smart grids from a global perspective