Design and optimization of biogas energy systems. (2020)