The project will help convert a byproduct of wastewater treatment into a usable material for energy generation.