Sarah's solar roof will adjust its position throughout the day to maximize sun exposure and generate surplus energy. It will determine how much excess power is available based on Sarah's energy usage and that of her neighborhood, storing extra in batteries in her basement. Any energy beyond that will be automatically sold on the smart grid, where prices are currently high. Sarah's appliances and electric car will access her Facebook calendar to optimize her home and transportation energy needs for her friends' upcoming visit.