Towards energy self-sufficiency and integral material recovery in waste water treatment plants: Assessment of upgrading options. (1st January 2018)