Modeling the effects of atmospheric emissions on groundwater composition