CMAQv5.4 Release Notes: Instrumented Models: CMAQ DDM3D - fisidi/CMAQ GitHub Wiki

CMAQ-DDM-3D Version 5.4

Sergey L. Napelenok, U.S. Environmental Protection Agency
Type of update: Science Update
Release Version/Date: CMAQv5.4
Description: CMAQ-DDM-3D has been fully integrated into the base model. There is no longer a separate repository, and the sensitivity calculations are accessed through compiler flags set in the build script and by completing the appropriate sections of the run script. These options are demonstrated in the sample scripts provided with the release of the base model.

Additionally, some code structure changes were made to the DDM-3D mainly in the gas phase chemistry routines. Of note is the ability of the model to now calculate gas phase Jacobians inline making the code more flexible to accept new chemical mechanisms as well as changes to existing ones.

Significance and Impact: No changes to sensitivity outputs should be expected in this release outside the ones caused by modifications of the base CMAQ science routines.

References: N/A

Internal PRs: PR#609, PR#630, PR#922, PR#929, PR#930, PR#935, PR#946

Speed up DDM3 solution of Gas Chemistry Sensitivities

William T. Hutzell, U.S. Environmental Protection Agency
Type of update: Science/Numerical Update
Release Version/Date: CMAQ version 5.4

Description: In DDM3D's method for solving sensitivities from gas chemistry, code changes shortened CMAQ_DDM3D runtimes by 15% to 35% dependent on the chemical mechanism used. The changes also implemented DDM3D's approach for gas chemistry in the Rosenbrock and SMVGear solvers so CMAQ_DDM3D can use any of the available gas chemistry solvers. The option better supports using CMAQ_DDM3D built with the cb6r5m_ae7_aq mechanism because the Rosenbrock solver is recommended for the cb6r5m_ae7_aq mechanism.

Changes reduced runtimes by modifying setting and calculating the gas chemistry Jacobian. The modification reorders chemistry species defining the Jacobian's rows and columns based on the number of nonzero values in rows for each chemistry species. The number measures the coupling of a species to other chemistry species. The reordering seeks to put the Jacobian closer to a lower triangular matrix and simplify the LU decomposition of the chemistry Jacobian used by CMAQ_DDM3D. It may also make the process more accurate by reducing the number of floating operations.

Significance and Impact:

Changes have no impact of predicted concentrations and deposition of the base model species but they do altered sensitivity predictions from the DDM3D algorithm by a few percent or less. The exception is for sulfur dioxide and aerosol sulfate in the accumulation mode. Tests that turned off cloud chemistry removed this exception and may indicate that DDM3D has feedback between gas and cloud chemistry regarding predicted sensitivities for sulfate production. Overall the code change reduce DDM3D runtime and allow the CMAQ_DDM3D to used an EBI solver for the chemical mechanism, or a generalized chemistry solver such Rosenbrock and SMVGear

Internal PRs: PR#935, PR#630