2. Using AtChem with the MCM

Task 2.1. Construction of a Simple CO/CH4 Model

In this exercise we will set up and run a simple CH4/CO model in order to get to grips with extracting MCM subset mechanisms and using the AtChem model.

For more information and examples on how to set up and run an AtChem model see the AtChem help page at any point.

2.1.1 Extract the methane oxidation mechanism from the MCM website.

To do this, go to the MCM website, and click "Browse" on the main task bar or "Browse the mechanism" on the main menu. Under "Select a Primary VOC", choose "Alkanes" and click on methane. Alternatively you can type "methane" into the main search bar visible to the top right of all pages, and click on the appropriate structure in the search results. This takes you to a page that gives the radical reactions which initiate the oxidation of methane in the troposphere (methane is removed by reaction with OH and Cl in the MCM). Click "Add to marklist" under any CH4 structure (i.e. "C"). When you click you do this, CH4 appears in the "Mark List" shopping cart icon in the top right. This list includes any species that you have marked ready for extraction. If you accidentally mark something that you don't want, you can remove it.

Now that you have marked CH4 as the species for which you want an MCM oxidation mechanism, click on "Export" in the top bar. This page lets you extract a subset of the MCM using your mark list as the set of primary species. A variety of formats are available here; however, the AtChem model uses the FACSIMILE format, so specify "FACSIMILE" by clicking next to it. You will also need to include a set of inorganic reactions in order to model the tropospheric chemistry of methane. To do this also specify "include inorganic reactions". Click the "Download" button near the bottom of the page, and specify where you want the CH4 oxidation mechanism to be saved.

NB: As the "generic rate coefficients" are currently hardwired into the AtChem model you do not need to extract these along with the inorganic reactions. We are working on ways for the user to alter these reactions in the next version of AtChem.

Open the file containing the mechanism and inorganic reactions that you have just extracted with word pad or another text editor. It includes 4 main parts:

NB: As already mentioned, the AtChem model uses the FACSIMILE format. However, the AtChem model only uses the peroxy radical summation list and the mechanism from the extracted file. The model will ignore all notation and the variable declarations used in FACSIMILE models.

Now you have extracted the MCM mechanism for methane along with a suitable set of inorganic reactions needed to model its tropospheric chemistry, rename and save this mechanism in an appropriate place and give it the file extension '.fac'.

2.1.2 Set up the Initial Concentrations File

Next we have to set up the initial conditions in our model. Listed in Table 1 are a set of typical atmospheric "background" concentrations with which we can initialise our simple CO/CH4 model.

Place these values in an initial concentration file for use with the AtChem CO/CH4 model. The AtChem help page has details of the correct file format. In the initial concentration file, all concentrations have to be in molecules cm-3, therefore you will need to convert from parts per billion. This can be done using the following approximate conversion factor:

1 ppbv = 2.46 × 10+10 molecules cm-3 @ 298 K and 1 atm

The MCM name of the species of interest and initial concentration value should be separated by a space and each species should be on a different line.

NB: The water concentration and average temperature listed in Table 1 should be specified in the "Environmental Variables" section of the model later

Once you have set up your initial concentration file, give it an appropriate name and save it with the extention ".config" in the same folder as your mechanism ".fac" file.

Table 1. Initial concentrations and other parameters for the simple CO/CH4 model
Species
CH4 (ppbv)1750
NO (ppbv)0.018
NO2 (ppbv)0.024
O3 (ppbv)50
CO (ppbv)200
H2 (ppbv)500
H2O (molecules cm-3)3.0 × 10+17
Taverage (oC)25

2.3 Set up the Concentrations Output File

Now we want to set up a file to specify which species concentrations we would like to output. To do this set up a file with the MCM species names of each species concentration you wish to output listed on separate lines. From the model we want to output CH4, O3, NO, NO2, OH, HO2, CH3O2, HCHO and CH3OOH. Then save this file in the same directory as the input concentration and mechanism files with an appropriate name and the ".config" extension.

2.4 Set up/running the CO/CH4 model on AtChem

Now we have set up the appropriate input and output files we can set up the AtChem model run:

2.5 AtChem Model Output

Hopefully the model should have run without any problems and the "Model Execution Output" page should have opened. Listed on this page are the model statistics and where you can download the model input and output files.

Download the model output ".zip" folder (and input ".zip" folder if you wish) and save it to an appropriate place.

Open this folder and look in the "ModelOutput" folder. This folder contain many files detailing the output parameters of the model run. Unzip and open the "concentration" output file. This should give the time and model concentrations of all species defined in the "Concentration Output" file, output every 15 minutes for 5 days.

Open this file in an appropriate graphical spreadsheet application and plot the concentration-time profiles of the model species.

Satisfy yourself that the model is appropriately simulating the temporal evolution of the radical and stable products such as HOx and HCHO under the conditions defined in the model.

Next
Previous
Return to Tutorial homepage