A method and system for simulating open channel water surface curve based on source code SWMM model

By combining the topographic flow model construction of the open channel with the SWMM model, the problem of simulation limitations of the SWMM model in complex hydrological systems is solved, and more accurate water surface line simulation and hydrological process simulation are achieved, which provides an important reference for water conservancy projects.

CN118428277BActive Publication Date: 2024-09-10PEARL RIVER HYDROLOGY & WATER RESOURCES SURVEY CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410870146.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-10
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The SWMM model has limitations when dealing with complex hydrological systems, especially the insufficient simulation of nonlinear and dynamic hydrological processes, and the constant time step, which limits its accurate simulation of changing hydrological processes.

Method used

By analyzing the channel characteristics and water body runoff of the open channel, we build a topographic flow model, divide the inflection point nodes, conduct representative node cross-section characteristic analysis and hydrological simulation, combine with the SWMM model to conduct overall hydrological simulation, and apply dynamic time steps and three-dimensional fluid models , simulate water flow changes and hydrological processes.

Benefits of technology

It improves the calculation efficiency and accuracy of the water surface line model, can more effectively simulate the change process in complex hydrological systems, and provides more accurate data support for water conservancy projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428277B
    Figure CN118428277B
Patent Text Reader

Abstract

The present invention relates to the technical field of electronic digital data processing, and in particular to a method and system for simulating the water surface line of an open channel based on a source code SWMM model. The method comprises the following steps: analyzing the river characteristics and water body runoff of an open channel to construct a terrain flow model, and obtaining a terrain flow model; analyzing the representative node section characteristics and section shape of the open channel based on the terrain flow model to obtain the river node section shape data; performing overall hydrological simulation of the open channel based on the terrain flow model, the river node section shape data and the source code SWMM model to obtain the open channel hydrological simulation data; performing time series modeling processing on the open channel hydrological simulation data to obtain the open channel time series hydrological model; performing overall node water surface line simulation processing on the terrain flow model and the open channel time series hydrological model to obtain the open channel overall water surface line simulation data. The present invention can accurately simulate and quickly obtain the water surface line of the open channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical digital data processing, and in particular to an open channel water surface line simulation method and system based on a source code SWMM model. Background Art

[0002] The calculation of the water surface line in an open channel is particularly important for river management and flood control planning. The calculation of the water surface line in an open channel can be deduced based on relevant hydraulic formulas, but the calculation efficiency and accuracy of the water surface line calculated using hydraulic formulas are difficult to guarantee when the river channel distance is long and the river network and river channel section distribution are complex. The SWMM model is a dynamic precipitation runoff simulation model, and its runoff module can be used for river channel water surface line calculation. The source code of the model is open and can be further optimized to improve the modeling and calculation efficiency of the water surface line model. However, the SWMM model has limitations in dealing with nonlinear and dynamic hydrological processes. When dealing with complex hydrological system problems, the SWMM model cannot fully consider these dynamic factors. At the same time, the time step of the SWMM model is usually constant, which limits its accurate simulation of changing hydrological processes. Summary of the invention

[0003] Based on this, it is necessary for the present invention to provide an open channel water surface line simulation system and method based on the source code SWMM model to solve at least one of the above technical problems.

[0004] To achieve the above purpose, a method for simulating the water surface profile of an open channel based on the source code SWMM model is provided, comprising the following steps:

[0005] Step S1: Analyze the river characteristics of the open channel to obtain river terrain characteristic data; analyze the water body runoff of the open channel to obtain river runoff data; construct a terrain flow model based on the river terrain characteristic data and the river runoff data to obtain a terrain flow model;

[0006] Step S2: Based on the terrain flow model, the open channel is divided into inflection point nodes to obtain inflection point node data; the inflection point node data is analyzed and processed for representative node section characteristics to obtain representative node section characteristic data;

[0007] Step S3: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the terrain flow model to obtain the river channel node cross-sectional shape data; performing node hydrological simulation processing on the open channel based on the terrain flow model, the river channel node cross-sectional shape data and the SWMM model to obtain the node cross-sectional hydrological simulation data;

[0008] Step S4: performing overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain open channel hydrological simulation data; performing time series modeling processing on the open channel hydrological simulation data to obtain an open channel time series hydrological model;

[0009] Step S5: Perform node water surface line analysis on the terrain flow model and the open channel time series hydrological model to obtain a same-space water surface line time curve diagram; perform overall simulation processing on the open channel based on the same-space water surface line time curve diagram to obtain overall open channel water surface line simulation data.

[0010] The present invention obtains detailed river terrain data of an open channel by analyzing the topographic features of a river channel, which is conducive to the construction of a river channel terrain model. Water body runoff analysis provides river flow information. Data integration can construct a terrain flow model, simulate water flow dynamics and river channel response, and provide a hydrological data basis for subsequent model construction. The open channel is divided into inflection point nodes and representative node section characteristics are analyzed. Based on the terrain flow model, different areas of the open channel are divided by identifying inflection point nodes, and the representative node section characteristics are further analyzed. It is conducive to an in-depth understanding of the characteristics of water flow at the node, and provides key parameters for subsequent section shape analysis and hydrological simulation. The representative node section shape is analyzed to obtain the river channel node section shape data. Fully considering the dynamic factors of the open channel, a three-dimensional fluid model is applied to more accurately simulate the flow changes in the open channel and more effectively simulate the changing hydrological process. Combined with the terrain flow model and the SWMM model, the node hydrological conditions of the open channel are simulated to obtain node section hydrological simulation data. The water depth, water velocity and water pressure distribution data of different nodes are analyzed to provide a basis for the overall hydrological simulation. Based on the hydrological simulation data of the node section, the open channel is simulated as a whole to simulate the flow dynamics and water volume changes in the open channel. Through time series modeling, the time series hydrological model of the open channel is obtained to help the trend of water flow changes in the future time period, play a corrective role in the acquired water body data, and provide data support for analyzing the hydrological characteristics of the open channel in different time periods. Analyzing the time dynamic factors of the open channel, applying the dynamic time step and the three-dimensional fluid model can more effectively simulate the changing hydrological process and improve the accuracy of the model. By analyzing the terrain flow model and the open channel time series hydrological model, the time curve of the water surface line in the same space is obtained. Based on these data, the open channel is simulated as a whole to obtain the simulation data of the overall water surface line of the open channel, providing accuracy verification for the hydrological simulation results. This step helps to intuitively understand the changes in the water surface line of the open channel and provide an important reference for the design of water conservancy projects.

[0011] Preferably, step S1 comprises the following steps:

[0012] Step S11: constructing a river plane model for the open channel to obtain a river plane model;

[0013] Step S12: analyzing the river channel centerline on the river channel plane model to obtain the river channel centerline;

[0014] Step S13: analyzing the inflection point angle of the river channel plane model according to the center axis of the river channel plane to obtain the inflection point angle data of the river channel;

[0015] Step S14: performing a river channel characteristic analysis on the river channel plane model based on the river channel inflection point angle data to obtain river channel terrain characteristic data;

[0016] Step S15: acquiring water body remote sensing data of the open channel to obtain river water body data;

[0017] Step S16: performing runoff analysis on the river water body data to obtain river runoff data;

[0018] Step S17: constructing a terrain flow model based on the river terrain feature data and the river runoff data to obtain a terrain flow model.

[0019] The present invention obtains detailed two-dimensional geometric information of an open channel river by establishing a river plane model. The model includes parameters such as the width, shape and curvature of the river, providing an important basis for subsequent analysis. The planar layout of the open channel is intuitively displayed, and basic data is provided for subsequent central axis analysis and inflection angle analysis. By identifying the central axis of the river plane model, the central axis analysis helps to provide a reference for the definition of the angle, and the main direction and curve characteristics of the river can be determined, providing an important reference basis for the analysis of river characteristics. By analyzing the inflection point and angle of the central axis of the river plane, the key inflection point and bending area in the open channel can be identified. The inflection point angle analysis helps to evaluate the curvature and inflection point position of the river, and helps to analyze the analysis of the river runoff at the inflection point. It provides key parameters for subsequent river characteristics analysis. By combining the inflection point angle data and the river plane model, the river terrain characteristics of the open channel are comprehensively analyzed. It helps to obtain detailed terrain feature data of the open channel, including slope and river curvature. It is very useful for understanding the relationship between the runoff of the open channel and the terrain. The results of the river channel characteristic analysis provide important input parameters for the construction of the terrain flow model. The river water body data is obtained through remote sensing technology to obtain the spatial distribution and water area information of the open channel water body. It provides key input data for the subsequent runoff analysis. Remote sensing technology is conducive to accurately obtaining relevant information about the open channel water body. Runoff analysis of river water body data. By analyzing the river water body data obtained by remote sensing, the water volume changes and runoff of the open channel are calculated and simulated. It is conducive to understanding the discharge of the open channel, identifying the flow pattern, and providing important hydrological parameters for the terrain flow model. By integrating the river terrain characteristic data and runoff data, a comprehensive terrain flow model is constructed. The model simulates the flow dynamics and river response of the open channel, and can predict the flow behavior according to different hydrological conditions. It is conducive to the subsequent acquisition of various hydrological parameters.

[0020] Preferably, step S2 comprises the following steps:

[0021] Step S21: analyzing the inflection point of the open channel based on the terrain flow model to obtain the inflection point data of the open channel;

[0022] Step S22: performing node mapping processing on the open channel based on the inflection point data of the open channel river to obtain inflection point node data;

[0023] Step S23: dividing the inflection point node data into node discontinuity surfaces to obtain node discontinuity surface data;

[0024] Step S24: Based on the node section data, the representative node section feature analysis processing is performed on the inflection point node data to obtain the representative node section feature data.

[0025] The present invention analyzes the inflection points in the river channel by applying a terrain flow model to the open channel. Through the inflection point analysis, the key positions in the open channel are determined, and these terrain positions have an important impact on the water flow runoff. Identifying the inflection points helps to understand the overall structure of the open channel and potential hydrological change factors. By identifying the inflection point positions in the open channel, the open channel is node mapped. The node mapping process involves associating the inflection point positions with specific nodes in the open channel network. Through this association, the position of each inflection point and their relative positions in the open channel are determined. It is beneficial to establish the connection between the inflection point and the open channel node, and provide a structured framework for subsequent analysis. The node section division of the inflection point node data is beneficial to understand the water flow characteristics and cross-sectional shape. The node section division involves defining the water flow path flowing through the inflection point node and determining the shape and direction of the cross section. It provides a basis for the analysis of the representative node cross-sectional characteristics, so that the water flow behavior and cross-sectional characteristics between different nodes in the open channel can be analyzed. By analyzing the representative node cross-sectional characteristics, the cross-sectional characteristics at the inflection point node are obtained. By analyzing the node-to-node cross-sectional data, detailed information about the cross-sectional shape, size, and flow characteristics can be obtained. This helps to identify nodes with representative cross-sectional characteristics in the open channel and analyze the behavior of the water flow at these nodes. The analysis results of representative node cross-sectional characteristics can be used for subsequent cross-sectional shape analysis and hydrological simulation.

[0026] Preferably, step S24 includes the following steps:

[0027] Step S241: performing two-dimensional cross-section acquisition processing on the node cross-section data to obtain two-dimensional cross-section diagram data;

[0028] Step S242: performing midpoint node positioning processing on the cross-section two-dimensional cross-sectional image data to obtain midpoint node data;

[0029] Step S243: constructing a flow velocity and water level curve for the midpoint node data to obtain a midpoint flow velocity and water level curve;

[0030] Step S244: constructing and processing the inflection point node data flow velocity water level curve to obtain the inflection point flow velocity water level curve;

[0031] Step S245: constructing a comparison curve model for the node section data based on the midpoint velocity-water level curve and the inflection point velocity-water level curve to obtain a section comparison curve model;

[0032] Step S246: performing curve similarity comparison processing on the midpoint velocity-water level curve and the inflection point velocity-water level curve based on the cross-section comparison curve model to obtain the cross-section representative node curve;

[0033] Step S247: Perform cross-sectional characteristic analysis on the node-to-node cross-sectional data based on the cross-sectional representative node curve to obtain representative node cross-sectional characteristic data.

[0034] The present invention obtains the two-dimensional cross-sectional data of the cross section by performing two-dimensional cross-sectional acquisition processing on the node inter-section data. This allows the shape and characteristics of the cross section to be viewed and analyzed in a graphical manner. The two-dimensional cross-sectional view provides detailed information on the cross-sectional profile, including the shape of the upper bottom, the lower bottom and the bank slope. It provides an important visualization basis for the subsequent midpoint node positioning and flow velocity and water level curve construction. The midpoint node of the cross section is identified from the two-dimensional cross-sectional view, and the intermediate water body data of the cross section is determined by locating the midpoint node, and it is used as a reference point for the subsequent flow velocity and water level curve construction. The flow velocity and water level curve is constructed based on the midpoint node data. The flow velocity and water level curve depicts the corresponding water flow velocity under a given water level. By constructing the midpoint flow velocity and water level curve, the relationship between the water flow velocity and the water level in the cross section is analyzed. It is conducive to understanding the water flow characteristics. The flow velocity and water level curve is constructed for the inflection point node, and the inflection point flow velocity and water level curve is constructed to analyze the flow velocity and water level relationship at the inflection point, and evaluate the influence of the inflection point node on the overall water flow pattern. By integrating the midpoint and inflection point flow velocity and water level curves, a comparison curve model is constructed. The model compares the velocity-water level relationship at the midpoint and the inflection point, which is conducive to the analysis of hydrological conditions at different locations of the section. The contrast curve model helps to analyze the hydrological conditions at different points of the section shape. By comparing the similarity between the velocity-water level curve at the midpoint and the inflection point and the section as a whole. The similarity comparison process is conducive to identifying the water flow data in the section. If the analysis curves are similar, the water flow characteristics are relatively consistent in the section. If the analysis curves are different, it means that the water flow at the midpoint and the inflection point is affected by other factors and is not used as representative data. The section representative node curve is used to analyze the section characteristics of the section data between nodes. The section representative node curve integrates the velocity and water level information of the midpoint and the inflection point, representing the water flow characteristics in the section. By analyzing the curve, the relevant characteristics of the water flow in the section are obtained. It provides actual parameters for the subsequent model calculation.

[0035] Preferably, step S3 comprises the following steps:

[0036] Step S31: performing cross-sectional river curvature analysis on the terrain flow model to obtain cross-sectional river curvature data;

[0037] Step S32: performing cross-sectional fluid pattern analysis on the terrain flow model to obtain cross-sectional fluid pattern data;

[0038] Step S33: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the cross-sectional river channel curvature data and the cross-sectional fluid pattern data to obtain the cross-sectional shape data of the river channel node;

[0039] Step S34: constructing a three-dimensional view of the cross-sectional shape data of the river channel node to obtain the three-dimensional view data of the cross-sectional shape of the river channel node;

[0040] Step S35: Perform node hydrological simulation processing on the open channel based on the terrain flow model, the three-dimensional view data of the river node section and the SWMM model to obtain node section hydrological simulation data.

[0041] The present invention can obtain accurate river channel curvature data by performing cross-sectional river channel curvature analysis on the terrain flow model. It is helpful to understand the degree of curvature of the river channel, identify the curved areas that may affect the water flow pattern, and ensure that the model accurately reflects the true shape of the river channel. The cross-sectional fluid pattern analysis is performed on the terrain flow model to determine the water flow pattern along the river channel. This is crucial for the water flow path and speed and understanding the overall behavior of the water flow. By combining the cross-sectional river channel curvature data and the fluid pattern data, the cross-sectional characteristics of the representative nodes are deeply analyzed. By identifying and describing the shape and characteristics of each node in the river channel. This helps to define the water flow characteristics around the node and ensure the accuracy of the hydrological simulation. By performing three-dimensional visualization of the node cross-sectional shape data, the geometric features are highlighted. This helps to identify key areas that may affect the water flow pattern. By integrating the terrain flow model, the three-dimensional view data and the SWMM model, the actual hydrological behavior of the nodes in the open channel is accurately simulated. The water flow pattern, water level changes and hydraulic conditions around the nodes can be predicted, which helps to simulate the hydrological conditions of different nodes and provide an important reference for subsequent hydrological simulation processing.

[0042] Preferably, step S35 includes the following steps:

[0043] Step S351: performing spatial coordinate processing on the three-dimensional view of the river channel node section to obtain the spatial coordinates of the node section;

[0044] Step S352: performing node water level analysis on the open channel based on the node section spatial coordinates to obtain node section water level data;

[0045] Step S353: Performing hydrological simulation on the open channel based on the SWMM model and the node section water level data to obtain the node section hydrological simulation data of the SWMM model;

[0046] Step S354: performing node runoff analysis on the open channel according to the terrain flow model to obtain node section runoff data;

[0047] Step S355: performing corresponding node mapping processing on the node section runoff data based on the node section space coordinates to obtain the node section space coordinate runoff data;

[0048] Step S356: constructing a node section change data curve based on the node section space coordinate runoff data and the node section space coordinates to obtain a node section change data curve;

[0049] Step S357: Based on the node section change data curve, the SWMM model node section hydrological simulation data is corrected to obtain the node section hydrological simulation data.

[0050] The present invention obtains the spatial coordinates of the node section by processing the three-dimensional view of the river node section in spatial coordinates, which helps to accurately convert the position information of the node section into digital coordinate data, and provides a basis for subsequent water level analysis. Based on the spatial coordinates of the node section, the open channel is subjected to node water level analysis to obtain the node section water level data, which helps to understand the water level conditions at different nodes and provides important parameters for hydrological simulation. By using the SWMM model and the node section water level data for hydrological simulation, the SWMM model node section hydrological simulation data is obtained, which helps to simulate the hydrological conditions at the node. The open channel is subjected to node runoff analysis, and the flow flowing through each node can be quantified to obtain the node section runoff data, which helps to understand the magnitude of the runoff at different nodes and provides important input parameters for hydrological simulation. Based on the spatial coordinates of the node section, the node section runoff data is subjected to corresponding node mapping processing to obtain the node section spatial coordinate runoff data, which helps to correspond the runoff data of different nodes to their position information, and provides accurate spatial reference for subsequent data analysis. By constructing a node section change data curve, the change of the node along the section can be intuitively represented. An analysis tool is provided to evaluate the changes in water level and flow-related parameters, providing more accurate data support for hydrological simulation. Based on the node section change data curve, the SWMM model node section hydrological simulation data is corrected to obtain the corrected node section hydrological simulation data, which helps to improve the accuracy of the simulation results and provide a reliable basis for hydrological analysis and engineering decision-making.

[0051] Preferably, step S4 comprises the following steps:

[0052] Step S41: Perform batch node section hydrological characteristic analysis on the open channel to obtain multi-node hydrological characteristic data;

[0053] Step S42: performing hydrological simulation on the multi-node hydrological characteristic data based on the node section hydrological simulation data to obtain multi-node hydrological simulation data;

[0054] Step S43: integrating and processing the multi-node hydrological simulation data to obtain open channel hydrological simulation data;

[0055] Step S44: dividing the open channel hydrological simulation data into time series nodes to obtain open channel hydrological time series data;

[0056] Step S45: constructing a time series model for the open channel hydrological time series data and the open channel hydrological simulation data to obtain an open channel time series hydrological model.

[0057] The present invention obtains the hydrological characteristics of the entire river system by performing batch node section hydrological characteristic analysis on the open channel. By analyzing multiple nodes, a comprehensive understanding of the river shape and hydrological characteristics is provided, which is crucial for accurately simulating and evaluating the open channel system. By performing hydrological simulation on multi-node hydrological characteristic data, multi-node hydrological simulation data is obtained. It is conducive to the subsequent overall data integration. The multi-node hydrological simulation data is integrated and processed to obtain the hydrological simulation results representing the entire open channel system. By summarizing the results of a single node, a complete open channel hydrological simulation data set is provided, which provides a basis for subsequent time series analysis. The open channel hydrological simulation data is divided into time series nodes, and the hydrological characteristics of the open channel system that change over time are analyzed to obtain the time-related river water level changes, flow distribution and hydrological response, which is very important for understanding the dynamics of the open channel system. The open channel hydrological time series data and the open channel hydrological simulation data are constructed into a time series model to obtain an open channel time series hydrological model, which helps to establish a time series change model of open channel hydrology and provide support for long-term hydrological trend prediction.

[0058] Preferably, step S45 includes the following steps:

[0059] Step S451: performing time series node hydrological analysis on the open channel time series hydrological model to obtain time series node hydrological characteristic data;

[0060] Step S452: performing associative three-dimensional graphics processing on the time series node hydrological characteristic data and the open channel hydrological simulation data to obtain the time series node cross-sectional shape data;

[0061] Step S453: calibrating the open channel hydrological simulation data based on the time node cross-sectional shape data to obtain the open channel time series hydrological simulation data;

[0062] Step S454: performing time series node positioning processing on the open channel time series hydrological simulation data to obtain hydrological time series node data;

[0063] Step S455: constructing a time series model for the open channel time series hydrological simulation data and the hydrological time series node data to obtain an open channel time series hydrological model.

[0064] The present invention performs a time-series node hydrological analysis on the open channel time-series hydrological model to obtain detailed information on the hydrological characteristics of different time nodes along the river. It is helpful to understand how key hydrological parameters, water level, flow and speed change over time. It provides important data support for the refined establishment of the hydrological model. Through the associated three-dimensional graphics processing, the time-series node hydrological characteristic data and the open channel hydrological simulation data are visualized. The time-series node cross-sectional shape data is generated to provide a visual representation of the cross-sectional shape of the open channel at different time nodes. Through this graphical representation, the hydrological data analysis is intuitively identified. By using the time-node cross-sectional shape data, the simulation results are proofread with the actual cross-sectional shape, the simulation results are improved, and the real hydrological behavior of the open channel at different time points is accurately matched. The data calibration takes into account the influence of the cross-sectional shape on the water flow pattern and water level, thereby improving the accuracy of the simulation. The open channel time-series hydrological simulation data is subjected to time-series node positioning processing to analyze specific time-series nodes in the open channel system. The hydrological data at the time point, the flow peak and the low water level data are analyzed. Through this positioning processing, detailed hydrological time-series node data can be obtained. By constructing an open channel time-series hydrological model, the open channel time-series hydrological simulation data and hydrological time-series node data are integrated into a comprehensive dynamic model. The model simulates the changes of the open channel system over time and can predict river hydrological data.

[0065] Preferably, step S5 comprises the following steps:

[0066] Step S51: Perform spatial node water surface line analysis on the terrain flow model to obtain spatial node water surface line data;

[0067] Step S52: performing time node water surface line analysis on the open channel time series hydrological model to obtain time node water surface line data;

[0068] Step S53: performing curve composition analysis on the time node water surface line data based on the space node water surface line data to obtain a time curve graph of the same space water surface line;

[0069] Step S54: performing batch analysis and processing on the open channel based on the same-space water surface curve time curve to obtain an open channel water surface curve change trend diagram;

[0070] Step S55: performing data analysis on the open channel water surface curve change trend diagram to obtain the open channel overall water surface curve simulation data.

[0071] The present invention obtains the water level height and distribution at different spatial positions in the open channel by performing spatial node water surface line analysis on the terrain flow model. By combining terrain and flow information, potential overflow areas are identified and the relationship between the water surface line and the river characteristics is understood, ensuring that accurate water surface line data is considered in the simulation. The time node water surface line analysis is performed on the open channel time series hydrological model to obtain the change of the water surface line over time and the dynamic behavior of the water surface line. More detailed water surface line information is provided for the hydrological simulation results to further improve the accuracy of the hydrological model. By performing a curve chart analysis on the spatial node water surface line data, the distribution of the water surface lines of multiple spatial nodes in the open channel can be visualized. The generated same-space water surface line time curve chart shows how the water surface line changes over time, which helps to discover the time change law of the water surface line. Batch analysis and processing of the open channel based on the same-space water surface line time curve chart is conducive to the comprehensive analysis of the change characteristics of the water surface line at different distances from the boundary space nodes and water level nodes, providing convenience for the overall understanding of the open channel water surface line data and providing support for the comprehensive analysis of hydrological phenomena. Data analysis is performed on the open channel water surface curve change trend chart to extract important information about the overall water surface behavior of the open channel and complete the data simulation of the overall water surface of the open channel.

[0072] Preferably, the present invention further provides an open channel water surface line simulation system based on the source code SWMM model, which is used to execute the open channel water surface line simulation method based on the source code SWMM model as described above. The open channel water surface line simulation system based on the source code SWMM model includes:

[0073] The open channel information acquisition module is used to perform remote sensing acquisition and processing of river channel characteristic data of the open channel to obtain river channel topographic characteristic data; perform water body runoff analysis on the open channel to obtain river channel runoff data; perform model construction and processing based on river channel topographic characteristic data and river channel runoff data to obtain a terrain flow model;

[0074] The open channel section node analysis module is used to divide the inflection point nodes of the open channel according to the terrain flow model to obtain the inflection point node data; the representative node section feature analysis is performed on the inflection point node data to obtain the representative node section feature data;

[0075] The open channel hydrological simulation module is used for terrain flow model to analyze the cross-sectional shape of the representative node cross-sectional characteristic data to obtain the river node cross-sectional shape data; based on the river node cross-sectional shape data and the source code SWMM model, the open channel node hydrological simulation is performed to obtain the node cross-sectional hydrological simulation data;

[0076] The open channel time series hydrological model construction module is used to perform overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain the open channel hydrological simulation data; the open channel hydrological simulation data is modeled and processed in time series to obtain the open channel time series hydrological model;

[0077] The open channel water surface line analysis module is used for terrain flow model and open channel time series hydrological model to perform node water surface line analysis to obtain the same space water surface line time curve; based on the same space water surface line time curve, the open channel is simulated as a whole to obtain the open channel overall water surface line simulation data.

[0078] In summary, the present invention provides an open channel water surface line simulation system based on the source code SWMM model. The open channel water surface line simulation system based on the source code SWMM model consists of an open channel information acquisition module, an open channel section node analysis module, an open channel hydrological simulation module, an open channel time series hydrological model construction module and an open channel water surface line analysis module. It can realize any open channel water surface line simulation method based on the source code SWMM model described in the present invention, and is used to combine the operations between computer programs running on each module to realize any open channel water surface line simulation method based on the source code SWMM model. The internal structures of the system cooperate with each other, which can greatly reduce duplication of work and manpower investment, and can quickly and effectively provide a more accurate and efficient open channel water surface line simulation process based on the source code SWMM model, thereby simplifying the open channel water surface line simulation operation process based on the source code SWMM model. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:

[0080] Figure 1 It is a schematic diagram of the steps of the open channel water surface line simulation method based on the source code SWMM model of the present invention;

[0081] Figure 2 for Figure 1 Detailed step flow diagram of step S4;

[0082] Figure 3 for Figure 2 Detailed step flow diagram of step S45;

[0083] Figure 4 It is a schematic diagram of the open channel water surface curve change trend diagram of the present invention. DETAILED DESCRIPTION

[0084] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0085] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0086] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0087] To achieve this, please refer to Figures 1 to 3 The present invention provides an open channel water surface line simulation method based on a source code SWMM model, comprising the following steps:

[0088] Step S1: Analyze the river characteristics of the open channel to obtain river terrain characteristic data; analyze the water body runoff of the open channel to obtain river runoff data; construct a terrain flow model based on the river terrain characteristic data and the river runoff data to obtain a terrain flow model;

[0089] Step S2: Based on the terrain flow model, the open channel is divided into inflection point nodes to obtain inflection point node data; the inflection point node data is analyzed and processed for representative node section characteristics to obtain representative node section characteristic data;

[0090] Step S3: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the terrain flow model to obtain the river channel node cross-sectional shape data; performing node hydrological simulation processing on the open channel based on the terrain flow model, the river channel node cross-sectional shape data and the SWMM model to obtain the node cross-sectional hydrological simulation data;

[0091] Step S4: performing overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain open channel hydrological simulation data; performing time series modeling processing on the open channel hydrological simulation data to obtain an open channel time series hydrological model;

[0092] Step S5: Perform node water surface line analysis on the terrain flow model and the open channel time series hydrological model to obtain a same-space water surface line time curve diagram; perform overall simulation processing on the open channel based on the same-space water surface line time curve diagram to obtain overall open channel water surface line simulation data.

[0093] In the embodiment of the present invention, please refer to Figure 1 As shown, it is a schematic diagram of the steps of the open channel water surface line simulation method based on the source code SWMM model of the present invention. In this example, the open channel water surface line simulation method based on the source code SWMM model includes the following steps:

[0094] Step S1: Analyze the river characteristics of the open channel to obtain river terrain characteristic data; analyze the water body runoff of the open channel to obtain river runoff data; construct a terrain flow model based on the river terrain characteristic data and the river runoff data to obtain a terrain flow model;

[0095] The embodiment of the present invention uses remote sensing radar technology to capture the cross-sectional shape and terrain features of the open channel. It also obtains water body information and analyzes the water body runoff to understand the size and change trend of the water flow runoff. Based on these data, a hydrological model is used to construct a terrain flow model, combining the river terrain features with the water body runoff to establish a relationship model between the open channel terrain and water flow.

[0096] Step S2: Based on the terrain flow model, the open channel is divided into inflection point nodes to obtain inflection point node data; the inflection point node data is analyzed and processed for representative node section characteristics to obtain representative node section characteristic data;

[0097] The embodiment of the present invention uses a geographic information system to divide the open channel into different nodes by using the established terrain flow model. The representative node section characteristics analysis is performed on the inflection point node data, and a curve comparison model is constructed for the section to obtain the nodes representing the section, and the representative node section characteristics data are generated.

[0098] Step S3: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the terrain flow model to obtain the river channel node cross-sectional shape data; performing node hydrological simulation processing on the open channel based on the terrain flow model, the river channel node cross-sectional shape data and the SWMM model to obtain the node cross-sectional hydrological simulation data;

[0099] The embodiment of the present invention uses a terrain flow model to perform cross-sectional shape analysis on the representative node cross-sectional feature data. A detailed geometric analysis is performed on the cross-sectional shape of each representative node, and the cross-sectional shape data of the river node is obtained based on the geometric parameter extraction technology. Through the terrain flow model, the cross-sectional shape data of the river node and the SWMM model, the node hydrological simulation processing of the open channel is performed based on the obtained shape data as parameters. The obtained parameters are combined with the SWMM model to obtain the node cross-sectional hydrological simulation data.

[0100] Step S4: performing overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain open channel hydrological simulation data; performing time series modeling processing on the open channel hydrological simulation data to obtain an open channel time series hydrological model;

[0101] The embodiment of the present invention performs overall hydrological simulation on the open channel based on the node section hydrological simulation data, integrates the hydrological simulation data at each node, considers the hydrological mutual influence between nodes, and uses spatial correlation analysis to obtain the overall hydrological simulation data of the open channel. The hydrological data is analyzed in time series, a mathematical model is established to describe the changing law of the hydrological process, and statistical analysis and time series analysis methods are used to obtain the open channel time series hydrological model.

[0102] Step S5: Perform node water surface line analysis on the terrain flow model and the open channel time series hydrological model to obtain a same-space water surface line time curve diagram; perform overall simulation processing on the open channel based on the same-space water surface line time curve diagram to obtain overall open channel water surface line simulation data.

[0103] The embodiment of the present invention can determine the water surface height of each node in the open channel by analyzing the terrain flow model and the time series hydrological model. Based on the terrain characteristics, flow distribution and time changes of the river channel. The node water surface line data provides a water level change diagram of the open channel under different flow and time conditions. Based on the obtained same-space water surface line time curve diagram, batch analysis and processing are performed. Statistical analysis is performed on each node water surface line data to obtain a comprehensive situation of the overall water surface line of the open channel.

[0104] The present invention obtains detailed river terrain data of an open channel by analyzing the topographic features of a river channel, which is conducive to the construction of a river channel terrain model. Water body runoff analysis provides river flow information. Data integration can construct a terrain flow model, simulate water flow dynamics and river channel response, and provide a hydrological data basis for subsequent model construction. The open channel is divided into inflection point nodes and representative node section characteristics are analyzed. Based on the terrain flow model, different areas of the open channel are divided by identifying inflection point nodes, and the representative node section characteristics are further analyzed. It is conducive to an in-depth understanding of the characteristics of water flow at the node, and provides key parameters for subsequent section shape analysis and hydrological simulation. The representative node section shape is analyzed to obtain the river channel node section shape data. Fully considering the dynamic factors of the open channel, a three-dimensional fluid model is applied to more accurately simulate the flow changes in the open channel and more effectively simulate the changing hydrological process. Combined with the terrain flow model and the SWMM model, the node hydrological conditions of the open channel are simulated to obtain node section hydrological simulation data. The water depth, water velocity and water pressure distribution data of different nodes are analyzed to provide a basis for the overall hydrological simulation. Based on the hydrological simulation data of the node section, the open channel is simulated as a whole to simulate the flow dynamics and water volume changes in the open channel. Through time series modeling, the time series hydrological model of the open channel is obtained to help the trend of water flow changes in the future time period, play a corrective role in the acquired water body data, and provide data support for analyzing the hydrological characteristics of the open channel in different time periods. Analyzing the time dynamic factors of the open channel, applying the dynamic time step and the three-dimensional fluid model can more effectively simulate the changing hydrological process and improve the accuracy of the model. By analyzing the terrain flow model and the open channel time series hydrological model, the time curve of the water surface line in the same space is obtained. Based on these data, the open channel is simulated as a whole to obtain the simulation data of the overall water surface line of the open channel, providing accuracy verification for the hydrological simulation results. This step helps to intuitively understand the changes in the water surface line of the open channel and provide an important reference for the design of water conservancy projects.

[0105] Preferably, step S1 comprises the following steps:

[0106] Step S11: constructing a river plane model for the open channel to obtain a river plane model;

[0107] The embodiment of the present invention collects river data from an open channel by using remote sensing technology to construct a river plan model, draw a plan view of the open channel, determine the position and connection relationship of each node, and mark necessary parameters and dimensions, and finally obtain a river plan model.

[0108] Step S12: analyzing the river channel centerline on the river channel plane model to obtain the river channel centerline;

[0109] The embodiment of the present invention analyzes the central axis, and the geometric analysis tool identifies the central axis of the river from the river plan model. The geometry of the river is analyzed, taking into account the width, curvature and any gradients. Ensure that the central axis accurately analyzes the flow path and overall river characteristics.

[0110] Step S13: analyzing the inflection point angle of the river channel plane model according to the center axis of the river channel plane to obtain the inflection point angle data of the river channel;

[0111] The embodiment of the present invention is an important step in identifying the characteristics of the river channel by analyzing the inflection point angle of the river channel plane model based on the central axis of the river channel plane. By performing a detailed analysis of the central axis, the inflection point or inflection point in the river channel can be determined. At each inflection point, the angle formed by the change in the direction of the river channel is calculated.

[0112] Step S14: performing a river channel characteristic analysis on the river channel plane model based on the river channel inflection point angle data to obtain river channel terrain characteristic data;

[0113] The embodiment of the present invention uses GIS software to analyze the key input of river channel characteristic analysis by using the river channel inflection angle data to fully understand the topographic characteristics of the river channel. This includes analyzing the river channel width, shoreline changes, and water depth distribution. By integrating the inflection angle data and the topographic analysis results, a river channel topographic characteristic data set is generated.

[0114] Step S15: acquiring water body remote sensing data of the open channel to obtain river water body data;

[0115] The embodiment of the present invention obtains water body remote sensing data and obtains water body information of open channel rivers through remote sensing technology. Remote sensing satellite technology is used to obtain images of river areas. The images capture data on water surface reflections and water flow patterns. By performing detailed analysis of the images, the water body can be distinguished from the surrounding land and the water body boundary can be determined.

[0116] Step S16: performing runoff analysis on the river water body data to obtain river runoff data;

[0117] The embodiment of the present invention can calculate the amount of water flowing through the river by performing runoff analysis on the acquired river water body data, using the river water body data obtained by remote sensing data. This includes analyzing the water surface height, flow velocity changes and flow distribution, obtaining the runoff analysis results and performing graphical analysis to obtain a detailed picture of the features.

[0118] Step S17: constructing a terrain flow model based on the river terrain feature data and the river runoff data to obtain a terrain flow model.

[0119] The embodiment of the present invention integrates river terrain feature data and river runoff data and uses them as parameters to build a comprehensive terrain flow model. The model captures the water flow dynamics of the river, can analyze the physical layout, slope, width and runoff pattern of the river, and obtains a comprehensive treatment of different flow, rainfall conditions and terrain characteristics.

[0120] The present invention obtains detailed two-dimensional geometric information of an open channel river by establishing a river plane model. The model includes parameters such as the width, shape and curvature of the river, providing an important basis for subsequent analysis. The planar layout of the open channel is intuitively displayed, and basic data is provided for subsequent central axis analysis and inflection angle analysis. By identifying the central axis of the river plane model, the central axis analysis helps to provide a reference for the definition of the angle, and the main direction and curve characteristics of the river can be determined, providing an important reference basis for the analysis of river characteristics. By analyzing the inflection point and angle of the central axis of the river plane, the key inflection point and bending area in the open channel can be identified. The inflection point angle analysis helps to evaluate the curvature and inflection point position of the river, and helps to analyze the analysis of the river runoff at the inflection point. It provides key parameters for subsequent river characteristics analysis. By combining the inflection point angle data and the river plane model, the river terrain characteristics of the open channel are comprehensively analyzed. It helps to obtain detailed terrain feature data of the open channel, including slope and river curvature. It is very useful for understanding the relationship between the runoff of the open channel and the terrain. The results of the river channel characteristic analysis provide important input parameters for the construction of the terrain flow model. The river water body data is obtained through remote sensing technology to obtain the spatial distribution and water area information of the open channel water body. It provides key input data for the subsequent runoff analysis. Remote sensing technology is conducive to accurately obtaining relevant information about the open channel water body. Runoff analysis of river water body data. By analyzing the river water body data obtained by remote sensing, the water volume changes and runoff of the open channel are calculated and simulated. It is conducive to understanding the discharge of the open channel, identifying the flow pattern, and providing important hydrological parameters for the terrain flow model. By integrating the river terrain characteristic data and runoff data, a comprehensive terrain flow model is constructed. The model simulates the flow dynamics and river response of the open channel, and can predict the flow behavior according to different hydrological conditions. It is conducive to the subsequent acquisition of various hydrological parameters.

[0121] Preferably, step S2 comprises the following steps:

[0122] Step S21: analyzing the inflection point of the open channel based on the terrain flow model to obtain the inflection point data of the open channel;

[0123] The present invention uses an advanced terrain flow model to perform a detailed analysis of an open channel river. By combining information about the geometry of the river channel, slope changes, and high-resolution terrain data, the location of the inflection point in the river channel is determined and the corresponding data is recorded. The resulting data will provide the precise location of the inflection point in the open channel and the related flow characteristics.

[0124] Step S22: performing node mapping processing on the open channel based on the inflection point data of the open channel river to obtain inflection point node data;

[0125] The embodiment of the present invention divides the open channel into multiple sections and identifies the locations of inflection points by creating a node graph. The selection of nodes is based on converting the inflection point data into node data. Based on the comprehensive node graph, the hydraulic characteristics of the open channel are accurately obtained. The result of this step will be an inflection point node data set, which contains important data about the open channel layout and the location of key inflection points.

[0126] Step S23: dividing the inflection point node data into node discontinuity surfaces to obtain node discontinuity surface data;

[0127] The embodiment of the present invention divides the open channel into multiple sections by performing detailed cross-section division between the inflection nodes. By combining advanced measurement technology and performing detailed cross-section analysis on each section, careful measurement and investigation are performed to determine the geometry, width, depth and slope of each section, and obtain detailed longitudinal profile data of the open channel.

[0128] Step S24: Based on the node section data, the representative node section feature analysis processing is performed on the inflection point node data to obtain the representative node section feature data.

[0129] The embodiment of the present invention obtains the key parameters affecting fluid dynamics, such as flow distribution, water depth, and flow velocity, by performing a detailed cross-sectional feature analysis on the cross-sectional data between nodes. The typical cross-sectional features of the representative nodes are determined by performing a comprehensive analysis on the cross-sectional data between nodes. The fluid influence of the edge and midpoint sections is analyzed to ensure that the selected representative node represents the cross section of the river channel. The resulting data set will contain the relevant cross-sectional data.

[0130] The present invention analyzes the inflection points in the river channel by applying a terrain flow model to the open channel. Through the inflection point analysis, the key positions in the open channel are determined, and these terrain positions have an important impact on the water flow runoff. Identifying the inflection points helps to understand the overall structure of the open channel and potential hydrological change factors. By identifying the inflection point positions in the open channel, the open channel is node mapped. The node mapping process involves associating the inflection point positions with specific nodes in the open channel network. Through this association, the position of each inflection point and their relative positions in the open channel are determined. It is beneficial to establish the connection between the inflection point and the open channel node, and provide a structured framework for subsequent analysis. The node section division of the inflection point node data is beneficial to understand the water flow characteristics and cross-sectional shape. The node section division involves defining the water flow path flowing through the inflection point node and determining the shape and direction of the cross section. It provides a basis for the analysis of the representative node cross-sectional characteristics, so that the water flow behavior and cross-sectional characteristics between different nodes in the open channel can be analyzed. By analyzing the representative node cross-sectional characteristics, the cross-sectional characteristics at the inflection point node are obtained. By analyzing the node-to-node cross-sectional data, detailed information about the cross-sectional shape, size, and flow characteristics can be obtained. This helps to identify nodes with representative cross-sectional characteristics in the open channel and analyze the behavior of the water flow at these nodes. The analysis results of representative node cross-sectional characteristics can be used for subsequent cross-sectional shape analysis and hydrological simulation.

[0131] Preferably, step S24 includes the following steps:

[0132] Step S241: performing two-dimensional cross-section acquisition processing on the node cross-section data to obtain two-dimensional cross-section diagram data;

[0133] The embodiment of the present invention extracts necessary information from the node section data, including node coordinates and section shape, and uses computer software to perform two-dimensional section acquisition processing to generate two-dimensional cross-sectional data of the section. A suitable scale and coordinate system are set, and the size and shape of the section are adjusted according to the actual data to ensure that the cross-sectional characteristics of the water body are accurately presented.

[0134] Step S242: performing midpoint node positioning processing on the cross-section two-dimensional cross-sectional image data to obtain midpoint node data;

[0135] The embodiment of the present invention obtains obvious contour features by identifying the general symmetry of the cross-sectional shape in a two-dimensional cross-sectional view. A tool is used to mark the midpoint position, the center point of the cross-sectional width, on the contour of each cross-section. Based on the marked midpoint position, the coordinate data of the midpoint node is extracted and recorded. The midpoint node is accurately located to ensure data accuracy and integrity.

[0136] Step S243: constructing a flow velocity and water level curve for the midpoint node data to obtain a midpoint flow velocity and water level curve;

[0137] The embodiment of the present invention obtains curve parameters by hydrologically measuring the flow velocity and water level data of the midpoint node, establishes a data table in the data processing software, and organizes the coordinates, flow velocity and water level data of the midpoint node. The flow velocity and water level data of the midpoint node are associated and analyzed by using data processing tools, and the flow velocity and water level curve is generated by curve fitting.

[0138] Step S244: constructing and processing the inflection point node data flow velocity water level curve to obtain the inflection point flow velocity water level curve;

[0139] The embodiment of the present invention performs hydrological measurement on the flow velocity and water level data at the inflection point node. A data table is established in the data processing software to sort and record the coordinates, flow velocity and water level data of the inflection point node. The flow velocity and water level data of the inflection point node are trend analyzed by using the data processing tool to generate the inflection point flow velocity and water level curve.

[0140] Step S245: constructing a comparison curve model for the node section data based on the midpoint velocity-water level curve and the inflection point velocity-water level curve to obtain a section comparison curve model;

[0141] The embodiment of the present invention organizes the velocity and water level curve data at the midpoint and the inflection point into a unified format. The curve data is matched with the corresponding node section data. The curve data at the midpoint and the inflection point are compared and contrasted to find out the changing rules of the velocity and water level. Based on the rules, a curve fitting method is used to construct a comparison curve model.

[0142] Step S246: performing curve similarity comparison processing on the midpoint velocity-water level curve and the inflection point velocity-water level curve based on the cross-section comparison curve model to obtain the cross-section representative node curve;

[0143] The embodiment of the present invention performs normalization processing on all curves of midpoint and inflection point nodes by normalizing flow velocity and water level data, performs similarity analysis on flow velocity-water level curves of midpoint and inflection point nodes, and calculates similarity values ​​between curves. According to the size of the similarity value, the representative node curve of the cross section is determined, and the curve with higher similarity is selected as the representative.

[0144] Step S247: Perform cross-sectional characteristic analysis on the node-to-node cross-sectional data based on the cross-sectional representative node curve to obtain representative node cross-sectional characteristic data.

[0145] The embodiment of the present invention imports the representative node curve and the node section data. Based on the characteristics of the representative node curve, such as flow velocity, water level, and cross-sectional shape, a section characteristic analysis method is established to analyze the shape, slope, and inflection point of the curve. According to the characteristics of the representative node curve and the analysis results of the node section data, the representative node section characteristic data is obtained.

[0146] The present invention obtains the two-dimensional cross-sectional data of the cross section by performing two-dimensional cross-sectional acquisition processing on the node inter-section data. This allows the shape and characteristics of the cross section to be viewed and analyzed in a graphical manner. The two-dimensional cross-sectional view provides detailed information on the cross-sectional profile, including the shape of the upper bottom, the lower bottom and the bank slope. It provides an important visualization basis for the subsequent midpoint node positioning and flow velocity and water level curve construction. The midpoint node of the cross section is identified from the two-dimensional cross-sectional view, and the intermediate water body data of the cross section is determined by locating the midpoint node, and it is used as a reference point for the subsequent flow velocity and water level curve construction. The flow velocity and water level curve is constructed based on the midpoint node data. The flow velocity and water level curve depicts the corresponding water flow velocity under a given water level. By constructing the midpoint flow velocity and water level curve, the relationship between the water flow velocity and the water level in the cross section is analyzed. It is conducive to understanding the water flow characteristics. The flow velocity and water level curve is constructed for the inflection point node, and the inflection point flow velocity and water level curve is constructed to analyze the flow velocity and water level relationship at the inflection point, and evaluate the influence of the inflection point node on the overall water flow pattern. By integrating the midpoint and inflection point flow velocity and water level curves, a comparison curve model is constructed. The model compares the velocity-water level relationship at the midpoint and the inflection point, which is conducive to the analysis of hydrological conditions at different locations of the section. The contrast curve model helps to analyze the hydrological conditions at different points of the section shape. By comparing the similarity between the velocity-water level curve at the midpoint and the inflection point and the section as a whole. The similarity comparison process is conducive to identifying the water flow data in the section. If the analysis curves are similar, the water flow characteristics are relatively consistent in the section. If the analysis curves are different, it means that the water flow at the midpoint and the inflection point is affected by other factors and is not used as representative data. The section representative node curve is used to analyze the section characteristics of the section data between nodes. The section representative node curve integrates the velocity and water level information of the midpoint and the inflection point, representing the water flow characteristics in the section. By analyzing the curve, the relevant characteristics of the water flow in the section are obtained. It provides actual parameters for the subsequent model calculation.

[0147] Preferably, step S3 comprises the following steps:

[0148] Step S31: performing cross-sectional river curvature analysis on the terrain flow model to obtain cross-sectional river curvature data;

[0149] In the embodiment of the present invention, the curvature value, curvature or curvature coefficient of the river centerline is calculated by the terrain flow model to obtain relevant parameters. The properties of the river curvature are analyzed for the relevant parameters to obtain the curvature change along the river and identify the relevant features of the bend. The analysis results are organized into a data table for display to obtain a digital expression of the curvature.

[0150] Step S32: performing cross-sectional fluid pattern analysis on the terrain flow model to obtain cross-sectional fluid pattern data;

[0151] The embodiment of the present invention uses fluid mechanics simulation software to import terrain flow model data, including node coordinates and flow data, and sets simulation parameters. Fluid pattern analysis is performed on each section to simulate the flow pattern of water in the section and obtain section fluid pattern data.

[0152] Step S33: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the cross-sectional river channel curvature data and the cross-sectional fluid pattern data to obtain the cross-sectional shape data of the river channel node;

[0153] The embodiment of the present invention integrates the cross-section river channel curvature data and the cross-section fluid pattern data. For each representative node section, the curvature information and the fluid pattern data are combined to perform cross-section shape analysis. The geometric parameters of the section, such as width, depth, and cross-sectional area, are calculated, and the shape characteristics of the section are evaluated. The analysis results are scattered to obtain the cross-section shape data of the river channel node.

[0154] Step S34: constructing a three-dimensional view of the river channel node section shape data to obtain the three-dimensional view data of the river channel node section;

[0155] The embodiment of the present invention converts the model data of the river node section shape data, including the width, depth, and cross-sectional area parameters, and uses professional 3D modeling software to import the node section shape data to construct a 3D model. According to the width and depth parameters in the data, the entity model of each node section is gradually drawn.

[0156] Step S35: Perform node hydrological simulation processing on the open channel based on the terrain flow model, the three-dimensional view data of the river node section and the SWMM model to obtain node section hydrological simulation data.

[0157] The embodiment of the present invention loads terrain flow model data and river node section three-dimensional view data into SWMM software, sets model parameters, performs node hydrological simulation processing on the open channel, and simulates the flow of water in the open channel. According to the node section hydrological simulation data obtained from the simulation results, data is sorted and analyzed to generate flow diagram and water level diagram related simulation data.

[0158] The present invention can obtain accurate river channel curvature data by performing cross-sectional river channel curvature analysis on the terrain flow model. It is helpful to understand the degree of curvature of the river channel, identify the curved areas that may affect the water flow pattern, and ensure that the model accurately reflects the true shape of the river channel. The cross-sectional fluid pattern analysis is performed on the terrain flow model to determine the water flow pattern along the river channel. This is crucial for the water flow path and speed and understanding the overall behavior of the water flow. By combining the cross-sectional river channel curvature data and the fluid pattern data, the cross-sectional characteristics of the representative nodes are deeply analyzed. By identifying and describing the shape and characteristics of each node in the river channel. This helps to define the water flow characteristics around the node and ensure the accuracy of the hydrological simulation. By performing three-dimensional visualization of the node cross-sectional shape data, the geometric features are highlighted. This helps to identify key areas that may affect the water flow pattern. By integrating the terrain flow model, the three-dimensional view data and the SWMM model, the actual hydrological behavior of the nodes in the open channel is accurately simulated. The water flow pattern, water level changes and hydraulic conditions around the nodes can be predicted, which helps to simulate the hydrological conditions of different nodes and provide an important reference for subsequent hydrological simulation processing.

[0159] Preferably, step S35 includes the following steps:

[0160] Step S351: performing spatial coordinate processing on the three-dimensional view of the river channel node section to obtain the spatial coordinates of the node section;

[0161] The embodiment of the present invention imports the three-dimensional view data of the river node section into the three-dimensional modeling software, measures the coordinates of the key points of the node section, creates a spatial coordinate system based on the measured coordinate data, and organizes and maps the measured node section coordinate data in the spatial coordinate system.

[0162] Step S352: performing node water level analysis on the open channel based on the node section spatial coordinates to obtain node section water level data;

[0163] The embodiment of the present invention imports the spatial coordinate data of the node section into the hydrological simulation software. Based on the coordinate data, a three-dimensional model of the open channel is established, and the parameters of the hydrological simulation are set. The node water level is analyzed, the flow of water in the open channel is simulated, and the water level data of each node section is calculated.

[0164] Step S353: Performing hydrological simulation on the open channel based on the SWMM model and the node section water level data to obtain the node section hydrological simulation data of the SWMM model;

[0165] The embodiment of the present invention imports the node section water level data into the SWMM model, sets the relevant parameters of the SWMM model, runs the hydrological simulation, simulates the flow of water in the system, calculates the hydrological data of each node section, and obtains the SWMM model node section hydrological simulation data, performs data analysis and sorting, and generates the flow curve and water level map simulation results.

[0166] Step S354: performing node runoff analysis on the open channel according to the terrain flow model to obtain node section runoff data;

[0167] The embodiment of the present invention imports terrain flow model data into the hydrological simulation model. Based on the model settings, the node positions and runoff analysis parameters are determined. Then, the node runoff analysis is performed to simulate the generation and flow process of runoff in the open channel and calculate the runoff data of each node section.

[0168] Step S355: performing corresponding node mapping processing on the node section runoff data based on the node section space coordinates to obtain the node section space coordinate runoff data;

[0169] The embodiment of the present invention performs corresponding matching on the node section space coordinate data and the node section runoff data, maps through the node coordinates, and integrates the matched data to form a node section space coordinate runoff data set.

[0170] Step S356: constructing a node section change data curve based on the node section space coordinate runoff data and the node section space coordinates to obtain a node section change data curve;

[0171] The embodiment of the present invention establishes a node section change data curve fitting construction curve by analyzing the change of node section spatial coordinate runoff data and node section spatial coordinate data. The node section spatial coordinates and the corresponding runoff data are curve constructed to generate a node section change data curve, reflecting the trend of node section characteristics changing with spatial coordinates.

[0172] Step S357: Based on the node section change data curve, the SWMM model node section hydrological simulation data is corrected to obtain the node section hydrological simulation data.

[0173] The embodiment of the present invention collects and organizes the measured data of the node section, including water level and flow information, and draws the node section change data curve based on these data. By analyzing the node section change data curve, the abnormal points in the data are identified, and the part that needs data correction is determined. According to the analysis results, the interpolation processing data correction method is determined.

[0174] The present invention obtains the spatial coordinates of the node section by processing the three-dimensional view of the river node section in spatial coordinates, which helps to accurately convert the position information of the node section into digital coordinate data, and provides a basis for subsequent water level analysis. Based on the spatial coordinates of the node section, the open channel is subjected to node water level analysis to obtain the node section water level data, which helps to understand the water level conditions at different nodes and provides important parameters for hydrological simulation. By using the SWMM model and the node section water level data for hydrological simulation, the SWMM model node section hydrological simulation data is obtained, which helps to simulate the hydrological conditions at the node. The open channel is subjected to node runoff analysis, and the flow flowing through each node can be quantified to obtain the node section runoff data, which helps to understand the magnitude of the runoff at different nodes and provides important input parameters for hydrological simulation. Based on the spatial coordinates of the node section, the node section runoff data is subjected to corresponding node mapping processing to obtain the node section spatial coordinate runoff data, which helps to correspond the runoff data of different nodes to their position information, and provides accurate spatial reference for subsequent data analysis. By constructing a node section change data curve, the change of the node along the section can be intuitively represented. An analysis tool is provided to evaluate the changes in water level and flow-related parameters, providing more accurate data support for hydrological simulation. Based on the node section change data curve, the SWMM model node section hydrological simulation data is corrected to obtain the corrected node section hydrological simulation data, which helps to improve the accuracy of the simulation results and provide a reliable basis for hydrological analysis and engineering decision-making.

[0175] Preferably, step S4 comprises the following steps:

[0176] Step S41: Perform batch node section hydrological characteristic analysis on the open channel to obtain multi-node hydrological characteristic data;

[0177] Step S42: performing hydrological simulation on the multi-node hydrological characteristic data based on the node section hydrological simulation data to obtain multi-node hydrological simulation data;

[0178] Step S43: integrating and processing the multi-node hydrological simulation data to obtain open channel hydrological simulation data;

[0179] Step S44: dividing the open channel hydrological simulation data into time series nodes to obtain open channel hydrological time series data;

[0180] Step S45: constructing a time series model for the open channel hydrological time series data and the open channel hydrological simulation data to obtain an open channel time series hydrological model.

[0181] As an embodiment of the present invention, refer to Figure 2 As shown, Figure 1 Detailed step flow diagram of step S4 in FIG. 1 , in this embodiment, step S4 includes the following steps:

[0182] Step S41: Perform batch node section hydrological characteristic analysis on the open channel to obtain multi-node hydrological characteristic data;

[0183] The embodiment of the present invention performs batch node section hydrological characteristic analysis on the open channel. The hydrological characteristics at each node are analyzed in detail, which may include statistics and calculations of flow, water level, and flow velocity parameters. The hydrological characteristics of each node are collated and processed using mathematical models and statistical methods.

[0184] Step S42: performing hydrological simulation on the multi-node hydrological characteristic data based on the node section hydrological simulation data to obtain multi-node hydrological simulation data;

[0185] The embodiment of the present invention combines the node section hydrological simulation data with the multi-node hydrological characteristic data, and uses a mathematical model and a simulation algorithm to simulate and calculate the hydrological characteristics of each node. The flow, water level, flow velocity and other parameters are simulated and predicted, and the multi-node hydrological characteristic data are subjected to hydrological simulation processing to obtain the hydrological simulation data at each node.

[0186] Step S43: integrating and processing the multi-node hydrological simulation data to obtain open channel hydrological simulation data;

[0187] The embodiment of the present invention integrates and processes the hydrological simulation data of multiple nodes to obtain open channel hydrological simulation data. The hydrological simulation data at each node is integrated and merged to ensure the consistency and integrity of the data. The hydrological simulation data of multiple nodes are integrated into a complete data set by using data matching integration and integration technology.

[0188] Step S44: dividing the open channel hydrological simulation data into time series nodes to obtain open channel hydrological time series data;

[0189] The embodiment of the present invention obtains open channel hydrological time series data by dividing the open channel hydrological simulation data into time series nodes. The continuous hydrological simulation data is divided according to time, and the time interval is used for division. After selecting a suitable time scale, the team will align the divided time series data. The data processed by the time series node division is used as the open channel hydrological time series data.

[0190] Step S45: constructing a time series model for the open channel hydrological time series data and the open channel hydrological simulation data to obtain an open channel time series hydrological model.

[0191] The embodiment of the present invention constructs a time series model for open channel hydrological time series data and open channel hydrological simulation data to obtain an open channel time series hydrological model. The data is preprocessed to meet the requirements of the model. Historical data is used to estimate model parameters and train the model, and a machine learning method is used to fit the time series model.

[0192] The present invention obtains the hydrological characteristics of the entire river system by performing batch node section hydrological characteristic analysis on the open channel. By analyzing multiple nodes, a comprehensive understanding of the river shape and hydrological characteristics is provided, which is crucial for accurately simulating and evaluating the open channel system. By performing hydrological simulation on multi-node hydrological characteristic data, multi-node hydrological simulation data is obtained. It is conducive to the subsequent overall data integration. The multi-node hydrological simulation data is integrated and processed to obtain the hydrological simulation results representing the entire open channel system. By summarizing the results of a single node, a complete open channel hydrological simulation data set is provided, which provides a basis for subsequent time series analysis. The open channel hydrological simulation data is divided into time series nodes, and the hydrological characteristics of the open channel system that change over time are analyzed to obtain the time-related river water level changes, flow distribution and hydrological response, which is very important for understanding the dynamics of the open channel system. The open channel hydrological time series data and the open channel hydrological simulation data are constructed into a time series model to obtain an open channel time series hydrological model, which helps to establish a time series change model of open channel hydrology and provide support for long-term hydrological trend prediction.

[0193] Preferably, step S45 includes the following steps:

[0194] Step S451: performing time series node hydrological analysis on the open channel time series hydrological model to obtain time series node hydrological characteristic data;

[0195] Step S452: performing associative three-dimensional graphics processing on the time series node hydrological characteristic data and the open channel hydrological simulation data to obtain the time series node cross-sectional shape data;

[0196] Step S453: calibrating the open channel hydrological simulation data based on the time node cross-sectional shape data to obtain the open channel time series hydrological simulation data;

[0197] Step S454: performing time series node positioning processing on the open channel time series hydrological simulation data to obtain hydrological time series node data;

[0198] Step S455: constructing a time series model for the open channel time series hydrological simulation data and the hydrological time series node data to obtain an open channel time series hydrological model.

[0199] As an embodiment of the present invention, refer to Figure 3 As shown, Figure 2 FIG. 4 is a schematic diagram of a detailed step flow chart of step S45 in FIG. 4 . In this embodiment, step S45 includes the following steps:

[0200] Step S451: performing time series node hydrological analysis on the open channel time series hydrological model to obtain time series node hydrological characteristic data;

[0201] The embodiment of the present invention analyzes and extracts the hydrological characteristics of the time series nodes in detail, uses the existing model parameters combined with the actual observation data, simulates and analyzes the hydrological characteristics of the water level, flow rate, and flow velocity of each node, and further processes and extracts the simulated hydrological data of the time series nodes.

[0202] Step S452: performing associative three-dimensional graphics processing on the time series node hydrological characteristic data and the open channel hydrological simulation data to obtain the time series node cross-sectional shape data;

[0203] The embodiment of the present invention associates the hydrological characteristic data with the node position information in the simulation data and combines it with the three-dimensional graphics processing technology to present the water level, flow and other characteristics at the node in a graphical manner. Based on the associated node characteristic data, the cross-sectional shape at each node of the open channel is drawn to form the time series node cross-sectional shape data.

[0204] Step S453: calibrating the open channel hydrological simulation data based on the time node cross-sectional shape data to obtain the open channel time series hydrological simulation data;

[0205] The embodiment of the present invention compares and matches the time series node cross-sectional shape data with the simulation data to identify the differences and deviations between the simulation data and the actual observation data. The simulation data is calibrated using an optimization algorithm. The calibrated simulation data is combined with the time series node cross-sectional shape data to construct the time series hydrological simulation data of the open channel.

[0206] Step S454: performing time series node positioning processing on the open channel time series hydrological simulation data to obtain hydrological time series node data;

[0207] The embodiment of the present invention performs node position segmentation and positioning on the time series hydrological simulation data, extracts the hydrological data at each node to form an independent time series node data sequence, matches the hydrological information in the simulation data with each node, and performs data smoothing processing on the time series hydrological data at each node. The time series node data is subjected to time series analysis to obtain the time series variation law of the hydrological characteristics at the node.

[0208] Step S455: constructing a time series model for the open channel time series hydrological simulation data and the hydrological time series node data to obtain an open channel time series hydrological model.

[0209] The embodiment of the present invention unifies the data format by integrating the hydrological simulation data and the time series node data. The autoregressive moving average model time series model is selected for construction. The model parameters are estimated and fitted using statistical software or professional time series analysis tools. The constructed time series hydrological model is evaluated and verified.

[0210] The present invention performs a time-series node hydrological analysis on the open channel time-series hydrological model to obtain detailed information on the hydrological characteristics of different time nodes along the river. It is helpful to understand how key hydrological parameters, water level, flow and speed change over time. It provides important data support for the refined establishment of the hydrological model. Through the associated three-dimensional graphics processing, the time-series node hydrological characteristic data and the open channel hydrological simulation data are visualized. The time-series node cross-sectional shape data is generated to provide a visual representation of the cross-sectional shape of the open channel at different time nodes. Through this graphical representation, the hydrological data analysis is intuitively identified. By using the time-node cross-sectional shape data, the simulation results are proofread with the actual cross-sectional shape, the simulation results are improved, and the real hydrological behavior of the open channel at different time points is accurately matched. The data calibration takes into account the influence of the cross-sectional shape on the water flow pattern and water level, thereby improving the accuracy of the simulation. The open channel time-series hydrological simulation data is subjected to time-series node positioning processing to analyze specific time-series nodes in the open channel system. The hydrological data at the time point, the flow peak and the low water level data are analyzed. Through this positioning processing, detailed hydrological time-series node data can be obtained. By constructing an open channel time-series hydrological model, the open channel time-series hydrological simulation data and hydrological time-series node data are integrated into a comprehensive dynamic model. The model simulates the changes of the open channel system over time and can predict river hydrological data.

[0211] Preferably, step S5 comprises the following steps:

[0212] Step S51: Perform spatial node water surface line analysis on the terrain flow model to obtain spatial node water surface line data;

[0213] The embodiment of the present invention obtains the water surface line position at the node by dividing and analyzing the terrain model into spatial nodes. The terrain model is processed and analyzed using a hydrological modeling tool. Based on the terrain features and hydrological parameters in the terrain model, the water level elevation at each node is calculated, and the shape and position of the water surface line are determined, and the water surface line data is further processed and optimized.

[0214] Step S52: performing time node water surface line analysis on the open channel time series hydrological model to obtain time node water surface line data;

[0215] The embodiment of the present invention combines the time series hydrological model with the terrain model of the open channel to match and align the data. At the time node, the position and shape of the water surface line are calculated and determined based on the water level data in the hydrological model and the terrain information in the terrain model. The water surface line data at the time node is further analyzed and smoothed.

[0216] Step S53: performing curve composition analysis on the time node water surface line data based on the space node water surface line data to obtain a time curve graph of the same space water surface line;

[0217] The embodiment of the present invention unifies the data format by integrating the spatial node water surface line data and the time node water surface line data. The water level-time curve composition method is selected for analysis. The curve is drawn and analyzed based on the data visualization tool. The spatial water surface line time curve obtained by composition is analyzed to extract key data therein.

[0218] Step S54: performing batch analysis and processing on the open channel based on the same-space water surface curve time curve to obtain an open channel water surface curve change trend diagram;

[0219] The embodiment of the present invention establishes an automated processing model through computer programming to batch process the water surface line time curve data in the same space. The curve data is imported into the processing environment, and the processing parameters and rules are set to execute the batch processing program to realize the curve drawing of the water surface line change trend of each spatial position from the upper boundary of the open channel, with the distance from the upper boundary of the open channel as the horizontal axis and the water level as the vertical axis, and finally generate the open channel water surface line curve change trend diagram (such as Figure 4 as shown).

[0220] Step S55: performing data analysis on the open channel water surface curve change trend diagram to obtain the open channel overall water surface curve simulation data.

[0221] The embodiment of the present invention analyzes the water surface line data in the curve graph by sorting and preprocessing the data in the curve graph using a statistical analysis method to calculate the average water level, peak-valley flow, and water level change trend indicators. The analysis results are presented in the form of a graph using data visualization technology to more intuitively display the simulation data of the open channel water surface line.

[0222] The present invention obtains the water level height and distribution at different spatial positions in the open channel by performing spatial node water surface line analysis on the terrain flow model. By combining terrain and flow information, potential overflow areas are identified and the relationship between the water surface line and the river characteristics is understood, ensuring that accurate water surface line data is considered in the simulation. The time node water surface line analysis is performed on the open channel time series hydrological model to obtain the change of the water surface line over time and the dynamic behavior of the water surface line. More detailed water surface line information is provided for the hydrological simulation results to further improve the accuracy of the hydrological model. By performing a curve chart analysis on the spatial node water surface line data, the distribution of the water surface lines of multiple spatial nodes in the open channel can be visualized. The generated same-space water surface line time curve chart shows how the water surface line changes over time, which helps to discover the time change law of the water surface line. Batch analysis and processing of the open channel based on the same-space water surface line time curve chart is conducive to the comprehensive analysis of the change characteristics of the water surface line at different distances from the boundary space nodes and water level nodes, providing convenience for the overall understanding of the open channel water surface line data and providing support for the comprehensive analysis of hydrological phenomena. Data analysis is performed on the open channel water surface curve change trend chart to extract important information about the overall water surface behavior of the open channel and complete the data simulation of the overall water surface of the open channel.

[0223] Preferably, the present invention further provides an open channel water surface line simulation system based on the source code SWMM model, which is used to execute the open channel water surface line simulation method based on the source code SWMM model as described above. The open channel water surface line simulation system based on the source code SWMM model includes:

[0224] The open channel information acquisition module is used to perform remote sensing acquisition and processing of river channel characteristic data of the open channel to obtain river channel topographic characteristic data; perform water body runoff analysis on the open channel to obtain river channel runoff data; perform model construction and processing based on river channel topographic characteristic data and river channel runoff data to obtain a terrain flow model;

[0225] The open channel section node analysis module is used to divide the inflection point nodes of the open channel according to the terrain flow model to obtain the inflection point node data; the representative node section feature analysis is performed on the inflection point node data to obtain the representative node section feature data;

[0226] The open channel hydrological simulation module is used for terrain flow model to analyze the cross-sectional shape of the representative node cross-sectional characteristic data to obtain the river node cross-sectional shape data; based on the river node cross-sectional shape data and the source code SWMM model, the open channel node hydrological simulation is performed to obtain the node cross-sectional hydrological simulation data;

[0227] The open channel time series hydrological model construction module is used to perform overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain the open channel hydrological simulation data; the open channel hydrological simulation data is modeled and processed in time series to obtain the open channel time series hydrological model;

[0228] The open channel water surface line analysis module is used for terrain flow model and open channel time series hydrological model to perform node water surface line analysis to obtain the same space water surface line time curve; based on the same space water surface line time curve, the open channel is simulated as a whole to obtain the open channel overall water surface line simulation data.

[0229] In summary, the present invention provides an open channel water surface line simulation system based on the source code SWMM model. The open channel water surface line simulation system based on the source code SWMM model consists of an open channel information acquisition module, an open channel section node analysis module, an open channel hydrological simulation module, an open channel time series hydrological model construction module and an open channel water surface line analysis module. It can realize any open channel water surface line simulation method based on the source code SWMM model described in the present invention, and is used to combine the operations between computer programs running on each module to realize any open channel water surface line simulation method based on the source code SWMM model. The internal structures of the system cooperate with each other, which can greatly reduce duplication of work and manpower investment, and can quickly and effectively provide a more accurate and efficient open channel water surface line simulation process based on the source code SWMM model, thereby simplifying the open channel water surface line simulation operation process based on the source code SWMM model.

[0230] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for simulating open channel water surface curve based on source code SWMM model, characterized in that: The following steps are involved: Step S1: Analyze the river characteristics of the open channel to obtain river terrain characteristic data; Conduct water body runoff analysis on the open channel to obtain river runoff data; construct a terrain flow model based on river terrain feature data and river runoff data to obtain a terrain flow model; Step S2: Based on the terrain flow model, the open channel is divided into inflection point nodes to obtain inflection point node data; the inflection point node data is analyzed and processed for representative node section characteristics to obtain representative node section characteristic data; Step S3: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the terrain flow model to obtain the cross-sectional shape data of the river channel node; Based on the terrain flow model, the shape data of the river node section and the source code SWMM model, the node hydrological simulation processing of the open channel is carried out to obtain the node section hydrological simulation data; Step S4: performing overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain open channel hydrological simulation data; performing time series modeling processing on the open channel hydrological simulation data to obtain an open channel time series hydrological model; Step S5: Perform node water surface line analysis on the terrain flow model and the open channel time series hydrological model to obtain a same-space water surface line time curve diagram; perform overall simulation processing on the open channel based on the same-space water surface line time curve diagram to obtain overall open channel water surface line simulation data.

2. The open channel water surface line simulation method based on the source code SWMM model according to claim 1 is characterized in that: Step S1 includes the following steps: Step S11: constructing a river plane model for the open channel to obtain a river plane model; Step S12: analyzing the river channel centerline on the river channel plane model to obtain the river channel centerline; Step S13: analyzing the inflection point angle of the river channel plane model according to the center axis of the river channel plane to obtain the inflection point angle data of the river channel; Step S14: performing a river channel characteristic analysis on the river channel plane model based on the river channel inflection point angle data to obtain river channel terrain characteristic data; Step S15: acquiring water body remote sensing data of the open channel to obtain river water body data; Step S16: performing runoff analysis on the river water body data to obtain river runoff data; Step S17: constructing a terrain flow model based on the river terrain feature data and the river runoff data to obtain a terrain flow model.

3. The open channel water surface line simulation method based on the source code SWMM model according to claim 1 is characterized in that: Step S2 includes the following steps: Step S21: analyzing the inflection point of the open channel based on the terrain flow model to obtain the inflection point data of the open channel; Step S22: performing node mapping processing on the open channel based on the inflection point data of the open channel river to obtain inflection point node data; Step S23: dividing the inflection point node data into node discontinuity surfaces to obtain node discontinuity surface data; Step S24: Based on the node section data, the representative node section feature analysis processing is performed on the inflection point node data to obtain the representative node section feature data.

4. The open channel water surface line simulation method based on the source code SWMM model according to claim 3 is characterized in that: Step S24 includes the following steps: Step S241: performing two-dimensional cross-section acquisition processing on the node cross-section data to obtain two-dimensional cross-section diagram data; Step S242: performing midpoint node positioning processing on the cross-section two-dimensional cross-sectional image data to obtain midpoint node data; Step S243: constructing a flow velocity and water level curve for the midpoint node data to obtain a midpoint flow velocity and water level curve; Step S244: constructing and processing the inflection point node data flow velocity water level curve to obtain the inflection point flow velocity water level curve; Step S245: constructing a comparison curve model for the node section data based on the midpoint velocity-water level curve and the inflection point velocity-water level curve to obtain a section comparison curve model; Step S246: performing curve similarity comparison processing on the midpoint velocity-water level curve and the inflection point velocity-water level curve based on the cross-section comparison curve model to obtain the cross-section representative node curve; Step S247: Perform cross-sectional characteristic analysis on the node-to-node cross-sectional data based on the cross-sectional representative node curve to obtain representative node cross-sectional characteristic data.

5. The open channel water surface line simulation method based on the source code SWMM model according to claim 1 is characterized in that: Step S3 includes the following steps: Step S31: performing cross-sectional river curvature analysis on the terrain flow model to obtain cross-sectional river curvature data; Step S32: performing cross-sectional fluid pattern analysis on the terrain flow model to obtain cross-sectional fluid pattern data; Step S33: performing cross-sectional shape analysis on the representative node cross-sectional characteristic data based on the cross-sectional river channel curvature data and the cross-sectional fluid pattern data to obtain the cross-sectional shape data of the river channel node; Step S34: constructing a three-dimensional view of the cross-sectional shape data of the river channel node to obtain the three-dimensional view data of the cross-sectional shape of the river channel node; Step S35: Perform node hydrological simulation processing on the open channel based on the terrain flow model, the three-dimensional view data of the river node section and the SWMM model to obtain node section hydrological simulation data.

6. The open channel water surface line simulation method based on the source code SWMM model according to claim 5 is characterized in that: Step S35 includes the following steps: Step S351: performing spatial coordinate processing on the three-dimensional view of the river channel node section to obtain the spatial coordinates of the node section; Step S352: performing node water level analysis on the open channel based on the node section spatial coordinates to obtain node section water level data; Step S353: Perform hydrological simulation on the open channel based on the source code SWMM model and the node section water level data to obtain the node section hydrological simulation data of the SWMM model; Step S354: performing node runoff analysis on the open channel according to the terrain flow model to obtain node section runoff data; Step S355: performing corresponding node mapping processing on the node section runoff data based on the node section space coordinates to obtain the node section space coordinate runoff data; Step S356: constructing a node section change data curve based on the node section space coordinate runoff data and the node section space coordinates to obtain a node section change data curve; Step S357: Based on the node section change data curve, the SWMM model node section hydrological simulation data is corrected to obtain the node section hydrological simulation data.

7. The open channel water surface line simulation method based on the source code SWMM model according to claim 1 is characterized in that: Step S4 includes the following steps: Step S41: Perform batch node section hydrological characteristic analysis on the open channel to obtain multi-node hydrological characteristic data; Step S42: performing hydrological simulation on the multi-node hydrological characteristic data based on the node section hydrological simulation data to obtain multi-node hydrological simulation data; Step S43: integrating and processing the multi-node hydrological simulation data to obtain open channel hydrological simulation data; Step S44: dividing the open channel hydrological simulation data into time series nodes to obtain open channel hydrological time series data; Step S45: constructing a time series model for the open channel hydrological time series data and the open channel hydrological simulation data to obtain an open channel time series hydrological model.

8. The open channel water surface line simulation method based on the source code SWMM model according to claim 7 is characterized in that: Step S45 includes the following steps: Step S451: performing time series node hydrological analysis on the open channel time series hydrological model to obtain time series node hydrological characteristic data; Step S452: performing associative three-dimensional graphics processing on the time series node hydrological characteristic data and the open channel hydrological simulation data to obtain the time series node cross-sectional shape data; Step S453: calibrating the open channel hydrological simulation data based on the time node cross-sectional shape data to obtain the open channel time series hydrological simulation data; Step S454: performing time series node positioning processing on the open channel time series hydrological simulation data to obtain hydrological time series node data; Step S455: constructing a time series model for the open channel time series hydrological simulation data and the hydrological time series node data to obtain an open channel time series hydrological model.

9. The open channel water surface line simulation method based on the source code SWMM model according to claim 1 is characterized in that: Step S5 includes the following steps: Step S51: Perform spatial node water surface line analysis on the terrain flow model to obtain spatial node water surface line data; Step S52: performing time node water surface line analysis on the open channel time series hydrological model to obtain time node water surface line data; Step S53: performing curve composition analysis on the time node water surface line data based on the space node water surface line data to obtain a time curve graph of the same space water surface line; Step S54: performing batch analysis and processing on the open channels based on the same-space water surface curve time curve to obtain a change trend diagram of the open channel water surface curve; Step S55: performing data analysis on the open channel water surface curve change trend diagram to obtain the open channel overall water surface curve simulation data.

10. An open channel water surface simulation system based on the source code SWMM model, characterized in that: Used to execute the open channel water surface line simulation method based on the source code SWMM model as claimed in claim 1, the open channel water surface line simulation system based on the source code SWMM model includes: The open channel information acquisition module is used to perform remote sensing acquisition and processing of river channel characteristic data of the open channel to obtain river channel topographic characteristic data; perform water body runoff analysis on the open channel to obtain river channel runoff data; perform model construction and processing based on river channel topographic characteristic data and river channel runoff data to obtain a terrain flow model; The open channel section node analysis module is used to divide the inflection point nodes of the open channel according to the terrain flow model to obtain the inflection point node data; the representative node section feature analysis is performed on the inflection point node data to obtain the representative node section feature data; The open channel hydrological simulation module is used to analyze the cross-sectional shape of the representative node cross-sectional characteristic data using the terrain flow model to obtain the cross-sectional shape data of the river node; based on the cross-sectional shape data of the river node and the SWMM model, the open channel is subjected to node hydrological simulation processing to obtain the node cross-sectional hydrological simulation data; The open channel time series hydrological model construction module is used to perform overall hydrological simulation on the open channel based on the node section hydrological simulation data to obtain the open channel hydrological simulation data; the open channel hydrological simulation data is modeled and processed in time series to obtain the open channel time series hydrological model; The open channel water surface line analysis module is used for terrain flow model and open channel time series hydrological model to perform node water surface line analysis to obtain the same space water surface line time curve; based on the same space water surface line time curve, the open channel is simulated as a whole to obtain the open channel overall water surface line simulation data.