You don't. Solar panels are more than happy to sit idle. "Excess energy" is an economics problem, not a physics one.