Method for risk assessment of agricultural non-point source pollution in watershed based on ontology and bayesian network
By constructing a watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks, the problems of insufficient simulation capability and inconsistent risk assessment in existing technologies are solved, achieving high-precision pollution simulation and risk assessment, and providing scientific decision support.
Patent Information
- Application Number
- CN202611696035.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-30
- Publication Date
- 2026-11-27
AI Technical Summary
Existing watershed agricultural non-point source pollution risk assessment technologies suffer from problems such as insufficient SWAT model simulation capabilities, lack of systematic semantic association in Bayesian network risk assessment, inconsistency in pollution risk assessment under climate change scenarios, and insufficient analysis of pollution driving mechanisms, making it difficult to achieve precise control and scientific decision-making.
Using ontology-based and Bayesian network-based methods, a watershed agricultural non-point source pollution risk assessment model is constructed through equal-standard pollution load accounting, spatial autocorrelation analysis, Durbin model effect decomposition, hydrological and water quality trend analysis, multi-scenario climate simulation, and data assimilation. Combined with the CMIP6 climate model and the CA-Markov model, multi-dimensional risk factor ontology modeling and Bayesian network assessment are achieved.
It improves the accuracy and spatiotemporal resolution of watershed agricultural non-point source pollution simulation, comprehensively captures the correlation of multiple risk factors, and quantitatively outputs the future pollution risk change pattern, providing a scientific basis for watershed water environment management.
Smart Images

Figure CN123180780A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water environment risk assessment technology, and in particular to a watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks. Background Technology
[0002] Existing watershed agricultural non-point source pollution risk assessment technologies mainly employ output coefficient methods and SWAT mechanistic models to calculate agricultural non-point source pollution loads, combine spatial statistical methods to analyze the spatiotemporal distribution characteristics of pollution, analyze pollution driving factors through STIRPAT models and spatial econometric models, and apply Bayesian networks to conduct uncertainty assessments of water quality risks. Some studies couple climate model data to analyze the impacts of climate change and land use change on watershed runoff and pollution loads.
[0003] However, existing technologies have several limitations: SWAT models lack the ability to perform detailed simulations of multi-source agricultural pollution processes; they have poor adaptability to the dynamic input of long-term vegetation LAI dynamic changes and multi-source pollution loads; their global optimization capability for parameter calibration is weak; and the spatiotemporal accuracy of simulation results is insufficient. Bayesian network risk assessment has not systematically sorted out the semantic relationships between risk influencing factors, and the coupling relationships between factors are fragmented, making it difficult to fully capture the risk transmission mechanism under the interaction of multiple factors. Pollution risk assessment under climate change scenarios has not achieved a systematic integration of climate model sets, land use evolution, and pollution process simulation; the connections between various links are not coherent, and it is impossible to fully output the dynamic changes in pollution risk under future scenarios. Pollution driving mechanism analysis does not adequately analyze the spatial spillover effects and the abrupt changes in hydrological and water quality stages; the effects of various influencing factors are not clearly decomposed, making it difficult to provide effective support for precise watershed zoning management. Summary of the Invention
[0004] The purpose of this invention is to provide a watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks, thereby solving the aforementioned technical problems.
[0005] To achieve the above objectives, this invention provides a watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks, the specific steps of which include: S1. Based on pollution source data including fertilizer application, livestock and poultry breeding and aquaculture in the watershed, the pollution load is statistically analyzed by unit survey method and converted by equivalent standard pollution load method to obtain the equivalent standard pollution load intensity of each spatial unit in the watershed. S2. Based on the standard pollution load intensity, the temporal variation characteristics, spatial distribution characteristics and spatial aggregation patterns of agricultural non-point source pollution in the watershed are obtained through spatiotemporal pattern analysis and spatial autocorrelation test. S3. Based on the STIRPAT model and watershed panel data, the effects were decomposed by constructing a spatial Durbin model to obtain the overall, direct, and indirect effects of each influencing factor on agricultural non-point source pollution. S4. Based on long-sequence temperature, precipitation, runoff and nitrogen and phosphorus monitoring data, the evolution law of watershed hydrology and water quality and the contribution of climate elements are obtained through trend testing, mutation point identification and contribution rate quantification. S5. Based on CMIP6 multi-model climate data, a multi-scenario climate change dataset for the watershed is obtained through bilinear interpolation and model performance evaluation. S6. Based on vegetation LAI, multi-source agricultural pollution data and SWAT model, a refined simulation model of agricultural non-point source pollution in the watershed is obtained through data assimilation and spatial adaptive parameter optimization calibration. S7. Based on the CA-Markov model and future multi-scenario climate change dataset, the changing patterns of agricultural non-point source pollution in the watershed under different future climate scenarios are obtained through land use prediction and multi-scenario driven simulation. S8. Based on the multi-dimensional influencing factors of agricultural non-point source pollution risk in watersheds, an ontology-driven Bayesian network risk assessment structure is obtained through ontology semantic modeling and Bayesian network structure mapping. S9. Based on historical monitoring data and a Bayesian network risk assessment structure, the probability of occurrence of agricultural non-point source pollution in the watershed and the dominant risk factors are obtained through probabilistic reasoning and sensitivity analysis.
[0006] Preferably, S1 specifically includes: Based on the pollution data of total nitrogen, total phosphorus, and chemical oxygen demand from three types of pollution sources in the watershed, the pollution load of each type of pollutant in each spatial unit was statistically analyzed and summed using the unit survey method to obtain the total pollution load of pollutants in each spatial unit. Based on the total pollution load and the pollutant evaluation benchmark value, the pollution load was converted into a unified and comparable equivalent pollution load using the equivalent pollution load method. Combined with the area of the watershed spatial unit, the equivalent pollution load intensity was obtained. The formula for calculating the standard pollution load is as follows: ; in, pollutants The standard pollution load; pollutants Pollution load; pollutants The corresponding evaluation benchmark value; The formula for calculating the standard pollution load intensity is: ; in, To equal standard pollution load intensity, The area represents the spatial unit area of the watershed.
[0007] Preferably, in S2, based on the standard pollution load intensity of each spatial unit, the spatial autocorrelation test is performed by calculating the global Moran index to obtain the spatial clustering characteristics of agricultural non-point source pollution in the watershed; the formula for calculating the global Moran index is: ; in, This represents the total number of spatial units. , Units and unit The standard pollution load intensity; This represents the average pollution load intensity of all units at the standard level. These are elements of the spatial weight matrix; they take a value of 1 when the elements are adjacent and a value of 0 when they are not adjacent.
[0008] Preferably, in S3, based on the STIRPAT model framework and watershed panel data, a spatial Durbin model is constructed to fit the spatial correlation between pollution load and influencing factors, and the overall effect, direct effect and indirect effect of each influencing factor are obtained through partial differential decomposition calculation. The spatial Durbin model takes the form of: ; in, The dependent variable matrix represents the standard pollution load intensity. The matrix contains independent variables including agricultural agglomeration, rural population, per capita GDP, and agricultural structure. This is the spatial weight matrix; These are the spatial autoregressive coefficients; The regression coefficients are the independent variables. The coefficients of the spatially lagged independent variable; It is a unit column vector; For constant terms; This is the error term.
[0009] Preferably, S4 specifically includes: Based on long-term hydrological, meteorological, and water quality monitoring data, the slope of the sequence change was calculated using the Sen slope estimation method, and the significance of the sequence change trend was judged by combining the Mann-Kendall trend test, thus obtaining the long-term change law of hydrological and water quality elements. The Pettitt mutation test and cumulative anomaly method were used to identify the sequence mutation points and divide the baseline period and the measure period. The linear relationship between cumulative runoff and cumulative precipitation in the baseline period was established based on the double cumulative curve method, quantifying the contribution rate of temperature and precipitation to hydrological and water quality changes. The formula for calculating the Sen slope is: ; in, , The time series are respectively the first , The observed value at time; This is the estimated slope value for Sen. This indicates that the sequence is trending upwards. This indicates that the sequence is in a downward trend; Let be the median function, for all satisfying The median of the calculated slope is taken over the time interval.
[0010] Preferably, S5 specifically includes: Based on the raw climate data from the CMIP6 multi-model system, the model data of different resolutions were unified to 0.5°×0.5° resolution using bilinear interpolation. The simulation effects of each model on historical precipitation and temperature were evaluated using Taylor plots and relative bias methods, and a set of climate models suitable for the watershed was selected. Based on the selected set of climate models, the future climate change datasets of the watershed under the SSP1-2.6, SSP2-4.5, SSP3-7.0, and SSP5-8.5 scenarios were obtained by multi-model ensemble averaging.
[0011] Preferably, in S6, an improved global dynamic dimension search algorithm is used to perform spatial adaptive optimization calibration on the SWAT model. The perturbation probability in the algorithm is dynamically adjusted with the number of iterations, and the global jump mechanism and parallel search strategy are combined to avoid getting trapped in local optima. The formula for calculating the probability of disturbance is: ; in, The perturbation probability is the probability of applying a random perturbation to the current candidate solution during the parameter optimization iteration process. It is dynamically adjusted with the number of iterations and is used to balance the algorithm's global exploration capability and local optimization accuracy. The maximum number of iterations is the upper limit of the total number of iterations preset by the algorithm. This represents the current iteration number; The formula for generating candidate solutions is: ; in, For the first New candidate solution values for each model parameter; For the first The current solution value of each model parameter; For the first The perturbation step size of each model parameter; These are random numbers distributed according to a standard normal distribution. The range and probability distribution of the optimal parameters of the model are identified by inverting the generalized likelihood uncertainty estimation method.
[0012] Preferably, in S7, based on historical land use data, the future land use pattern is predicted using a CA-Markov model, where the formula for calculating the Markov chain transition probability is: ; In the formula, Land type Convert to type The transition probability; For the type of study period Convert to type The number of pixels; This represents the total number of land use types. By combining neighborhood effect and multi-criteria constraints to generate future land use data, and inputting it into the watershed agricultural non-point source pollution refinement simulation model, the spatiotemporal variation patterns of watershed agricultural non-point source pollution load under different climate scenarios are simulated.
[0013] Preferably, S8 specifically includes: Risk impact factors of agricultural non-point source pollution in watersheds are extracted from dimensions including risk drivers, risk formation environment, risk bearers, and risk mitigation capabilities. Based on the risk impact factors, the semantic relationships between the factors are expressed through ontology modeling methods to construct a standardized risk knowledge ontology. Conceptual entities in the risk knowledge ontology are mapped to Bayesian network nodes, and semantic relationships in the ontology are mapped to directed edges in the Bayesian network to obtain an ontology-based Bayesian network risk assessment structure. Among them, risk drivers include runoff, flow velocity, water level, weather, fertilizer application, livestock and poultry farming, and aquaculture; risk formation environment includes topography, river network, and land use; risk bearers include river vegetation biomass, average GDP, and water supply density; and risk mitigation capacity includes fertilizer reduction.
[0014] Preferably, in S9, uncertainty probability inference is performed based on Bayes' theorem. The expression of Bayes' theorem is: ; in, Let be the posterior probability, representing the probability in the evidence event. Under the conditions that the target risk event occurs The probability of occurrence; The target event, i.e. the target node in the Bayesian network, corresponds to the risk level event of agricultural non-point source pollution in the watershed; These are evidence events, i.e., evidence nodes in a Bayesian network, corresponding to observable risk impact factor events; Let be the likelihood probability, representing the probability of a target risk event. Under the conditions that occur, an evidentiary event occurs. The conditional probability; The prior probability represents the target risk event obtained from historical data statistics, independent of current evidence. The initial probability of occurrence; Let be the total probability of evidence, representing the evidence event under all risk levels. The sum of the probabilities of occurrence; The joint probability distribution of nodes is calculated using the chain rule, and the conditional probability table of each node is trained by combining historical monitoring data. Evidence node data under future scenarios are input to infer the probability of occurrence of agricultural non-point source pollution in the watershed under different climate scenarios. The dominant risk factors of agricultural non-point source pollution in the watershed are identified through sensitivity analysis.
[0015] Therefore, the watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks described above has the following beneficial effects: 1. By assimilating and embedding multi-source data on long-term monthly vegetation LAI, fertilizer application, livestock and poultry farming, and aquaculture into the SWAT model, and using an improved global dynamic dimension search algorithm to complete the adaptive optimization calibration of the model space, the accuracy and spatiotemporal resolution of the watershed agricultural non-point source pollution load simulation are improved. It can stably characterize the dynamic changes of pollution transport and transformation over long time series, providing reliable basic data support for subsequent risk assessment.
[0016] 2. By constructing a multi-dimensional risk factor ontology covering risk drivers, risk formation environment, risk bearers, and risk mitigation capabilities, the concepts and semantic relationships in the ontology are mapped to nodes and directed edges of a Bayesian network. Probability distributions are constructed based on historical monitoring data to conduct inference. This solves the problem of the lack of systematic modeling of complex semantic relationships between factors in existing Bayesian network risk assessments. It realizes the standardized expression of risk knowledge and the quantitative characterization of risk uncertainty. It can comprehensively capture the potential correlations between multiple risk factors and improve the systematicness and accuracy of risk probability assessment.
[0017] 3. By constructing a multi-scenario climate change dataset through the CMIP6 climate model set, and combining it with the CA-Markov model to predict future land use pattern changes, and coupling it with the watershed agricultural non-point source pollution simulation model to carry out simulation calculations under different SSP scenarios, we can quantitatively output the dynamic risk change patterns of watershed agricultural non-point source pollution under different future climate and land use scenarios, and provide a scientific decision-making basis for the formulation of medium- and long-term water environment management and non-point source pollution prevention and control strategies in the watershed.
[0018] 4. Through standard pollution load accounting, spatial autocorrelation analysis, spatial Durbin model effect decomposition, and hydrological and water quality trend change analysis, the temporal variation characteristics, spatial aggregation patterns, and core driving mechanisms of agricultural non-point source pollution in the watershed were analyzed. The overall, direct, and indirect effects of each influencing factor on pollution can be quantified, and the contribution of climate elements to hydrological and water quality changes can be clarified.
[0019] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0020] Figure 1 The flowchart shows the watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks provided by this invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of the present invention and are not intended to limit the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of this application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout.
[0022] It should be noted that the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, such as a process, method, system, product, or server that includes a series of steps or units, not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or device.
[0023] The following is in conjunction with the appendix Figure 1 The embodiments of the present invention will be described in detail below.
[0024] Current watershed agricultural non-point source pollution risk assessments mostly rely on single-mechanism models to simulate pollution loads, use conventional statistical methods to analyze pollution drivers, and primarily employ deterministic grading for risk assessment. They have limited ability to simulate multi-source agricultural pollution processes in a refined manner, lack systematic semantic modeling of the relationships between risk influencing factors, and fail to integrate climate change scenarios, land use evolution, and pollution risk assessment across the entire chain. This makes it difficult to quantitatively output the dynamic changes in pollution risks under multiple scenarios in the medium and long term, and thus cannot provide sufficient decision support for precise prevention and control of watershed water environment.
[0025] Based on the above analysis, the specific implementation details are as follows: Example 1: This embodiment takes a typical agricultural non-point source pollution watershed as the study area, with a baseline study period of 2000-2022 and future prediction periods of 2045 and 2075. The specific implementation process is as follows: S1. Estimation and analysis of agricultural non-point source pollution in the watershed: Based on statistical data of three types of pollution sources—fertilizer application, livestock and poultry farming, and aquaculture—in a typical agricultural non-point source pollution basin, a unit survey method was adopted. Using total nitrogen (TN), total phosphorus (TP), and chemical oxygen demand (COD) as pollution load indicators, the pollutant emissions of each type of pollution source in each city were calculated separately, and the total pollution load of TN, TP, and COD in each city was obtained by summing them. The equivalent standard pollution load method was used to convert the different pollutant loads into a unified and comparable equivalent standard pollution load, and the equivalent standard pollution load intensity was calculated in combination with the basin area of each city.
[0026] The formula for calculating the standard pollution load is: ; In the formula, For the first Standard pollution load of pollutants of class 1; For the first Pollution load of pollutants, expressed in t / a; For the first The evaluation benchmark values for the pollutants are taken from Class III of the "Surface Water Environmental Quality Standard" in this embodiment, with TN taken as 1.0 mg / L, TP taken as 0.2 mg / L, and COD taken as 20 mg / L.
[0027] The formula for calculating the standard pollution load intensity is: ; In the formula, The standard pollution load intensity is expressed in m³. 3 / (km 2 ·a); The watershed area corresponding to the prefecture-level city is shown in km². 2 .
[0028] According to calculations, the standard pollution load intensity of a typical agricultural non-point source pollution basin in 2022 was 12.6 × 10⁻⁶. 4 m 3 / (km 2 •a), of which fertilizer sources account for 58%.
[0029] S2. Spatiotemporal variation characteristics of agricultural non-point source pollution in the watershed: Based on the standardized pollution load intensity data of each spatial unit in 2000, 2005, 2010, 2015 and 2022, a spatial distribution map was drawn using ArcGIS 10.8 to analyze the spatial distribution characteristics of the pollution load; spatial autocorrelation test was carried out by calculating the global Moran's I index to identify the spatial clustering pattern of pollution.
[0030] The formula for calculating the global Moran index is: ; In the formula, To determine the total number of spatial units, this embodiment divides the watershed into 32 sub-watershed units; , The first The and the first The standard pollution load intensity of each sub-basin; This represents the average pollution load intensity at the standard level across all sub-basins; The elements of the spatial weight matrix are based on the adjacency weight rule, with a value of 1 when sub-basins are adjacent and a value of 0 when they are not adjacent.
[0031] The global Moran's I for agricultural non-point source pollution in a typical agricultural non-point source pollution basin in 2022 was calculated to be 0.42. The result passed the 1% significance test, indicating that agricultural non-point source pollution in the basin exhibits spatial clustering characteristics, with high-value areas mainly distributed in the densely planted agricultural areas in the middle and lower reaches.
[0032] S3. Analysis of factors influencing agricultural non-point source pollution in the watershed: Based on the STIRPAT model framework, a spatial Durbin model was constructed using panel data from various cities in the basin from 2000 to 2022. The standard pollution load intensity was used as the dependent variable, agricultural agglomeration as the core explanatory variable, and rural population, per capita GDP, and agricultural structure as control variables. The model parameters were estimated by the maximum likelihood method, and the influence of each factor was decomposed into overall effect, direct effect, and indirect effect by the partial differential decomposition method.
[0033] The spatial Durbin model takes the form of: ; In the formula, The dependent variable matrix represents the standard pollution load intensity. is a matrix of independent variables, where agricultural agglomeration is represented by agricultural output per unit area, rural population is the size of the rural resident population, per capita GDP is converted at comparable prices, and agricultural structure is the proportion of crop output to total agricultural output. This is the spatial weight matrix; These are the spatial autoregressive coefficients; The regression coefficients are the independent variables. The coefficients of the spatially lagged independent variable; It is a unit column vector; For constant terms; This is the random error term.
[0034] The model results show that the direct effect of agricultural agglomeration on agricultural non-point source pollution is 0.31, and the indirect effect is 0.18. Local agricultural agglomeration not only increases the local pollution load, but also increases the pollution level of neighboring areas through spatial spillover effects.
[0035] S4. Analysis of changes in watershed hydrology and water quality: Based on temperature and precipitation data from meteorological stations in the basin from 1961 to 2017, and runoff and nitrogen and phosphorus monitoring data from hydrological stations, the Sen slope estimation method was used to calculate the rate of change of the sequence, and the Mann-Kendall trend test was used to determine the significance of the trend. The Pettitt mutation test and cumulative anomaly method were used to identify the mutation points of the sequence and to divide the baseline period and the measure period. Based on the double cumulative curve method, a linear relationship between cumulative runoff and cumulative precipitation in the baseline period was established to quantify the contribution rate of temperature and precipitation to hydrological and water quality changes.
[0036] The formula for calculating the Sen slope is: ; In the formula, , The time series are respectively the first , The observed value at time; This is the estimated slope value for Sen. This indicates that the sequence is trending upwards. This indicates that the sequence is in a downward trend; Let be the median function, for all satisfying The time interval is taken as the median of the slope calculated.
[0037] The Mann-Kendall trend test is used to examine the significance of the long-term trend of the sequence. The formula for calculating the test statistic is as follows: ; in, This is the Mann-Kendall trend test statistic. A positive statistic indicates that the series is trending upward, while a negative statistic indicates that the series is trending downward. The larger the absolute value, the stronger the significance of the trend. This represents the total sample length of the time series, which is the total number of time periods corresponding to the observation data of hydrological, meteorological, and water quality elements. , Let be the time index of the time series, and satisfy . ; , The time series are respectively the first Time, Number The observed values at each moment correspond to hydrological, meteorological, and water quality elements such as temperature, precipitation, runoff, and nitrogen and phosphorus concentrations, which are awaiting verification. This is a sign function used to determine the positive or negative direction of the difference between observations at two different times. ; The function takes the value 1 when the difference is greater than 0, 0 when the difference is equal to 0, and -1 when the difference is less than 0.
[0038] when At that time, the statistic It approximately follows a normal distribution, and the significance level of the trend can be determined by calculating standardized statistics.
[0039] The Pettitt mutation test was used to identify sequence mutation points, and the statistical measure was... The calculation formula is: ; In the formula, This represents the total length of the time series. The candidate locations for mutation points are defined, and their values range from [value range missing]. Statistic When taking the maximum value, the corresponding This refers to the sequence mutation point.
[0040] The cumulative anomaly method is used to help determine the phased changes in a sequence. The formula for calculating the cumulative anomaly is: ; in, The mean of the time series; For the first The cumulative anomaly at any given time; the rising segment of the cumulative anomaly curve indicates that the sequence value is higher than the mean, the falling segment indicates that the sequence value is lower than the mean, and the inflection point of the curve corresponds to the approximate year of the abrupt change.
[0041] Based on the double cumulative curve method to quantify the contribution rate of climate elements to hydrological and water quality changes, the linear relationship between cumulative runoff and cumulative precipitation in the baseline period is as follows: ; in, Cumulative runoff over the baseline period; This represents the cumulative precipitation over the baseline period. The slope represents the linear regression, reflecting the baseline response relationship between precipitation and runoff. The intercept of the linear regression is used. The measured cumulative precipitation during the measure period is substituted into the linear equation of the baseline period to obtain the natural runoff. The difference between the measured runoff and the natural runoff is the contribution of human activities, thereby quantifying the contribution rate of precipitation and human activities to hydrological and water quality changes.
[0042] Analysis showed that the abrupt change in annual runoff in the basin occurred in 1991. Based on this, the period from 1961 to 1991 was designated as the baseline period, and the period from 1992 to 2017 was designated as the period for mitigation measures. The double cumulative curve calculation showed that precipitation contributed 68% to the change in runoff, temperature contributed 22%, and the remainder was contributed by human activities.
[0043] S5. Construction of Basin Climate Change Scenarios: We selected output data from 46 global climate models in CMIP6 and used bilinear interpolation to unify the model data at different resolutions to a resolution of 0.5°×0.5°. Based on Taylor plots and relative bias, we evaluated the simulation effects of each model on the historical precipitation and temperature of the watershed. We comprehensively evaluated the models from three dimensions: correlation coefficient, root mean square error, and standard deviation, and selected 10 climate models that are suitable for a typical agricultural non-point source pollution watershed. We then used the multi-model ensemble averaging method on the selected models to obtain future monthly-scale climate change datasets under four scenarios: SSP1-2.6, SSP2-4.5, SSP3-7.0, and SSP5-8.5.
[0044] According to the ensemble average, under the SSP5-8.5 scenario, the average temperature in the basin in 2075 will be 2.8℃ higher than the baseline period of 1995-2014, and the annual precipitation will increase by 12% compared with the baseline period.
[0045] S6. Simulation of agricultural non-point source pollution processes in the watershed: Long-term monthly MODIS vegetation LAI data, monthly watershed fertilizer application data, livestock and poultry breeding wastewater discharge data, and aquaculture wastewater discharge data were collected. An ensemble Kalman filter and smoothing assimilation method were used to embed the multi-source data into a SWAT model, constructing a refined simulation model of agricultural non-point source pollution in a typical agricultural non-point source pollution watershed. An improved global dynamic dimension search algorithm was used for spatial adaptive optimization and calibration of the model. The perturbation probability in the algorithm is dynamically adjusted with the number of iterations, and a global jump mechanism and parallel search strategy are combined to avoid getting trapped in local optima. A generalized likelihood uncertainty estimation method was used to inversely identify the range and probability distribution of the optimal parameters of the model.
[0046] The formula for calculating the probability of disturbance is: ; The formula for generating candidate solutions is: ; In the formula, This represents the current iteration number; The maximum number of iterations is set to 200 in this embodiment; The probability of perturbation; For the first The current solution value of each model parameter; For the first New candidate solution values for each model parameter; For the first The perturbation step size for each model parameter is taken as 5% of the parameter value range; These are random numbers that follow a standard normal distribution.
[0047] After calibration, the Nash efficiency coefficient of the monthly runoff in the model reached 0.78, and the relative error of the TN load simulation was less than 15%, which meets the accuracy requirements for watershed pollution simulation.
[0048] S7. Prediction of agricultural non-point source pollution in the watershed under future scenarios: Based on land use data from a typical agricultural non-point source pollution watershed in 2010 and 2015, and considering natural and socio-economic constraints, the CA-Markov model was used to simulate and predict the watershed land use pattern in 2045 and 2075. The predicted land use data, future climate change datasets, and vegetation LAI data under the corresponding scenarios were input into the calibrated SWAT model to simulate the changing patterns of agricultural non-point source pollution in the watershed during wet and dry seasons under four SSP scenarios.
[0049] The formula for calculating the transition probability of a Markov chain is: ; In the formula, Land use type Convert to type The transition probability; For the type of study period Convert to type The number of pixels; The total number of land use types is categorized into six types in this embodiment: cultivated land, forest land, grassland, water area, construction land, and unused land.
[0050] The logical expression for CA space allocation is: ; In the formula, For the next moment, the land use status; This refers to the current land use status. The neighborhood effect refers to the influence of land use types surrounding a cell on the central cell; the constraints include natural constraints and socio-economic constraints; by combining Markov transition probabilities with the neighborhood rules and constraints of cellular automata, the spatial allocation of future land use patterns is simulated.
[0051] Simulation results show that under the SSP5-8.5 scenario, the TN pollution load in the watershed will increase by 21% and the TP pollution load will increase by 17% in 2075 compared to the baseline period, with the high-pollution area further expanding to the agricultural areas surrounding towns in the middle and lower reaches.
[0052] S8. Identification and Network Construction of Agricultural Non-point Source Pollution Risk Factors in Watersheds: From four dimensions—risk drivers, risk formation environment, risk bearers, and risk mitigation capabilities—14 risk influencing factors were extracted, including runoff, flow velocity, water level, meteorology, fertilizer application, livestock and poultry farming, aquaculture, topography, river network, land use, river vegetation biomass, average GDP, water supply density, and fertilizer reduction. An ontology modeling method was used to express the semantic relationships between the factors, and a standardized risk knowledge ontology was constructed. Conceptual entities in the ontology were mapped to Bayesian network nodes, and semantic relationships in the ontology were mapped to directed edges in the Bayesian network, resulting in an ontology-driven Bayesian network risk assessment structure with 14 nodes and 21 directed edges.
[0053] S9. Risk Probability Assessment of Agricultural Non-point Source Pollution in the Watershed The risk of agricultural non-point source pollution in the watershed is divided into three levels: low risk, medium risk, and high risk. Based on historical meteorological, hydrological, and water quality data from 2000 to 2022, conditional probability tables for each node of a Bayesian network are obtained through statistical learning. Uncertainty probability inference is carried out based on Bayes' theorem. Evidence node data under different future scenarios are input to calculate the probability of occurrence of each risk level of agricultural non-point source pollution in the watershed under the corresponding scenarios. Sensitivity analysis is used to identify the dominant risk factors affecting agricultural non-point source pollution in the watershed.
[0054] Bayes' theorem is expressed as follows: ; In the formula, This refers to the posterior probability, i.e., the evidence event. Target risk event under the condition of occurrence The probability of occurrence; The target event is categorized into three risk levels: high risk, medium risk, and low risk. For evidence events, corresponding to observable risk factors such as runoff and fertilizer application rate; Likelihood probability is the conditional probability of finding corresponding evidence given that a risk event has occurred. This is the prior probability, which is the initial probability of a risk event occurring based on historical data statistics. The total probability of evidence is the sum of the probabilities of evidence events occurring under all risk levels.
[0055] The joint probability distribution of all nodes in a Bayesian network is calculated using the chain rule. The formula is as follows: ; In the formula, For all nodes of the Bayesian network; For nodes The set of all parent nodes; For nodes The conditional probability.
[0056] Given evidence At that time, the target node The formula for calculating the posterior probability is:
[0057] In the formula, The target node corresponds to the pollution risk level; This is the set of hidden nodes excluding the target node and the evidence node. This is the set of all nodes except for the evidence nodes; this formula allows us to infer the posterior probability of the target risk level after inputting the evidence data.
[0058] Based on reasoning and calculation, under the SSP5-8.5 scenario, the probability of high-risk agricultural non-point source pollution in a typical agricultural non-point source pollution basin in 2075 is 38%, an increase of 17 percentage points compared to the baseline period. Sensitivity analysis results show that fertilizer application and annual precipitation are the top two dominant risk factors, with sensitivities of 0.35 and 0.28, respectively.
[0059] In summary, this embodiment improves the accuracy of pollution simulation through multi-source data assimilation, achieves systematic and quantitative risk assessment through the fusion of ontology and Bayesian network, and outputs the dynamic laws of medium- and long-term pollution risks through multi-scenario coupled simulation. It can provide quantitative decision-making basis for the prevention and control of agricultural non-point source pollution and water environment management in a typical agricultural non-point source pollution watershed.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks, characterized in that, Includes the following steps: S1. Based on pollution source data from fertilizer application, livestock and poultry farming, and aquaculture in the watershed, the pollution load is statistically analyzed using the unit survey method and converted using the equivalent pollution load method to obtain the equivalent pollution load intensity of each spatial unit in the watershed; S2. Based on the equivalent pollution load intensity, the temporal variation characteristics, spatial distribution characteristics, and spatial aggregation patterns of agricultural non-point source pollution in the watershed are obtained through spatiotemporal pattern analysis and spatial autocorrelation test; S3. Based on the STIRPAT model and watershed panel data, the effects are decomposed by constructing a spatial Durbin model to obtain the overall, direct, and indirect effects of each influencing factor on agricultural non-point source pollution; S4. Based on long-sequence temperature, precipitation, runoff and nitrogen and phosphorus monitoring data, the evolution law of watershed hydrology and water quality and the contribution of climate elements are obtained through trend testing, mutation point identification and contribution rate quantification. S5. Based on CMIP6 multi-model climate data, a multi-scenario climate change dataset for the watershed is obtained through bilinear interpolation and model performance evaluation. S6. Based on vegetation LAI, multi-source agricultural pollution data and SWAT model, a refined simulation model of agricultural non-point source pollution in the watershed is obtained through data assimilation and spatial adaptive parameter optimization and calibration. S7. Based on the CA-Markov model and future multi-scenario climate change dataset, the changing patterns of agricultural non-point source pollution in the watershed under different future climate scenarios are obtained through land use prediction and multi-scenario driven simulation. S8. Based on the multi-dimensional influencing factors of agricultural non-point source pollution risk in watersheds, an ontology-driven Bayesian network risk assessment structure is obtained through ontology semantic modeling and Bayesian network structure mapping. S9. Based on historical monitoring data and a Bayesian network risk assessment structure, the probability of occurrence of agricultural non-point source pollution in the watershed and the dominant risk factors are obtained through probabilistic reasoning and sensitivity analysis.
2. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 1, characterized in that: S1 specifically includes: Based on the pollution data of total nitrogen, total phosphorus, and chemical oxygen demand from three types of pollution sources in the watershed, the pollution load of each type of pollutant in each spatial unit was statistically analyzed and summed using the unit survey method to obtain the total pollution load of pollutants in each spatial unit. Based on the total pollution load and the pollutant evaluation benchmark value, the pollution load was converted into a unified and comparable equivalent pollution load using the equivalent pollution load method. Combined with the area of the watershed spatial unit, the equivalent pollution load intensity was obtained. The formula for calculating the standard pollution load is as follows: ; in, pollutants The standard pollution load; pollutants Pollution load; pollutants The corresponding evaluation benchmark value; The formula for calculating the standard pollution load intensity is: ; in, To equal standard pollution load intensity, The area represents the spatial unit area of the watershed.
3. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 2, characterized in that: In S2, based on the standard pollution load intensity of each spatial unit, the spatial autocorrelation test is performed by calculating the global Moran index to obtain the spatial clustering characteristics of agricultural non-point source pollution in the watershed. The formula for calculating the global Moran index is: ; in, This represents the total number of spatial units. , Units and unit The standard pollution load intensity; This represents the average pollution load intensity of all units at the standard level. These are elements of the spatial weight matrix; they take a value of 1 when the elements are adjacent and a value of 0 when they are not adjacent.
4. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 3, characterized in that: In S3, based on the STIRPAT model framework and watershed panel data, a spatial Durbin model is constructed to fit the spatial correlation between pollution load and influencing factors. Through partial differential decomposition calculations, the overall effect, direct effect and indirect effect of each influencing factor are obtained. The spatial Durbin model takes the form of: ; in, The dependent variable matrix represents the standard pollution load intensity. The matrix contains independent variables including agricultural agglomeration, rural population, per capita GDP, and agricultural structure. This is the spatial weight matrix; These are the spatial autoregressive coefficients; The regression coefficients are the independent variables. The coefficients of the spatially lagged independent variable; It is a unit column vector; For constant terms; This is the error term.
5. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 4, characterized in that: S4 specifically includes: Based on long-term hydrological, meteorological, and water quality monitoring data, the slope of the sequence change was calculated using the Sen slope estimation method, and the significance of the sequence change trend was judged by combining the Mann-Kendall trend test, thus obtaining the long-term change law of hydrological and water quality elements. The Pettitt mutation test and cumulative anomaly method were used to identify the sequence mutation points and divide the baseline period and the measure period. The linear relationship between cumulative runoff and cumulative precipitation in the baseline period was established based on the double cumulative curve method, quantifying the contribution rate of temperature and precipitation to hydrological and water quality changes. The formula for calculating the Sen slope is: ; in, , The time series are respectively the first , The observed value at time; This is the estimated slope value for Sen. This indicates that the sequence is trending upwards. This indicates that the sequence is in a downward trend; Let be the median function, for all satisfying The median of the calculated slope is taken over the time interval.
6. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 5, characterized in that: S5 specifically includes: Based on the raw climate data from the CMIP6 multi-model system, the model data of different resolutions were unified to 0.5°×0.5° resolution using bilinear interpolation. The simulation effects of each model on historical precipitation and temperature were evaluated using Taylor plots and relative bias methods, and a set of climate models suitable for the watershed was selected. Based on the selected set of climate models, the future climate change datasets of the watershed under the SSP1-2.6, SSP2-4.5, SSP3-7.0, and SSP5-8.5 scenarios were obtained by multi-model ensemble averaging.
7. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 6, characterized in that: In S6, an improved global dynamic dimension search algorithm is used to perform spatial adaptive optimization calibration of the SWAT model. The perturbation probability in the algorithm is dynamically adjusted with the number of iterations, and the global jump mechanism and parallel search strategy are combined to avoid getting trapped in local optima. The formula for calculating the probability of disturbance is: ; in, The perturbation probability is the probability of applying a random perturbation to the current candidate solution during the parameter optimization iteration process. It is dynamically adjusted with the number of iterations and is used to balance the algorithm's global exploration capability and local optimization accuracy. The maximum number of iterations is the upper limit of the total number of iterations preset by the algorithm. This represents the current iteration number; The formula for generating candidate solutions is: ; in, For the first New candidate solution values for each model parameter; For the first The current solution value of each model parameter; For the first The perturbation step size of each model parameter; These are random numbers distributed according to a standard normal distribution. The range and probability distribution of the optimal parameters of the model are identified by inverting the generalized likelihood uncertainty estimation method.
8. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 7, characterized in that: In S7, based on historical land use data, the future land use pattern is predicted using the CA-Markov model, where the formula for calculating the Markov chain transition probability is: ; In the formula, Land type Convert to type The transition probability; For the type of study period Convert to type The number of pixels; This represents the total number of land use types. By combining neighborhood effect and multi-criteria constraints to generate future land use data, and inputting it into the watershed agricultural non-point source pollution refinement simulation model, the spatiotemporal variation patterns of watershed agricultural non-point source pollution load under different climate scenarios are simulated.
9. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 8, characterized in that: S8 specifically includes: Risk impact factors of agricultural non-point source pollution in watersheds are extracted from dimensions including risk drivers, risk formation environment, risk bearers, and risk mitigation capabilities. Based on the risk impact factors, the semantic relationships between the factors are expressed through ontology modeling methods to construct a standardized risk knowledge ontology. Conceptual entities in the risk knowledge ontology are mapped to Bayesian network nodes, and semantic relationships in the ontology are mapped to directed edges in the Bayesian network to obtain an ontology-based Bayesian network risk assessment structure. Among them, risk drivers include runoff, flow velocity, water level, weather, fertilizer application, livestock and poultry farming, and aquaculture; risk formation environment includes topography, river network, and land use; risk bearers include river vegetation biomass, average GDP, and water supply density; and risk mitigation capacity includes fertilizer reduction.
10. The watershed agricultural non-point source pollution risk assessment method based on ontology and Bayesian networks according to claim 9, characterized in that: In S9, uncertainty probability inference is performed based on Bayes' theorem. The expression of Bayes' theorem is: ; in, Let be the posterior probability, representing the probability in the evidence event. Under the conditions that the target risk event occurs The probability of occurrence; The target event, i.e. the target node in the Bayesian network, corresponds to the risk level event of agricultural non-point source pollution in the watershed; These are evidence events, i.e., evidence nodes in a Bayesian network, corresponding to observable risk impact factor events; Let be the likelihood probability, representing the probability of occurrence of the target risk event. Under the conditions that occur, an evidentiary event occurs. The conditional probability; The prior probability represents the target risk event obtained from historical data statistics, independent of current evidence. The initial probability of occurrence; Let be the total probability of evidence, representing the evidence event under all risk levels. The sum of the probabilities of occurrence; The joint probability distribution of nodes is calculated using the chain rule, and the conditional probability table of each node is trained using historical monitoring data. Evidence node data under future scenarios are input to infer the probability of occurrence of agricultural non-point source pollution in the watershed under different climate scenarios. The dominant risk factors of agricultural non-point source pollution in the watershed are identified through sensitivity analysis.
