Preprints
https://doi.org/10.5194/gmd-2024-166
https://doi.org/10.5194/gmd-2024-166
Submitted as: development and technical paper
 | 
06 Jan 2025
Submitted as: development and technical paper |  | 06 Jan 2025
Status: this preprint is currently under review for the journal GMD.

Optimized step size control within the Rosenbrock solvers for stiff chemical ODE systems in KPP version 2.2.3_rs4

Raphael Dreger, Timo Kirfel, Andrea Pozzer, Simon Rosanka, Rolf Sander, and Domenico Taraborrelli

Abstract. Numerical integration of multiphase chemical kinetics in atmospheric models is challenging. The underlying system of ordinary differential equations (ODEs) is stiff and thus difficult to solve. Rosenbrock solvers are a popular choice for such tasks. These solvers provide the desired stability and accuracy of results at an affordable yet large computational cost. The latter is crucially dependent on the efficiency of the step size control. Our analysis indicates that the local error, which is the key factor for the step size selection, is often overestimated, leading to very small sub-steps. In this study, we optimized the first-order step size controller most commonly employed in Rosenbrock solvers. Furthermore, we compared its efficiency to a second-order step size controller. We assessed the performance of the controllers in both a box and a global model for very stiff ODEs. Significant reductions of the computation time were accomplished with only marginal deviations in the results compared to the standard first-order controller. This was achieved not only for gas-phase chemistry but also for the more complex aqueous-phase chemistry in cloud droplets and deliquescent aerosols. Depending on the selected chemical mechanism, significant improvements were already achieved by simply adjusting heuristic parameters of the default controller. However, especially for the global model, the best results were achieved with the second-order controller, which reduced the number of function evaluations by 43 %, 27 % and 16 % for gas-phase, cloud and aerosol chemistry, respectively. The overall computational time was reduced by over 11 % while requiring only minimal adjustments to the original code. Analysis of a 1-year integration period showed that with the second-order controller, the deviations from the reference simulation stays below 1 % for the main tropospheric oxidants. The results presented here show the possibility of more efficient atmospheric chemistry simulations without compromising accuracy.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this preprint. The responsibility to include appropriate place names lies with the authors.
Raphael Dreger, Timo Kirfel, Andrea Pozzer, Simon Rosanka, Rolf Sander, and Domenico Taraborrelli

Status: open (until 03 Mar 2025)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Raphael Dreger, Timo Kirfel, Andrea Pozzer, Simon Rosanka, Rolf Sander, and Domenico Taraborrelli
Raphael Dreger, Timo Kirfel, Andrea Pozzer, Simon Rosanka, Rolf Sander, and Domenico Taraborrelli

Viewed

Total article views: 54 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
51 2 1 54 1 0 0
  • HTML: 51
  • PDF: 2
  • XML: 1
  • Total: 54
  • Supplement: 1
  • BibTeX: 0
  • EndNote: 0
Views and downloads (calculated since 06 Jan 2025)
Cumulative views and downloads (calculated since 06 Jan 2025)

Viewed (geographical distribution)

Total article views: 54 (including HTML, PDF, and XML) Thereof 54 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 07 Jan 2025
Download
Short summary
Model simulations are essentials for understanding the interactions between atmospheric composition and weather. However, models including chemistry are very slow. Hence, any computation speedup of such models is important for advancing the understanding of interactions within the Earth System. In this study we analysed and optimized the time stepping for chemistry calculations. Our results show that atmospheric chemistry models could be run notably faster without any loss in the accuracy.