Modelling of wastewater treatment plant operation under variable conditions