Disclosure of Invention
The invention provides a method for calculating deep sea optimized discharge amount of sewage based on tidal current change, which is used for determining the discharge amount of sewage, so that the sewage can be highly diluted in a space-time range as small as possible, the initial dilution effect is improved, and the sewage finally reaches the standard and is discharged.
The technical scheme adopted by the invention for solving the technical problems in the prior art is as follows: a method for calculating deep sea optimized discharge of sewage based on tidal current change adopts a simulation inverse algorithm and comprises the following specific steps:
1) establishing a simulation back calculation method model
1.1) adopting a sewage outlet pollutant diffusion mathematical model;
1.2) establishing a Multi-objective function
MAX.DD=C0/C1 (1)
MIN.EC=0.0414×Q+13.828 (2)
MAX.OE=OE (3)
In the formula (1), DD is the dilution of pollutants; c0The concentration value of the pollutants in the jet flow water body is obtained; c1The concentration value of the pollutant at a certain point in the environmental water body is obtained; EC is energy consumption value; q is the sewage discharge amount of the pump, m is m multiplied by v multiplied by S, m is the number of the nozzles, v is the discharge rate, and S is the sectional area of the nozzles; OE is the sewage discharge efficiency;
1.3) Using a genetic Algorithm model
1.3.1) calculation operator by evolution
1.3.2) using cross-computing operators
1.3.3) calculation operator by mutation
2) Initial setting
2.1) taking the sewage discharge as a control variable of an optimization process, and adopting a real number coding form;
2.2) setting a value range of the control variable, and taking the value range as a constraint condition of the genetic algorithm population value;
3) aiming at the tidal current change interval (u) of the engineering sea areamin,u1,…,ui,…,un,umax) According to each tidal flow velocityThe simulation inverse calculation of the optimal sewage discharge amount is carried out according to the following steps, and the n +2 optimal sewage discharge amounts (Q) aiming at the n +2 tidal current flow velocities can be obtainedmin,Q1,…,Qi,…,Qn,Qmax)
3.1) randomly selecting r numerical values in the control variable value range according to each tidal current flow rate to obtain r chromosomes, and forming a population (r) of the possible solution of the optimal sewage discharge amount under the tidal current flow rate condition;
3.2) taking each chromosome as a numerical value example, adopting a pollutant diffusion mathematical model to calculate r times, and simultaneously outputting and storing r pollutant concentration results of observation points in the water area;
3.3) carrying out chromosome evaluation by adopting the multi-target function established in the step 1.2) with the target of optimal sewage dilution effect, lowest energy consumption and optimal sewage discharge efficiency;
3.4) when the maximum generation number is met, jumping out of the program and outputting the optimal chromosome, namely the optimal sewage discharge amount; if the maximum generation number target is not met, adopting the genetic algorithm model in the step 1.3) to perform genetic calculation;
3.5) updating the chromosomes selected in the step 3.1) through genetic calculation, obtaining a brand new population, and repeating the calculation according to the steps (3.2) to (3.4) until the best chromosomes, namely the optimal sewage discharge amount, is output.
The invention has the advantages and positive effects that: the optimal sewage discharge amount corresponding to the flow speed in the tidal current change interval of the engineering sea area is calculated by taking the optimal sewage dilution effect, the lowest energy consumption and the optimal sewage discharge efficiency as targets, the optimal sewage discharge amount is used for optimally adjusting the deep sea discharge amount of the sewage, the sewage is highly diluted in a space-time range as small as possible, the initial dilution effect is improved, the sewage is finally discharged up to the standard, the management level of the deep sea discharge of the sewage can be improved, the ecological quality level of the sea area environment is maintained, and a certain protection effect and practical significance are achieved for the ecological quality of the engineering and the adjacent sea area environment.
Detailed Description
To further understand the contents, features and effects of the present invention, the following examples are illustrated as follows:
a method for calculating deep sea optimized discharge of sewage based on tidal current change adopts a simulation inverse algorithm and comprises the following specific steps:
1) establishing a simulation back calculation method model
1.1) the mathematical model of the diffusion of pollutants at sewage outlets is adopted, please refer to the following two documents, namely, first) the numerical simulation of the influence of the Jet angle on the Jet characteristics in the environment of Flowing water [ J ]. university of continental Engineering, 2007,47(4): 583-.
1.2) establishing a Multi-objective function
MAX.DD=C0/C1 (1)
MIN.EC=0.0414×Q+13.828 (2)
MAX.OE=OE (3)
In the formula (1), DD is the dilution of pollutants; c0The concentration value of the pollutants in the jet flow water body is obtained; c1The concentration value of the pollutant at a certain point in the environmental water body is obtained; EC is energy consumption value; q is the sewage discharge amount of the pump, m is m multiplied by v multiplied by S, m is the number of the nozzles, v is the discharge rate, and S is the sectional area of the nozzles; OE is sewage discharge efficiency, and for practical engineers, the higher the efficiency, the better; the formula (2) is obtained by adopting least square fitting according to the flow and the energy consumption of the Germany KSB company K400-500 type horizontal sewage pump under different operation modes.
1.3) Using a genetic Algorithm model
The genetic algorithm applies the prior art, comprises three calculation parts, namely evolution, intersection and variation, and specifically comprises a genetic algorithm model:
1.3.1) calculation operator by evolution
1.3.2) using cross-computing operators
1.3.3) calculation operator by mutation
The genetic algorithm comprises the following steps: evolutionary calculations (roulette selection), cross calculations (as shown in equations (4) and (5)), and variant calculations (as shown in equations (6) to (8)).
Os1=ω×Pa1+(1-ω)×Pa2 (4)
Os2=ω×Pa2+(1-ω)×Pa1 (5)
In the formulas (4) and (5), omega is a random parameter between-0.25 and 1.25; os and Pa represent offspring and father, respectively; 1 and 2 are labels for children and parents;
and (3) calculating variation:
X=X'+Δ(t,y) (6)
in the formulas (6) and (7), X is a mutated gene, X' is an initial gene, T is the current generation number, T is the maximum generation number, r is a random number between 0 and 1, and b is a system parameter. The parameter y takes the value according to the formula (8), LD is the minimum value of the gene, UD is the maximum value of the gene, and i is a random number which is 0 or 1 respectively.
2) Initial setting
2.1) taking the sewage discharge amount as a control variable of an optimization process, and adopting a real number coding form.
And 2.2) setting the value range of the control variable, and taking the value range as a constraint condition of the population value of the genetic algorithm.
3) Aiming at the tidal current change interval (u) of the engineering sea areamin,u1,…,ui,…,un,umax) The simulation reverse calculation of the optimal sewage discharge amount is carried out according to the following steps for each tidal current flow velocity, and then n +2 optimal sewage discharge amounts (Q) aiming at n +2 tidal current flow velocities can be obtainedmin,Q1,…,Qi,…,Qn,Qmax)
3.1) randomly selecting r numerical values in the control variable value range according to each tidal current flow velocity to obtain r chromosomes, and forming a population (r) of the possible solution of the optimal sewage discharge amount under the tidal current flow velocity condition.
And 3.2) taking each chromosome as a numerical example, adopting a pollutant diffusion mathematical model to perform r times of calculation, and simultaneously outputting and storing r pollutant concentration results of observation points in the water area.
3.3) carrying out chromosome evaluation by adopting the multi-objective function established in the step 1.2) with the objectives of optimal sewage dilution effect, lowest energy consumption and optimal sewage discharge efficiency.
3.4) when the maximum generation number is met, jumping out of the program and outputting the optimal chromosome, namely the optimal sewage discharge amount; if the maximum generation number target is not met, adopting the genetic algorithm model in the step 1.3) to perform genetic calculation.
3.5) updating the chromosomes selected in the step 3.1) through genetic calculation, obtaining a brand new population, and repeating the calculation according to the steps (3.2) to (3.4) until the best chromosomes, namely the optimal sewage discharge amount, is output.
The simulation inverse algorithm embeds a sewage discharge port pollutant diffusion mathematical model (also called a jet flow model) and an operation energy consumption formula into a genetic algorithm model, takes the optimal sewage dilution effect, the lowest energy consumption and the optimal discharge efficiency as targets, carries out a coupling method model of optimal sewage discharge amount simulation inverse calculation, adopts the sewage discharge port pollutant diffusion mathematical model to calculate each chromosome and outputs pollutant concentration data of an observation point in a calculated water area; calculating and analyzing the dilution, sewage conveying energy consumption and discharge efficiency of each chromosome by adopting a multi-objective function; taking the maximum generation number set by the model as a judgment condition, jumping out of a calculation program when the condition is met, and entering genetic calculation when the condition is not met; and (4) adjusting chromosomes by genetic calculation operators of evolution, intersection and variation to form a brand new population, and substituting the brand new population into a pollutant diffusion mathematical model of the sewage outlet to perform calculation of the next generation.
(umin,u1,…,ui,…,un,umax) The flow velocity in the engineering sea area tidal current change interval is obtained by collecting historical actual measurement data of engineering and adjacent sea areas tidal current.
Although the preferred embodiments of the present invention have been described, the present invention is not limited to the above-mentioned embodiments, which are only illustrative and not restrictive, and those skilled in the art can make many modifications without departing from the spirit and scope of the present invention as claimed in the appended claims.