The amount of power your solar energy system can generate is dependent on sunlight. As a result, your solar panels will produce slightly less energy when the weather is cloudy, and no energy at night. However, if you add batteries to your system, you can store the excess power produced during the day use it at night