Towards effective management of digester dysfunction during anaerobic treatment processes