The present invention discloses a
water index prediction method based on
sewage treatment. The method first stirs and settles the water, then divides the area and depth and establishes a local
water supply model and performs a first adjustment on the water inlet index. Then, a logarithmic
function model is established to predict the water inlet index at different depths. Finally, five models are established to respectively predict the pH value, COD,
ammonia nitrogen content,
total phosphorus content, and
total nitrogen content, and the predicted values are displayed after corresponding to time. This application first supplies water after standing still and models it in
layers, and then combines the vertical distribution characteristics of the fluid after standing still to accurately reflect the dynamic changes of
water quality indicators. Based on the law that the concentration of pollutants decays with time during
precipitation and
diffusion, a logarithmic function is constructed to predict the water inlet index in the
depth direction to reduce the number of sampling times. Through grid dynamic correction, the arithmetic mean is used to weight the
drainage volume ratio, which reduces the sampling deviation caused by flow disturbance and improves the robustness of the prediction. The above scheme can ensure that the
sewage quality is relatively uniform, and then the
drainage volume ratio is weighted by the average value of the water inlet index of each area to obtain the optimized water inlet index. The optimized water inlet index is then calculated through the constructed logarithmic function to obtain the water inlet index at different depths, and the water inlet index at different depths is input into the five groups of models set for calculation and prediction to obtain the water outlet index.