Several innovative treatment technologies have been developed to achieve energy sustainability. For example, anaerobic digestion (AD) processes enable efficient recovery of energy in the form of methane (CH4) from wastewater to partially offset the energy consumption for treatment; microbial fuel cell (MFC) enables direct recovery of electric energy and value-added products [7];