The Massachusetts Department of Energy Resources has awarded Chelmsford a $12,500 grant to explore placing a solar farm on the capped Swain Road landfill. The award was announced late last month, shortly after Town Manager Paul Cohen was notified that Chelmsford had been selected by state officials as a winner of the 2013 Leading by Example Award, an honor bestowed upon the town by Governor Deval Patrick’s administration for its energy-efficiency and clean-energy projects. The towns of Amherst and Arlington and the city of New Bedford also received the awards, as did the state Department of Developmental Services, the state Department of Environmental Protection, Framingham State University, Greenfield Community College, Paul Piraino of the University of Massachusetts Lowell, and Lauren Sinatra of the town of Nantucket. The award recipients were honored at a State House ceremony Oct. 28. Chelmsford was designated a Green Community in 2010 and is working to reduce municipal energy consumption by more than 40 percent via energy-efficiency upgrades in municipal buildings and LED street light conversions.