Making the Most of Solar Panels