Full-scale experiments have been carried out to adapt the activated sludge model ASM2d to include the influence of metal dosage (Fe and Al ) for phosphorus removal. Phosphorus removal rates, nitrification rates, as well as pH and sludge settling performance, were evaluated as functions of the metal dosages. Furthermore, models relating certain parameters to the dosage of chemicals have been derived. Corresponding parameters in the ASM2d and the secondary settler models, included in the Benchmark Simulation Model No 1 (BSM1), have been modified to take the metal influence into consideration. Based on the effluent limits and penalty policy of China, an equivalent evaluation method was derived for the total cost assessment. A large number of 300-day steady-state and 14-day open-loop dynamic simulations were performed to demonstrate the difference in behavior between the original and the modified BSM1. The results show that 1) both in low and high mole concentrations, Fe addition results in a higher phosphorus removal rate than Al ; 2) the sludge settling velocity will increase due to the metal addition; 3) the respiration rate of the activated sludge is decreased more by the dosage of Al than Fe ; 4) the inhibition of Al on the nitrification rate is stronger than that of Fe ; 5) the total operating cost will reach the minimum point for smaller dosages of Fe , but always increase with Al addition.