Assuring the sustainable production of biogas from anaerobic mono-digestion