Vanguard’s birth was spurred by the convergence of two policies in Massachusetts: a ban on the landfilling of food waste and a net metering law that incentivized biogas projects. The company landed a few deals to build, own, and operate anaerobic digesters in that state to make electricity from food waste, with a little manure mixed in to enhance the biological process.