Parallel computing method of watershed hydrological model based on object-oriented approach

Through object-oriented design and parallel computing methods, the problem of expansion and data transmission efficiency of traditional hydrological models in complex watershed backgrounds is solved, efficient hydrological model calculations are realized, and it is suitable for hydrological scene modeling in different watersheds, improving flood disasters. Early warning response capabilities.

CN117910203BActive Publication Date: 2024-09-17NINGBO WATER RESOURCES & HYDROPOWER PLANNING & DESIGN INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311510383.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2024-09-17
Estimated Expiration
2043-11-14

AI Technical Summary

Technical Problem

Traditional hydrological models are difficult to expand model components and have inflexible data input and output control in complex watershed backgrounds, resulting in low computational efficiency and difficulty in accurately reflecting real hydrological phenomena, affecting flood disaster early warning and water resources management.

Method used

Using object-oriented thinking, model components including runoff zones, reservoirs, important sections and river courses are established. Through abstract parent class and subclass objects, data input and output control and model network construction are carried out. Parallel computing and iterative tree algorithms are used to determine the solution. Sequentially, a hydrological process solver is designed to achieve flexible management and efficient calculation of the model.

Benefits of technology

It significantly improves the calculation efficiency of the hydrological model, provides a more adequate flood disaster early warning response time, is suitable for hydrological scene modeling in different river basins, and improves the flexibility and applicability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117910203B
    Figure CN117910203B
Patent Text Reader

Abstract

The invention discloses a parallel calculation method of a watershed hydrological model based on object-oriented, comprising the following steps: S10, generalizing the contents of a watershed scene in the real world, and establishing four model components including a flow-generating partition, a reservoir, an important section and a river channel; S20, generalizing the data input and output IO control of the model components, and generalizing them into a flow-generating partition IO, a reservoir IO, an important section IO and a river channel IO respectively; S30, assembling all the generalized model components according to the topological relationship, connecting the river with the component objects upstream and downstream, and forming a complete model network; S40, designing a hydrological process solver for each model component based on the generalization of the model components and the establishment of the model network, the solver completes the solving task by calling the hydrological process algorithm in the model component, and obtains the calculation result of each model object in the current scene and the current calculation period; S50, creating a scene to uniformly manage the model network, the model components and the solver; S60, creating a scheme to realize the unified management of multiple scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of watershed hydrological model calculation, and in particular relates to an object-oriented parallel calculation method for watershed hydrological models. Background Art

[0002] River basin hydrological models mathematically describe and simulate the hydrological cycle, enabling the study of hydrological processes in rivers, lakes, reservoirs, groundwater, and other water bodies. River basin hydrological models play a vital role in water resource management and flood prevention. By inputting real-time meteorological data and topographic information, hydrological models can provide real-time hydrological warnings and forecasts at key monitoring points, providing decision-making support for local emergency response agencies. In terms of reservoir operation, hydrological models can optimize reservoir storage and discharge strategies, mitigate the impact of floods on downstream areas, and support the rational allocation of water resources.

[0003] Traditional hydrological model design is usually based on the idea of ​​statically dividing watersheds and simplifying hydrological processes, but this often fails to accurately reflect real hydrological phenomena; the expansion and changes of model components may also be restricted, making it difficult to flexibly respond to new problems; in addition, data transmission and coupling between model components may cause efficiency issues, affecting the speed and accuracy of model solutions.

[0004] Traditional hydrological model design in complex watershed settings faces challenges such as difficulty in expanding model components, inflexible data input and output control, and low solution efficiency. Therefore, seeking a more efficient, flexible, and scalable hydrological model design method has become a current research hotspot. Summary of the Invention

[0005] In view of the above problems, the present invention provides an object-oriented parallel computing method for a watershed hydrological model, which is used to optimize the difficulties in the calculation of the current hydrological model system using object-oriented ideas.

[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0007] The present invention provides an object-oriented parallel computing method for a watershed hydrological model, comprising the following steps:

[0008] S10, generalize the real-world watershed scene content and establish the runoff generation zone O ca , Reservoir O re 、Important section O cr and River O ri Based on the four models, a common parent class HMObject is abstracted. The parent class includes the basic attributes of number, name and hydrological process calculation method. The subclass objects constructed by the four models all inherit the attribute information of the parent class.

[0009] S20, generalize the data input and output IO control of the model components, respectively generalize them into flow generation partition IO (OIO ca ), Reservoir IO (OIO re ), important section IO (OIO cr ) and River IO (OIO ri ); The four model components IO abstract a common parent class HMOIO, the parent class includes the model component number, input flow and output flow properties, and the four model components IO inherit the properties of the parent class;

[0010] S30: Assemble all the generalized model components HMObject according to the topological relationship, connect the river with the upstream and downstream component objects to form a complete model network; then traverse all the boundary components and use the iterative tree algorithm to determine the solution order of the model components according to the upstream and downstream relationships between the components; finally, sort and classify the generated model network according to the solution order to form different solution levels;

[0011] S40, based on the generalization of model components and the establishment of the model network, a hydrological process solver is designed for each model component. The solver completes the solution task by calling the hydrological process algorithm in the model component to obtain the calculation result of each model object in the current scenario and the current calculation period;

[0012] S50, creating a scenario to uniformly manage the model network, model components, and solvers, including the ownership of the model network, the management of the input and output of model component data, and the generation, destruction, and operation of the solver;

[0013] S60, create a solution to achieve unified management of multiple scenes, including the generation, destruction and operation of scenes.

[0014] In a possible implementation, S10 further includes: abstracting the parent class runoff zone, dividing the parent class runoff zone into two sub-class objects including plain runoff zone and mountainous runoff zone; the parent class runoff zone stores the watershed area and runoff calculation method; the plain runoff zone includes terrain parameters such as water surface area, paddy field area, dry land area, and urban area; the mountainous runoff zone includes terrain parameters such as river length and gradient; the runoff algorithms of the runoff zone include three types: Xin'an River model + instantaneous unit line, Xin'an River model + linear reservoir, and initial loss and post-loss method.

[0015] In a possible implementation, S10 further includes: the reservoir includes two types of reservoir parameters: characteristic water level and curve information, wherein the characteristic water level includes flood limit water level, normal water storage level, flood control high water level and historical highest water level; the curve information includes the water level-discharge capacity curve and the water level-storage capacity curve of each discharge facility of the reservoir.

[0016] In one possible implementation, S10 further includes: the reservoir calculation method is divided into the following three cases: when there is measured data, the reservoir outflow is reversed based on the inflow flood; when the reservoir water level is known and the reservoir outflow is unknown, the outflow is calculated according to the water balance; when the reservoir water level is unknown and the reservoir outflow is unknown, reservoir scheduling calculation is performed.

[0017] In a possible implementation, S10 further includes: the section includes section parameters of characteristic water level, safe discharge and curve information; the characteristic water level includes limit water level and warning water level, and the curve information includes water level-area curve and water level-flow curve; the calculation method of the section is the water level-flow relationship conversion method.

[0018] In a possible implementation, S10 further includes: the river channel includes river length, water diversion coefficient, whether it is a virtual river channel, Muskingum parameters, and river channel parameters of the number of segments; the river channel is calculated using the Muskingum segmented continuous algorithm.

[0019] In one possible implementation, S20 further includes: the IO of the runoff zone is generalized into CatchmentIO, storing various hydrological process sequences and initial values, the hydrological process sequence including rainfall, evaporation, net rain, runoff depth, surface runoff depth, subsurface runoff depth, groundflow runoff depth, surface runoff, subsurface runoff, groundflow runoff, etc., and the initial values ​​include upper initial soil moisture content, lower initial soil moisture content, deep initial soil moisture content, initial flow, initial runoff ratio and initial free water storage; the IO of the reservoir is generalized into Reservoir IO, storing water level, storage capacity, inflow flow, initial water level, initial flow, initial storage capacity, whether to compensate and reservoir scheduling algorithm sequence; the IO of the important section is generalized into CrossSection IO, storing water level, initial water level and initial flow; the IO of the river channel is generalized into River IO, storing initial flow and Muskingum parameters c0, c1 and c2.

[0020] In one possible implementation, creating a scene in S50 further includes: the first step is to initialize the scene, by inputting the time step, model network and period length, initializing the IO of all model objects in the model network and splicing them, and obtaining the index and reference of each object IO; the second step is to set the scene boundary conditions, input the boundary condition entity class of the mapping database table, and import the required boundary condition data according to the component type, including precipitation, evaporation, input flow, output flow, and water level; the third step is to set the scene initial conditions, input the initial condition entity class of the mapping database table, and set the initial state value for each component, including the initial value of the Xin'anjiang model parameter, initial water level, and initial flow; the fourth step is to set the scene scheduling plan, and for the reservoir component, create the corresponding scheduling algorithm for the reservoir component in the current scene according to the scene scheduling plan id.

[0021] In one possible implementation, S50 further includes: based on the generated model network, traversing all model components in each level, and generating corresponding solvers for each component one by one; in scene calculation, using parallel computing to improve operating efficiency; in the entire period, traversing each time point one by one, traversing each level, and using a multi-thread pool to parallelly calculate all solvers in the current level at the current moment.

[0022] In one possible implementation, creating a plan in S60 further includes: the first step is to initialize the plan, input the plan ID, start time, time interval, and number of time intervals to initialize the plan; the second step is to generate a model network corresponding to the plan based on the model ID of the plan; the third step is to input the scenario ID and the scheduling instructions of the optimization calculation to generate the scenario, and perform optimization scheduling calculation for the scenario.

[0023] The present invention has the following beneficial effects:

[0024] (1) Parallel design significantly improves the computational efficiency of the hydrological model, provides more adequate response time for flood disaster warning, and more effectively supports disaster prevention and mitigation work.

[0025] (2) The generalization and modular design of the real watershed scene make the application of the present invention more flexible and suitable for hydrological scene modeling work in different watersheds. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flowchart of the steps of the object-oriented parallel computing method for a watershed hydrological model according to an embodiment of the present invention;

[0027] Figure 2 This is a generalized schematic diagram of a watershed runoff generation and confluence model in a specific application example;

[0028] Figure 3 A schematic diagram of the computational hierarchy for determining the location of model components in a model network in a specific application example;

[0029] Figure 4 The figure is a schematic diagram of the scenario solving process in a specific application example. DETAILED DESCRIPTION

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0031] See also Figure 1 , which is a flowchart of a parallel computing method for a watershed hydrological model based on an object-oriented approach according to an embodiment of the present invention, includes the following steps:

[0032] S10, generalize the real-world watershed scene content (HMObject, hereinafter referred to as O), and establish a flow generation partition O ca , Reservoir O re 、Important section O cr and River O ri Four model components; based on the four models, a common parent class HMObject is abstracted. The parent class includes the number id, name name and basic attributes of the hydrological process calculation method cal (such as the basin area of ​​the runoff zone, the characteristic water level of the reservoir, etc.). The subclass objects constructed by the four models all inherit the attribute information of the parent class.

[0033] S20, since it is necessary to realize data input and output control for the above four model components, the data input and output IO control of the model components is generalized and respectively generalized into flow generation partition IO (OIO ca ), Reservoir IO (OIO re ), important section IO (OIO cr ) and River IO (OIO ri ); the four model components IO abstract a common parent class HMOIO, which includes the attributes of the model component number, input flow and output flow, and the four model components IO all inherit the attributes of the parent class; the four model construction IOs have the same attributes (such as inflow process, outflow process, etc.) and their unique attributes (such as the runoff process of the runoff partition IO, the reservoir water level process, etc.).

[0034] S30, assemble all the generalized model components HMObject according to the topological relationship, connect the river with the upstream and downstream component objects to form a complete model network; then traverse all the boundary components, use the iterative tree algorithm, and determine the solution order of the model components according to the upstream and downstream relationships between the components; finally, sort and classify the generated model network according to the solution order to form different solution levels; by modeling the hydrological model of the real-world scene, all the generalized model components in the real world are constructed into a model network in a series or parallel manner, and the entire model network is layered in the form of a tree structure according to the superior-subordinate relationship of each component, and the model components between layers have the characteristics of being independent of each other.

[0035] S40: Based on the generalization of model components and the establishment of a model network, a hydrological process solver is designed for each model component. The solver completes the solution task by calling the hydrological process algorithm in the model component. Since each solver is generated based on each model component, the solvers also satisfy the same hierarchical relationship as the components in the model network. The calculation results of each model object in the current scene and the current calculation period are obtained; during the traversal process of each time step, the solvers are executed sequentially from top to bottom according to the hierarchical relationship of the solvers (serial); solvers at the same level can be executed in parallel. Therefore, in this process, multi-threading technology can be used to realize parallel calculation of all solvers at each level within each time step, thereby achieving the purpose of efficient calculation.

[0036] S50, creating a scenario to uniformly manage the model network, model components, and solvers, including the ownership of the model network, the management of the input and output of model component data, and the generation, destruction, and operation of the solver;

[0037] S60, create a solution to achieve unified management of multiple scenes, including the generation, destruction and operation of scenes.

[0038] In an object-oriented parallel calculation method for a watershed hydrological model according to an embodiment of the present invention, S10 further includes: abstracting a parent class runoff partition, dividing the parent class runoff partition into two sub-class objects including a plain runoff partition Plain Catchment and a mountain runoff partition Mountain Catchment; the parent class runoff partition stores the watershed area and the runoff calculation method; the plain runoff partition includes terrain parameters such as water surface area, paddy field area, dry land area, and urban area; the mountain runoff partition includes terrain parameters such as river length and gradient; the runoff algorithms of the runoff partition include three types: Xin'an River model + instantaneous unit line, Xin'an River model + linear reservoir, and initial loss and subsequent loss method.

[0039] In an object-oriented parallel calculation method for a watershed hydrological model according to one embodiment of the present invention, S10 further includes: a reservoir includes two types of reservoir parameters: characteristic water levels and curve information. The characteristic water levels include flood control water levels, normal water storage levels, flood control high water levels, and historical maximum water levels. The curve information includes the water level-discharge capacity curve and the water level-storage capacity curve of each reservoir discharge facility. The reservoir calculation method is divided into the following three cases: when measured data is available, the reservoir outflow is inferred based on the inflow flood; when the reservoir water level is known but the reservoir outflow is unknown, the outflow is calculated according to the water balance; when the reservoir water level and reservoir outflow are unknown, the reservoir scheduling calculation is performed.

[0040] In an object-oriented parallel calculation method for a watershed hydrological model according to an embodiment of the present invention, S10 further includes: the section includes section parameters of characteristic water level, safe discharge (compensation flow) and curve information; the characteristic water level includes a limit water level and a warning water level, and the curve information includes a water level-area curve and a water level-flow curve; the calculation method of the section is a water level-flow relationship conversion method.

[0041] In an object-oriented parallel calculation method for a watershed hydrological model according to an embodiment of the present invention, S10 further includes: a river channel including river length, water diversion coefficient, whether it is a virtual river channel, Muskingum parameters, and river channel parameters such as the number of segments; and the river channel is calculated using the Muskingum piecewise continuous algorithm.

[0042] In an object-oriented parallel calculation method for a watershed hydrological model according to an embodiment of the present invention, S20 further includes: generalizing the IO of the runoff generation partition into Catchment IO, storing various hydrological process sequences and initial values, the hydrological process sequence including rainfall, evaporation, net rain, runoff depth, surface runoff depth, subsurface runoff depth, groundflow runoff depth, surface runoff, subsurface runoff, groundflow runoff, etc., and the initial values ​​including upper layer initial soil moisture content, lower layer initial soil moisture content, deep layer initial soil moisture content, initial flow, initial runoff ratio, and initial free water storage; generalizing the IO of the reservoir into Reservoir IO, storing water level, storage capacity, inflow flow, initial water level, initial flow, initial storage capacity, whether compensation is required, and a reservoir scheduling algorithm sequence; generalizing the IO of the important section into Cross Section IO, storing water level, initial water level, and initial flow; and generalizing the IO of the river channel into River IO, storing initial flow and Muskingum parameters c0, c1, and c2.

[0043] In an object-oriented parallel computing method for a watershed hydrological model according to an embodiment of the present invention, creating a scene in S50 further includes: the first step is to initialize the scene, by inputting the time step, model network and period length, initializing the IO of all model objects in the model network and splicing them, and obtaining the index and reference of each object IO; the second step is to set the scene boundary conditions, input the boundary condition entity class of the mapping database table, and import the required boundary condition data according to the component type, including precipitation, evaporation, input flow, output flow, and water level; the third step is to set the scene initial conditions, input the initial condition entity class of the mapping database table, and set the initial state value for each component, including the initial value of the Xin'anjiang model parameter, the initial water level, and the initial flow; the fourth step is to set the scene scheduling plan, and for the reservoir component, create the corresponding scheduling algorithm for the reservoir component in the current scene according to the scene scheduling plan id.

[0044] In an object-oriented parallel computing method for a watershed hydrological model according to an embodiment of the present invention, S50 further includes: according to the generated model network, traversing all model components in each level, and generating corresponding solvers for each component one by one; in scene calculation, using parallel computing to improve operating efficiency; in the entire time period, traversing each time point one by one, traversing each level, and using a multi-thread pool to parallelly calculate all solvers in the current level at the current moment.

[0045] In an object-oriented parallel computing method for a watershed hydrological model according to an embodiment of the present invention, creating a scheme in S60 further includes: the first step is to initialize the scheme, input the scheme ID, start time, time interval, and number of time intervals to initialize the scheme; the second step is to generate a model network corresponding to the scheme based on the model ID of the scheme; the third step is to input the scenario ID and the scheduling instructions of the optimization calculation to generate the scenario, and perform optimization scheduling calculation for the scenario.

[0046] A specific application example of a parallel computing method for a watershed hydrological model based on object-oriented Figure 2 Taking the runoff generation and confluence model of a certain basin in as an example, the calculation steps are as follows:

[0047] (1) The basin is modeled and generalized into runoff zones, reservoirs, important sections, and river channels. The runoff zones include runoff zones A (①), runoff zones B (②), runoff zones C (③), and runoff zones D (④); the reservoirs include reservoir A (⑤) and reservoir B (⑥); and the important sections include sections A (⑦) and sections B (⑧). According to the upstream and downstream relationship of the basin, the generalized runoff zones, reservoirs, and important sections are connected through river channels. The runoff zones, reservoirs, important sections, and river channel components are assembled according to the topological relationship to form the model network of the basin, as shown in Figure 1. Figure 2 shown.

[0048] (2) Then, determine the computational level at which the model component is located in the model network. Figure 3 , set the level of the upstream boundary component in the model network to 0, that is, the calculation level of runoff partition A, runoff partition B, runoff partition C, and runoff partition D is 0. Starting from the boundary component, search downward to the downstream components, and the component level increases in sequence. It should be noted that the river channel is an auxiliary object of other objects and is not an independent solution object. Taking the level calculation of reservoir B as an example, searching downward from runoff partition A, the level is 2, and searching downward from runoff partition B, the level is 1. Finally, the larger value of 1 and 2 is taken as the level of reservoir B, which is 2.

[0049] (3) Next, a hydrological process solver is configured for each component in the model network so that the hydrological process algorithm in the model component can be called to solve the problem.

[0050] (4) Finally, Figure 4 This is the flow chart of the scenario solver calculation. When performing scenario calculation, the time is traversed first. In each time step, the hierarchy is traversed and all components in each hierarchy are calculated in parallel using multi-threading technology, including parallel calculation of runoff zone AD and river sections ⑨-⑩, Parallel calculation of reservoir A, important section B, and river channel Parallel calculation of reservoir B and river Finally, calculate the important section A. Perform serial calculations between levels.

[0051] The above-mentioned object-oriented parallel computation method for the watershed hydrological model is based on object-oriented thinking. Object-oriented is a programming paradigm that encapsulates data and behaviors in a program as objects, and implements program functions through interactions between objects. When designing object-oriented hydrological model components, object-oriented thinking is used to generalize objects in the hydrological model, deconstructing the watershed according to the hydrological model objects to form a complete set of interconnected components. Based on object-oriented thinking, difficult problems in the current hydrological model system calculations, such as how to abstract and generalize real-world watersheds and how to use computing resources to efficiently perform model calculations, can be effectively solved.

[0052] It should be understood that the exemplary embodiments described herein are illustrative and not restrictive. Although one or more embodiments of the present invention have been described in conjunction with the accompanying drawings, it should be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the present invention as defined by the appended claims.

Claims

1. A parallel computing method for watershed hydrological model based on object-oriented approach. It is characterized in that The following steps are involved: S10, generalize the contents of the real-world watershed scene and establish flow generation partitions O ca , Reservoir O re 、Important Section O cr and River O ri Four model components; Based on the four models, a common parent class HMObject is abstracted. The parent class includes the number, name and basic properties of the hydrological process calculation method. The subclass objects constructed by the four models all inherit the property information of the parent class; S20, generalize the data input and output IO control of the model components, respectively generalize them into flow generation partition IO (OIO ca ), Reservoir IO (OIO re ), important section IO (OIO cr ) and River IO (OIO ri ); The four model components IO abstract a common parent class HMOIO, which includes the attributes of the model component number, input flow and output flow, and the four model components IO all inherit the attributes of the parent class; S30, assembling all the generalized model components HMObject according to the topological relationship, connecting the river with the upstream and downstream component objects to form a complete model network; then traversing all the boundary components, using the iterative tree algorithm, and determining the solution order of the model components according to the upstream and downstream relationships between the components; finally, sorting and classifying the generated model network according to the solution order to form different solution levels; S40, based on the generalization of model components and the establishment of model networks, a hydrological process solver for each model component is designed. The solver completes the solving task by calling the hydrological process algorithm in the model component to obtain the calculation result of each model object in the current scene and the current calculation period; S50, creating a scenario to uniformly manage the model network, model components and solvers, including the holding of the model network, the management of the input and output of the model component data, and the generation, destruction and operation of the solver; S60, create a solution to achieve unified management of multiple scenes, including the generation, destruction and operation of scenes; The creation of the scene in S50 further includes: the first step is to initialize the scene, by inputting the time step, the model network and the period length, the IO of all model objects in the model network is initialized and spliced, and the index and reference of each object IO are obtained; the second step is to set the scene boundary conditions, input the boundary condition entity class of the mapping database table, and import the required boundary condition data according to the component type, including precipitation, evaporation, input flow, output flow, and water level; the third step is to set the scene initial conditions, input the initial condition entity class of the mapping database table, and set the initial state value for each component, including the initial value of the Xin'anjiang model parameter, the initial water level, and the initial flow; the fourth step is to set the scene scheduling plan, for the reservoir component, according to the scene scheduling plan id, create the corresponding scheduling algorithm of the reservoir component in the current scene; S50 further includes: according to the generated model network, traversing all model components in each level, generating corresponding solvers for each component one by one; in scene calculation, using parallel computing to improve operation efficiency; in the whole period, traversing each time point one by one, traversing each level, and using a multi-thread pool to parallelly calculate all solvers in the current level at the current moment; Creating a plan in S60 further includes: the first step is to initialize the plan, input the plan id, start time, time interval, and number of time intervals to initialize the plan; the second step is to generate a model network corresponding to the plan based on the model id of the plan; the third step is to input the scene id and the scheduling instructions of the optimization calculation to generate the scene, and perform optimization scheduling calculation for the scene.

2. The object-oriented parallel computing method for a watershed hydrological model according to claim 1, It is characterized in that S10 further includes: abstracting the parent class runoff zone, dividing the parent class runoff zone into two sub-class objects including plain runoff zone and mountain runoff zone; the parent class runoff zone stores the basin area and the runoff calculation method; the plain runoff zone includes the terrain parameters of water surface area, paddy field area, dry land area and urban area; the mountain runoff zone includes the terrain parameters of river length and gradient; the runoff algorithms of the runoff zone include three types: Xin'anjiang model + instantaneous unit line, Xin'anjiang model + linear reservoir, and initial loss and later loss method.

3. The object-oriented parallel computing method for a watershed hydrological model according to claim 1, It is characterized in that S10 further includes: the reservoir includes two types of reservoir parameters: characteristic water level and curve information, wherein the characteristic water level includes flood limit water level, normal water storage level, flood control high water level and historical highest water level, and the curve information includes the water level-discharge capacity curve and water level-storage capacity curve of each discharge facility of the reservoir.

4. The object-oriented parallel computing method for a watershed hydrological model according to claim 3, It is characterized in that S10 further includes: the reservoir calculation method is divided into the following three cases: when there is measured data, the reservoir outflow is reversed according to the inflow flood; when the reservoir water level is known and the reservoir outflow is unknown, the outflow is calculated according to the water balance; when the reservoir water level is unknown and the reservoir outflow is unknown, the reservoir scheduling calculation is performed.

5. The object-oriented parallel computing method for a watershed hydrological model according to claim 1, It is characterized in that S10 further includes: the section includes section parameters of characteristic water level, safe discharge and curve information; the characteristic water level includes limit water level and warning water level, and the curve information includes water level-area curve and water level-flow curve; the calculation method of the section is water level-flow relationship conversion method.

6. The object-oriented parallel computing method for a watershed hydrological model according to claim 1, It is characterized in that S10 further includes: the river channel includes river length, water diversion coefficient, whether it is a virtual river channel, Muskingum parameters, and river channel parameters of the number of segments; the calculation method of the river channel is Muskingum segmented continuous algorithm.

7. The object-oriented parallel computing method for a watershed hydrological model according to claim 1, It is characterized in that S20 further includes: the IO of the runoff partition is generalized into Catchment IO, storing various hydrological process sequences and initial values, the hydrological process sequence includes rainfall, evaporation, net rain, runoff depth, surface runoff depth, subsoil flow runoff depth, underground runoff depth, surface flow, subsoil flow abortion flow, underground runoff abortion flow, and the initial values ​​include upper initial soil moisture content, lower initial soil moisture content, deep initial soil moisture content, initial flow, initial flow rate, initial runoff ratio and initial free water storage; the IO of the reservoir is generalized into Reservoir IO, storing water level, storage capacity, inflow flow, initial water level, initial flow rate, initial storage capacity, whether to compensate and reservoir scheduling algorithm sequence; the IO of the important section is generalized into Cross Section IO, storing water level, initial water level and initial flow rate; the IO of the river channel is generalized into River IO, storing initial flow rate and Muskingum parameters c0, c1 and c2.