Simulation of single-sludge nitrogen removal