The truth is in most situations, the energy is not stored. Any overproduction of energy will be routed to the utility's transmission grid through a process called Net Metering. Then, when the sun is no longer providing needed power, you will be able to utilize the credits you have earned from your overproduction.