Disclosure of Invention
The invention provides a method for simulating river channel water quality parameter calculation, aiming at solving the technical problems, and aims to provide a method for simulating and calculating the parameters of a water quality module when an SWMM simulates a natural river channel and a method for simulating and calculating the influence of regional rain and sewage pipe network flow combining and flow dividing on the river channel water quality. The specific technical scheme is as follows.
According to one aspect of the application, the method for simulating the river channel water quality parameter calculation based on the SWMM model comprises the following steps:
establishing a river network model, and setting the transition section form of a river reach;
inputting water quantity and water quality parameters in corresponding modes for fitting;
and characterizing the results of the water quantity and the water quality through the characteristics of the mode.
Optionally, the establishing a river network model, and the setting of the transition section form of the river reach includes:
drawing a river channel plan in the SWMM data processing system, comprising: drawing the river channel plan by setting nodes and pipe channels;
and carrying out grid digital processing on the river channel section in the river channel plane graph.
Optionally, the establishing a river network model, and the setting of the transition section form of the river reach includes:
and setting a roughness coefficient for the straight river channel in the river network model, wherein the value range of the roughness coefficient is 0.025-0.035.
Optionally, the fitting the input water quantity and water quality parameters in the corresponding modes includes:
defining pollutant types, and simulating the water quantity and the water quality of the upstream incoming water into a regulation and storage tank;
inputting the water quantity of the upstream incoming water and the water quality component of the upstream incoming water into a data processing system;
setting nodes to simulate the amount and quality of the passenger water in the cross-border river;
setting a baseline and a baseline mode, fitting the baseline and the baseline mode with the change of the water quantity of the transit channel passenger water, and converting the water quality of the transit channel passenger water into the baseline mode to be input into the data processing system.
Optionally, the fitting the input water quantity and water quality parameters in the corresponding modes includes:
the method comprises the steps of setting a position of a rain and sewage shunt at a drainage port of a river channel, setting a first inflow node to be connected to the position of the river channel, and inputting corresponding parameters of water quantity and water quality of the first inflow node.
Optionally, the fitting the input water quantity and water quality parameters in the corresponding modes further includes:
arranging a reservoir at the rain and sewage converging position at the drainage outlet, setting the daily change of the average concentration of the domestic sewage into a time mode, and inputting the corresponding domestic sewage flow;
optionally, the result of characterizing the water quantity and the water quality by the characteristics of the pattern includes:
and setting a second inflow node, connecting the second inflow node to the river channel position, and inputting corresponding parameters of the quantity and the quality of the rainwater of the second inflow node.
Optionally, the result of characterizing the water quantity and the water quality by the characteristics of the pattern includes:
providing a discharge outlet downstream of the channel plan;
setting a water quantity attenuation factor according to the infiltration speed of the water quantity of the river channel, wherein the water quantity attenuation factor can take the value of 0.8-0.9 and is used for simulating the loss of water flow evaporation infiltration;
and fitting and simulating the water quality by inputting data of degradation of actual pollutants in the river channel, and inputting a degradation curve serving as the baseline mode into the canal for simulation calculation.
According to another aspect of the present application, a storage medium has a computer program stored thereon, and the computer program is executed by a processor to implement any one of the methods for simulating riverway water quality parameter calculation based on SWMM model.
According to another aspect of the application, a computer device comprises a storage medium, a processor and a computer program stored on the storage medium and capable of running on the processor, wherein the processor executes the computer program to implement any one of the methods for simulating the river water quality parameter based on the SWMM model.
In conclusion, the beneficial technical effects of the invention are as follows:
(1) the water quality simulation module can simulate the change degree of water quality in different periods of time in a river course and can perform synergistic action among different pollutants;
(2) the device can simulate the water quality of inflow rivers in different areas, can simulate the comprehensive sewage quality of an inflow river channel under the rain and sewage confluence situation, and can also simulate the rainwater quality of the inflow river channel under the rain and sewage diversion situation.
Detailed Description
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In the embodiment of the invention, as shown in fig. 1, a scheme for simulating a river channel water quality parameter calculation method based on an SWMM model is provided, which can simulate the change degree of water quality in a river channel at different time periods, and can perform a water quality simulation module through the synergistic effect among different pollutants; the device can simulate the water quality of inflow rivers in different areas, can simulate the comprehensive sewage quality of an inflow river channel under the rain and sewage confluence situation, and can also simulate the rainwater quality of the inflow river channel under the rain and sewage diversion situation.
In the embodiment of the invention, a method for simulating river channel water quality parameter calculation based on an SWMM model is provided, and the method comprises the following steps:
step 100, establishing a river network model, and setting the transition section form of a river reach;
step 200, inputting water quantity and water quality parameters in corresponding modes for fitting;
and 300, representing the results of the water quantity and the water quality through the characteristics of the mode.
The embodiment of the invention is mainly applied to the field of river water quality treatment in drainage basins and the field of river water quality simulation; the method comprises the steps of calculating the water quality and water quantity of the target river channel by setting a mode after obtaining information such as branches, nodes, channels, water quantity, water flow and water quality of the target river channel, classifying the information of the target river channel, inputting the information of the target river channel into an SWMM software data processing system for planning, modeling the target river channel in the SWMM software data processing system into a river network model, setting multiple modes aiming at the target river channel to deal with various conditions which are possibly generated on the target river channel, such as the condition that the river water quantity is suddenly increased due to the increase of the rain water quantity in rainy days, the condition that the down-flow water quality is changed due to the influx of sewage in a certain area, the water quantity is reduced due to the dry weather, the condition that the water quantity of the river channel needs to be managed in the farming period and the like, calculating the water quality and water quantity of the target river channel by setting the mode, and simulating the water quantity condition of the target river channel in real time according to the abnormal condition, and corresponding treatment measures can be made for the target river channel in a targeted manner so as to guarantee the normality of the target river channel.
In the embodiment of the present invention, the establishing of the river network model, and the setting of the transition section form of the river reach includes:
drawing a river channel plan in the SWMM data processing system, comprising: and drawing the river channel plane graph by setting nodes and pipe channels, and carrying out grid digital processing on the river channel section in the river channel plane graph.
In the embodiment of the present invention, the establishing of the river network model, and the setting of the transition section form of the river reach includes: and setting a roughness coefficient for the straight river channel in the river network model, wherein the value range of the roughness coefficient is 0.025-0.035.
In the embodiment of the invention, in the SWMM software data processing system, a river channel plane graph is drawn through designed nodes and pipe channels, but because the actual shape of the river channel section is relatively complex, the river channel section is respectively subjected to grid digitalization by applying a grid method. Meanwhile, a certain specific river reach of the river channel in the formed one-dimensional river network model is usually reflected by two sections, and the specific river reach can be gradually transited from one section form to another section form, so that data processing or model processing is performed to obtain a section diagram. Then, inputting a cross section diagram and a river cross section after static grid digitization in SWMM software data processing for further data processing or model processing; at the moment, for a common straight river channel, the roughness coefficient of the straight river channel is 0.025-0.035; wherein, the smaller the roughness coefficient of the straight river channel is, the larger the flow velocity is.
In the embodiment of the present invention, the fitting of the input water quantity and water quality parameters in the corresponding modes includes:
step 201: defining pollutant types, and simulating the water quantity and the water quality of the upstream incoming water into a regulation and storage tank;
step 202: inputting the water quantity of the upstream incoming water and the water quality component of the upstream incoming water into a data processing system;
step 203: setting nodes to simulate the amount and quality of the passenger water in the cross-border river;
step 204: setting a baseline and a baseline mode, fitting the baseline and the baseline mode with the change of the water quantity of the transit channel passenger water, and converting the water quality of the transit channel passenger water into the baseline mode to be input into the data processing system.
In the embodiment of the present invention, the fitting of the input water quantity and water quality parameters in the corresponding modes includes:
the method comprises the steps of setting a position of a rain and sewage shunt at a drainage port of a river channel, setting a first inflow node to be connected to the position of the river channel, and inputting corresponding parameters of water quantity and water quality of the first inflow node.
In the embodiment of the present invention, the fitting the input water amount and water quality parameters in the corresponding modes further includes:
arranging a reservoir at the rain and sewage converging position at the drainage outlet, setting the daily change of the average concentration of the domestic sewage into a time mode, and inputting the corresponding domestic sewage flow;
in an embodiment of the present invention, the result of characterizing the water quantity and the water quality by the characteristics of the pattern includes:
and setting a second inflow node, connecting the second inflow node to the river channel position, and inputting corresponding parameters of the quantity and the quality of the rainwater of the second inflow node.
In an embodiment of the present invention, the result of characterizing the water quantity and the water quality by the characteristics of the pattern includes:
providing a discharge outlet downstream of the channel plan;
setting a water quantity attenuation factor according to the infiltration speed of the water quantity of the river channel, wherein the water quantity attenuation factor can take the value of 0.8-0.9 and is used for simulating the loss of water flow evaporation infiltration;
in the embodiment of the invention, a method for calculating the water quality parameters of a simulated riverway based on an SWMM model is provided, when the water quality parameters of the riverway are simulated through an SWMM data processing system, the types of pollutants to be researched are defined, the water quantity and the water quality of upstream incoming water are simulated into a regulation and storage tank, the water quantity and the water quality parameters of the upstream incoming water are input into the flow and the components, the water quantity and the water quality of the simulated border-crossing riverway passenger water by using nodes are set, a baseline mode and a baseline mode are fitted with the change of the water quantity of the riverway, and the inflow water quality of the upstream incoming water flowing into the riverway is changed into a baseline mode to be input;
setting inflow nodes at the drainage port required to be researched in the river channel and the position of the rain and sewage diversion at the same time, directly connecting the inflow nodes to the position of the river channel, and inputting corresponding parameters of water quantity and water quality;
for the rain and sewage converging position, arranging a water storage tank at a water discharge port, setting the daily change of the average concentration of the domestic sewage into a time mode, and inputting the corresponding water flow rate; and setting a second inflow node, connecting the second inflow node to the river channel position, and inputting corresponding parameters of the quantity and the quality of the rainwater of the second inflow node.
In the embodiment of the invention, the water quality is fitted and simulated by inputting the data of the degradation of the actual pollutants in the river channel, and the degradation curve is input into the canal as the baseline mode for simulation calculation.
In the embodiment of the invention, a discharge port is arranged at the downstream of a river channel plane diagram, and a water quantity attenuation factor is arranged in the plane river channel according to the infiltration speed of the water quantity of the river channel, wherein the water quantity attenuation factor can take the value of 0.8-0.9 and is used for simulating the loss of river channel water flow evaporation infiltration; during water quality simulation, the data of the degradation of actual pollutants in the riverway are fitted, and a degradation curve is input into the canal as a baseline mode to be simulated.
In the embodiment of the present invention, as shown in fig. 2 to 4, a method for simulating a river channel water quality parameter calculation based on an SWMM model is provided, which includes: in the SWMM software data processing system, drawing a graph 4 according to a river course actual plane and a river course flow direction, constructing nodes J _1, J _2, J _3, J _4, J _5 and a discharge outlet O1 according to a river course trend and a discharge outlet, and simulating a river course to construct a canal (Link) L _1, L _2, L _2, L _3, L _4 and L _5, wherein a river course section adopts an Irregular natural channel (Irregular), the section is constructed as shown in FIG. 2, and river course parameters adopt parameters of FIG. 3;
setting flow (Inflow) in J _1 to simulate the passenger water flow of the border-crossing river channel, and simultaneously inputting simulated pollutants to simulate the quality of the incoming water of the upstream river channel according to a time sequence mode;
inputting the flow rate of domestic sewage flowing into a river channel and the average change concentration of pollutants in a WU reservoir at a J _3 water discharge port, and inputting the quantity of rainwater discharged into the river channel and water quality change parameters in a su _ ra reservoir, wherein the method can be used for simulating the change of the combined river channel water quality and time in a rainwater and sewage area;
parameters in the WU reservoir are all modified to be 0 values, and the quality of rainwater entering the river channel is simulated only through the su _ ra reservoir.
In an embodiment of the present invention, a storage medium is provided, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the methods for calculating a river water quality parameter based on SWMM model simulation described above.
Based on the method shown in fig. 1, correspondingly, the embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for simulating the river channel water quality parameter based on the SWMM model as shown in the figure is implemented.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
In an embodiment of the present invention, a computer device is provided, which includes a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, and is characterized in that when the processor executes the computer program, the method for calculating the simulated riverway water quality parameter based on the SWMM model is implemented.
Based on the method shown in fig. 1, in order to achieve the above object, an embodiment of the present application further provides a computer device, which may be specifically a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; and the processor is used for executing a computer program to realize the method for simulating the river channel water quality parameter calculation based on the SWMM model shown in the figure 1.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also establish a river network model and set a transition section form of a river reach through hardware implementation; inputting water quantity and water quality parameters in corresponding modes for fitting; and characterizing the results of the water quantity and the water quality through the characteristics of the mode. The embodiment of the invention can simulate the change degree of water quality in different time periods in a river channel, and can carry out the water quality simulation module through the synergistic effect among different pollutants; the device can simulate the water quality of inflow rivers in different areas, can simulate the comprehensive sewage quality of an inflow river channel under the rain and sewage confluence situation, and can also simulate the rainwater quality of the inflow river channel under the rain and sewage diversion situation.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.