Optimisation of wastewater treatment plant design and operation using simulation and cost analysis