Solar charging Smart grid charging principle