the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
The first application of a numerically-exact, higher-order sensitivity analysis approach for atmospheric modelling: implementation of the hyperdual-step method in the Community Multiscale Air Quality Model (CMAQ) version 5.3.2
Jiachen Liu
Eric Chen
Shannon L. Capps
Abstract. Sensitivity analysis in chemical transport models quantifies the response of output variables to changes in input parameters. This information is valuable for researchers in data assimilation and model development. Additionally, environmental decision-makers depend upon these expected responses of concentrations to emissions when designing and justifying air pollution control strategies. Existing sensitivity analysis methods include the finite-difference method, the direct decoupled method (DDM), the complex variable method, and the adjoint method. These methods are either prone to significant numerical errors when applied to non-linear models with complex components (e.g., finite difference and complex step methods) or difficult to maintain when the original model is updated (e.g., direct decoupled and adjoint methods). Here, we present the implementation of the hyperdual-step method in the Community Multiscale Air Quality Model (CMAQ) version 5.3.2 as CMAQ-hyd. CMAQ-hyd can be applied to compute numerically exact first- and second-order sensitivities of species concentrations with respect to emissions or concentrations. Compared to CMAQ-DDM and CMAQ-adjoint, CMAQ-hyd is more straightforward to update and maintain while it remains free of numerical errors as those augmented models do. To evaluate the accuracy of the implementation, the sensitivities computed by CMAQ-hyd are compared with those calculated with other traditional methods or a hybrid of the traditional and advanced methods. We demonstrate the capability of CMAQ-hyd with the newly implemented gas-phase chemistry and biogenic aerosol formation mechanism in CMAQ. We also explored the cross-sensitivity of monoterpene nitrate aerosol formation to its anthropogenic and biogenic precursors to show the additional sensitivity information computed by CMAQ-hyd. Compared with the traditional finite difference method, CMAQ-hyd consumes fewer computational resources when the same sensitivity coefficients are calculated. This novel method implemented in CMAQ is also computationally competitive with other existing methods and could be further optimised to reduce memory and computational time overheads.
- Preprint
(22306 KB) - Metadata XML
-
Supplement
(3935 KB) - BibTeX
- EndNote
Jiachen Liu et al.
Status: open (extended)
-
RC1: 'Comment on egusphere-2023-1017', Anonymous Referee #1, 18 Jul 2023
reply
In this paper, Liu et al., have applied the hyper-dual sensitivity analysis approach to a chemical transport model (CMAQ). They find the method to be both accurate and compuationally relatively efficient for calculating first and second order sensitivities. In generl, the manuscript is scientificallyt sound and well written.
“DDM-3D” was developed by Yang et al., in 1997.
The development of (5) needs to be further explained.. Given it is a Taylor series expansion, about what value is the expansion?
In (16) and (17) is ENOx a function of space or time? If yes, the derivatives calculated are very complex, and indeed, it would be good for the authors to explain exactly how they are taking those derivatives and how the set of mathematical operations are being done. If ENOx is not space or time dependent, what is it (how is it mathematically defined)? I think I know what they are trying to do, but the current representation needs to be clarified and made mathematically more precise. They should indicate the spatial and temporal dependencies in the variables.
It would be good to know the specific cause of the instability from a mathematical viewpoint. Can you derive specifically how the instability grows? This is particularly of interest if the hyd code is truly exact as this would seem to imply some level of inexactness.
Table 1: The caption needs to state what is being compared. That information can also go directly on the graphs in Fig. 2, so Table 1 is not needed. It would be more effective that way as well.
Why not compare the results to another sensitivity analysis method implemented in a CTM, e.g., DDM-3D. This would seem to be much more in line with demonstrating the potential advantages of the method.
Given the description of what was involved, it is not apparent how much of a re-coding savings are involved between the hyd approach and others. Maybe a bit more on the relative effort withmore specifics.
Did they validate or evaluate the hyperdual module? The two words have rather different meanings.
One of the more interesting findings of the paper is the computational efficiency found in the hyd method applied to CMAQ vs. other applications. The discuss this a bit, but a bit more analysis would be of interest. For example, for the case of four or eight nodes, say, provide the module-by-module ratio of computational times.
Citation: https://doi.org/10.5194/egusphere-2023-1017-RC1 -
AC1: 'Reply on RC1', Shannon Capps, 26 Aug 2023
reply
Thank you very much for the helpful review. Please find attached our responses.
-
AC1: 'Reply on RC1', Shannon Capps, 26 Aug 2023
reply
-
RC2: 'Comment on egusphere-2023-1017', Jixiang Li, 21 Jul 2023
reply
Thank you for sharing your research. This work marks the initial application of HYD in CMAQ, enabling the computation of second-order sensitivities of species concentrations with respect to emissions or concentrations. Moreover, it demonstrates computational competitiveness when compared to other existing methods, such as FDM. The research holds significant importance and stands as an excellent paper.
Citation: https://doi.org/10.5194/egusphere-2023-1017-RC2 -
AC2: 'Reply on RC2', Shannon Capps, 26 Aug 2023
reply
Thank you very much for providing an accurate and succinct summary of the work represented in this manuscript and for assessing it to be valuable to the field.
Citation: https://doi.org/10.5194/egusphere-2023-1017-AC2
-
AC2: 'Reply on RC2', Shannon Capps, 26 Aug 2023
reply
Jiachen Liu et al.
Model code and software
CMAQ-hyd Jiachen Liu, Eric Chen, Shannon Capps https://zenodo.org/record/7938726
Jiachen Liu et al.
Viewed
HTML | XML | Total | Supplement | BibTeX | EndNote | |
---|---|---|---|---|---|---|
245 | 85 | 18 | 348 | 25 | 7 | 7 |
- HTML: 245
- PDF: 85
- XML: 18
- Total: 348
- Supplement: 25
- BibTeX: 7
- EndNote: 7
Viewed (geographical distribution)
Country | # | Views | % |
---|
Total: | 0 |
HTML: | 0 |
PDF: | 0 |
XML: | 0 |
- 1