Storing Renewable Energy on the Smart Grid