Solar panels don't work well in heat waves due to the temperature-induced decrease in efficiency. As the temperature of the solar panels rises, their power output decreases. During a heat wave, the higher temperatures hinder the panels' ability to convert sunlight into electricity effectively.