Design and process simulation of a small scale waste-to-energy bioreactor