A kind of Sewage outlet planning simulation and evaluation system based on WebGIS
Technical field
The invention belongs to water environment dynamics, the crossing domains of GIS GIS-Geographic Information System and computer, are related to a kind of dirt
The construction method of water outlet planning simulation and evaluation system is particularly related to through front end WebGIS Pages Designs, rear end sewage
Floss hole plans the combination of analytic modell analytical model program and Sewage outlet planning simulation and evaluation system database, provides different location
Sewage outlet visual simulating result, evaluation analysis result and the optimum recommending scheme of sewage discharge position.
Background technology
With being growing for modern industrial production field and scale, all kinds of chemical enterprises, manufacturing enterprise, sewage disposal
The trade effluent that factory discharges daily is more notable to the threat of water environment.The large amount of sewage discharge for being related to urban water supply area will be straight
Connect the normal operation for threatening urban water supply safety and urban economy social system.Therefore, to all kinds of chemical enterprises, manufacturing enterprise
The rational planning of addressing progress and decision Deng the enterprise of discharge trade effluent become one of the approach of guarantee water quality health.
Invention content
Currently, domestic more simulation of water quality simulation software is to pass through live number for the simulation of burst water pollution accident
According to acquisition process, establish model, scientific algorithm, Visualization of Simulation Results be shown as sudden water pollution accident carry out emergency disposal
The decision-making assistant information of offer science.The extensive use in terms of water resource water quality management, Water Conservancy Works of these softwares,
And achieve good simulation effect.
But above-mentioned simulation of water quality simulation software is often met due to limitation in being applied to Sewage outlet planning field
To many problems:
(1)Simulation of water quality simulation software mainly for burst water pollution accident simulation, when its be applied to Sewage outlet planning
When, it is complicated for operation, and different floss holes can not directly analyze the simulation result that water quality of river influences and compare, and can not be carried to user
For clear solution.
(2)Partial simulation software application is confined to single machine, cannot achieve networking.
In view of the above problems, the present invention is by WebGIS technologies, in conjunction with two-dimensional shallow water river analytic modell analytical model and sewage discharge
A kind of emulation and evaluation system for Sewage outlet planning of mouthful planning simulation and evaluation system database sharing, for environmental protection
Relevant departments all kinds of chemical enterprises of assay, manufacturing enterprise addressing when quick, science decision-making foundation is provided, ensure
Water quality health.
Invention content
The problem to be solved in the present invention is:Overcome existing simulation of water quality simulation software when carrying out Sewage outlet planning
Deficiency, provide to the user quick, convenient Sewage outlet planning and analogue system can establish difference simultaneously using the system
It is dense to carry out Mixing Coefficient in Rectangular Channels to the pollution effect model in same river by two-dimensional river shallow water analytic modell analytical model for the floss hole of position
Degree calculates, then carries out analysis comparison to the pollutant concentration result of calculation of each floss hole by sewage discharge evaluation model, and
Analysis comparison result is transmitted to front end web displaying, selects floss hole to provide quick, science scientific basis for user.
The technical scheme adopted by the invention to solve the technical problem is that:Using B/S structures, WebGIS technologies, knot are utilized
Close two-dimensional shallow water river analytic modell analytical model, Sewage outlet evaluation model and Sewage outlet planning simulation and evaluation system data
Library, structure one are exclusively used in the data service platform system of Sewage outlet planning.
WebGIS visualization water environment data service platforms in the present invention mainly realize map function using Leaflet
Service, including the spatial geographical locations in river are shown, the acquisition of the geographical location of floss hole, dynamically superposition is aobvious for floss hole program results
Show.By WebGIS technologies, platform user efficient and convenient can obtain relevant spatial information.
Two-dimensional shallow water river analytic modell analytical model utilizes contaminant transportation in hydrodynamics to convert fundamental equation, and simulating pollution object expands
The process of dissipating.The calculation procedure for the floss hole planning based on two-dimensional shallow water river analytic modell analytical model is write with C++, passes through program meter
Calculating different floss holes influences result to water quality of river and stores to database.
Sewage outlet evaluation model analyzes influence of the different floss holes to water quality of river according to water quality of river standard, to
Platform user recommends best Sewage outlet position.Including different floss holes to the water pollution density at same analysis section
The counting of time history plot and different floss hole section of excess standard, the counting statistics of exceeded duration and times of ultra standard.
Wherein:
(1)Different floss holes are to the water pollution density time history plot at same analysis section, from foreground net
Page acquisition user needs the section longitude and latitude analyzed, the searching specified point pollutant concentration program write by C++ to find out emulation
Changing value of the different floss holes to the section part pollutant concentration in time.Different floss holes are dirty for the river of same section
Dye object concentration changing value is drawn in curve transmission to foreground webpage and is reflected to user.
(2)When analyzing influence of the different floss holes to water quality of river, multiple analysis sections may be selected.Pass through C++ programs
Count the exceeded total duration of pollutant concentration of all analysis sections in the quantity and simulation time of different floss hole section of excess standard
With highest times of ultra standard.It is finally that user recommends optimum discharge mouth position.
(3)The determination of optimum discharge mouth position is based primarily upon the section of excess standard quantity of floss hole, exceeded total duration and most
High times of ultra standard.Calculation formula is as follows:
WhereinFor Sewage outlet evaluation index;For the quantity of floss hole;ForThe section of excess standard quantity of floss hole;For
The sum of section of excess standard quantity of all floss holes;ForThe exceeded duration of floss hole, unit:min;For all floss holes
The sum of exceeded duration;ForThe highest times of ultra standard of floss hole;For the sum of the highest times of ultra standard of all floss holes.
On the basis of this formula, C++ programs are write, find out the y values of each floss hole, find out minimum y values, the y values institute
Corresponding floss hole is optimum discharge mouth position.
It is designed using SQL Server 2012 and establishes Sewage outlet planning simulation and evaluation system database, including
Pollutant parameter Basic Information Table, flow velocity relation table, exhaust position planning information table, the storage of exhaust position program results
Table, water standard information table and analysis section information table.
Pollutant parameter information table is used to store the basic parameter information of water pollutant common in sewage.Including pollution
Species not, contaminant degradation coefficient and turbulent diffusivity.Pollutant classification includes COD, NH3-N.
Transforming relationship of the flow velocity relation table for storing flow and flow velocity, user's input flow rate information on platform,
It converts flow information to flow rate information by flow velocity relation table, substitutes into Sewage outlet planning procedure and calculated.
Exhaust position planning information table is for storing user when carrying out Sewage outlet planning analog simulation on web interface
The basic parameter information of input, including time parameter, floss hole latitude and longitude information, hydrographic information and pollutant source strength information.
Exhaust position program results storage table for store user is carried out on web interface Sewage outlet planning simulation imitate
Result of calculation after very, including the latitude and longitude information of each point and the pollutant concentration of the point are believed after river interpolation in simulation context
Breath.
Water standard information table is for storing the water standard of each Water Functional Zone in river and all kinds of dirts in simulation context
Object concentration standard is contaminated, whether different floss holes are exceeded to water pollution density in being analyzed as Sewage outlet program results
Basis for estimation.
Analysis section information table is used to store state's control section in river in simulation context, saves control section and hinging section, uses
After family selects the required important section analyzed in the analysis of Sewage outlet program results, different floss holes can be shown to same point
Analyse the time series chart of the water pollution density of section part.
The present invention key be can disposably realize multiple Sewage outlet positions simulation of water quality calculating and can
Clearly influence of the displaying different sewage floss hole to water quality of river, science reliably best sewage discharge is provided for platform user
The decision-making assistant information of mouth.
Description of the drawings
Fig. 1 is the system hierarchy schematic diagram of floss hole planning and emulation in the present invention;
Fig. 2 is the flow chart that floss hole planning and emulation are carried out in the present invention;
Specific implementation step
Specific embodiments of the present invention are as follows:
(1)Realize that the combination of Intenet and GIS, base map use day map using Leaflet.It designs and establishes Sewage outlet
The web interface of planning simulation and evaluation system.It is inputted including left side map denotation, right side parameter.When parameter includes that pollution starts
Between, pollution the end time, calculate time step, wastewater pollutants source strength information, the floss hole latitude and longitude information that need to be planned, pollution
Object discharge capacity, degradation coefficient, turbulent diffusivity, upstream boundary flow condition.Wherein:
A. the setting of floss hole position, if it is known that longitude and latitude, can manually enter;It can also click after select button in left side
Place where the accident occurred point is clicked on map, and the longitude and latitude of pollutant emission position is automatically filled in the input frame of position.User can input
One or more floss hole location information.
B. in selected pollutant classification, degradation coefficient, turbulent diffusivity Dx, turbulent diffusivity Dy show and correspond to
The default value of pollutant classification.Default value calls data from pollutant parameter Basic Information Table.
(2)It is designed using SQL Server 2012 and establishes Sewage outlet planning simulation and evaluation system database, wrapped
Include pollutant parameter Basic Information Table, flow velocity relation table, exhaust position planning information table, the storage of exhaust position program results
Table, water standard information table and analysis section information table.Wherein, the elementary field of pollutant parameter Basic Information Table includes:
Pollutant classification, degradation coefficient, turbulent diffusivity Dx, three coefficient Dy of turbulent flow control, normal concentration.The base of flow velocity relation table
This field includes river title, flow, flow velocity, water level, area.The elementary field of exhaust position planning information table includes that planning is arranged
Put longitude, planning discharge latitude, pollution time started, pollution end time, pollutant classification, pollutant discharge amount, degradation system
Number, turbulent diffusivity Dx, turbulent diffusivity Dy, background concentration, southern king port flow, dragon trip flow, the lotus pool mouthful flow.Discharge
The elementary field of position program results storage table include planning discharge longitude, planning discharge latitude, pollutant discharge amount, the time,
Point longitude, point latitude.The elementary field of water standard information table include target water quality, pH value, dissolved oxygen, permanganate indices,
Ammonia nitrogen, total phosphorus.The elementary field of analysis section information table includes river code, section code, section longitude, section latitude, breaks
Face title.
(3)Two-dimensional shallow water river analytic modell analytical model is write for calculating water pollution density using C++.Two-dimensional shallow water river
Analytic modell analytical model be the contaminant transportation conversion fundamental equation derived by mass conservation law using Laplace transform and its
The analytic formula that inverse transformation is solved, specific formula are as follows:
WhereinFor wastewater mass concentration in river, unit:mg/L;x、yRespectively vertical and horizontal distance, it is single
Position:m;tFor time, unit:s;M is the instantaneous discharge capacity of accident;For river level, unit:m;D x 、D y Respectivelyx、yDirection is rapid
Flow diffusion coefficient, unit:m2/s;u、vRespectively flow existsx、yThe velocity component in direction, unit:m/s;kIt is single for degradation coefficient
Position:s-1;For river background mass concentration.
(4)According to water quality of river standard, floss hole assay standard is formulated, Sewage outlet is write with C++ and evaluates mould
Type.Including different floss holes at same analysis section water pollution density time history plot and different arrange
It puts the counting statistics of the counting of mouthful section of excess standard, exceeded duration and times of ultra standard and recommends best sewage discharge to platform user
Mouth position.
(5)Using dynamic Rendering, any river for planning floss hole in Overlapping display simulation context on web map
The dynamic change for flowing pollutant concentration, provides the user with intuitive change of water quality in river situation.