When the sun goes down, any extra energy you produce during the day is pushed back into the grid, offsetting your energy use at night or when it’s cloudy. During the sunny summer months, your system will produce the most energy, so the credits you’ve earned during those days of overproduction will be helpful during winter months when the days are shorter.