Modelling and control of AnDM system as post-treament of anaerobic bioreactor treating wastewater