CN111259093B - EFDC water quality model calculation result visualization method and system - Google Patents

EFDC water quality model calculation result visualization method and system Download PDF

Info

Publication number
CN111259093B
CN111259093B CN201911200019.XA CN201911200019A CN111259093B CN 111259093 B CN111259093 B CN 111259093B CN 201911200019 A CN201911200019 A CN 201911200019A CN 111259093 B CN111259093 B CN 111259093B
Authority
CN
China
Prior art keywords
efdc
value
water quality
grid
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911200019.XA
Other languages
Chinese (zh)
Other versions
CN111259093A (en
Inventor
杨坤
张力
李晓飞
宫留留
范青松
黄炎晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changjiang Spatial Information Technology Engineering Co ltd
Original Assignee
Changjiang Spatial Information Technology Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changjiang Spatial Information Technology Engineering Co ltd filed Critical Changjiang Spatial Information Technology Engineering Co ltd
Priority to CN201911200019.XA priority Critical patent/CN111259093B/en
Publication of CN111259093A publication Critical patent/CN111259093A/en
Application granted granted Critical
Publication of CN111259093B publication Critical patent/CN111259093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Abstract

The invention provides an EFDC water quality model calculation result visualization method and system. The method comprises the following steps: converting the EFDC model calculation grid into GIS data; issuing the EFDC model calculation grid and the background geographic data into map service through a GIS server; converting the calculation result into a format of 'time sequence-analog value' for storage; storing the analog values of all grids at a certain time in a database; inquiring an EFDC calculation result, and transmitting the calculation result in a two-dimensional data form; background geographic data are loaded from a GIS server side and rendered to the bottom layer of a map window, a corresponding relation between a water quality simulation value and the color of the calculation grid is established, the depth of the color of the calculation grid expresses the concentration of a water quality factor, and a water quality simulation result is dynamically rendered by using WebGL. By the method, efficient storage, query and transmission of EFDC calculation results and visual display based on WebGIS are realized.

Description

EFDC water quality model calculation result visualization method and system
Technical Field
The disclosure relates to the field of information visualization, and provides an EFDC water quality model calculation result visualization method and system.
Background
The EFDC (the Environmental Fluid Dynamics code) model is a model which is sponsored by the United states Environmental protection agency, developed by Hamrick of the national institute of oceanographic research, and integrates a water power module, a sediment module, a pollutant migration module and a water quality module into a whole, and can be used for one-dimensional, two-dimensional and three-dimensional numerical simulation of lakes, reservoirs, gulfs, wetland estuaries and offshore areas. Through development and improvement for nearly 20 years, the model is widely used in organizations such as universities, government offices, environment consulting companies and the like, is successfully used for researching more than 100 water body areas in the United states and other countries in Europe, and is applied to water quality simulation, confluent water power simulation, reservoir nutrient simulation and the like, water body eutrophication simulation and the like in China.
The Geographic Information System (GIS) is a technical System for collecting, storing, managing, operating, analyzing, displaying and describing relevant Geographic distribution data in the whole or part of the space of the earth surface (including the atmosphere) under the support of a computer hardware and software System. WebGIS is extension and development of a traditional GIS on a network, and publishes and applies geospatial data through the Internet to realize sharing and interoperation of the geospatial data.
The EFDC model has advantages in water quality numerical simulation and calculation, but is currently limited in data management and maintenance, simulation result expression, and spatial analysis capabilities. The EFDC model is used for displaying a water quality simulation calculation result on a traditional two-dimensional grid interface, cannot realize the overlapping display of the calculation result and a background geographic environment, and has a great improvement space on the visualization effect. The integration of the EFDC model and the WebGIS is researched, so that the application efficiency and the visual display effect of the water quality model can be improved, and the function of GIS space analysis can be fully exerted. The GIS and the water quality model are integrated in the cases of water quality safety assessment and early warning, sea water quality management, river water quality simulation, water environment capacity management and the like.
Generally, the calculation result output by the EFDC model is a text file, and from the viewpoint of software development, the text file is adopted for query and display, so that the efficiency is low, and the data security is poor; from the software integration perspective, the EFDC model data structure is different from the GIS system, and the EFDC model data structure and the GIS system are difficult to organically fuse.
Disclosure of Invention
In order to solve the problems, the invention provides an EFDC water quality model calculation result visualization method and system.
The method and the device have the advantages that a complete solution is provided, and the method and the device comprise EFDC model grid GIS visualization, analysis and storage design of EFDC model calculation results, background query interface design and EFDC model calculation result front-end GIS visualization.
According to a first object of the present invention, an EFDC water quality model calculation result visualization method is provided, which includes:
converting the EFDC model calculation grid into GIS data;
issuing the EFDC model calculation grid and the background geographic data into map service through a GIS server;
analyzing the EFDC calculation result, and converting the calculation result into a format of a time sequence-analog value;
storing the EFDC calculation result, and storing the EFDC calculation result through a storage format of 'time sequence-analog value';
inquiring an EFDC calculation result, and transmitting the calculation result in a two-dimensional data form;
background geographic data are loaded from a GIS server side and rendered to the bottom layer of a map window, a corresponding relation between a water quality simulation value and the color of the calculation grid is established, the depth of the color of the calculation grid expresses the concentration of a water quality factor, and a water quality simulation result is dynamically rendered by using WebGL.
Optionally, the storing the EFDC calculation result is performed by a storage format of "time sequence-analog value", and includes: and storing the simulation values of all grids at a certain time in a database in a text mode, wherein the calculation result values of each grid are separated by commas.
Optionally, the EFDC calculation result is queried, and the calculation result is transmitted in a form of two-dimensional data, specifically, the outer array includes n sub-arrays, where n is the number of grids of the calculation model, each sub-array includes two fields, a first field represents a grid number, a second field represents a simulation result value, and the calculation result finally returned includes the extreme value of the water quality factor of the time series and the simulation value.
Optionally, the loading of the background geographic data from the GIS server, rendering to the bottom layer of the map window, establishing a correspondence between the water quality simulation value and the grid color, expressing the water quality factor concentration by calculating the shade of the grid color, and dynamically rendering the water quality simulation result by using WebGL includes: the method comprises the steps of combining a JavaScript language at a browser end with an OpenGL ES standard at a desktop end, adding a JavaScript binding of the OpenGL ES, enabling WebGL to provide hardware 3D acceleration for graphic rendering by means of a system GPU, finally rendering a gradually changed grid layer according to the contrast relation between each grid value and a color gradient after EFDC analyzes data, and overlapping the grid layer on a base map service.
According to a second object of the present invention, there is provided an EFDC water quality model calculation result visualization system including:
the conversion unit is used for converting the EFDC model calculation grid into GIS data;
the publishing unit is used for publishing the EFDC model calculation grid and the background geographic data into map service through a GIS server;
the analysis unit is used for analyzing the EFDC calculation result and converting the calculation result into a format of a time sequence-analog value;
the storage unit is used for storing an EFDC calculation result and storing the EFDC calculation result through a storage grid of a time sequence-analog value;
the query unit is used for querying an EFDC calculation result, and the calculation result is transmitted in a two-dimensional data form;
and the visualization unit is used for loading background geographic data from the GIS server, rendering the background geographic data to the bottom layer of a map window, establishing a corresponding relation between the water quality simulation value and the color of the calculation grid, expressing the concentration of the water quality factor by calculating the depth of the grid color, and dynamically rendering the water quality simulation result by using WebGL.
Optionally, the storage unit includes: and storing the simulation values of all grids at a certain time in a database in a text mode, wherein the calculation result values of each grid are separated by commas.
Optionally, the query unit includes: the outer-layer array comprises n sub-arrays, n is the grid number of the calculation model, each sub-array comprises two fields, the first field represents the grid number, the second field represents the simulation result value, and the finally returned calculation result comprises the water quality factor extreme value and the simulation value of the time sequence.
Optionally, the visualization unit comprises: the method comprises the steps of combining a JavaScript language at a browser end with an OpenGL ES standard at a desktop end, adding a JavaScript binding of the OpenGL ES, enabling WebGL to provide hardware 3D acceleration for graphic rendering by means of a system GPU, finally rendering a gradually changed grid layer according to the contrast relation between each grid value and a color gradient after EFDC analyzes data, and overlapping the grid layer on a base map service.
The technical scheme provided by the invention can have the following beneficial effects:
according to the method, the large-quantity (more than 5 thousand grids) second-level dynamic rendering of the water quality simulation result is realized through the storage design of the EFDC water quality model calculation result, the data structure optimization design of the query interface return value, the front-end rendering optimization design based on the WebGIS and the like.
The method and the system provided by the disclosure realize the GIS of the water quality simulation result, and can visually display and output the distribution change condition of the water quality factors in space and time by means of the space visualization function of the GIS.
The GIS has strong space analysis function, and can provide convenient and efficient technical support for monitoring and management work of a water environment management department.
Drawings
FIG. 1 is a flow diagram illustrating a method for visualizing results of EFDC model computations in accordance with an exemplary embodiment;
fig. 2 illustrates an lxly. inp file structure, according to an example embodiment;
fig. 3 illustrates a dxdy. inp file structure in accordance with an exemplary embodiment;
FIG. 4 illustrates a computational grid center point, a computational grid cross sectional line, and a model computational grid according to one exemplary embodiment.
Fig. 5 is a GIS overlay display of model computing grid and channel terrain data, shown in accordance with an exemplary embodiment.
FIG. 6 illustrates mesh information in the results of an EFDC model calculation, according to an exemplary embodiment.
FIG. 7 is a simulated value in the results of an EFDC model calculation shown in accordance with an exemplary embodiment.
FIG. 8 is a flow diagram illustrating an EFDC computation result parsing in accordance with an exemplary embodiment.
Fig. 9 shows a conventional data transmission format.
Fig. 10 is an illustration of an improved data transmission format, in accordance with an example embodiment.
Fig. 11 illustrates a data transmission format with extreme and analog value information, according to an example embodiment.
FIG. 12 is a GIS visualization display of a calculation of total phosphorus content of surface water at a time, according to an exemplary embodiment.
Fig. 13 is a GIS visualization display of a calculation result of total nitrogen content of surface water quality at a time shown according to an exemplary embodiment.
FIG. 14 is an EFDC model calculation visualization system shown in accordance with an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
In describing the present invention, it is to be understood that the terms are to be interpreted broadly unless otherwise specifically defined or limited. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. Furthermore, the terms "first," "second," "S1," "S2," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or quantity or location.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The present embodiment provides a method for visualizing EFDC water quality model calculation results, as shown in fig. 1, the core idea of the present disclosure services an EFDC model calculation grid by a GIS means, analyzes and stores the EFDC calculation results in a database, and colors the EFDC calculation results for the calculation grid by a WebGL technology at a Web browser end, and the specific implementation steps include:
firstly, converting an EFDC model calculation grid into GIS data;
storing the EFDC model calculation grid information in lxly.inp and dxdy.inp files, extracting calculation grid geographic space information from the files, converting the calculation grid geographic space information into data in a GIS format, and using the data as a space basis for GIS visual display of a model calculation result. The specific implementation steps are as follows:
s1, according to the lxly. inp file, as shown in fig. 2, generating a shape format of a model center scatter diagram according to the recorded center coordinates, and recording row and column numbers of a scatter representing a grid, corresponding to I, J columns in fig. 2, and grid sequence number information in an attribute information table;
s2, according to the row and column number information of the mesh in the dxdy.inp file, corresponding to the I, J column in fig. 3, recording the length and width information of the mesh in the attribute information table in the scatter diagram shape file generated in S1, corresponding to the DX and DY column information in fig. 3;
s3, generating a grid cross section scatter diagram according to the grid central point coordinates and the grid width;
s4, generating a grid longitudinal section scatter diagram according to the cross section scatter diagram and the grid length;
s5, generating horizontal and vertical section lines of the grid according to the vertical section scatter diagram of the grid;
s6, generating a model surface according to the horizontal and vertical section lines of the model grid, establishing the association between the model grid surface and the central point through spatial association (SpatialJoin), and assigning the attribute information of the central point to the model surface;
the coordinates of the center point of the generated computational grid, the horizontal and vertical section lines of the grid, and the model computational grid are respectively shown in fig. 4 (a), (b), and (c).
Secondly, issuing the EFDC model computational grid and the background geographic data into map service through a GIS server;
the specific implementation steps are as follows:
s1, collecting background geographic data (water system, terrain and the like) in the EFDC model calculation grid space range, and making map documents in mxd format by utilizing GIS data processing software (ArcMap);
s2, performing projection definition and conversion on EFDC model calculation grid data by using ArcMap to enable the EFDC model calculation grid data and related background geographic data to have the same geographic projection coordinate information, and then overlaying the EFDC model calculation grid and the related background geographic data to manufacture a map document in a mxd format for service release;
and S3, distributing the prepared map document into a map service through a GIS Server by utilizing GIS service distribution software (ArcGIS Server). In order to optimize the front-end browsing efficiency, selecting a background map document in the step (i) and publishing the service in a slicing cache (WMTS service) mode; and the EFDC model calculation grid in the second step is released into a map service in a WFS form and is used by a Web rendering engine MapTallks in a GeoJSON form.
The display effect of the published map service in the Web browser is shown in fig. 5.
Thirdly, analyzing the EFDC calculation result, and converting the calculation result into a format of a time sequence-analog value;
the EFDC calculation result is an automatic dat format file, and the calculation result file comprises two aspects of information: the first half is the computational mesh information of the EFDC model (as shown in FIG. 6), where I, J represent the rows and columns, respectively, in which the mesh is located; the second half is the simulation calculation results of the EFDC model (as shown in fig. 7), where the 1 st column represents the time series in the calculation period, and the 2 nd to nth columns represent the simulation values corresponding to each grid.
The efficiency of directly utilizing the file to perform simulation result display is low, the result needs to be analyzed, and the calculation result is converted into a form of a time sequence-analog value, as shown in fig. 8, the specific implementation flow of the EFDC result analysis is as follows:
s1, reading each line of record of the simulation result file from top to bottom in sequence;
s2, judging the initial character of the line record, and reading the next line record if the initial character is "+";
s3, replacing the hollow grid character in the current time sequence simulation result with a comma character;
s4, taking comma as separator, extracting the first value of the simulation result as time sequence value, and the rest as simulation result value;
s5, storing the time sequence information and the processed simulation result value into an analysis result set;
and S6, repeating the steps until the reading of the EFDC result file is finished.
Fourthly, storing the EFDC calculation result and storing the EFDC calculation result through a storage format of 'time sequence-analog value';
preferably, the method adopts a storage mode of 'time sequence-analog value', the analog values of all grids at a certain time are stored in a database in a text mode, and the calculation result values of each grid are separated by commas, so that the number of records is effectively reduced, and the query efficiency is ensured.
The analysis of the water quality calculation result comprises two parts: time sequence extreme value and time sequence water quality analog value. The analyzed simulation result is stored in a database according to a time sequence-simulation value form; and storing the time sequence extreme value obtained after calculation into a database according to a time sequence-extreme value mode.
The EFDC calculation result storage implementation steps are as follows:
s1, determining the planned water quality category of the simulation area, acquiring the standard value of the current water quality simulation factor according to the national surface water environment quality standard GB3838-2002, and taking the standard value as the standard for judging whether the water quality factor exceeds the standard or not;
s2, acquiring a simulation result of a specified time sequence from the EFDC analysis result set generated in the step three, and storing the simulation result of the time sequence in a database;
s3, dividing the water quality simulation factor standard value into two types of standard exceeding and standard not exceeding;
s4, respectively calculating the maximum value and the minimum value of the simulation result in the two categories of 'exceeding standard' and 'not exceeding standard';
and S5, storing the calculated 'exceeding' extreme value and 'not exceeding' extreme value into a database.
Fifthly, inquiring an EFDC calculation result, wherein the calculation result is transmitted in a two-dimensional data form;
the water quality inquiry parameters comprise an example number, a time sequence and water quality simulation factors (total phosphorus, total nitrogen and chemical oxygen demand). The returned calculation result comprises the extreme value (maximum and minimum value) of the water quality factor of the time sequence and the water quality factor simulation value.
In the conventional design of the return value structure, data transmission is performed in a key value pair manner, as shown in fig. 9, that is, each return result includes two parts of information, namely, an attribute name and an attribute value, and this data transmission structure has a problem of a large amount of redundancy of the attribute names, that is, each return unit includes repeated information, such as a "time sequence", a "grid sequence number", and an "analog value", which causes waste of network resources and affects data transmission efficiency.
Preferably, in the two-dimensional array of calculation results according to an embodiment of the present disclosure, as shown in fig. 10, the outer array includes n sub-arrays, where n is the number of grids of the calculation model, each sub-array includes two fields, a first field represents a grid number, a second field represents a simulation result value, and the finally returned calculation result includes the extreme value of the water quality factor and the simulation value of the time series;
the Web browser acquires EFDC calculation result data from the server through an Http request, and the specific implementation flow is as follows:
s1, the Web browser sends a request with time sequence, water quality simulation factor and calculation scheme ID information to the server;
s2, the server inquires corresponding EFDC calculation results and extreme value information from the database according to the request parameters of the browser;
s3, the server organizes the data in the format shown in fig. 11 and returns the data to the Web browser in JSON format.
Sixthly, loading background geographic data from the GIS server, rendering to the bottom layer of a map window, establishing a corresponding relation between a water quality simulation value and the color of the calculation grid, expressing the concentration of the water quality factor by calculating the depth of the grid color, and dynamically rendering a water quality simulation result by using WebGL;
preferably, a browser-side JavaScript scripting language and a desktop-side OpenGL ES standard are combined together, by adding one JavaScript binding of OpenGL ES, WebGL can provide hardware 3D acceleration for graphic rendering by means of a system GPU, finally, a gradually changing grid layer is rendered according to the contrast relation between each grid value and a color gradient after EFDC analyzes data, and the grid layer is superposed on a base map service;
one specific implementation flow is as follows:
s1, loading base map service data;
preferably, background geographic data (WMTS slice cache data) is loaded from a GIS server side by using a map slice service loading function of MapTallks and is rendered to the bottom layer of a map window;
s2, setting a legend;
establishing a corresponding relation between the water quality simulation value and the color of the calculation grid, and expressing the concentration of the water quality factor by calculating the depth of the color of the grid;
preferably, the extreme value of total phosphorus in water quality in a simulation area at a certain moment is assumed to be 0.02-0.049970, and the color grading number is 6:
determining a numerical range of the water quality analog value according to the extreme value and the classification number, wherein the numerical range is six ranges of 0.02-0.024995, 0.024995-0.029990, 0.029990-0.034985, 0.034985-0.039980, 0.039980-0.044975 and 0.044975-0.049970.
② color selection, 6 colors which change gradually are selected, and are '#30C3FD', '25E 9A6', 'FED 400', 'FCA 424', and 'FD 7089'
And thirdly, establishing a corresponding relation between the color and the numerical value interval.
S3, client rendering of the simulation result;
the implementation flow of EFDC simulation result rendering is as follows:
firstly, acquiring GeoJSON format data of an EFDC computational grid through WFS map service;
sequentially acquiring each grid in the WFS map service, and acquiring a simulation value of the corresponding grid from EFDC analysis data according to the grid serial number of the calculation grid;
and thirdly, calculating a numerical value interval where the grid value is located by utilizing a dichotomy, then determining a color code corresponding to each grid according to the corresponding relation between the numerical value interval and the color gradient, rendering gradually-changed grid layers in sequence, and overlapping the grid layers on the base map service. The GIS visualization display of the calculation result of the total phosphorus content of the surface water quality at a certain moment is shown in figure 12, and the GIS visualization display of the calculation result of the total nitrogen content of the surface water quality at a certain moment is shown in figure 13.
According to the EFDC model calculation result visualization method, efficient storage, query and transmission of EFDC calculation results and WebGIS-based visualization display are achieved through EFDC model calculation grid GIS, EFDC model calculation result storage optimization design, query interface return value data structure optimization design, web front-end rendering optimization design and the like.
The embodiment further provides a system for visualizing the calculation result of the EFDC water quality model, as shown in fig. 14, the system includes:
the conversion unit is used for converting the EFDC model calculation grid into GIS data;
the publishing unit is used for publishing the EFDC model calculation grid and the background geographic data into map service through a GIS server;
the analysis unit is used for analyzing the EFDC calculation result and converting the calculation result into a format of a time sequence-analog value;
the storage unit is used for storing an EFDC calculation result and storing the EFDC calculation result through a storage grid of a time sequence-analog value;
preferably, the storage unit includes: storing the analog values of all grids in a database in a text mode at a certain time, and separating the calculation result values of each grid by commas;
the query unit is used for querying an EFDC calculation result, and the calculation result is transmitted in a two-dimensional data form;
preferably, the query unit includes: the outer array comprises n sub-arrays, wherein n is the grid number of the calculation model, each sub-array comprises two fields, the first field represents the grid number, the second field represents the simulation result value, and the finally returned calculation result comprises the water quality factor extreme value and the simulation value of the time sequence;
the visualization unit is used for loading background geographic data from the GIS server, rendering the background geographic data to the bottom layer of a map window, establishing a corresponding relation between a water quality simulation value and the color of the calculation grid, expressing the concentration of a water quality factor by calculating the depth of the grid color, and dynamically rendering a water quality simulation result by using WebGL;
preferably, the query unit includes: the outer-layer array comprises n sub-arrays, n is the grid number of the calculation model, each sub-array comprises two fields, the first field represents the grid number, the second field represents the simulation result value, and the finally returned calculation result comprises the water quality factor extreme value and the simulation value of the time sequence.
According to the method, the large-quantity (more than 5 thousand grids) second-level dynamic rendering of the water quality simulation result is realized through the storage design of the EFDC water quality model calculation result, the data structure optimization design of the query interface return value, the front-end rendering optimization design based on the WebGIS and the like. The method and the system provided by the disclosure realize the GIS of the water quality simulation result, and can visually display and output the distribution change condition of the water quality factors in space and time by means of the space visualization function of the GIS. The GIS has strong space analysis function, and can provide convenient and efficient technical support for monitoring and management work of a water environment management department.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (2)

1. An EFDC water quality model calculation result visualization method is characterized by comprising the following steps:
firstly, converting an EFDC model calculation grid into GIS data;
secondly, issuing the EFDC model computational grid and the background geographic data into map service through a GIS server;
thirdly, analyzing the EFDC calculation result, and converting the calculation result into a format of a time sequence-analog value;
the analysis of the water quality calculation result comprises two parts: a time sequence extreme value and a time sequence water quality analog value; the analyzed simulation result is stored in a database according to a time sequence-simulation value form; the time sequence extreme value obtained after calculation is stored in a database according to a time sequence-extreme value mode;
fourthly, storing the EFDC calculation result and storing the EFDC calculation result through a storage format of 'time sequence-analog value';
the method comprises the following steps: storing the analog values of all grids in a database in a text mode at a certain time, and separating the calculation result values of each grid by commas;
the EFDC calculation result storage implementation steps are as follows:
s1, determining the planned water quality category of the simulation area, acquiring the standard value of the current water quality simulation factor according to the national surface water environment quality standard GB3838-2002, and taking the standard value as the standard for judging whether the water quality factor exceeds the standard or not;
s2, acquiring a simulation result of a specified time sequence from the EFDC analysis result set generated in the third step, and storing the simulation result of the time sequence in a database;
s3, dividing the water quality simulation factor standard value into two types of standard exceeding and standard not exceeding;
s4, respectively calculating the maximum value and the minimum value of the simulation result in the two categories of 'exceeding standard' and 'not exceeding standard';
s5, storing the calculated overproof extreme value and the calculated overproof extreme value into a database;
fifthly, inquiring an EFDC calculation result, wherein the calculation result is transmitted in a two-dimensional data form; the outer-layer array comprises n sub-arrays, n is the grid number of the calculation model, each sub-array comprises two fields, the first field represents the grid number, the second field represents the simulation result value, and the finally returned calculation result comprises the water quality factor extreme value and the simulation value of the time sequence;
the Web browser acquires EFDC calculation result data from the server through an Http request, and the specific implementation flow is as follows:
s1, the Web browser sends a request with time sequence, water quality simulation factor and calculation scheme ID information to the server;
s2, the server inquires corresponding EFDC calculation results and extreme value information from the database according to the request parameters of the browser;
s3, the server organizes the data according to the formats of 'minimum value not exceeding standard, maximum value not exceeding standard, minimum value exceeding standard, maximum value exceeding standard and analog value' and returns the data to the Web browser in the form of JSON;
sixthly, loading background geographic data from the GIS server, rendering to the bottom layer of a map window, establishing a corresponding relation between a water quality simulation value and the color of the calculation grid, expressing the concentration of the water quality factor by calculating the depth of the grid color, and dynamically rendering a water quality simulation result by using WebGL; the method comprises the following steps: the method comprises the steps of combining a JavaScript language at a browser end with an OpenGL ES standard at a desktop end, adding a JavaScript binding of the OpenGL ES, enabling WebGL to provide hardware 3D acceleration for graphic rendering by means of a system GPU, rendering a gradually changed grid layer according to the contrast relation between each grid value and a color gradient after EFDC analyzes data, and overlapping the grid layer on a base map service.
2. An EFDC water quality model calculation result visualization system is characterized by comprising:
the conversion unit is used for converting the EFDC model calculation grid into GIS data;
the publishing unit is used for publishing the EFDC model calculation grid and the background geographic data into map service through a GIS server;
the analysis unit is used for analyzing the EFDC calculation result and converting the calculation result into a format of a time sequence-analog value;
the analysis of the water quality calculation result comprises two parts: a time sequence extreme value and a time sequence water quality analog value; the analyzed simulation result is stored in a database according to a time sequence-simulation value form; the time sequence extreme value obtained after calculation is stored in a database according to a time sequence-extreme value mode;
the storage unit is used for storing an EFDC calculation result and storing the EFDC calculation result through a storage format of a time sequence-analog value;
the method comprises the following steps: storing the analog values of all grids in a database in a text mode at a certain time, and separating the calculation result values of each grid by commas;
the EFDC calculation result storage implementation steps are as follows:
s1, determining the planned water quality category of the simulation area, acquiring the standard value of the current water quality simulation factor according to the national surface water environment quality standard GB3838-2002, and taking the standard value as the standard for judging whether the water quality factor exceeds the standard or not;
s2, acquiring a simulation result of a specified time sequence from the EFDC analysis result set generated in the third step, and storing the simulation result of the time sequence in a database;
s3, dividing the water quality simulation factor standard value into two types of standard exceeding and standard not exceeding;
s4, respectively calculating the maximum value and the minimum value of the simulation result in the two categories of 'exceeding standard' and 'not exceeding standard';
s5, storing the calculated overproof extreme value and the calculated overproof extreme value into a database;
the query unit is used for querying an EFDC calculation result, and the calculation result is transmitted in a two-dimensional data form;
the outer-layer array comprises n sub-arrays, n is the grid number of the calculation model, each sub-array comprises two fields, the first field represents the grid number, the second field represents the simulation result value, and the finally returned calculation result comprises the water quality factor extreme value and the simulation value of the time sequence;
the Web browser acquires EFDC calculation result data from the server through an Http request, and the specific implementation flow is as follows:
s1, the Web browser sends a request with time sequence, water quality simulation factor and calculation scheme ID information to the server;
s2, the server inquires corresponding EFDC calculation results and extreme value information from the database according to the request parameters of the browser;
s3, the server organizes the data according to the formats of 'minimum value not exceeding standard, maximum value not exceeding standard, minimum value exceeding standard, maximum value exceeding standard and analog value' and returns the data to the Web browser in the form of JSON;
the visualization unit is used for loading background geographic data from the GIS server, rendering the background geographic data to the bottom layer of a map window, establishing a corresponding relation between a water quality simulation value and the color of the calculation grid, expressing the concentration of a water quality factor by calculating the depth of the grid color, and dynamically rendering a water quality simulation result by using WebGL; the method comprises the following steps: the method comprises the steps of combining a JavaScript language at a browser end with an OpenGL ES standard at a desktop end, adding a JavaScript binding of the OpenGL ES, enabling WebGL to provide hardware 3D acceleration for graphic rendering by means of a system GPU, rendering a gradually changed grid layer according to the contrast relation between each grid value and a color gradient after EFDC analyzes data, and overlapping the grid layer on a base map service.
CN201911200019.XA 2019-11-29 2019-11-29 EFDC water quality model calculation result visualization method and system Active CN111259093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911200019.XA CN111259093B (en) 2019-11-29 2019-11-29 EFDC water quality model calculation result visualization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911200019.XA CN111259093B (en) 2019-11-29 2019-11-29 EFDC water quality model calculation result visualization method and system

Publications (2)

Publication Number Publication Date
CN111259093A CN111259093A (en) 2020-06-09
CN111259093B true CN111259093B (en) 2022-02-22

Family

ID=70952402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911200019.XA Active CN111259093B (en) 2019-11-29 2019-11-29 EFDC water quality model calculation result visualization method and system

Country Status (1)

Country Link
CN (1) CN111259093B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427988B (en) * 2020-06-11 2020-09-18 武大吉奥信息技术有限公司 Method and system for generating regional hierarchical rendering graph and electronic equipment
CN112685526B (en) * 2020-12-31 2021-10-08 华中科技大学 WebGIS-based dike-free river channel right-determining demarcation implementation method, server and client
CN113658311A (en) * 2021-08-09 2021-11-16 力合科技(湖南)股份有限公司 Water quality dynamic rendering method, system, equipment and computer readable storage medium
CN115688491B (en) * 2022-12-30 2023-03-10 长江水利委员会长江科学院 Water conservancy digital twin simulation method based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101234761B1 (en) * 2012-11-16 2013-02-19 인하대학교 산학협력단 Postprocessing system for a gis based visualization of massive results data from the efdc model
CN106372290A (en) * 2016-08-29 2017-02-01 长江空间信息技术工程有限公司(武汉) V-shaped watercourse storage capacity measurement and calculation method
CN107122522A (en) * 2017-03-28 2017-09-01 长江空间信息技术工程有限公司(武汉) It is a kind of based on fill out excavation analysis digital elevation model Accuracy Assessment
CN108021878A (en) * 2017-11-30 2018-05-11 长江空间信息技术工程有限公司(武汉) A kind of contour negative sense landforms intelligent identification Method
CN108256249A (en) * 2018-01-26 2018-07-06 重庆市环境保护信息中心 A kind of reservoir area of Three Gorges EFDC model integrated methods

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3639476B2 (en) * 1999-10-06 2005-04-20 シャープ株式会社 Image processing apparatus, image processing method, and recording medium recording image processing program
US20090310154A1 (en) * 2006-05-30 2009-12-17 Hewlett-Parkard Development Company, L.P. Chromatic Component Replacement
CN102737156B (en) * 2011-04-14 2015-08-05 中国科学院生态环境研究中心 In prediction surface water water environment, pollutant is to the method for the ecological risk of biology
KR101537872B1 (en) * 2013-12-30 2015-07-21 인하대학교 산학협력단 GIS based system and method for large scale numerical data processor and expression of results from EFDC model
CN104199887B (en) * 2014-08-25 2017-11-03 北京三易思创科技有限公司 Analysis of water environment method and system based on GIS-Geographic Information System Yu Delft3D FLOW computing engines
CN105973207B (en) * 2016-05-05 2018-07-03 云南省环境科学研究院 Large-scale shallow water lake wawter bloom gathers the moisturizing algae control method in waters
CN106202163A (en) * 2016-06-24 2016-12-07 中国环境科学研究院 Tongjiang lake ecological monitoring information management and early warning system
CN107122533A (en) * 2017-04-13 2017-09-01 石家庄铁道大学 A kind of water surface heat exchange method for numerical simulation based on EFDC program updates
CN108009349B (en) * 2017-11-30 2019-08-20 武汉大学 A kind of river Two-Dimensional Water Quality numerical simulator calculating grid optimization method for drafting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101234761B1 (en) * 2012-11-16 2013-02-19 인하대학교 산학협력단 Postprocessing system for a gis based visualization of massive results data from the efdc model
CN106372290A (en) * 2016-08-29 2017-02-01 长江空间信息技术工程有限公司(武汉) V-shaped watercourse storage capacity measurement and calculation method
CN107122522A (en) * 2017-03-28 2017-09-01 长江空间信息技术工程有限公司(武汉) It is a kind of based on fill out excavation analysis digital elevation model Accuracy Assessment
CN108021878A (en) * 2017-11-30 2018-05-11 长江空间信息技术工程有限公司(武汉) A kind of contour negative sense landforms intelligent identification Method
CN108256249A (en) * 2018-01-26 2018-07-06 重庆市环境保护信息中心 A kind of reservoir area of Three Gorges EFDC model integrated methods

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于EFDC模型的大东湖水质水生态环境分析平台研究";张帅;《中国优秀硕士学位论文全文数据库工程科技Ⅰ辑》;20180715;B027-402 *

Also Published As

Publication number Publication date
CN111259093A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111259093B (en) EFDC water quality model calculation result visualization method and system
US10559097B2 (en) Methods and systems for providing mapping, data management, and analysis
Sharifi et al. Site selection for waste disposal through spatial multiple criteria decision analysis
Gregory et al. A place in history: A guide to using GIS in historical research
Forest Resources Assessment 1990 Project Forest resources assessment 1990: Survey of tropical forest cover and study of change processes
Yue et al. A data description model for reusing, sharing and integrating geo-analysis models
CN109299298A (en) Construction method, device, application method and the system of image fusion model
Kennelly et al. Elevation models for reproducible evaluation of terrain representation
CN110807600A (en) Soil erosion evaluation system
Teves-Costa et al. Maximum intensity maps (MIM) for Portugal mainland
CN110197035A (en) A kind of navigation channel change of Underwater Topography analysis system and method
CN110837920A (en) GIS-based refuse landfill site selection method and site selection device
Nobajas et al. From historical map to online 3D recreation: the 1861 cadastral map of Horta (Barcelona)
Yu et al. Spatial indexing for effective visualization of vector-based electronic nautical chart
Brown Geographical distribution of biomass carbon in tropical Southeast Asian forests: a database
Wright et al. ArcGMT: a suite of tools for conversion between Arc/INFO® and Generic Mapping Tools (GMT)
Morang et al. Regional Morphology Analysis Package (RMAP). Version 3, User's guide and tutorial
Griffith et al. Spatial Statistics and Geostatistics: Theory and Applications for Geographic Information Science and Technology
Zhang et al. Design and implementation of decision-making support system for thematic map cartography
Król et al. Informational, Educational, and Scientific Values of Environmental Data Interactive Visualizations
Izhbuldin et al. Geovisualization Features in Substantiating Solutions in Energy Infrastructures
Tyagi et al. Seismically Induced Landslide Hazard Analyses for a Road Corridor in the Lower Himalayas
Dykes et al. Brokering meteorological and oceanographic information in support of military operations using GIS technology
Lehfeldt et al. Open Services For Hydroengineering Tasks
AU2013201826B2 (en) System and method for web enabled geo-analytics and image processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant