A dynamic optimization type automatic monitoring device coupling meteorological and atmospheric environmental factors
By combining the ABM framework, particle swarm optimization, and WRF model, dynamic optimization of meteorological and atmospheric environmental factors was achieved, solving the problem of inaccurate decision-making by monitoring equipment in existing technologies and improving the adaptability and decision-making accuracy of environmental monitoring equipment.
Patent Information
- Application Number
- CN202311237482.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-09-22
AI Technical Summary
Existing technologies are unable to effectively address the dynamic optimization of meteorological and atmospheric environmental factors, resulting in inaccurate and ineffective decision-making by monitoring equipment in response to environmental changes.
By combining the ABM framework module, particle swarm optimization module, WRF numerical model and data assimilation module, dynamic optimization is achieved by defining the state and behavior of the observation equipment, updating decision parameters using the particle swarm optimization algorithm, and embedding the WRF model for meteorological factor prediction and data assimilation.
It improves the decision-making accuracy and system performance of monitoring equipment in dynamic environments, enabling it to better adapt to changes in complex systems and provide more accurate meteorological data support.
Smart Images

Figure CN117310840B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of environmental monitoring technology, and in particular to a dynamic optimization automatic monitoring device that couples meteorological and atmospheric environmental factors. Background Technology
[0002] Meteorology is the scientific field that studies various physical phenomena and climate change in the atmosphere, encompassing a wide range of atmospheric phenomena such as temperature, relative humidity, air pressure, wind, and precipitation. Atmospheric environmental factors refer to various elements and factors that influence the atmospheric environment, such as fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide. These factors can affect meteorological changes and climate formation. However, current dynamic optimization of meteorological and atmospheric environmental factors is insufficient to better address real-world environmental changes. Summary of the Invention
[0003] To address the above problems, this invention provides a dynamic optimization automatic monitoring device that couples meteorological and atmospheric environmental factors.
[0004] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0005] A dynamic optimization automatic monitoring device coupling meteorological and atmospheric environmental factors, comprising:
[0006] The ABM framework module is used to perform the following steps:
[0007] Define observation equipment: Each observation equipment represents an observation station and has status and behavior;
[0008] The state represents the observation indicators of each observation device, including current meteorological factors and atmospheric environmental factors, while the behavior represents the decision-making behavior of the observation device based on the current state and environmental changes.
[0009] The particle swarm optimization module performs the following steps:
[0010] Define the objective function: Design an objective function that correlates the state of the observation equipment with the optimization objective;
[0011] Initialize the particle swarm: Randomly generate a set of particles, each particle representing a set of decision parameters for the observation equipment;
[0012] Update particle positions: Based on the current objective function value and the historical best value, use the particle swarm optimization algorithm to update the particle positions and velocities in order to find the optimal solution;
[0013] Nested modules in the WRF numerical model are used to perform the following steps:
[0014] Using the WRF model: The WRF numerical model is nested within the ABM framework as a predictive model for meteorological factors;
[0015] Obtain model output: Obtain predicted meteorological factor values from the WRF model;
[0016] The data assimilation and state update module is used to perform the following steps:
[0017] Data assimilation: Assimilate the output of the WRF model with the actual observed data to obtain more accurate state data;
[0018] Observation equipment status update: Update the status of each observation equipment based on the assimilated data and the behavior model of the observation equipment;
[0019] The decision-making and optimization module is used to perform the following steps:
[0020] Decision making: Based on the updated status of each observation device, a decision is made to adjust the sampling frequency;
[0021] Particle Swarm Optimization: Run the particle swarm optimization algorithm again, update the positions of the particle swarm in response to the new state and decision situation, and find a better parameter configuration.
[0022] Furthermore: the ABM framework module includes:
[0023] Each observation device is represented by a set of variables, representing its state and behavior. Let the state variable of the observation device be S, and the behavior variable be A.
[0024] The status of each observation device includes current meteorological and atmospheric environmental factors, including temperature (T), relative humidity (RH), wind speed (V), rainfall (p), and the mass concentrations of fine particulate matter (PM2.5), ozone (O3), nitrogen dioxide (NO2), sulfur dioxide (SO2), carbon monoxide (CO), and carbon dioxide (CO2).
[0025] State representation: S = (T, RH, V, p, PM2.5, O3, NO2, SO2, CO, CO2)
[0026] The observation equipment makes decisions based on the current state and changes in the environment; the strategy is represented by a function.
[0027] Behavioral model: A = f(S).
[0028] Furthermore: the particle swarm optimization module includes:
[0029] The optimization objective includes a nonlinear optimization fitting that minimizes the objective function, as follows:
[0030] f(x) = w1 * (PM2.5 - PM2.5) desired ) 2+w2*(O3-O3 desired ) 2 +w3*(NO2-NO2 desired ) 2 +w4*(SO2-SO2 desired ) 2 +w5*(CO-CO desired ) 2 +w6*(CO2-CO2 desired ) 2 +w7*(TT desired ) 2 +w8*(RH-RH desired ) 2 +w9*(VV desired ) 2 +w10*(pP desired ) 2
[0031] Where x is the decision parameter of the observation equipment, PM2.5, O3, NO2, SO2, CO, and CO2 are the mass concentrations of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, respectively, and T, RH, V, and p are the current temperature, relative humidity, wind speed, and rainfall, respectively. desired O3 desired NO2 desired SO2 desired CO desired CO2 desired And T desired RH desired V desired and p desired These are the ideal mass concentration values of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, as well as temperature, relative humidity, wind speed, and rainfall values, obtained based on historical simulation data. w1, w2, w3, w4, w5, w6, w7, w8, w9, and w10 are weights used to balance the importance of different factors.
[0032] A set of particles is randomly generated, each representing a set of decision parameters for the observation equipment. Assume the decision parameters of the particles are represented as a vector x = [x1, x2, x3, ..., x...]. n ], where n is the number of decision parameters;
[0033] Based on the current objective function value and the historical best value, the particle's position and velocity are updated to find the optimal solution. The formulas for updating the particle's velocity and position are as follows:
[0034] v i(t+1) =W*v i(t) +c1*rand()*(pbesti -x i(t) )+c2*rand()*(g best -x i(t) )
[0035] x i(t+1) =x i(t) +V i(t+1)
[0036] Among them, v i(t) x is the velocity of particle i at time t. i(t) p is the position of particle i at time t. besti It is the historical best position of particle i, g best It represents the historical best position of the entire particle swarm, w is the inertia weight, c1 and c2 are learning factors, and rand() is a random number.
[0037] Furthermore: the nested modules of the WRF numerical model include:
[0038] The change in air mass is described using a mass equation, and its mathematical expression is as follows:
[0039]
[0040] Where ρ is the density of air, t is time, and u is the air velocity vector. The divergence operator is used to represent the divergence of a vector field.
[0041] Discretize the continuity equation to obtain a numerical format that can be solved on a computer;
[0042] Within each time step, the mass equation is solved using a numerical scheme based on the density distribution and velocity field at the current moment, in order to update the density distribution at the next moment.
[0043] After each time step of the simulation, the required meteorological factors are extracted from the simulation results;
[0044] Let the state variables of the observation equipment be temperature T, relative humidity RH, wind speed V, and rainfall p, and the state of the observation equipment be represented as S = (T, RH, V, p);
[0045] At each time step, the WRF model simulates the current temperature T, relative humidity RH, wind speed V, and rainfall p, obtaining T. sim RH sim V sim and p sim ;
[0046] The simulated temperature T sim Relative humidity (RH) sim Wind speed Vsim and rainfall p sim Used for state updates of observation equipment, in the state update model of observation equipment, a trade-off factor is used to balance the weights of simulated values and observed values;
[0047] Update temperature status:
[0048] T new =α×T sim +(1-α)×T observed
[0049] Update relative humidity status:
[0050] RH new =β×RH sim +(1-β)×RH observed
[0051] Update wind speed status:
[0052] V new =γ×V sim +(1-γ)×V observed
[0053] Update rainfall status:
[0054] p new =δ×p sim +(1-δ)×p observed
[0055] Where α, β, γ, and δ are trade-off factors, and T observed RH observed V observed and p observed These are the actual observed values of temperature, relative humidity, wind speed, and rainfall.
[0056] Update the status of the observation equipment S = (T new ,RH new V new ,p new ).
[0057] The technological advancements achieved by this invention compared to existing technologies are as follows:
[0058] The ABM of this invention allows for the modeling of individual observation devices within a system, which can vary according to the influence of the environment and other observation devices. In solving dynamic optimization problems involving coupled meteorological and atmospheric environmental factors, each observation device can represent an observation station or area. ABM provides a framework for simulating the interactions between observation devices and their adaptation to environmental changes, thereby better reflecting complex system behavior.
[0059] Particle Swarm Optimization (PSO) is a swarm intelligence-based optimization algorithm suitable for finding the global optimum of complex problems. In this method, each particle represents a set of solutions, and the entire particle swarm searches for the optimum by continuously updating. For dynamic optimization problems, PSO can adapt to changes in the state and data by adjusting the positions of the particles to search for variations in the optimum. Through the PSO algorithm, the decision parameters of an observation device can dynamically adapt to changes in the environment, thereby better optimizing the system's performance.
[0060] WRF models are used to predict changes in meteorological factors over a future period, providing more accurate meteorological data to guide decision-making by observation equipment. By nesting WRF models, even more precise meteorological data predictions can be obtained, which helps observation equipment make better decisions in dynamic environments. Assimilating the simulation results of WRF models with actual observation data further improves the accuracy of state data.
[0061] The collaboration between Agent-Based Modeling (ABM) and Positioning System Optimization (PSO): ABM provides a mechanism for interaction between observation devices, allowing the system to dynamically adjust based on individual adaptability. PSO utilizes this interaction to optimize the decision parameters of each observation device to achieve a global optimization goal. ABM provides real-time data and feedback, which PSO uses to guide observation devices in searching for optimal solutions in complex environments.
[0062] The integration of ABM and WRF models: ABM utilizes meteorological factors predicted by WRF models to guide the decision-making of observation equipment. By nesting WRF models, observation equipment can obtain more accurate meteorological forecast information, thus enabling it to better adapt to environmental changes. This integration allows observation equipment to more accurately consider meteorological factors in decision-making.
[0063] The combination of PSO and WRF models: The PSO algorithm can use the simulation results of the WRF model as external information to guide the particle swarm search. The decision parameters of the observation equipment can be optimized using the prediction data provided by the WRF model through the PSO algorithm. This combination makes the decision-making of the observation equipment more targeted and better able to adapt to changes in the dynamic environment.
[0064] In summary, the combination of ABM, PSO, and WRF models enables observation equipment to better cope with environmental changes in dynamic optimization problems, achieving better decision-making and system performance. Attached Figure Description
[0065] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used together with the embodiments of the invention to explain the invention and do not constitute a limitation thereof.
[0066] In the attached diagram:
[0067] Figure 1 This is a system structure diagram of the present invention. Detailed Implementation
[0068] The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will now be described with reference to the accompanying drawings.
[0069] like Figure 1 As shown, this invention discloses a dynamically optimized automatic monitoring device that couples meteorological and atmospheric environmental factors, comprising:
[0070] The ABM framework module is used to perform the following steps:
[0071] Define observation equipment: Each observation equipment represents a specific area or observation station, and has status and behavior.
[0072] Status representation: The observation indicators of each observation device include current meteorological factors and atmospheric environmental factors, such as temperature, relative humidity, wind speed, rainfall and the mass concentrations of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide.
[0073] Behavioral model: The observation device makes decision-making decisions based on the current state and changes in the environment.
[0074] The particle swarm optimization module performs the following steps:
[0075] Define the objective function: Design an objective function that associates the state of the observation equipment with the optimization objective (a nonlinear optimization fit to minimize the objective function).
[0076] Initialize the particle swarm: Randomly generate a set of particles, each representing a set of decision parameters from the observation equipment.
[0077] Update particle positions: Based on the current objective function value and the historical best value, use the PSO (Particle Swarm Optimization) algorithm to update the position and velocity of the particles in order to find the optimal solution.
[0078] Nested modules in the WRF numerical model are used to perform the following steps:
[0079] Using the WRF model: The WRF numerical model is nested within the ABM framework as a predictive model for meteorological factors. The WRF model simulates weather changes over a future period based on initial and boundary conditions.
[0080] Obtain model output: Obtain predicted meteorological factor values, such as temperature, relative humidity, wind speed, and rainfall, from the WRF model.
[0081] The data assimilation and state update module is used to perform the following steps:
[0082] Data assimilation: Assimilate the output of the WRF model with the actual observation data to obtain more accurate state data.
[0083] Observation equipment status update: Based on the assimilated data and the behavior model of the observation equipment, update the status of each observation equipment, including meteorological factors and atmospheric environmental factors.
[0084] The decision-making and optimization module is used to perform the following steps:
[0085] Decision making: Based on the updated status of each observation device, execute corresponding decisions, such as adjusting the sampling frequency, to achieve the optimization goal.
[0086] PSO optimization: Run the PSO algorithm again to update the positions of the particle swarm in response to the new state and decision situation, and find a better parameter configuration.
[0087] Specifically, the ABM framework modules include:
[0088] 1.1 Define the observation equipment:
[0089] Each observation device can be represented by a set of variables, representing its state and behavior. Let S be the state variable of the observation device and A be the behavior variable.
[0090] 1.2 State Representation:
[0091] The status of each observation device indicates that the observed indicators include current meteorological factors and atmospheric environmental factors, such as temperature (T), relative humidity (RH), wind speed (V), rainfall (p), and the mass concentrations of fine particulate matter (PM2.5), ozone (O3), nitrogen dioxide (NO2), sulfur dioxide (SO2), carbon monoxide (CO), and carbon dioxide (CO2).
[0092] State representation: S = (T, RH, V, p, PM2.5, O3, NO2, SO2, CO, CO2)
[0093] 1.3 Behavioral Model:
[0094] An observer makes decisions based on its current state and changes in the environment. The behavior of a spurious observer is based on its current state and a certain strategy, which can be represented by a function.
[0095] Behavioral model: A = f(S)
[0096] The behavior A of the observation equipment can be the result of a series of decisions, such as adjusting the frequency of the observation equipment or choosing the method of data transmission. The specific function f can be defined according to the specific circumstances of the problem and may involve some optimization strategies.
[0097] For example, a linear function can be used to represent the decision-making process for a certain behavior:
[0098] A=w1*T+w2*RH+w3*V+w4*p+w5*PM2.5+w6*O3+w7*NO2+w8*SO2+w9*CO+w10*CO2
[0099] Among them, w1, w2, w3, w4, w5, w6, w7, w8, w9, and w10 are weights, which can be determined by the PSO algorithm.
[0100] Specifically, the particle swarm optimization module includes:
[0101] 2.1 Defining the Objective Function: The optimization objective is a nonlinear optimal fit to minimize the value. The objective function can be defined as follows:
[0102] f(x) = w1 * (PM2.5 - PM2.5) desired ) 2 +w2*(O3-O3 desired ) 2 +w3*(NO2-NO2 desired ) 2 +w4*(SO2-SO2 desired ) 2 +w5*(CO-CO desired ) 2 +w6*(CO2-CO2 desired ) 2 +w7*(TT desired ) 2 +w8*(RH-RH desired ) 2 +w9*(VV desired ) 2 +w10*(pp desired ) 2
[0103] Where x is the decision parameter of the observation equipment, PM2.5, O3, NO2, SO2, CO, and CO2 are the mass concentrations of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, respectively, and T, RH, V, and p are the current temperature, relative humidity, wind speed, and rainfall, respectively. desired O3 desired NO2 desired SO2 desiredCO desired CO2 desired And T desired RH desired V desired and p desired These are the ideal mass concentration values of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, as well as temperature, relative humidity, wind speed, and rainfall values, obtained based on historical simulation data. w1, w2, w3, w4, w5, w6, w7, w8, w9, and w10 are weights used to balance the importance of different factors.
[0104] 2.2 Initialize the particle swarm:
[0105] A set of particles is randomly generated, each particle representing a set of decision parameters for the observation equipment. Assume that the decision parameters of the particles are represented as a vector x = [x1, x2, x3, ..., xn], where n is the number of decision parameters.
[0106] 2.3 Update particle positions:
[0107] The PSO algorithm updates the particle's position and velocity based on the current objective function value and the historical best value to find the optimal solution. The formulas for updating the particle's velocity and position are as follows:
[0108] v i(t+1) =w*v i(t) +c1*rand()*(p besti -x i(t) )+c2*rand()*(g best -x i(t) )
[0109] x i(t+1) =x i(t) +v i(t+1)
[0110] Among them, v i(t) x is the velocity of particle i at time t. i(t) p is the position of particle i at time t. besti It is the historical best position of particle i, g best It represents the historical best position of the entire particle swarm, w is the inertia weight, c1 and c2 are learning factors, and rand() is a random number.
[0111] By continuously iterating and updating the velocity and position of the particles, the particle swarm will gradually converge to the vicinity of the optimal solution.
[0112] Specifically, the nested modules of the WRF numerical model include:
[0113] This example uses the mass equation (continuity equation) from the WRF model to illustrate how to nest a WRF model within the ABM framework to simulate weather changes over a future period. The mass equation describes changes in air quality, and its mathematical expression is as follows:
[0114]
[0115] Where ρ is the density of air, t is time, and u is the air velocity vector. The divergence operator is used to represent the divergence of a vector field.
[0116] The specific steps for nesting WRF models are as follows:
[0117] Transforming the mass equation into a numerical format: Discretizing the continuity equation to obtain a numerical format that can be solved on a computer. This typically involves dividing space and time into grids and using finite difference methods to approximate the derivative.
[0118] Setting initial and boundary conditions: Before starting the simulation, initial conditions (density distribution at the initial time) and boundary conditions (conditions at the boundaries of the simulation region) need to be set for the model. These conditions are usually based on real-world observation data.
[0119] Perform time stepping: Within each time step, solve the mass equation using a numerical scheme based on the density distribution and velocity field at the current moment to update the density distribution at the next moment.
[0120] Obtaining simulation results: After each time step of the simulation, the required meteorological factors, such as temperature, relative humidity, wind speed, and rainfall, can be extracted from the simulation results.
[0121] In the process of nesting WRF models, the simulation results are applied to the state update of the observation equipment, so that the observation equipment can operate based on more accurate meteorological forecast information in decision-making and optimization.
[0122] When the output of the WRF model is used as one of the states of the observation equipment, we can describe in detail how to apply the simulation results of the continuity equation to update the state of the observation equipment. Let the state variables of the observation equipment be temperature T, relative humidity RH, wind speed V, and rainfall p. The state of the observation equipment is represented as S = (T, RH, V, p). The specific steps are as follows:
[0123] At each time step, the WRF model simulates the current temperature T, relative humidity RH, wind speed V, and rainfall p, obtaining T. sim RH sim V sim and p sim ;
[0124] The simulated temperature T sim Relative humidity (RH) sim Wind speed V sim and rainfall p sim Used for state updates of observation equipment, in the state update model of observation equipment, a trade-off factor is used to balance the weights of simulated values and observed values;
[0125] Update temperature status:
[0126] T new =α×T sim +(1-α)×T observed
[0127] Update relative humidity status:
[0128] RH new =β×RH sim +(1-β)×RH observed
[0129] Update wind speed status:
[0130] V new =γ×V sim +(1-γ)×V observed
[0131] Update rainfall status:
[0132] p new =δ×p sim +(1-δ)×p observed
[0133] Where α, β, γ, and δ are trade-off factors, and T observed RH observed V observed and p observed These are the actual observed values of temperature, relative humidity, wind speed, and rainfall.
[0134] Update the state of the observation equipment S = (T) new RH new V new p new ).
[0135] By combining the simulation output of the WRF model with the status updates of the observation equipment through the above steps, a more accurate status of the observation equipment can be obtained. This enables the observation equipment to make decisions and optimize based on actual simulated meteorological factor information, thereby better responding to dynamically changing environments.
[0136] Specifically, the data assimilation and state update module includes:
[0137] 4.1 Data Assimilation:
[0138] Data assimilation is a process used to combine model simulation results with actual observation data to improve state data. Using the Kalman filter method for updates, the state update and observation update in the Kalman filter can be expressed by the following formula:
[0139] State prediction (time update):
[0140]
[0141] Error covariance prediction (time update):
[0142] P t|t-1 =FP t-1|t-1 F T +Q
[0143] Kalman gain:
[0144] K t =P t-1 H T (P t-1 H T +R) -1
[0145] State correction (observation update):
[0146]
[0147] Error covariance correction (observation update):
[0148] P t|t =(IK t H)P t|t-1
[0149] in, This is the updated status data. P t|t-1 This is the time-updated state data error covariance. F is the state transition matrix, describing how the state changes over time. B is the control input matrix, used to account for control signals. t-1 It is the control signal. Q is the process noise covariance matrix. K t This is the Kalman gain. RH is the observation matrix, describing how observations are related to the state. R is the observation noise covariance matrix. t These are actual observation data.
[0150] 4.2 Observation and preparation status update:
[0151] Based on the assimilated state data, update the state of each observation device, including meteorological factors and atmospheric environmental factors.
[0152] For example, suppose the state of the observed device is S = (T, RH, V, p, PM2.5, O3, NO2, SO2, CO, CO2), where T is temperature, RH is relative humidity, V is wind speed, p is rainfall, and PM2.5, O3, NO2, SO2, CO, and CO2 are the mass concentrations of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, respectively. The state correction formula using a Kalman filter can be used to apply the assimilated state data to the state update of the observed device.
[0153]
[0154]
[0155]
[0156]
[0157]
[0158]
[0159]
[0160]
[0161]
[0162]
[0163] By following the steps above, the simulation results of the WRF model can be assimilated with the actual observation data. The assimilated state data can then be applied to the state update of the observation equipment to achieve more accurate state data and decision-making.
[0164] Specifically, the decision-making and optimization module includes:
[0165] 5.1 Decision Making: Adjusting the Sampling Frequency
[0166] Each observation device is responsible for observing meteorological and atmospheric environmental factors in the environment. Optimization can be achieved by adjusting the sampling frequency of the observation devices. The sampling frequency of the observation devices can be defined as the variable f. sample The optimization problem is a nonlinear optimization fitting of the objective function to find its minimum value.
[0167] The objective function is optimized as follows:
[0168] f(x) = w1 * (PM2.5 - PM2.5) desired ) 2 +w2*(O3-O3desired ) 2 +w3*(NO2-NO2 desired ) 2 +w4*(SO2-SO2 desired ) 2 +w5*(CO-CO desired ) 2 +w6*(CO2-CO2 desired ) 2 +w7*(TT desired ) 2 +w8*(RH-RH desired ) 2 +w9*(VV desired ) 2 +w10*(pp desired ) 2
[0169] Where x is the decision parameter of the observation equipment, PM2.5, O3, NO2, SO2, CO, and CO2 are the mass concentrations of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, respectively, and T, RH, V, and p are the current temperature, relative humidity, wind speed, and rainfall, respectively. desired O3 desired NO2 desired SO2 desired CO desired CO2 desired And T desired RH desired V desired and p desired These are the ideal mass concentration values of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, as well as temperature, relative humidity, wind speed, and rainfall, obtained based on historical simulation data. w1, w2, w3, w4, w5, w6, w7, w8, w9, and w10 are weights used to balance the importance of different factors.
[0170] 5.2 PSO Optimization: Adjusting the Sampling Frequency
[0171] The PSO algorithm can be run to find the optimal sampling frequency of the observation equipment, minimizing the objective function. The PSO algorithm updates the positions of the particle swarm, thereby optimizing the objective function. The sampling frequency of the observation equipment can be used as a decision parameter for the particles, updated according to the optimization objective.
[0172] In each PSO iteration, the position and velocity of the particles are updated to approach the global optimum, thereby adjusting the sampling frequency of the observation equipment to minimize the optimization objective.
[0173] In summary, by making decisions and optimizing PSO, the sampling frequency of observation equipment can be adjusted to optimize the target, thereby better responding to the dynamic changes in meteorological and atmospheric environments.
[0174] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the claims of the present invention.
Claims
1. A dynamic optimization automatic monitoring device coupling meteorological and atmospheric environmental factors, characterized in that, include: The ABM framework module is used to perform the following steps: Define observation equipment: Each observation equipment represents an observation station and has status and behavior; The state represents the observation indicators of each observation device, including current meteorological factors and atmospheric environmental factors, while the behavior represents the decision-making behavior of each observation device based on the current state and environmental changes. The particle swarm optimization module performs the following steps: Define the objective function: Design an objective function that correlates the state of the observation equipment with the optimization objective; Initialize the particle swarm: Randomly generate a set of particles, each particle representing a set of decision parameters for the observation equipment; Update particle positions: Based on the current objective function value and the historical best value, use the particle swarm optimization algorithm to update the particle positions and velocities in order to find the optimal solution; The optimization objective includes a nonlinear optimization fitting that minimizes the objective function, as follows: Where x is the decision parameter of the observation equipment, PM2.5, O3, NO2, SO2, CO, and CO2 are the mass concentrations of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, respectively, and T, RH, V, and p are the current temperature, relative humidity, wind speed, and rainfall, respectively. desired O3 desired NO2 desired SO2 desired CO desired CO2 desired And T desired RH desired V desired and p desired These are the ideal mass concentration values of fine particulate matter, ozone, nitrogen dioxide, sulfur dioxide, carbon monoxide, and carbon dioxide, as well as temperature, relative humidity, wind speed, and rainfall values, obtained based on historical simulation data. w1, w2, w3, w4, w5, w6, w7, w8, w9, and w10 are weights used to balance the importance of different factors. A set of particles is randomly generated, each particle representing a set of decision parameters for the observation equipment. Assume the decision parameters of the particles are represented as a vector x = [x1, x2, x3, ..., x...]. n ], where n is the number of decision parameters; Based on the current objective function value and the historical best value, the particle's position and velocity are updated to find the optimal solution. The formulas for updating the particle's velocity and position are as follows: v i(t+1) =w*v i(t) +c1*rand()*(p besti -x i(t) )+c2*rand()*(g best -x i(t) ) x i(t+1) =x i(t) +v i(t+1) Among them, v i(t) x is the velocity of particle i at time t. i(t) p is the position of particle i at time t. besti It is the historical best position of particle i, g best It represents the historical best position of the entire particle swarm, w is the inertia weight, c1 and c2 are learning factors, and rand() is a random number. Nested modules in the WRF numerical model are used to perform the following steps: Using the WRF model: The WRF numerical model is nested within the ABM framework as a predictive model for meteorological factors; Obtain model output: Obtain predicted meteorological factor values from the WRF model; The data assimilation and state update module is used to perform the following steps: Data assimilation: Assimilate the output of the WRF model with the actual observed data to obtain more accurate state data; Observation equipment status update: Update the status of each observation equipment based on the assimilated data and the behavior model of the observation equipment; The decision-making and optimization module is used to perform the following steps: Decision making: Based on the updated status of each observation device, a decision is made to adjust the sampling frequency; Particle Swarm Optimization: Run the particle swarm optimization algorithm again, update the positions of the particle swarm in response to the new state and decision situation, and find a better parameter configuration.
2. The dynamic optimization automatic monitoring device coupling meteorological and atmospheric environmental factors according to claim 1, characterized in that, The ABM framework module includes: Each observation device is represented by a set of variables, representing its state and behavior. Let the state variable of the observation device be S, and the behavior variable be A. The status of each observation device includes current meteorological and atmospheric environmental factors, including temperature (T), relative humidity (RH), wind speed (V), rainfall (p), and the mass concentrations of fine particulate matter (PM2.5), ozone (O3), nitrogen dioxide (NO2), sulfur dioxide (SO2), carbon monoxide (CO), and carbon dioxide (CO2). State representation: S=(T,RH,V,p,PM2.5,O3,NO2,SO2,CO,CO2) The observation equipment makes decisions based on the current state and changes in the environment; the strategy is represented by a function. Behavioral model: A = f(S).
3. The dynamic optimization automatic monitoring device coupling meteorological and atmospheric environmental factors according to claim 2, characterized in that, The nested modules of the WRF numerical model include: The change in air mass is described using a mass equation, and its mathematical expression is as follows: Where ρ is the density of air, t is time, u is the velocity vector of air, and ∇ represents the divergence operator, used to indicate the divergence of a vector field; Discretize the continuity equation to obtain a numerical format that can be solved on a computer; Within each time step, the mass equation is solved using a numerical scheme based on the density distribution and velocity field at the current moment, in order to update the density distribution at the next moment. After each time step of the simulation, the required meteorological factors are extracted from the simulation results; Let the state variables of the observation equipment be temperature T, relative humidity RH, wind speed V, and rainfall p. The state of the observation equipment is represented as S=(T,RH,V,p). At each time step, the WRF model simulates the current temperature T, relative humidity RH, wind speed V, and rainfall p, obtaining T. sim RH sim V sim and p sim ; The simulated temperature T sim Relative humidity (RH) sim Wind speed V sim and rainfall p sim Used for state updates of observation equipment, in the state update model of observation equipment, a trade-off factor is used to balance the weights of simulated values and observed values; Update temperature status: Update relative humidity status: Update wind speed status: Update rainfall status: Where α, β, γ, and δ are trade-off factors, and T observed RH observed V observed and p observed These are the actual observed values of temperature, relative humidity, wind speed, and rainfall. Update the state of the observation equipment S=(T) new ,RH new V new ,p new ).
Citation Information
Patent Citations
Air quality prediction algorithm based on improved particle swarm optimization SVM
CN111079973A
Optical power prediction method based on adaptive classification strategy and hybrid optimization SVR
CN111079980A
