SAPRC Atmospheric Chemical Modeling Files and Software William P. Carter Air Pollution Research Center (SAPRC), and College of Engineering Center for Environmental Research and Technology (CE-CERT) University of California Riverside, CA 92521 Phone (909) 781-5797 FAX (909) 781-5790 e-mail: carter@cert.ucr.edu This distribution contains files and programs implementing the SAPRC-99 gas-phase atmospheric chemical mechanisms for use in airshed models for predicting the effects of VOC and NOx emissions on tropospheric ozone and other measures of air quality. See SAPRC99.HTM or the web page below for details. The latest versions of these files should be available at /~carter/SAPRC99.htm. To install: 1. Create a directory on a disk with at least 40 MB free that will serve as the "root" subdirectory for the distribution. All files will be installed in a subdirectory structure below this. 2. Give the command "A:\tmp/INSTALL a:\tmp d:\root", where "A:\tmp" should be replaced by the designation of the disk and directory where you copied MODEL.ZIP, INSTALL.BAT, AND PKUNZIP.EXE, and "D:\root" should be replaced by the designation of the disk and directory that you created in the previous step. Note that the directory D:/root must already exist; the install batch file doesn’t create it. If the above instructions were followed properly, the files should be extracted and be in the directory structure required for the installed examples to work. 3. If you do not have a license for Lahey F77L/EM or its current equivalent, then delete all the files that were installed in the LIB subdirectory. You will be able to run the examples and do chamber and reactivity calculations using the installed executable files, but you will not be able to modify the mechanism or any of the programs. If you do not intend to modify any of the programs, you can also delete the files in the subdirectories to SOURCE, though you will need to keep SOURCE/INT3.LIB if you want to modify any of the mechanisms. 4. After it installs the files, the INSTALL.BAT procedure will test to see if your DOS window has sufficient environment space for the example batch files and other procedures to run. If it does, you will get a message saying so. If it doesn’t, look at FIXENV.TXT to see how this can be addressed for various operating systems. This should not be a problem for properly configured Windows 95 or higher systems. 5. INSTALL.BAT also creates a file called NEWENV.BAT that sets the environment variables that are needed to run the examples and compile the programs and mechanisms. Note that unless you edit NEWENV.BAT as indicated in comments to that file, running it will over-write your path so other programs you may not use will no longer work in this DOS window. NEWENV.BAT called when you run any of the example batch files, and also if you open the window using WIN95DOS.PIF. Otherwise, you will need to run this manually in order for the programs to work. 6. Run EXAMPLE.BAT to run the examples and test the installation. It will fail if the environment space is inadequate or files are missing or not installed properly. If it succeeds it will run EXAMPLE\EXAMPLE1.BAT and create the files SIMPLE.CSV and DTC707A.CSV in the EXAMPLE directory and pause. Then it will run some reactivity calculations for AIRLMPBS, create the file REACTEX.CSV in the REACT subdirectory, and show reactivity results for MIBK. See the comments in those batch files for the programs they run and the output they produce. Note that your path will be over- written after you run EXAMPLE.BAT, so you may not be able to use this DOS window for other programs. Last updated: September 25, 2001