Basically, Massachusetts and some other states require utilities to purchase a certain amount of electricity from renewable sources; by generating renewable electricity, a homeowner with a solar array gets credits (SRECs) that sell for between $300 and $550 each, and a five-kilowatt system with no shade generates about six and a half of them a year.