Geosci. Model Dev., 14, 675–702, 2021 https://doi.org/10.5194/gmd-14-675-2021 © Author(s) 2021. This work is distributed under the Creative Commons Attribution 4.0 License. PyCHAM (v2.1.1): a Python box model for simulating aerosol chambers Simon Patrick O’Meara1,2, Shuxuan Xu1, David Topping1, M. Rami Alfarra1,2, Gerard Capes3, Douglas Lowe3, Yunqi Shao1, and Gordon McFiggans1 1Department for Earth and Environmental Sciences, University of Manchester, Manchester, M13 9PL, UK 2National Centre for Atmospheric Science, University of Manchester, Manchester, M13 9PL, UK 3Research Computing Services, University of Manchester, Manchester, M13 9PL, UK Correspondence: Gordon McFiggans (g.mcfi
[email protected]) Received: 13 July 2020 – Discussion started: 20 August 2020 Revised: 2 November 2020 – Accepted: 10 December 2020 – Published: 2 February 2021 Abstract. In this paper the CHemistry with Aerosol Mi- 1 Introduction crophysics in Python (PyCHAM) box model software for aerosol chambers is described and assessed against bench- mark simulations for accuracy. The model solves the coupled Many major advances in atmospheric modelling have arisen system of ordinary differential equations for gas-phase chem- from chamber observations: for example, the partitioning of istry, gas–particle partitioning and gas–wall partitioning. Ad- vapours to particles (Odum et al., 1996), the gas-phase chem- ditionally, it can solve for coagulation, nucleation and parti- istry of ozone as part of the Master Chemical Mechanism cle loss to walls. PyCHAM is open-source, whilst the graph- (MCM) (Jenkin et al., 1997), and the gas-phase chemistries ical user interface, modular structure, manual, example plot- of limonene (Carslaw et al., 2012) and β-caryophyllene ting scripts, and suite of tests for troubleshooting and track- (Jenkin et al., 2012).