Farmland ditch water quality prediction method
Through the correction of the entropy weight method and the QUAL2K model, the problems of data quality and model accuracy in farmland ditch water quality prediction are solved, more accurate and reliable water quality prediction and management suggestions are achieved, and the pertinence and operability of water quality detection are improved.
Patent Information
- Application Number
- CN202410474442.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2024-09-06
AI Technical Summary
Existing farmland ditch water quality prediction methods lack standardization and systematization, data quality and accuracy are inconsistent, and model parameter determination and calibration lack scientific methods, resulting in large errors in prediction results, and management recommendations lack pertinence and operability.
The entropy weight method is used to calculate the weight of water quality parameters, build and calibrate the QUAL2K model, combine hydrological data and geometric features, set boundary conditions and simulation time, adjust parameters such as biochemical reaction rates, and use the calibrated model to predict water quality data.
It improves the accuracy and reliability of water quality prediction, provides targeted and operable water quality management suggestions, and enhances the comprehensive assessment and management capabilities of factors affecting water quality.
Smart Images

Figure CN118604281A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water quality detection, and in particular to a method for predicting farmland ditch water quality. Background Art
[0002] The water quality of farmland ditches is an important part of environmental protection and farmland management. It is of great significance to ensure the sustainable development of crop growth and ecological environment. However, traditional methods of farmland ditch water quality detection often only focus on a single water quality indicator, lack of evaluation and prediction of the overall water quality of farmland ditches, and farmland ditch management measures are also not targeted. In order to solve these problems, researchers began to explore water quality detection and prediction methods based on mathematical models, among which farmland ditch water quality prediction methods have gradually been widely used.
[0003] There are still some problems in the existing methods for predicting water quality in farmland ditches. In terms of data collection and processing, there is a lack of standardization and systematicness. There is no unified standard and specification for the existing methods when collecting and processing hydrological and water quality data, resulting in uneven data quality and accuracy, which affects the accuracy and reliability of predictions. In terms of determining and calibrating model parameters, there is a lack of precise methods and tools. The determination and calibration of model parameters mainly rely on experience and trial and error, and lack of scientific and precise tools and methods, which limits the accuracy of the model. There is a large uncertainty in the accuracy and reliability of model predictions. Due to the uncertainty of model parameters and the quality of input data, the model prediction results often have large errors, which affects the accuracy and reliability of water quality detection. There is a lack of comprehensive evaluation of the impact of different factors on water quality. Often, only the impact of a single factor on water quality is focused on, while the interaction between different factors is ignored, making it difficult to comprehensively evaluate and manage water quality. In terms of water quality management and improvement suggestions, there is a lack of pertinence and operability. The water quality management and improvement suggestions proposed in the existing technology are often too general and abstract, lack pertinence and operability, and are difficult to be effectively implemented in actual work. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a method for predicting water quality in a farmland ditch.
[0005] According to a first aspect of an embodiment of the present invention, a method for predicting farmland ditch water quality is provided, the method comprising:
[0006] Obtain water quality data along the farmland ditch; the water quality data along the ditch includes temperature, pH, dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids; and calculate the weights corresponding to dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids based on the entropy weight method;
[0007] Obtain hydrological data corresponding to farmland ditches;
[0008] Construct the QUAL2K model, define the geometric characteristics of the farm ditch in the QUAL2K model, and input the water quality data and hydrological data along the way into the QUAL2K model;
[0009] Setting boundary conditions for the QUAL2K model; the boundary conditions are upstream water quality conditions, the location of the sewage outlet and pollutant load;
[0010] Set the simulation time of the QUAL2K model, run the QUAL2K model to predict the transport and transformation of pollutants in farmland ditches, and obtain the water quality prediction data along the ditches;
[0011] Obtain the actual water quality data along the route after the simulation time, and compare the actual water quality data along the route with the predicted water quality data along the route to adjust the biochemical reaction rate, sedimentation rate, photosynthesis rate and aeration rate in the QUAL2K model to obtain a calibrated QUAL2K model;
[0012] The calibrated QUAL2K model is used to predict the water quality data along the farmland ditch to be tested.
[0013] According to a second aspect of an embodiment of the present invention, there is provided an electronic device comprising a memory and a processor, wherein the memory is coupled to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the above-mentioned method for predicting farmland ditch water quality.
[0014] According to a third aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the above-mentioned method for predicting farmland ditch water quality.
[0015] According to a fourth aspect of an embodiment of the present invention, there is provided a computer program product, comprising a computer program / instruction, which implements the above-mentioned method for predicting farmland ditch water quality when executed by a processor.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] The present invention provides a method for predicting water quality of farmland ditches. A QUAL2K model is constructed and calibrated according to the water quality data and hydrological data along the farmland ditches and the geometric characteristics of the farmland ditches. Finally, the calibrated QUAL2K model is used to predict the water quality data along the farmland ditches to be tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0019] Figure 1 A schematic diagram of a method for predicting farmland ditch water quality provided by an embodiment of the present invention;
[0020] Figure 2 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] It should be noted that, in the absence of conflict, the features in the following embodiments and implementations may be combined with each other.
[0023] like Figure 1 As shown, an embodiment of the present invention provides a method for predicting farmland ditch water quality, and the method specifically includes the following steps:
[0024] Step S1, obtaining water quality data along the farmland ditch; the water quality data along the ditch include temperature, pH, dissolved oxygen (DO), biochemical oxygen demand (BOD), chemical oxygen demand (COD), total nitrogen (TN), total phosphorus (TP), nitrate nitrogen, ammonia nitrogen, and suspended solids (SS); and calculating the weights corresponding to dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids based on the entropy weight method.
[0025] Specifically, the step S1 comprises the following steps:
[0026] Step S101, setting the distribution of sampling points so that the sampling points cover the farmland ditch area to be detected.
[0027] Furthermore, representative sampling points are selected to be distributed along the farmland ditches. According to the geographical characteristics and actual conditions of the study area, a sampling point is usually set every 10-20m to ensure that the sampling points cover the farmland ditch area to be tested.
[0028] Step S102, determine the sampling period, sample 2-4 times a month, sample continuously for at least 6 hours each time, and perform pre-processing such as data sorting and missing value processing on the collected data.
[0029] Step S103, according to the pre-processed water quality data along the way, the weights corresponding to dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids are calculated based on the entropy weight method.
[0030] Specifically, in this example, a data matrix is established for the water quality parameters of DO, BOD, COD, nitrogen, phosphorus, nitrate nitrogen and ammonia nitrogen, and the entropy value of each water quality parameter is calculated to reflect the degree of discreteness of each parameter in the monitoring data or the degree of missing information. According to the entropy value, the weight of each water quality parameter is calculated, and these weights are used to adjust the weights corresponding to dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen and ammonia nitrogen in the QUAL2K model, respectively, to optimize the prediction accuracy of the QUAL2K model.
[0031] Step S2, obtaining hydrological data corresponding to the farmland ditches.
[0032] Furthermore, the hydrological data includes flow and flow velocity of farmland ditches.
[0033] Step S3, constructing a QUAL2K model, defining the geometric features of the farmland ditch in the QUAL2K model, and inputting the water quality data and hydrological data along the way into the QUAL2K model.
[0034] Specifically, the step S2 comprises the following steps:
[0035] Step S301, constructing a QUAL2K model, obtaining data such as temperature, pH, dissolved oxygen (DO), biochemical oxygen demand (BOD), chemical oxygen demand (COD), total nitrogen (TN), total phosphorus (TP), nitrate nitrogen and ammonia nitrogen of farmland ditches, and corresponding weights into the QUAL2K model.
[0036] Step S302, in the QUAL2K model, define the physical dimensions and characteristics of the water body, and take the length, width, depth, and shape of the farmland ditch as data. At the same time, set the location of the water body's discharge port and water intake, as well as water conservancy facilities such as permeable dams, water barriers, and ecological ponds.
[0037] It should be noted that a detailed description of the land use types and agricultural activities around the water body is required. Among them, water conservancy facilities such as permeable dams, water retaining banks, and ecological ponds will affect the direction and rate of water flow and pollutant diffusion, and are key influencing factors in the prediction of water quality in farmland ditches.
[0038] Step S4, setting boundary conditions for the QUAL2K model; the boundary conditions are upstream water quality conditions, the location of the sewage outlet and the pollutant load;
[0039] Step S401, obtaining the real-time water quality status of the upstream water body at the entrance of the QUAL2K model simulation area through on-site monitoring and reference to historical data, and marking all known sewage outlet locations in the QUAL2K model, including point source pollution outlets directly entering farmland ditches;
[0040] Step S402, input the pollutant discharge of each sewage outlet into the QUAL2K model, and determine the pollutant load by referring to historical data.
[0041] Step S5, setting the simulation time of the QUAL2K model, running the QUAL2K model to predict the transmission and transformation process of pollutants in the farmland ditch, and obtaining the water quality prediction data along the way;
[0042] Furthermore, in this example, the simulation time range is set to 24h-48h. During the simulation, the concentration, distribution and changes over time of water pollutants output by the QUAL2K model are observed every 2h-4h.
[0043] It should be noted that the QUAL2K model simulation process also includes: considering the seasonal changes in temperature and weather conditions.
[0044] Step S6, obtaining the actual water quality data along the route after the simulation time, comparing the actual water quality data along the route with the predicted water quality data along the route, so as to adjust the biochemical reaction rate, sedimentation rate, photosynthesis rate and aeration rate in the QUAL2K model to obtain a calibrated QUAL2K model.
[0045] Furthermore, actual data of water quality along the process after the simulation time are collected, namely, temperature, pH, dissolved oxygen (DO), biochemical oxygen demand (BOD), chemical oxygen demand (COD), total nitrogen (TN), total phosphorus (TP), and actual data of nitrate nitrogen and ammonia nitrogen.
[0046] Exemplarily, when the difference between the predicted nitrate nitrogen data and the actual nitrate nitrogen data exceeds a preset threshold, the ammonia nitrogen nitrification rate in the QUAL2K model is adjusted;
[0047] When the difference between the predicted dissolved oxygen data and the actual dissolved oxygen data exceeds the preset threshold, the maximum growth rate of phytoplankton and benthic algae in the QUAL2K model is adjusted.
[0048] Step S7, using the calibrated QUAL2K model to predict the water quality data along the farmland ditch to be tested.
[0049] It should be noted that the impact can be assessed based on the predicted water quality data along the route, and a report can be written based on this, with suggestions for improving the water quality of farmland ditches.
[0050] Example 1
[0051] Step S1, obtaining water quality data along the farmland ditch; the water quality data along the ditch include temperature, pH, dissolved oxygen (DO), biochemical oxygen demand (BOD), chemical oxygen demand (COD), total nitrogen (TN), total phosphorus (TP), nitrate nitrogen, ammonia nitrogen, and suspended solids (SS); and calculating the weights corresponding to dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids based on the entropy weight method.
[0052] Furthermore, in this example, sampling points are distributed every 10 m to ensure that the sampling points cover the entire study area, and the sampling period is determined, with sampling conducted twice a month and each time for 6 consecutive hours.
[0053] Among them, the process of calculating the weights of dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids based on the entropy weight method is as follows:
[0054] (1) Constructing an evaluation matrix
[0055] Assume that there are n evaluated objects, each of which has m evaluation indicators, Q ij is the data corresponding to the i-th evaluation indicator of the j-th evaluated object (i=1,2,···,m; j=1,2,···,n). In this case, there are 8 evaluation objects and 8 evaluation indicators divided into eight months.
[0056]
[0057] (2) Construct the evaluation matrix as follows:
[0058]
[0059] (3) Positive processing of indicators
[0060] The evaluation index is converted into a very large index, and the evaluation matrix is processed positively to obtain the positive evaluation matrix X. The conversion method is to subtract the value of the index of each evaluation object from the maximum value of the index. The standardized matrix X is:
[0061]
[0062] (4) Standardization of indicators
[0063] The normalized matrix X is normalized to obtain the normalized matrix Z. The normalization of each element in Z refers to the following formula.
[0064]
[0065] The normalized matrix Z is:
[0066]
[0067] (5) Entropy calculation
[0068] Calculate the index proportion, P ij It is the proportion of the value of the ith option under the jth indicator to the indicator. The proportion is calculated according to the following formula.
[0069]
[0070] P is the weight matrix.
[0071]
[0072] Calculate the entropy value of the jth indicator, E j is the entropy value of the j-th indicator. The entropy value is calculated by referring to the following formula.
[0073]
[0074] When P ij =0, P ij LqCy ij =0.
[0075]
[0076]
[0077] (6) Calculation of coefficient of variation
[0078] Calculate the coefficient of variation of the jth indicator, G j is the coefficient of difference of the j-th indicator. The coefficient of difference is calculated by referring to the following formula.
[0079] G j =1-E j
[0080] The coefficient of variation can be obtained:
[0081]
[0082] (7) Weight calculation
[0083] Calculate the weight of the j-th indicator, W j is the weight of the j-th indicator. The weight calculation is based on the following formula.
[0084]
[0085] The weights of each indicator can be obtained by referring to formula (5-5).
[0086]
[0087] Step S2, obtaining hydrological data corresponding to the farmland ditches.
[0088] Step S3, constructing a QUAL2K model, defining the geometric features of the farmland ditch in the QUAL2K model, and inputting the water quality data and hydrological data along the way into the QUAL2K model.
[0089] Step S4, setting boundary conditions for the QUAL2K model; the boundary conditions are upstream water quality conditions, the location of the sewage outlet and the pollutant load.
[0090] Step S5, setting the simulation time of the QUAL2K model, running the QUAL2K model to predict the transmission and transformation process of pollutants in the farmland ditch, and obtaining the water quality prediction data along the way.
[0091] In this example, the simulation time range is set to 24 hours. During the simulation, the concentration, distribution and changes of water pollutants output by the model over time are observed for 2 hours.
[0092] During the simulation process, the impact of factors such as seasonal changes in temperature, weather conditions, the location of the sewage outlet, and pollutant load also needs to be considered.
[0093] Step S6, obtaining the actual water quality data along the route after the simulation time, comparing the actual water quality data along the route with the predicted water quality data along the route, so as to adjust the biochemical reaction rate, sedimentation rate, photosynthesis rate and aeration rate in the QUAL2K model to obtain a calibrated QUAL2K model.
[0094] Step S7, using the calibrated QUAL2K model to predict the water quality data along the farmland ditch to be tested.
[0095] Table 1 shows the water quality prediction data obtained in the first month through the selection of sampling points and sampling cycles, entropy calculation of water quality parameters and software simulation time step.
[0096] Table 1
[0097]
[0098] Example 2
[0099] The only difference from Example 1 is that, in the process of obtaining water quality data along the farmland ditch, sampling points are distributed every 15m to ensure that the sampling points cover the entire study area, and the sampling period is determined, sampling is performed 3 times a month, and each time is continuously sampled for 6 hours. The model is run in QUAL2K software, and the simulation time range is set to 36h. During the simulation process, the concentration, distribution and changes of water quality pollutants output by the model are observed for 3h.
[0100] Table 2 shows the water quality prediction data obtained in the second month through the selection of sampling points and sampling cycles, entropy calculation of water quality parameters and software simulation time step.
[0101] Table 2
[0102]
[0103]
[0104] Example 3
[0105] The only difference from Example 1 is that, in the process of obtaining water quality data along the farmland ditch, according to the geographical characteristics and actual conditions of the study area, sampling points are distributed every 20m to ensure that the sampling points cover the entire study area, and the sampling period is determined, and sampling is performed 4 times a month, each time for 6 hours. The model is run in QUAL2K software, and the simulation time range is set to 48h. During the simulation process, the concentration, distribution and changes of water quality pollutants output by the model are observed for 4h.
[0106] Table 3 shows the water quality prediction data obtained in the third month through the selection of sampling points and sampling cycles, entropy calculation of water quality parameters and software simulation time step.
[0107] Table 3
[0108]
[0109] Comparative Example 1
[0110] The only difference from Example 1 is that the entropy weight method is not used to optimize the accuracy of model prediction.
[0111] Comparative Example 2
[0112] The only difference from Example 1 is that after collecting the field measurement data, it is compared with the initial simulation results of the QUAL2K model, and the parameters such as the biochemical reaction rate, sedimentation rate, photosynthesis rate and aeration rate are adjusted to make the model prediction results closer to the actual observation data. The collected field measurement data is used for the initial comparison, and when it is found that there is a large difference between the model prediction results and the actual monitoring results, only the parameters such as the biochemical reaction rate and sedimentation rate are adjusted, without considering the impact of temperature and seasonal changes on these parameters.
[0113] Take the water quality test reports predicted by Examples 1-3 and Comparative Examples 1-2 respectively, analyze the water quality reports, and predict the suspended solids SS, DO, COD cr ,TP,TN,NO3 - -N and NH4 + -N and other performance indicators, as shown in Table 4, refer to the surface water environmental quality standard GB3838-2002.
[0114] Table 4
[0115] project SS DO <![CDATA[COD cr ]]> TP TN <![CDATA[NO 3 - -N]]> <![CDATA[NH 4 + -N]]> Example 1 46.57 4.83 38.66 0.24 4.89 0.46 1.38 Example 2 50.14 4.81 18.86 1.49 2.06 0.59 0.61 Example 3 48.50 6.22 15.76 0.18 1.50 0.42 0.34 Comparative Example 1 34.6 4.76 37.65 0.21 3.87 0.42 1.37 Comparative Example 2 65.7 3.8 38.54 0.27 3.75 0.41 1.12
[0116] Compared with Example 1, if the entropy weight method is not used to calculate the weights corresponding to suspended solids SS, dissolved oxygen (DO), biochemical oxygen demand (BOD), chemical oxygen demand (COD), total nitrogen (TN), total phosphorus (TP), nitrate nitrogen and ammonia nitrogen, it is impossible to consider the weight of the impact of each parameter on water quality more finely. Example 1 lacks a more comprehensive assessment of the importance of parameters and makes adjustments accordingly, and cannot be applied to complex environmental systems in which various parameters interact with each other in different ways.
[0117] Compared with Comparative Example 2, Example 1 is more detailed in adjusting the model parameters. It not only adjusts basic parameters such as biochemical reaction rate and deposition rate, but also considers the impact of environmental variables such as temperature and season on these parameters.
[0118] The entropy weight method more comprehensively reflects the actual importance of different parameters. Compared with Example 2, which introduces additional environmental variables in the parameter adjustment process, this may make the model more accurately reflect the complexity of the real world. The method provided by Example 2 may be simpler and more direct in implementation.
[0119] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for predicting farmland ditch water quality, It is characterized in that The method comprises: Obtain water quality data along the farmland ditch; the water quality data along the ditch includes temperature, pH, dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids; and calculate the weights corresponding to dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen, ammonia nitrogen, and suspended solids based on the entropy weight method; Obtain hydrological data corresponding to farmland ditches; Construct the QUAL2K model, define the geometric characteristics of the farmland ditch in the QUAL2K model, and input the water quality data along the way and the corresponding weights and hydrological data into the QUAL2K model; Setting boundary conditions for the QUAL2K model; the boundary conditions are upstream water quality conditions, the location of the sewage outlet and pollutant load; Set the simulation time of the QUAL2K model, run the QUAL2K model to predict the transport and transformation of pollutants in farmland ditches, and obtain the water quality prediction data along the ditches; Obtain the actual water quality data along the route after the simulation time, and compare the actual water quality data along the route with the predicted water quality data along the route to adjust the biochemical reaction rate, sedimentation rate, photosynthesis rate and aeration rate in the QUAL2K model to obtain a calibrated QUAL2K model; The calibrated QUAL2K model is used to predict the water quality data along the farmland ditch to be tested.
2. The method for predicting farmland ditch water quality according to claim 1, It is characterized in that The process of obtaining water quality data along the farm ditch includes: Set the distribution of sampling points so that the sampling points cover the farmland ditch area to be tested; Determine the sampling cycle, sampling 2-4 times a month, sampling for at least 6 hours each time, and pre-process the collected water quality data along the route; According to the pretreated water quality data along the route, the weights of dissolved oxygen, biochemical oxygen demand, chemical oxygen demand, total nitrogen, total phosphorus, nitrate nitrogen and ammonia nitrogen were calculated based on the entropy weight method.
3. The method for predicting farmland ditch water quality according to claim 1, It is characterized in that The geometric features that define the field ditches in the QUAL2K model include: Set the length, width, depth and shape of the farm ditch in the QUAL2K model; At the same time, the locations of the water body's discharge outlet, water intake, and water conservancy facilities are set; the water conservancy facilities include permeable dams, water retaining dams, and ecological ponds.
4. The method for predicting farmland ditch water quality according to claim 1, It is characterized in that Setting the simulation time of the QUAL2K model includes: The simulation time is set to 24h-48h.
5. The method for predicting farmland ditch water quality according to claim 1, It is characterized in that The process of running a QUAL2K model simulation also includes: Consider seasonal changes in temperature and weather conditions.
6. The method for predicting farmland ditch water quality according to claim 1, It is characterized in that Compare the actual water quality data along the route with the predicted water quality data along the route to adjust the biochemical reaction rate, sedimentation rate, photosynthesis rate and aeration rate in the QUAL2K model, including: When the difference between the predicted nitrate nitrogen data and the actual nitrate nitrogen data exceeds the preset threshold, the ammonia nitrogen nitrification rate in the QUAL2K model is adjusted; When the difference between the predicted dissolved oxygen data and the actual dissolved oxygen data exceeds the preset threshold, the maximum growth rate of phytoplankton and benthic algae in the QUAL2K model is adjusted.
7. An electronic device comprising a memory and a processor, It is characterized in that The memory is coupled to the processor; wherein the memory is used to store program data, and the processor is used to execute the program data to implement the farmland ditch water quality prediction method described in any one of claims 1-6 above.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method for predicting farmland ditch water quality as described in any one of claims 1-6 is implemented.
9. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instruction is executed by a processor, the method for predicting farmland ditch water quality described in any one of claims 1-6 is implemented.
