The increasing demand for fossil fuels coupled with global warming associated with certain environmental concerns has caused a global movement towards the generation of renewable energy. As such, wastewater can be considered a valuable source for the generation of renewable energy in the form of biodegradable organic matters (Ghasemi et al., 2013a).