Supercharge Your Innovation With Domain-Expert AI Agents!

Spark-based grid hydrological model distributed calculation method

A distributed computing and hydrological model technology, applied in the information field, can solve problems such as sub-basin parallel computing, memory overflow, and inability to meet the needs of hydrological forecasting and simulation research, so as to reduce task distribution and data aggregation operations, and reduce calculations. The demand for hardware resources and the effect of improving the efficiency of distributed computing

Active Publication Date: 2021-06-11
HOHAI UNIV
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main problems are that, on the one hand, the parallel calculation problem within the sub-basin is not solved, and the calculation inside the sub-basin still adopts the serial calculation method, especially the slope and river confluence module, resulting in high computational complexity; on the other hand, The parallel computing method of the existing distributed model performs task distribution and data aggregation operations based on the calculation order of sub-basin units. Multiple task distribution and data aggregation operations will cause a lot of waste of running time and cause memory overflow.
Therefore, the existing parallel computing methods cannot meet the computing needs of large watersheds. At the same time, they have high requirements for computer resources, and cannot meet the needs of hydrological forecasting and simulation research in a laboratory environment that only includes several PCs with limited performance.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Spark-based grid hydrological model distributed calculation method
  • Spark-based grid hydrological model distributed calculation method
  • Spark-based grid hydrological model distributed calculation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.

[0055] The present invention provides a kind of grid hydrological model distributed calculation method based on Spark, comprises the following steps:

[0056] 1. The overall process of model calculation is as follows: firstly, the netCDF (network Common Data Form) data format is used to describe the model parameters, and the parameter description file PFile is established; then, XML is used to describe the model components and their dependencies, and the model description file MFile is established;...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Spark-based grid hydrological model distributed calculation method, which comprises the following steps of: firstly describing grid hydrological model calculation parameters by adopting a netCDF format, and then describing grid hydrological model components and a dependency relationship thereof on the basis of an XML (Extensible Markup Language) specification; and then scheduling and calculating components of the grid hydrological model by adopting a Spark distributed calculation model, and finally outputting a result generated by each component after scheduling calculation. According to the method, netCDF-based model parameters and a model calculation result description format are defined, and drainage basin characteristics, the model parameters and hydrological data on monitoring points and a drainage basin surface which are used during grid hydrological model calculation are described; XML-based grid hydrological model components and dependency description specifications among the components are defined; and according to the dependency relationship between grids during component calculation, a Hash partitioning method and a dynamic data partitioning method are used for performing task division on the grids, and different nodes are allocated for calculation, so that the data distribution amount is reduced, and the calculation speed is improved.

Description

technical field [0001] The invention belongs to the field of information technology, in particular to a spark-based grid hydrological model distributed computing method. Background technique [0002] The traditional lumped hydrological model uses average and simplistic parameters to describe the hydrological characteristics of the entire watershed, without considering the spatial heterogeneity of different regions of the watershed. distributions vary widely) cannot be modeled well. The distributed hydrological model divides the watershed into sub-basins of different sizes and irregular spaces according to the characteristics of the underlying surface of the watershed, in order to consider the spatial heterogeneity of the watershed, and improve the efficiency of model calculation through parallel computing. The grid hydrological model is a kind of distributed hydrological model, which divides the watershed into multiple grid units, and the grid of each rectangular area has i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50G06F9/48
CPCG06F9/5072G06F9/5066G06F9/5083G06F9/4843
Inventor 王继民李嘉玮李永超
Owner HOHAI UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More