Modeling of atmospheric chemistry