ozone2_ode, a Python code which sets up and solves a stiff system of four ordinary differential equations (ODE) that simulate the daily variation in atmospheric ozone concentration. This version of the ozone ODE includes a nitrogen oxide source term.


The computer code and data files described and made available on this web page are distributed under the MIT license


ozone2_ode is available in a MATLAB version and an Octave version and a Python version.

Related Data and codes:

python_ode, Python codes which sets up various systems of ordinary differential equations (ODE).


  1. Willem Hundsdorfer, Jan Verwer,
    Numerical solution of time dependent advection-diffusion-reaction equations,
    Springer, 2003,
    ISBN13: 978-3-662-09017-6.

Source Code:

Last revised on 11 June 2021.