Modelling and control of high-rate anaerobic wastewater treatment systems