It’s like a magic trick for poop. Put it in one end of the machine, and out the other comes electricity, distilled water and a small amount of ash. And there’s none of the greenhouse gas — namely methane — produced by traditional sewage treatment and sewage sludge decomposition. Though it might seem futuristic, this innovative blueprint has attracted grants from the U.S. Department of Energy and the California Energy Commission, the latter to the tune of $1.6 million. The money is helping to fund a demonstration project at south Orange County’s Santa Margarita Water District.