A river section segmentation method and system based on grid hydrodynamic calculation
Through the method based on grid-based hydrodynamic calculation, the sudden change of river water quality and the division of river units are analyzed, which solves the problem of lack of characteristics of river units in the existing technology, and better support for water quality grading evaluation and diffusion model is achieved, and the The accuracy of water quality control.
Patent Information
- Application Number
- CN202411263546.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-09-10
AI Technical Summary
The existing river division methods usually adopt the concept of upstream, middle and lower reaches, and evenly divide the river into units, resulting in the lack of characteristics of river units and cannot better support the differentiation basis of water quality grading evaluation and water quality diffusion model.
Using a method based on grid-based hydrodynamic calculation, simulated water quality diffusion from the upstream to the downstream of the river. By calculating the water quality level of the grid, analyzing the sudden change of water quality, positioning the high-risk sudden change grid and dividing it to form a river with outstanding characteristics. unit.
Accurate positioning and segmentation of the sudden change of water quality areas is achieved, providing a better foundation for water quality grading evaluation and water quality diffusion model, and improving the accuracy and effectiveness of water quality control.
Smart Images

Figure CN118780213B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water quality data analysis, and specifically designs a river section segmentation method based on gridded hydrodynamic calculation. Background Art
[0002] In the scenario of river water quality control, the water quality diffusion grading evaluation method is usually adopted. This method can intuitively display the dynamic diffusion form of water quality, thereby achieving the display of water pollution conditions, pollution degree, and temporal and spatial distribution of pollutants.
[0003] However, there is a crucial prerequisite for adopting the water quality diffusion grading evaluation, which is to divide the river into several river units to be monitored. At present, the river division method usually considers the concept of upper, middle and lower reaches, and roughly divides the river into three major divisions corresponding to the upper, middle and lower reaches. Then, the rivers in the three major divisions are evenly divided into river units with the same unit length, so that the divided river units do not have outstanding characteristics, resulting in a relatively single scene when constructing river units through hydrodynamic models, which cannot better provide a good foundation for river unit differentiation for water quality grading evaluation and water quality diffusion models. Summary of the invention
[0004] The purpose of the present invention is to provide a river section segmentation method and system based on grid hydrodynamic calculation, which simulates water quality diffusion from upstream to downstream of the river through a grid hydrodynamic model, obtains the first water quality grade of the grid according to the diffusion calculation, and analyzes the sudden change of water quality of the grid according to the first water quality grade of the grid and the actual second water quality grade. It is possible to find river sections where sudden water quality changes often occur, locate them and segment them into river units, which can better lay a good foundation for river unit differentiation for water quality grading evaluation and water quality diffusion model.
[0005] In order to solve the above technical problems, the present invention adopts the following solutions:
[0006] A river section segmentation method based on grid hydrodynamic calculation, the method specifically comprising the following steps:
[0007] S1: Grid the river and collect the required river information to build a hydrodynamic model;
[0008] S2: Obtain water quality data of the upper reaches of the river based on historical monitoring data from water quality monitoring stations located on the river, substitute the water quality data of the upper reaches of the river into the hydrodynamic model for river simulation, and calculate the water quality data of the current lower reaches of the river, and obtain the first water quality grade of the grid based on the water quality data of the current lower reaches of the river;
[0009] S3: obtaining current water quality data of the grid according to historical monitoring data of the water quality monitoring station located on the river, and obtaining a second water quality grade of the grid according to the current water quality data of the grid;
[0010] S4: Counting the total number of times that the difference between the first water quality level and the second water quality level of each grid is greater than a threshold, and determining whether the total number exceeds a preset number, if so, marking the grid as a high-risk sudden change grid;
[0011] S5: Draw a dividing line vertically from the center point of the high-risk sudden change grid to the river surface, and perform deduplication processing on the dividing line according to the number of the dividing line and the high-risk sudden change grid, so that the deduplication dividing line divides the river in the river area map into several river units.
[0012] Furthermore, the S5 specifically includes the following steps:
[0013] S51: for N high-risk sudden change grids, a dividing line is drawn vertically from the center point of the corresponding high-risk sudden change grid to the river surface to obtain N dividing lines;
[0014] S52: removing duplicates from the split lines according to the number of high-risk sudden change grids contained in the river section where the split lines are located, to obtain NJ split lines, where J represents the removed duplicate split lines;
[0015] S53: Divide the river into N-J+1 river units according to NJ dividing lines.
[0016] Furthermore, in S52, the specific process of deduplicating the split line according to the number of high-risk sudden change grids contained in the river section where the split line is located is:
[0017] The river is cut downward at the location of the dividing line, and the cross-section of the cut river is used as the river section where the dividing line is located. It is determined whether the river section contains multiple high-risk sudden change grids. If so, the corresponding dividing line is deduplicated, that is, it is used as the deduplicated dividing line.
[0018] Furthermore, in S2, the process of obtaining the water quality data of the upper reaches of the river according to the historical monitoring data of the water quality monitoring station located on the river is specifically as follows:
[0019] Locate upstream and downstream of the river according to the flow direction of the river;
[0020] Obtaining location information of water quality monitoring stations located on the river, and grouping the water quality monitoring stations according to the upstream and downstream of the river, to obtain the water quality monitoring stations located in the upstream of the river;
[0021] The historical monitoring data of the water quality monitoring station located in the upper reaches of the river are obtained, and the historical monitoring data are preprocessed to obtain the water quality data of the upper reaches of the river.
[0022] Furthermore, if the time point of the water quality data of the current downstream of the river is the same as the time point of the current water quality data, then the first water quality level and the second water quality level are used to represent two water quality levels of the grid at the same time point.
[0023] Furthermore, in S1, the process of gridding the river is as follows:
[0024] Different gridding processes are performed according to the river section type, wherein the river section types include vertical river sections and curved river sections. When the river section type is a vertical river section, the vertical river section is evenly gridded. When the river section type is a curved river section, the curved river section is unevenly gridded, and linear element encryption is performed on the uneven grid.
[0025] Furthermore, in S1, the river information includes location information of water quality monitoring stations on the river, geographical information, outlet information, and hydrological information of the river, and a corresponding hydrodynamic model is constructed based on the river information.
[0026] Furthermore, the hydrodynamic model is a mathematical model that describes the relationship between the force and movement of water flow, and performs numerical simulation on the dynamic process of the river.
[0027] A river segment segmentation system based on grid hydrodynamic calculation, comprising:
[0028] River preprocessing module: gridding the river and collecting the required river information to build a hydrodynamic model;
[0029] The first water quality grade acquisition module: obtains the water quality data of the upper reaches of the river according to the historical monitoring data of the water quality monitoring station located on the river, substitutes the water quality data of the upper reaches of the river into the hydrodynamic model for river simulation, and calculates the water quality data of the current lower reaches of the river, and obtains the first water quality grade of the grid according to the water quality data of the current lower reaches of the river;
[0030] The second water quality grade acquisition module: obtains the current water quality data of the grid according to the historical monitoring data of the water quality monitoring station located on the river, and obtains the second water quality grade of the grid according to the current water quality data of the grid;
[0031] High-risk sudden change grid statistics module: counts the total number of times the difference between the first water quality level and the second water quality level of each grid is greater than the threshold, and determines whether the total number exceeds the preset number. If so, the grid is marked as a high-risk sudden change grid;
[0032] River unit formation module: a dividing line is drawn vertically from the center point of the high-risk sudden change grid to the river surface, and the dividing line is deduplicated according to the number of dividing lines and high-risk sudden change grids, so that the deduplicated dividing lines divide the rivers in the river area map into several river units.
[0033] Furthermore, the river unit forming module also includes the following modules:
[0034] Cutting line generation module: for N high-risk sudden change grids, cut lines are drawn vertically from the center points of the corresponding high-risk sudden change grids to the river surface to obtain N cutting lines;
[0035] Cut line deduplication module: Deduplication of cut lines is performed according to the number of high-risk sudden change grids contained in the river section where the cut line is located, and NJ cut lines are obtained, where J represents the deduplication of the cut line;
[0036] River segmentation module: divides the river into N-J+1 river units according to NJ segmentation lines.
[0037] Beneficial effects of the present invention:
[0038] The present invention provides a river section segmentation method and system based on grid hydrodynamic calculation, which simulates water quality diffusion from upstream to downstream of the river through a grid hydrodynamic model, obtains the first water quality grade of the grid according to the diffusion calculation, and analyzes the sudden change of water quality of the grid according to the first water quality grade of the grid and the actual second water quality grade. It is possible to find river sections where sudden water quality changes often occur, locate them and segment them into river units, which can better lay a good foundation for river unit differentiation for water quality grading evaluation and water quality diffusion model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a river segment segmentation method based on grid hydrodynamic calculation in Example 1 of the present invention.
[0040] Figure 2 This is a schematic diagram of the grid distribution of the river grid map in Example 1 of the present invention.
[0041] Figure 3 It is a schematic diagram of cutting along the cutting line A1 and the cutting line A2 in Embodiment 1 of the present invention.
[0042] Figure 4 It is a schematic diagram of the river section where the dividing line A1 in Example 1 of the present invention is located.
[0043] Figure 5 It is a schematic diagram of the river section where the dividing line A2 in Example 1 of the present invention is located.
[0044] Figure 6This is a schematic diagram of segmentation by segmentation line after deduplication processing in Example 1 of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] The relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0047] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0048] Additionally, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness.One of ordinary skill in the art will recognize that various changes and modifications may be made to the examples described herein without departing from the spirit and scope of the present disclosure.
[0049] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0050] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0051] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments:
[0052] Example 1
[0053] like Figure 1 As shown, a river segment segmentation method based on grid hydrodynamic calculation includes the following steps:
[0054] S1: Grid the river and collect the required river information to build a hydrodynamic model;
[0055] S2: Obtain water quality data of the upper reaches of the river based on historical monitoring data from water quality monitoring stations located on the river, substitute the water quality data of the upper reaches of the river into the hydrodynamic model for river simulation, and calculate the water quality data of the current lower reaches of the river, and obtain the first water quality grade of the grid based on the water quality data of the current lower reaches of the river;
[0056] S3: obtaining current water quality data of the grid according to historical monitoring data of the water quality monitoring station located on the river, and obtaining a second water quality grade of the grid according to the current water quality data of the grid;
[0057] S4: Counting the total number of times that the difference between the first water quality level and the second water quality level of each grid is greater than a threshold, and determining whether the total number exceeds a preset number, if so, marking the grid as a high-risk sudden change grid;
[0058] S5: Draw a dividing line vertically from the center point of the high-risk sudden change grid to the river surface, and perform deduplication processing on the dividing line according to the number of the dividing line and the high-risk sudden change grid, so that the deduplication dividing line divides the river in the river area map into several river units.
[0059] Preferably, S5 specifically includes the following steps:
[0060] S51: for N high-risk sudden change grids, a dividing line is drawn vertically from the center point of the corresponding high-risk sudden change grid to the river surface to obtain N dividing lines;
[0061] S52: removing duplicates from the split lines according to the number of high-risk sudden change grids contained in the river section where the split lines are located, to obtain NJ split lines, where J represents the removed duplicate split lines;
[0062] S53: Divide the river into N-J+1 river units according to NJ dividing lines.
[0063] Preferably, in S52, the specific process of deduplicating the split line according to the number of high-risk sudden change grids contained in the river section where the split line is located is:
[0064] The river is cut downward at the location of the dividing line, and the cross-section of the cut river is used as the river section where the dividing line is located. It is determined whether the river section contains multiple high-risk sudden change grids. If so, the corresponding dividing line is deduplicated, that is, it is used as the deduplicated dividing line.
[0065] Preferably, in S2, the process of obtaining the water quality data of the upstream of the river according to the historical monitoring data of the water quality monitoring station located on the river is specifically as follows:
[0066] Locate upstream and downstream of the river according to the flow direction of the river;
[0067] Obtaining location information of water quality monitoring stations located on the river, and grouping the water quality monitoring stations according to the upstream and downstream of the river, to obtain the water quality monitoring stations located in the upstream of the river;
[0068] The historical monitoring data of the water quality monitoring station located in the upper reaches of the river are obtained, and the historical monitoring data are preprocessed to obtain the water quality data of the upper reaches of the river.
[0069] Preferably, the time point of the water quality data of the current downstream of the river is the same as the time point of the current water quality data, and the first water quality level and the second water quality level are used to represent two water quality levels of the grid at the same time point.
[0070] Preferably, in S1, the process of gridding the river is specifically as follows:
[0071] Different gridding processes are performed according to the river section type, wherein the river section types include vertical river sections and curved river sections. When the river section type is a vertical river section, the vertical river section is evenly gridded. When the river section type is a curved river section, the curved river section is unevenly gridded, and linear element encryption is performed on the uneven grid.
[0072] Preferably, in S1, the river information includes location information of water quality monitoring stations on the river, geographical information, outlet information, and hydrological information of the river, and a corresponding hydrodynamic model is constructed based on the river information.
[0073] Preferably, the hydrodynamic model is a mathematical model that describes the relationship between the force and movement of water flow, and performs numerical simulation on the dynamic process of the river.
[0074] Based on the above principles, the present invention is further described:
[0075] At present, the river division method usually considers the concepts of upper, middle and lower reaches, and roughly divides the river into three major regions corresponding to the upper, middle and lower reaches. Then, the rivers in the three major regions are evenly divided into river units with consistent unit lengths, so that the divided river units do not have outstanding characteristics. As a result, when the river units are constructed through the hydrodynamic model, the scene is relatively simple, and it cannot better provide a good basis for the differentiation of river units for water quality grading evaluation and water quality diffusion model.
[0076] Therefore, in order to solve the above problems, the present invention provides a river section segmentation method based on gridded hydrodynamic calculation, which can be applied to a water quality monitoring and control platform. The water quality monitoring and control platform is mainly used to monitor the rivers where water quality monitoring stations are located, so as to facilitate the identification of responsible parties, push and deal with pollution problems in the first time, help improve and enhance the quality of urban water, and provide decision-making support for water quality management.
[0077] In this embodiment, the river segment segmentation method is mainly to adapt to the hydrodynamic model and provide a better idea for the river unit construction of the hydrodynamic model. The hydrodynamic model is a mathematical model that describes the relationship between the force and movement of water flow. Considering that water quality monitoring data is a continuous series data with time attributes, the prediction method of time series data is used to predict the development trend of future water quality data based on the decomposition of historical water quality data; or by collecting a large amount of historical water quality monitoring data, a deep learning model based on neural network and regression tree is established to realize the prediction of future water quality.
[0078] Therefore, the present invention uses water quality monitoring stations set up on the river to obtain water quality monitoring data, outlet data, hydrological data, and riverbed geographic data. After obtaining the multivariate water quality monitoring data, the water quality monitoring data can be preprocessed. Specifically, the DBSCAN density clustering algorithm can be used to cluster the TP (total phosphorus), CODMN (permanganate), NH3N (ammonia nitrogen), PH (acidity), CODN (conductivity), DOX (dissolved oxygen), TN (total nitrogen), flow rate, flow rate and other water quality index data in the fixed station monitoring data, and the corresponding data that deviates from the cluster cluster is removed as an abnormal value to obtain the fixed water quality monitoring station site data. In addition, the outlet data involves geographic coordinate data, TP (total phosphorus), CODMN (permanganate), NH3N (ammonia nitrogen), PH (acidity), CODN (conductivity), DOX (dissolved oxygen), TN (total nitrogen) and other water quality data. The same clustering method is also used to clean and organize the data; the riverbed geographic data is scanned by the three-party river channel detection agency to obtain the riverbed two-dimensional gis data.
[0079] In order to accurately locate the diffusion of river water quality under the hydrodynamic model, the present invention performs different grid processing for different river section types.
[0080] Since the object of the present invention is urban rivers, urban rivers may have vertical river sections and concave and convex river banks due to planning and river itself. Among them, vertical river sections refer to the river sections where there is no angled bend and the flow rate is stable without drainage outlets; while the concave and convex river banks are formed by the bending of the riverbed due to geographical factors. Under the centrifugal force of the water flow, the concave river bank will be eroded, and the eroded sediment will be transported to the opposite bank through the bend circulation and deposited, and the components will grow into a circular arc-shaped convex bank with a gentle slope. Therefore, the water on the concave bank is deeper and the water flow rate is faster, while the water on the convex bank is shallower and has a slower flow rate than the concave bank.
[0081] It can be seen that compared with vertical river sections, curved river channels are more likely to experience sudden changes in water quality levels. Therefore, when dividing the grid, the vertical river sections are processed with equal grids; the curved river sections are processed with uneven grids, and the linear elements of the uneven grids are encrypted. Figure 2 As shown, Figure 2 The figure shows some river sections that have been divided into grids. The horizontal axis in the figure is the horizontal length of the river section in the horizontal direction, and the vertical axis is the vertical length of the river section in the vertical direction. The units are both in meters. In some river sections, the vertical river sections and the curved river sections are respectively processed with corresponding grids. For example, when performing linear feature encryption processing on the uneven grids in the curved river sections, you can choose to use HEC-RAS software to encrypt linear features. Use break line to encrypt parabolas. You can select 2D AreaBreakLines encryption through the toolbar in the geometry editor. Click the current feature, a selection menu will appear, and select the Edit Beak Line Cell Spacing option to set the line encryption spacing; or activate Break Lines through RAS Mapper, and draw and save linear features through vector editing methods similar to GIS. At this time, you need to set the encryption spacing in the layer properties.
[0082] Moreover, in this embodiment, in order to provide a better idea for the construction of river units of the hydrodynamic model, the present invention mainly divides the river units by water quality sudden change grids, so that there must be high-risk sudden change grids in each river unit, and water quality control can be better performed from the river unit.
[0083] Specifically, the high-risk sudden change grid indicates that the total number of times the water quality results predicted by the hydrodynamic model differ from the water quality level of the actual historical grid data by more than a threshold value, then the grid does not conform to the simulation results of the hydrodynamic model, and management and control of the grid can be strengthened. Therefore, the present invention divides the river according to the high-risk sudden change grid, so that the divided river unit has a prominent high-risk sudden change grid, which can better provide a foundation for river unit differentiation for water quality grading evaluation and water quality diffusion model.
[0084] Specifically, the gridded river is simulated by a hydrodynamic model. In this embodiment, the Flow Model (fm) model is selected, wherein the Flow Model (fm) model adopts an unstructured grid (triangular grid), and the terrain file used for the simulation calculation is a mesh format file generated by a mesh-generator, which will not be elaborated here. For the Flow Model (fm) model, it is only necessary to configure the parameters according to the river, and the water quality data of the current downstream of the river can be predicted through the water quality data of the upstream of the river.
[0085] In order to predict the current water quality data of the downstream of the river based on the water quality data of the upstream of the river, the water quality monitoring data obtained by the water quality monitoring station in the present invention is a time series parameter file, such as: the historical six-month upstream water quality three-parameter time series (TP\NH3N\CODMN), wind direction time series, rainfall time series, and hydrological time series.
[0086] According to the time series parameter file, it is possible to use the historical water quality data of the upstream of the river to enter the hydrodynamic model to calculate the water quality data of the downstream of the river. When the water quality data of the downstream of the river is obtained, it can be mapped into six water quality categories, namely, Ⅰ, Ⅱ, Ⅲ, Ⅳ, Ⅴ, and inferior Ⅴ, according to the national standard. In another embodiment, a water quality grade thermal map can also be obtained based on the above time series, which is convenient for management and control personnel to observe intuitively.
[0087] Through the above hydrodynamic model, the first water quality level of the grid can be obtained according to the water quality data of the current downstream of the river, and the second water quality level of the grid can be obtained according to the current water quality data of the grid. The total number of times the difference between the first water quality level and the second water quality level of each grid is greater than the threshold is counted, and it is determined whether the total number exceeds the preset number. If so, the grid is marked as a high-risk sudden change grid. Specifically, if the difference between the measured water quality level and the calculated water quality level is greater than level I in one hour, it is regarded as a sudden change in water quality. When the number of sudden changes in water quality exceeds the preset number, the grid is marked as a high-risk sudden change grid.
[0088] Then, a dividing line is made vertically to the river surface according to the center point of the high-risk sudden change grid, and the river is divided by the dividing line to form multiple river units. However, two high-risk sudden change grids are likely to be relatively close, making the dividing lines on the river relatively dense, resulting in the river being divided into multiple small fragments. It is rather cumbersome to carry out water quality control on small fragments. Therefore, the present invention adopts a de-duplication processing for the dividing lines, the purpose of which is to ensure that there must be a high-risk sudden change grid in each river unit formed by the division. Not only can the river sections where water quality sudden changes often occur be found, located and divided into river units, but also the river units can be guaranteed to have a basis for river unit differentiation for water quality grading evaluation and water quality diffusion model.
[0089] In this embodiment, the gridded river is segmented to generate a river grid map, such as Figure 3 As shown in FIG. 1 , the river grid diagram includes four high-risk sudden change grids. For the high-risk sudden change grid a1 and the high-risk sudden change grid a2, the dividing lines are respectively made perpendicular to the river surface from their center points to obtain the dividing line A1 of the high-risk sudden change grid a1 and the dividing line A2 of the high-risk sudden change grid a2. The dividing lines A1 and A2 are used as dividing lines to divide the river respectively. The cross section of the river is used as the cross section. It can be seen that the river section where the dividing line A1 is located contains the high-risk sudden change grid a1. Figure 4 As shown; the river section where the dividing line A2 is located contains high-risk sudden change grid a1 and high-risk sudden change grid a2, such as Figure 5 As shown; if the river section where the dividing line A2 is located contains multiple high-risk sudden change grids, the dividing line A2 is removed, and the dividing line A2 is removed from the river grid map, and the river is divided by other dividing lines to form 4 river units, such as Figure 6 As shown, there must be a high-risk sudden change grid in each river unit, which can better control water quality from the river unit.
[0090] Example 2
[0091] A river segment segmentation system based on grid hydrodynamic calculation, comprising:
[0092] River preprocessing module: gridding the river and collecting the required river information to build a hydrodynamic model;
[0093] The first water quality grade acquisition module: obtains the water quality data of the upper reaches of the river according to the historical monitoring data of the water quality monitoring station located on the river, substitutes the water quality data of the upper reaches of the river into the hydrodynamic model for river simulation, and calculates the water quality data of the current lower reaches of the river, and obtains the first water quality grade of the grid according to the water quality data of the current lower reaches of the river;
[0094] The second water quality grade acquisition module: obtains the current water quality data of the grid according to the historical monitoring data of the water quality monitoring station located on the river, and obtains the second water quality grade of the grid according to the current water quality data of the grid;
[0095] High-risk sudden change grid statistics module: counts the total number of times the difference between the first water quality level and the second water quality level of each grid is greater than the threshold, and determines whether the total number exceeds the preset number. If so, the grid is marked as a high-risk sudden change grid;
[0096] River unit formation module: a dividing line is drawn vertically from the center point of the high-risk sudden change grid to the river surface, and the dividing line is deduplicated according to the number of dividing lines and high-risk sudden change grids, so that the deduplicated dividing lines divide the rivers in the river area map into several river units.
[0097] Furthermore, the river unit forming module also includes the following modules:
[0098] Cutting line generation module: for N high-risk sudden change grids, cut lines are drawn vertically from the center points of the corresponding high-risk sudden change grids to the river surface to obtain N cutting lines;
[0099] Cut line deduplication module: Deduplication of cut lines is performed according to the number of high-risk sudden change grids contained in the river section where the cut line is located, and NJ cut lines are obtained, where J represents the deduplication of the cut line;
[0100] River segmentation module: divides the river into N-J+1 river units according to NJ segmentation lines.
[0101] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.
Claims
1. A river segment segmentation method based on grid hydrodynamic calculation, characterized in that: The method specifically comprises the following steps: S1: Grid the river and collect the required river information to build a hydrodynamic model; S2: Obtain water quality data of the upper reaches of the river based on historical monitoring data from water quality monitoring stations located on the river, substitute the water quality data of the upper reaches of the river into the hydrodynamic model for river simulation, and calculate the water quality data of the current lower reaches of the river, and obtain the first water quality grade of the grid based on the water quality data of the current lower reaches of the river; S3: obtaining current water quality data of the grid according to historical monitoring data of the water quality monitoring station located on the river, and obtaining a second water quality grade of the grid according to the current water quality data of the grid; S4: Counting the total number of times that the difference between the first water quality level and the second water quality level of each grid is greater than a threshold, and determining whether the total number exceeds a preset number, if so, marking the grid as a high-risk sudden change grid; S5: Draw a dividing line vertically from the center point of the high-risk sudden change grid to the river surface, and perform deduplication processing on the dividing line according to the number of the dividing line and the high-risk sudden change grid, so that the deduplication dividing line divides the river in the river area map into several river units.
2. A river segment segmentation method based on grid hydrodynamic calculation according to claim 1, characterized in that: The S5 specifically includes the following steps: S51: for N high-risk sudden change grids, a dividing line is drawn vertically from the center point of the corresponding high-risk sudden change grid to the river surface to obtain N dividing lines; S52: removing duplicates from the split lines according to the number of high-risk sudden change grids contained in the river section where the split lines are located, to obtain NJ split lines, where J represents the removed duplicate split lines; S53: Divide the river into N-J+1 river units according to NJ dividing lines.
3. A river segment segmentation method based on grid hydrodynamic calculation according to claim 2, characterized in that: In S52, the specific process of deduplicating the split line according to the number of high-risk sudden change grids contained in the river section where the split line is located is: The river is cut downward at the location of the dividing line, and the cross-section of the cut river is used as the river section where the dividing line is located. It is determined whether the river section contains multiple high-risk sudden change grids. If so, the corresponding dividing line is deduplicated, that is, it is used as the deduplicated dividing line.
4. A river segment segmentation method based on grid hydrodynamic calculation according to claim 1, characterized in that: In S2, the process of obtaining the water quality data of the upper reaches of the river according to the historical monitoring data of the water quality monitoring station located on the river is specifically as follows: Locate upstream and downstream of the river according to the flow direction of the river; Obtaining location information of water quality monitoring stations located on the river, and grouping the water quality monitoring stations according to the upstream and downstream of the river, to obtain the water quality monitoring stations located in the upstream of the river; The historical monitoring data of the water quality monitoring station located in the upper reaches of the river are obtained, and the historical monitoring data are preprocessed to obtain the water quality data of the upper reaches of the river.
5. A river segment segmentation method based on grid hydrodynamic calculation according to claim 1, characterized in that: The time point of the water quality data of the current downstream of the river is the same as the time point of the current water quality data, and the first water quality level and the second water quality level are used to represent two water quality levels of the grid at the same time point.
6. A river segment segmentation method based on grid hydrodynamic calculation according to claim 1, characterized in that: In S1, the process of gridding the river is as follows: Different gridding processes are performed according to the river section type, wherein the river section types include vertical river sections and curved river sections. When the river section type is a vertical river section, the vertical river section is evenly gridded. When the river section type is a curved river section, the curved river section is unevenly gridded, and linear element encryption is performed on the uneven grid.
7. A river segment segmentation method based on grid hydrodynamic calculation according to claim 1, characterized in that: In S1, the river information includes the location information of the water quality monitoring station on the river, the geographical information, outlet information, and hydrological information of the river, and a corresponding hydrodynamic model is constructed according to the river information.
8. A river segment segmentation method based on grid hydrodynamic calculation according to claim 1, characterized in that: The hydrodynamic model is a mathematical model that describes the relationship between the force and movement of water flow, and performs numerical simulation on the dynamic process of the river.
9. A river segment segmentation system based on grid hydrodynamic calculation, characterized in that: include: River preprocessing module: gridding the river and collecting the required river information to build a hydrodynamic model; The first water quality grade acquisition module: obtains the water quality data of the upper reaches of the river according to the historical monitoring data of the water quality monitoring station located on the river, substitutes the water quality data of the upper reaches of the river into the hydrodynamic model for river simulation, and calculates the water quality data of the current lower reaches of the river, and obtains the first water quality grade of the grid according to the water quality data of the current lower reaches of the river; The second water quality grade acquisition module: obtains the current water quality data of the grid according to the historical monitoring data of the water quality monitoring station located on the river, and obtains the second water quality grade of the grid according to the current water quality data of the grid; High-risk sudden change grid statistics module: counts the total number of times the difference between the first water quality level and the second water quality level of each grid is greater than the threshold, and determines whether the total number exceeds the preset number. If so, the grid is marked as a high-risk sudden change grid; River unit formation module: a dividing line is drawn vertically from the center point of the high-risk sudden change grid to the river surface, and the dividing line is deduplicated according to the number of dividing lines and high-risk sudden change grids, so that the deduplicated dividing lines divide the rivers in the river area map into several river units.
10. A river segment segmentation system based on grid hydrodynamic calculation according to claim 9, characterized in that: The river unit forming module also includes the following modules: Cutting line generation module: for N high-risk sudden change grids, cut lines are drawn vertically from the center points of the corresponding high-risk sudden change grids to the river surface to obtain N cutting lines; Cut line deduplication module: Deduplication of cut lines is performed according to the number of high-risk sudden change grids contained in the river section where the cut line is located, and NJ cut lines are obtained, where J represents the deduplication of the cut line; River segmentation module: divides the river into N-J+1 river units according to NJ segmentation lines.
