under a setup known as net metering, utilities must buy excess electricity generated by people with solar panels. for example, on a sunny day, a home with solar panels generates power. if the homeowners are away and the home is using less electricity than the solar panels are generating, that excess electricity flows to the electric grid. the utility company purchases that electricity.