Atmospheric chemical transmission mode and data assimilation method
Through the localized Kalman nonlinear set transformation filtering algorithm and the hybrid nonlinear set assimilation algorithm, the problem of nonlinear and non-Gaussian distribution characteristics of the detection and assimilation of aerosol chemical components in the existing technology is solved, and efficient aerosols are realized Chemical component assimilation improves simulation accuracy and computational efficiency.
Patent Information
- Application Number
- CN202410658545.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing aerosol chemical component detection technology cannot accurately describe spatiotemporally continuous aerosol chemical component information, and existing assimilation algorithms are not suitable for nonlinear and non-Gaussian distribution characteristics, resulting in large deviations between simulation results and observation results.
It adopts the localized Kalman nonlinear set transformation filtering algorithm, combined with the hybrid nonlinear set assimilation algorithm, and performs parallel computing through high-performance computing clusters. It is suitable for the assimilation of multi-component type observation data, and uses the observation data to improve the background field, and Non-Gaussian distributed perturbations are introduced to adapt to nonlinear mode systems.
It improves the assimilation efficiency and model calculation efficiency of aerosol chemical components, can be better applied to nonlinear and non-Gaussian distribution scenarios, reduces calculation costs, and improves data exchange efficiency and assimilation effect.
Smart Images

Figure CN118609688A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerosol chemical component detection, and in particular to an atmospheric chemical transmission model and data assimilation method. Background Art
[0002] Aerosols are a mixture of complex and varied chemical components, among which sulfate (SO42-), nitrate (NO3-), ammonium salts (NH4+), organic matter (OM), and elemental carbon (EC) or black carbon (BC) are key chemical components. There are obvious differences in the sources, formation mechanisms, characteristics, and evolution of these chemical components, and they play different roles and influences in aerosol pollution events. In addition, these chemical components, such as sulfur-containing compounds, nitrogen-containing compounds, and carbon-containing compounds, drive the sulfur, nitrogen, and carbon cycles through processes such as material exchange, horizontal transport, and vertical sedimentation between the troposphere and the stratosphere. During the cycle, they enter plants, soil, water bodies, etc. through sedimentation, affecting the chemical balance and ecological stability of the earth system. These chemical components also have different effects on human health and climate change. For example, in the northeastern United States, BC and SO42- have a more significant pathogenic effect on dementia, while NO3- and OC have a smaller effect. Human-emitted SO42- will increase summer precipitation, while light-absorbing BC will have the opposite effect. The main reason for these differences is the different toxicity and radiation effects between the components. Therefore, characterizing the chemical composition of aerosols is crucial for accurately identifying specific pollution sources, clarifying the causes of pollution, formulating targeted emission reduction and prevention strategies, and evaluating human health and climate effects.
[0003] Existing component detection technologies cannot describe the spatiotemporally continuous chemical components of aerosols. Numerical models can characterize the spatiotemporal distribution characteristics of a variety of chemical components, but their uncertainty comes from many sources, including initial boundary conditions, physical and chemical mechanisms, emission inventories, and meteorological element field inputs, which lead to large deviations between model simulation results and observational results. In summary, no single detection technology can accurately obtain spatiotemporally continuous information on aerosol chemical components. Data assimilation technology can effectively integrate observational data with numerical models, using observational information and model information as well as their respective uncertainties to describe an initial atmospheric state that is as realistic as possible, thereby improving the simulation and forecasting capabilities of numerical models. However, there is still a lack of research and application on vertical assimilation of aerosol chemical components at home and abroad. The main reasons are: (1) There are many types of aerosol chemical components, and the false correlation between chemical component variables will lead to unreasonable propagation of observation data. In addition, in the ensemble Kalman filter algorithm, the introduction of multiple observation types will cause huge computational costs. Therefore, the coordinated assimilation of multiple observation types is a challenge; (2) The two most widely used mainstream algorithms both make linear assumptions for the complex nonlinear atmospheric chemical transport model and make Gaussian distribution assumptions for the error distribution of the atmospheric chemical transport model. However, the aerosol chemical components in the atmospheric chemical transport model have obvious nonlinear and non-Gaussian distribution characteristics. For nonlinear chemical assimilation, the mainstream assimilation algorithm is obviously suboptimal, and the particle filter algorithm suitable for nonlinear scenarios has the problem of particle degradation and is more unstable than the ensemble Kalman filter. Summary of the invention
[0004] The purpose of the present invention is to solve the shortcomings of the above-mentioned prior art and provide a method for atmospheric chemical transport model and data assimilation, comprising the following steps:
[0005] S1: flexibly access multi-component type observation data, and initialize the nested air quality forecast model system, the global communication domain and its number of processors and the level of a single processor, the state variable field and the variables in the parallel data assimilation framework;
[0006] S2: Collect the analysis field from the initial field or the previous time step as the initial field of the current time step, establish the relationship between the state vector and the mode vector in the initial field or the previous time step, and pass the data of the state variable to the mode variable;
[0007] S3: Complete the forecast of the model variables of the current time step, generate the forecast field, pass the model variables predicted in the current time step to the state variables, and analyze and assimilate them as the background field, generate the analysis field of the current time step and use it as the initial field for the next iteration.
[0008] Furthermore, steps S2 and S3 are repeatedly executed in a loop to realize a time loop of integrated forecasting and analysis, wherein a plurality of ensemble members run and exchange data simultaneously, and parallel calculation of numerical matrices in a single ensemble member is maintained, wherein the parallel calculation includes model grid parallelism and filter analysis parallelism.
[0009] Furthermore, in step S1, initializing the nested air quality forecast model system specifically includes: initializing model variable definition, numerical matrix allocation, parameterization configuration, and reading and writing of meteorological field input and emission source input.
[0010] Preferably, the global communication domain and its number of processors and the level of a single processor are initialized, and at the same time, a mode communication domain and its number of processors and the level of a single processor that are the same as the global communication domain are defined, and then the global communication domain is divided into the mode communication domain, the filtering communication domain and the coupling communication domain responsible for the mode and filtering data exchange, and they are initialized.
[0011] More preferably, initializing the state variable field includes: initializing the space dimension, time dimension and state variable dimension of the state variable field.
[0012] More preferably, the variables in the parallel data assimilation framework include the size of local state variables, the size of global state variables and the configuration in the analysis assimilation process.
[0013] Furthermore, in step S2, the state variable field read and written in the nested air quality forecast model system and the state variable field read and written in the parallel data assimilation framework are first matched and converted through the convert_field function to ensure the consistency of the matrix storage order and the compatibility of the numerical precision in the Fortran compiler.
[0014] Furthermore, in step S3, the analysis assimilation adopts a localized Kalman nonlinear ensemble transformation filtering algorithm to improve the background field based on the observation data, generate an analysis field coordinated with the observation data, and provide an optimal initial field for the model integration of the next time step.
[0015] Preferably, the localized Kalman nonlinear set transformation filtering algorithm first obtains a forecast set by using a transformation matrix and a square root of a prediction error covariance, and generates an analysis set by performing a deterministic matrix square root transformation on the forecast set;
[0016] The observed data are then used to influence the weights of the prior set, and the mixing weights are adaptively adjusted according to the non-Gaussianity, thereby better suited to pattern systems with different degrees of nonlinearity.
[0017] More preferably, in the analysis assimilation, the collective perturbation calculated using the collective members represents the error distribution of the model state, wherein the emission source as an important input information drives the generation and disappearance evolution of the model variables, and therefore a hybrid nonlinear collective assimilation algorithm is introduced to perform non-Gaussian distribution perturbations on the emission source input.
[0018] Compared with the prior art, the present invention has the following beneficial effects:
[0019] (1) The present invention allows multiple set members to run simultaneously and exchange data through secondary parallelism on a high-performance computing cluster, and maintains the parallel calculation of numerical matrices in a single set member (including pattern grid parallelism and filter analysis parallelism), thereby improving both the set assimilation efficiency and the pattern calculation efficiency;
[0020] (2) The present invention adopts a localized Kalman nonlinear ensemble transformation filtering algorithm, and the mixing weights are adaptively adjusted according to the non-Gaussianity, so as to be better applicable to model systems with different degrees of nonlinearity and obtain excellent assimilation effect with a smaller number of ensembles;
[0021] (3) The present invention introduces a hybrid nonlinear ensemble assimilation algorithm to be applicable to nonlinear and non-Gaussian distribution scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0023] In the attached picture:
[0024] Figure 1 A flow chart of a method for atmospheric chemical transport model and data assimilation of the present invention;
[0025] Figure 2 A subroutine workflow diagram of the present invention;
[0026] Figure 3 This is a table of uncertainties for different emission species for this invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] The specific implementation of the present invention is described below with reference to the accompanying drawings and embodiments.
[0029] Example 1
[0030] like Figure 1 As shown, a method for atmospheric chemical transport model and data assimilation provided in this embodiment, the technical solution includes the following steps:
[0031] S1: flexibly access multi-component type observation data, and initialize the nested air quality forecast model system, the global communication domain and its number of processors and the level of a single processor, the state variable field and the variables in the parallel data assimilation framework;
[0032] S2: Collect the analysis field from the initial field or the previous time step as the initial field of the current time step, establish the relationship between the state vector and the mode vector in the initial field or the previous time step, and pass the data of the state variable to the mode variable;
[0033] S3: Complete the forecast of the model variables of the current time step, generate the forecast field, pass the model variables predicted in the current time step to the state variables, and analyze and assimilate them as the background field, generate the analysis field of the current time step and use it as the initial field for the next iteration.
[0034] Specifically, the observation data are flexibly accessed and preprocessed, the initial field is model-integrated, and the forecast field is output to provide a background field for the analysis and assimilation process, the model state variables are analyzed and assimilated, the background field is improved based on the observation data, and the analysis field coordinated with the observation data is generated to provide the optimal initial field for the model integration at the next moment. In order to adapt to the nonlinear and non-Gaussian distribution characteristics in the assimilation of chemical components, a hybrid nonlinear assimilation scheme is adopted.
[0035] Furthermore, steps S2 and S3 are repeatedly executed in a loop to realize a time loop of integrated forecasting and analysis, wherein a plurality of ensemble members run and exchange data simultaneously, and parallel calculation of numerical matrices in a single ensemble member is maintained, wherein the parallel calculation includes model grid parallelism and filter analysis parallelism.
[0036] Specifically, through secondary parallelism on a high-performance computing cluster, multiple collection members can run simultaneously and exchange data, and the parallel calculation of numerical matrices in a single collection member (including pattern grid parallelism and filter analysis parallelism) is maintained, thereby improving both the collection assimilation efficiency and the pattern calculation efficiency.
[0037] Among them, the subroutine operation workflow is as follows Figure 2As shown, the init_system subroutine initializes the nested air quality forecast model system, specifically including: initializing the model variable definition, numerical matrix allocation, parameterized configuration, meteorological field input and emission source input reading and writing, etc.;
[0038] The init_parallel subroutine initializes the global communication domain (MPI_COMM_WORLD) and its number of processors (npes_world) and the rank of a single processor (mype_world), and defines the same mode communication domain (COMM_model) as the global communication domain and its number of processors (npes_model) and the rank of a single processor (mype_model). Then the init_parallel_pdaf subroutine divides the global communication domain into the mode communication domain, the filter communication domain (COMM_filter) and the coupled communication domain (COMM_couple) responsible for the mode and filter data exchange, and initializes them.
[0039] The initialize subroutine initializes the state variable field, including: initializing the space dimension, time dimension and state variable dimension of the state variable field;
[0040] The init_pdaf subroutine initializes the variables of the parallel data assimilation framework, such as the size of the local state variables, the size of the global state variables, and the configuration in the analysis and assimilation process.
[0041] Furthermore, in step S2, the state variable field read and written in the nested air quality forecast model system and the state variable field read and written in the parallel data assimilation framework are first matched and converted through the convert_field function to ensure the consistency of the matrix storage order and the compatibility of the numerical precision in the Fortran compiler.
[0042] Specifically, in this embodiment, the field2var subroutine collects the analysis field from the initial field or the previous time step, and establishes the relationship between the state variables in the initial field or the previous time step analysis field and the model variables in the nested air quality forecast model system, and passes the data of the state variables to the model variables. The NAQPMS_processes subroutine is responsible for numerical calculations, completes the forecast of the model variables of the current time step, and generates the forecast field. The var2field subroutine is the reversal of the field2var subroutine, which is responsible for passing the model variables of the current time step forecast to the state variables, and is analyzed and assimilated by the assimilate_pdaf subroutine as the background field, generating the analysis field of the current time step, and serving as the initial field for the next iteration.
[0043] Finally, this embodiment is responsible for the termination of the assimilation process and the post-processing of the output results through the post-processing subroutine.
[0044] In step S3, the analysis assimilation adopts a localized Kalman nonlinear ensemble transformation filtering algorithm to improve the background field based on the observation data, generate an analysis field coordinated with the observation data, and provide an optimal initial field for the model integration of the next time step.
[0045] The localized Kalman nonlinear set transformation filtering algorithm first obtains a forecast set by using a transformation matrix and a square root of a prediction error covariance, and generates an analysis set by performing a deterministic matrix square root transformation on the forecast set;
[0046] The observed data are then used to influence the weights of the prior set, and the mixing weights are adaptively adjusted according to the non-Gaussianity, thereby better suited to pattern systems with different degrees of nonlinearity.
[0047] The localized Kalman nonlinear ensemble transition filter algorithm combines the ensemble transition Kalman filter (ETKF) in the ensemble Kalman filter and its variants (EnKFs) and the nonlinear ensemble transition filter (NETF) in the particle filter and its variants (PFs).
[0048] Among them, the implementation of ETKF can be divided into prediction step and analysis step.
[0049] In the forecast step, the forecast state vector at time t is The analytical state vector at time t-1 from the numerical model M is The integral is obtained, and the formula is as follows:
[0050]
[0051] At the same time, the forecast error covariance matrix at time t is Perturbation by forecast ensemble The calculation formula is as follows:
[0052]
[0053] in, is the forecast ensemble at time t, K is the number of ensembles, is the forecast ensemble perturbation at time t, which is Subtract the ensemble mean get.
[0054] Secondly, in the analysis step, the analysis error covariance matrix at time t is From the forecast error covariance matrix And a transformation matrix T is calculated as follows:
[0055]
[0056] The transformation matrix T is calculated by the following formula:
[0057]
[0058] Through singular value decomposition, it can be decomposed into a left singular vector matrix U, a singular value matrix S and a right singular vector matrix V. Among them, H is the observation operator. L is the observation localization matrix, which is a weight matrix calculated by a 5th-order polynomial and applied to ETKF (LETKF) to realize the localization analysis of observations, thereby effectively avoiding the false correlation and filtering divergence problems of long-distance observations; R is the observation error covariance matrix; ρ adaptive is the adaptive forgetting factor, which is used to inflate the error covariance estimation to avoid underestimation of the error covariance. The calculation formula is as follows:
[0059]
[0060] in, is the mean of the aggregate variance, is the mean of the squared residuals, is the mean of the observed variance. For outliers, when ρ adaptive <0, the ρ value remains unchanged; when ρ adaptive >100, let ρ adaptive =100; when 0<ρ adaptive <0.01, let ρ adaptive =0.01.
[0061] The analytical state vector at time t is The predicted state vector at time t is Forecast Ensemble Perturbations And a weight vector W is calculated as follows:
[0062]
[0063] The weight vector W is obtained by the following formula, where y is the observation:
[0064]
[0065] Analysis set at time t The ensemble mean of forecasts at time t Forecast Ensemble Perturbations And a transformation matrix C is calculated as follows:
[0066]
[0067] Among them, the transformation matrix C is the symmetric square root of the transformation matrix T:
[0068]
[0069] Furthermore, NETF generates the analysis set by performing a deterministic matrix square root transformation on the forecast set, as shown in the following two equations:
[0070]
[0071]
[0072] in, is the mean of the state vector, K is the number of sets, X i a is the i-th analysis state vector. i is the weight vector of the i-th particle, and is obtained by the Bayesian method Calculated, y is the observed value, X i f is the i-th forecast state vector. a To analyze the ensemble error covariance matrix, is the mean of the predicted state vector.
[0073] For NETF, the conversion matrix A has the same function as the conversion matrix T in ETKF. The forecast ensemble error covariance matrix is converted to obtain the analysis ensemble error covariance matrix P. a , as shown below:
[0074]
[0075] Among them, the conversion matrix A is calculated by the weight matrix:
[0076]
[0077] Wherein, the matrix W=diag(w) is defined as a diagonal matrix generated by the weight matrix w. Since A is a real, symmetric, semi-positive definite matrix, it can be decomposed into an orthogonal matrix V and two diagonal matrices D by singular value decomposition.
[0078] Finally, analyze the collective perturbation X a ' and analysis set X a They are calculated by the following two formulas:
[0079]
[0080]
[0081] In this embodiment, LKNETF combines LETKF and LNETF in a "one-step" manner through a mixed weight γ. The localized Kalman nonlinear set transformation filter LKNETF algorithm combines the LETKF and the LNETF in a one-step manner through a mixed weight γ. The combination formula is as follows:
[0082]
[0083] The mixed weight γ is adaptively adjusted according to the non-Gaussian property. When the mixed weight γ approaches 1, the analysis increment ΔX obtained by the LETKF is LETKF Dominant, the mode module is more inclined to linear and Gaussian distribution; on the contrary, when the mixing weight γ tends to 0, the analysis increment ΔX obtained by LNETF LNETF dominates, and the mode module is more inclined to nonlinear and non-Gaussian distribution.
[0084] More preferably, in the analysis assimilation, the collective perturbation calculated using the collective members represents the error distribution of the model state, wherein the emission source as an important input information drives the generation and disappearance evolution of the model variables, and therefore a hybrid nonlinear collective assimilation algorithm is introduced to perform non-Gaussian distribution perturbations on the emission source input.
[0085] In this example, based on the uncertainty of the emission species, such as Figure 3 As shown in the table, SO2, NOx, VOCs, NH3, CO, PM10, PM2.5, BC and OC are disturbed, and the original emission source matrix E without disturbance p Multiply by the perturbation coefficient matrix θ corresponding to the N sets i To obtain the N perturbed emission source matrix E i , the formula is as follows:
[0086] E i =E p ×θ i ,i=1,2,...,N,
[0087] Among them, a 2-D pseudo-random perturbation field P is created based on the Evensen method. i , for P i Perform mathematical transformation to obtain the original perturbation coefficient matrix By the original perturbation coefficient matrix The perturbation coefficient matrix θ is calculated i , the calculation formula is as follows:
[0088]
[0089]
[0090] The matrix penalties in the above formulas are all Schur products, that is, the corresponding matrix elements are multiplied.
[0091] Then, based on the non-Gaussian distribution conversion tool (Non-Gaussian process generation v1.2), under the given skewness (such as the third-order moment is 1) and kurtosis (such as the fourth-order moment is 6), the perturbation coefficient matrix θ is i Perform non-Gaussian distribution transformation to obtain the perturbation coefficient matrix θ that obeys the non-Gaussian distribution assumption i .
[0092] Finally, it should be noted that the above are only 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 aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An atmospheric chemical transport model and data assimilation method, It is characterized in that The steps include: S1: flexibly access multi-component type observation data, and initialize the nested air quality forecast model system, the global communication domain and its number of processors and the level of a single processor, the state variable field and the variables in the parallel data assimilation framework; S2: Collect the analysis field from the initial field or the previous time step as the initial field of the current time step, establish the relationship between the state vector and the mode vector in the initial field or the previous time step, and pass the data of the state variable to the mode variable; S3: Complete the forecast of the model variables of the current time step, generate the forecast field, pass the model variables predicted in the current time step to the state variables, and analyze and assimilate them as the background field, generate the analysis field of the current time step and use it as the initial field for the next iteration.
2. The method for atmospheric chemical transport model and data assimilation according to claim 1, It is characterized in that Steps S2 and S3 are repeatedly executed in a loop to realize a time loop of integrated forecasting and analysis, wherein multiple ensemble members run and exchange data simultaneously, and parallel calculation of numerical matrices in a single ensemble member is maintained, wherein the parallel calculation includes model grid parallelism and filter analysis parallelism.
3. The method of atmospheric chemical transport model and data assimilation according to claim 1, It is characterized in that In step S1, initializing the nested air quality forecast model system specifically includes: initializing model variable definition, numerical matrix allocation, parameterization configuration, and reading and writing of meteorological field input and emission source input.
4. The method for atmospheric chemical transport model and data assimilation according to claim 1, It is characterized in that In step S1, the global communication domain and its number of processors and the level of a single processor are initialized, and at the same time, a mode communication domain and its number of processors and the level of a single processor that are the same as the global communication domain are defined, and then the global communication domain is divided into the mode communication domain, the filtering communication domain and the coupling communication domain responsible for the mode and filtering data exchange, and they are initialized.
5. The method for atmospheric chemical transport model and data assimilation according to claim 1, It is characterized in that In step S1, initializing the state variable field includes: initializing the space dimension, time dimension and state variable dimension of the state variable field.
6. The method for atmospheric chemical transport model and data assimilation according to claim 1, It is characterized in that In step S1, the variables in the parallel data assimilation framework include the size of local state variables, the size of global state variables and the configuration in the analysis assimilation process.
7. The method for atmospheric chemical transport modeling and data assimilation according to claim 1, It is characterized in that In step S2, the state variable field read and written in the nested air quality forecast model system and the state variable field read and written in the parallel data assimilation framework are first matched and converted through the convert_field function to ensure the consistency of the matrix storage order and the compatibility of the numerical precision in the Fortran compiler.
8. The method for atmospheric chemical transport model and data assimilation according to claim 1, It is characterized in that In step S3, the analysis assimilation adopts a localized Kalman nonlinear ensemble transformation filtering algorithm to improve the background field based on the observation data, generate an analysis field coordinated with the observation data, and provide an optimal initial field for the model integration of the next time step.
9. The method of atmospheric chemical transport model and data assimilation according to claim 8, It is characterized in that The localized Kalman nonlinear set transformation filtering algorithm first obtains a forecast set by using a transformation matrix and a square root of a prediction error covariance, and generates an analysis set by performing a deterministic matrix square root transformation on the forecast set; The observed data are then used to influence the weights of the prior set, and the mixing weights are adaptively adjusted according to the non-Gaussianity, thereby better suited to pattern systems with different degrees of nonlinearity.
10. The method for atmospheric chemical transport model and data assimilation according to claim 2 or 9, It is characterized in that In the analysis assimilation, the collective perturbation calculated by the ensemble members represents the error distribution of the model state, wherein the emission source, as an important input information, drives the generation and disappearance evolution of the model variables. Therefore, a hybrid nonlinear ensemble assimilation algorithm is introduced to perform non-Gaussian distribution perturbations on the emission source input.
Citation Information
Patent Citations
Data assimilation method based on adaptive covariance expansion
CN113360854A
