Water is the source of life, but all kinds of water resources in the world are suffering from different degrees of pollution. Water pollution leads to a serious shortage of available fresh water resources, and sewage treatment is the main way to solve water pollution. For the sewage after biological treatment of activated sludge, the organic matter contained in the effluent is mainly the dissolved microbial products (SMPs) produced in the process of microbial metabolism. The composition of SMPs is complex, mainly including macromolecular substances such as protein, polysaccharide, humic acid and DNA and cell fragments. The mathematical model of activated sludge is a quantitative description of the mathematical relationship between substrate degradation parameters and microbial growth. Starting from the Monod equation representing the relationship between substrate consumption and microbial growth, it combines the reactor theory and microbiology theory in the chemical field. Based on the principle of conservation of materials and Monod equation, the mathematical expression of organic degradation model was determined according to the collected data and empirical values of parameters. The general idea of activated sludge model No.1 (ASM1) for activated sludge process simulation was introduced, and the influence of sludge concentration on SBR process water treatment was explored. It was found that the removal rate of COD, ammonia nitrogen, total nitrogen and total phosphorus increases with the increase of sludge concentration. When C/N=8, the removal rate of ammonia nitrogen increased from 62% to 81%, and the removal rate of total nitrogen increased from 64% to 82%, with the most obvious effect.