The Activated Sludge Model No. 2d (ASM2d) presents a model for biological phosphorus removal with simultaneous nitrification-denitrification in activated sludge systems. ASM2d is based on ASM2 and is expanded to include the denitrifying activity of the phosphorus accumulating organisms (PAOs). This extension of ASM2 allows for improved modeling of the processes, especially with respect to the dynamics of nitrate and phosphate. (C) 1999 IAWQ Published by Elsevier Science Ltd. All rights reserved.