This document is designed to help one use the input files provided by EPA in HD GHG 

NPRM docket to run MOVES to produce the output EPA used to developed emission 

inventories for all the HD GHG alternatives.

Code

The version of the MOVES code used is 2009-12-21. This should be available on the 

MOVES website as MOVES2010.

Default database

MOVESDB20100515 was used at the default database. This should be available on the 

MOVES website if not already part of the installation package.

Input databases

The input databases are used to change the default data in MOVES to reflect HD GHG 

rule alternatives. These databases are:

 HDGHG_reference_20100426

 HDGHG_control_20100618_reboundA

 HDGHG_LHD45control_20100618_reboundA

 HDGHG_eisAlt2_20100707_reboundA

 HDGHG_eisAlt5_20100707_reboundA

 HDGHG_epaALT8_20100812_reboundA

 HDGHG_LHD45epaALT8_20100812_reboundA

The samplevehiclepopulation table also needed to be modified to reflect proper sales and 

fleet distributions of the different segments of trucks. However, the version of MOVES 

we ran does not allow for this table to be used in an input database. As a result, new 

default databases were created containing the updated samplevehiclepopulation table. 

These modified default databases are:

 MOVESDB20100515_MHDHHD2b3

 MOVESDB20100515_45

 MOVESDB20100515_eisAlt3HHD

 MOVESDB20100515_eisAlt3MHD

These modified default databases work in concert with any input databases specified in 

the run spec. 

Run Specs

Twenty-eight run specs are included. Seventeen runs are for the non-GHGs and GHGs 

for calendar years 2005, 2018, 2030, and 2050. Eleven runs are for annual GHGs from 

2014 through 2050. CO2 and CO2eq were not explicitly run. Instead, total energy

consumption was run and post-processed to calculate CO2 (by fuel), and methane and 

N2O were run separately.
The run specs should already call up the appropriate modified default databases and user 

input databases, so no additional changes need to be made to the run specs, provided the 

names of the databases are unchanged. Feel free to edit the name of the output databases 

to better suit your need.

Air toxics are included in the gasoline runs, but not for diesel runs. Air toxics are postprocessed for diesel vehicles. This version of MOVES code is especially slow if running 

air toxics. 

The batch file named “HDGHG_2005-2018-2030-2050-Annual_20100816.bat” initiates 

MOVES and queues up all of the run specs. To save time, this batch file can be split up 

into two or more batch files and run on separate computers. You will likely need to edit 

the batch file so that the file paths for MOVES and the run specs match the locations on 

your local hard drives.

Not all alternatives were run explicitly in MOVES. Some alternatives are subsets of the 

alternatives run in MOVES and were therefore post-processed.

Post-processing

Post-processing was a necessary component to the inventory development for the 

following items:

 Using reference inventories and activity for pre-rule model years

 APU emission rates for extended idling for combination long-haul trucks

 Diesel air toxics

 Combining MOVES runs to produce inventories for all alternatives

Post-processing was done using SAS software. Other software can be used to postprocess if desired, but only SAS code is included. The included SAS code should 

automate most of the post-processing. 

First, you must export both the four-year and annual MOVES emissions output 

(movesoutput table) and activity output (movesactivityoutput table) into four different 

CSV files. This can be done by executing the following code in mySQL:

Emissions: select movesrunID, yearID, pollutantID, processID, fueltypeID, sourcetypeID, 

modelyearID, emissionquant FROM `hdghgoutputnprm_20100722`.`movesoutput`;

Activity: select movesrunID, yearID, fueltypeID, sourcetypeID, modelyearID, 

activitytypeID, activity from hdghgoutputnprm_20100722.movesactivityoutput;

(execute these for both the four-year and annual output databases; then export to CSV 

(e.g. through query browser GUI))

Next, in the SAS code, you must modify the file paths to import the MOVES output CSV 

files data from the proper location and to the desired location on your hard drive. 
Then, in SAS, highlight all the text in the file and run. This should complete the postprocessing. All pollutants in the NPRM inventories should be represented accurately. 

Certain other pollutants may be incomplete or extraneous (e.g. NMHC). Both the annual 

and four-year runs will be in a single file. You can separate this if you wish.

Prashanth Gururaja

Gururaja.Prashanth@epa.gov