The short answer is no — solar panels cannot generate electricity at night. Photovoltaic cells require photons from sunlight to knock electrons loose and create a current, and those photons are simply absent after sunset. Between net. Thanks to a new breakthrough, this is no longer a fantasy — scientists have created a photovoltaic (PV) cell that is able to generate power at night through a process known as radiative cooling. Rather than drawing power from the sun, the panel absorbs heat emanating from its own surface as. Since solar panels only produce power in sunlight, the answer lies in how energy is stored, managed, and used after the sun goes down.