Integrated biogas systems: local applications of anaerobic digestion towards integrated sustainable solutions