             US Environmental Protection Agency
          Office of Transportation and Air Quality


              NONROAD Emissions Inventory Model

NRnote12.txt  April 27, 2004

DRAFT NONROAD2004 Model for Nonroad Diesel Final Rule Modeling


I. Overview

This note contains this overview section, a section for
installation of model files from the ZIP file distribution, a
section for users who do not already have a version of NONROAD
installed on their computer, and a section on finishing touches
for all users.  

This release and the very limited documentation presented here
are intended for users already familiar with an earlier release
of the draft NONROAD model.  For information about additional
documentation please see the accompanying README.TXT file. 

This is one item in a series of notes being issued concerning
the DRAFT EPA NONROAD model, which was first released in June
1998. There were updated/corrected versions of some of the
model files in July and October of 1998, April 1999, June 2000,
and June 2003, which were posted on the NONROAD web site.
Various technical reports documenting the model inputs have
also been distributed via the web site at various times since
June 1998.  

An updated set of technical reports is being provided on the 
NONROAD model web page along with this version of the model. 

This April 2004 release contains substantial updates and
enhancements to the model, including: 

- Benefits of nonroad diesel Tier 4 final emission standards. 

- Benefits of Exhaust emission standards of the November 2002
final rule on recreational vehicles, nonroad large spark
ignition equipment, and diesel recreational marine engines over
50 hp (37 kw).  It also updates the diesel rec marine deterioration
to match what was used in this rule.  
Note that it does not yet include modified inventories or any 
benefits related to the evaporative emissions effects of that rule. 

- Updated base case diesel equipment populations and emission
inventories based on updated historical sales data. 

- The Tier 3 PM and NOx emission factors for equipment applications 
that tend to have steady-state operation were corrected to remove 
extra adjustments that are only appropriate for transient operation. 

- Model outputs that had been labeled as "SOx-Exhaust" are now
labeled as "SO2-Exhaust" to minimize confusion, since SO2 is
what the numbers have always represented. 

- To accomodate the Tier 4 standards the horsepower ranges used
by the model now split the 50-100 range into 50-75 hp and 75-100
hp.  Also the prior 1500 hp point has been changed to 1200 hp,
giving power ranges of 1000-1200 hp and 1200-2000 hp. 

In line with the above changes to the model input data files and
core model (nonroad.exe), the Reporting Utility (RU) has been
updated to reflect the new hp ranges and SO2 label.  Other
changes to the Reporting Utility include: 

- The conversion from Total PM as calculated by the core model
to the optional PM2.5 output of the RU has been changed from 92%
PM2.5 to 97% PM2.5 based on more recent test data. 

- The county-level reports now include the FIPS code as well as
the county name. 


=============================================================

II. Installation from ZIP'd (compressed) Files

CAUTION: 
BEFORE PROCEEDING WITH ANY INSTALLATION OF NEW MODEL FILES -- 

Due to the new horsepower ranges in the core model (nonroad.exe)
and Reporting Utility (reports.mdb and nrdata.mdb), any model
output data files from previous versions of the model are no
longer compatible with the new Reporting Utility.  If you wish
to maintain access to that data, you have a couple of choices: 

1) Generate any desired reports from your current reporting
utility. Print them out and/or export them from the RU to Excel
spreadsheet format. 

2) Alternatively, you may prefer to retain your old Reporting
Utility (reports.mdb) and its data file (nrdata.mdb) in a
separate subdirectory or with a different name in the normal
nonroad\reports\ directory.  Just be careful to put these at
least temporarily somewhere outside the c:\nonroad\ directory
where they will not be overwritten when installing the new
version of the model and reporting utility. 

The new Reporting Utility files in this release are:
reports.mdb, nrdata.mdb, and nif.mdb.  All the other files in
the \nonroad\reports\ subdirectory are included to ensure
completeness, especially for anyone installing the model for the
first time. 

NIF 3.0 vs NIF 2.0

At the time of this release the NIF output ability of the
default stand-alone runtime version of the Reporting Utility
still uses the NIF 2.0 format.  However, we are also making
available a version of the Reporting Utility that that provides
NIF 3.0 output.  This NIF 3.0 version is not yet available as a
stand-alone runtime version, which means that you must have
Microsoft Access 2000 (or later) to be able to use this
database.  We plan to create a stand-alone runtime version of
this soon, so that NIF 3.0 output can be generated by users who
do not have their own MS-Access 2000 (or later) software. 

The NIF 3.0 output version of the Reporting Utility is provided
in the folder Nonroad\Reports\RU2K\.  The "2K" in this filename 
is a reminder that it requires MS-Access 2000 (or later) to 
operate.  The NONROAD Graphic User Interface (GUI) is not set
up to use this NIF 3.0 version of the Reporting Utility.  If
you have your own Access 2000 or later software and wish to use 
this version of the database as your default in conjuction with 
the GUI, you will need to edit the nr-gui.ini file accordingly. 


UnZIPing files: 

All the model files are contained in ZIP'd (compressed) files.
You can uncompress and install these new files using an unZIP
utility of your choice, such as WINZIP or PKUNZIP.  Be sure to
set the unZIP options to include the folder names when
extracting the files. If using PKUNZIP from the DOS prompt, the
options you should specify are: 

 -d (restore directory structure stored in ZIP file), and
 -o (overwrite previously existing files)

For example, the DOS command to unZIP the new NONROAD nr2004.zip
file would be: 

 pkunzip -do nr2004.zip


A.  Users With a Prior Installation of NONROAD

If you wish to save your complete prior version of the model to
maintain the ability to use it instead of the new version when
desired, one possible approach is to simply rename your existing
c:\nonroad directory to something else, such as c:\nr2002a
depending on what prior version you have.  Then create a new 
c:\nonroad directory into which you can install this new version.
Later, anytime you want to run the old version, you would
temporarily rename the directories, e.g., first rename c:\nonroad
to c:\nr2004 and then rename the old c:\nr2002 to c:\nonroad.
Then when ready to switch back to the new version, rename 
c:\nonroad to c:\nr2002 and rename c:\nr2004 to c:\nonroad. 

In any case, before installing this new version of NONROAD on
your computer, be sure to check the warnings above about saving
any desired files from previous modeling runs.  You will need
just the following file: 

 NR2004.ZIP (core model, new data files, Reporting Utility, GUI)
   Place this ZIP file into your c:\nonroad directory and unZIP
   it with the unZip option to use subdirectories, allowing it to
   overwrite any existing versions of the files, including the
   entire nonroad\data\ subdirectory. 

When done extracting the ZIP files, you can delete the ZIP files
if you wish. 


B.  Users With No Prior Installation of NONROAD

First follow the instructions in Step A above, ignoring the
cautions about saving prior versions. When done extracting all
the files, check that all the \data\ subdirectories exist and
have files in them.  E.g., nonroad\data\allocate\ should have
many files ending in .ALO.

Then, in order to use the Graphic User Interface (GUI) you will
need to install certain Visual Basic system (DLL) files.  This
is done using the file: 

 NR99A3.ZIP (graphic interface DLL files, unchanged from earlier)

You will want to place the NR99A3.ZIP file into a temporary
directory, such as c:\windows\temp\, unZIP it, and then run the
SETUP.EXE file from there to complete the installation of the
graphic user interface.  After running SETUP.EXE, you can delete
these files from the temporary directory. 

When done extracting the ZIP files, you can delete the ZIP files
if you wish. 

Finally, please follow the instructions below in Section IV,
Finishing Touches. 


III. INSTALLATION OF NEW FILES FROM CD

Besides the necessary model installation files, the CD also
contains the User Guide, which you can place anywhere you wish
on your computer, or just leave it on the CD to view when
needed.  Note that this has not yet been updated since its
release a year ago with the draft NONROAD2002a version of the
model. 


A.  Users With a Prior Installation of NONROAD on Computer

CAUTION: 
BEFORE PROCEDING WITH ANY INSTALLATION OF NEW MODEL FILES -- 

Due to the new horsepower ranges in the core model and Reporting
Utility (reports.mdb and nrdata.mdb), any model output data
files from previous versions of the model are no longer
compatible with the new Reporting Utility.  If you wish to
maintain access to that data, you have a couple of choices: 

1) Generate any desired reports from your current reporting
utility. Print them out and/or export them from the RU to Excel
spreadsheet format. 

2) Alternatively, you may prefer to retain your old Reporting
Utility (reports.mdb) and its data file (nrdata.mdb) in a
separate subdirectory or with a different name in the normal
nonroad\reports\ directory.  Just be careful to put these at
least temporarily somewhere outside the c:\nonroad\ directory
where they will not be overwritten when installing the new
version of the model and reporting utility. 

In any case, before installing this new version of NONROAD on
your computer, be sure to check the warnings above about saving
any desired files from previous modeling runs. 

After saving any desired files as described above, you can just
copy the new files from the CD into the corresponding
directories of your computer's hard drive.  You can ignore the
nonroad\gui-inst\ directory.  Then you must do step III. B (3)
below to remove the "Read-Only" attribute from the files. 

B.  Users With No Prior Installation of NONROAD

 (1) Copy the entire \nonroad\ directory with all its
subdirectories onto the root directory of your c: drive,
resulting in c:\nonroad\ and all its subdirectories, such as 
c:\nonroad\data\activity\, c:\nonroad\reports\, etc. 

 (2) Go into the \gui-inst\ directory and run SETUP.EXE.  This
will install the necessary Visual Basic system files into your
windows directory to allow the Graphic User Interface (GUI) to
run properly.  

 (3) If copied from a CD, you will need to remove the
"Read-Only" attribute from most of the files.  You can do this
with Windows Explorer.  If you are using Windows 2000 or XP, you
can easily do this by right-clicking on the c:\nonroad folder,
select Properties, and un-check the "Read-only" box, click the
Apply button and tell it to apply the changes to all subfolders
and files.  

If you are using an earlier version of Windows, such as Windows
95, there is no option to apply the change to subfolders, so you
must do the process separately for each subfolder.  Open each
subfolder, select all the files within each subfolder, and use
the menu command - File: Properties... un-check the "Read-only"
box, and click Apply.  

IV.  Finishing Touches

A.  All Users: The first time you run the new Reporting Utility,
you will probably need to Re-Attach Tables (see the Data menu). 


B.  Users Who Did Not Have a Prior Installation of NONROAD on
Computer: 

(1) You will want to create New Shortcuts (desktop icons).  The
first one of these should point to the "target" command line 
c:\nonroad\nr-gui.exe to be able to run the model easily.  

The second shortcut you need to create is for the Reporting
Utility.  The command line target you need to use in the shortcut
is: (all on one line)

C:\NONROAD\REPORTS\MSARN200.EXE c:\nonroad\reports\reports.mdb
 /ini c:\nonroad\reports\nonroad.ini

The third shortcut you need to create is for the Compact Utility
for the Reports.  The command line target you need to use in the
shortcut is: (all on one line)

C:\NONROAD\REPORTS\MSARN200.EXE c:\nonroad\reports\compact.mdb
 /ini c:\nonroad\reports\nonroad.ini

You can also get the proper icon to display with each of these
reporting utility shortcuts.  In the Properties for the shortcut,
click on the Change Icon... button and in the Nonroad\Reports\
folder find the "reports.ico" file for the Reporting Utility, and
for the Compact Utility choose "squash.ico."

After creating these shortcuts, you can also get them to show up
in the Windows Startup menu by copying the shortcut files from
C:\Windows\Desktop\ into C:\Windows\StartMenu\Programs\. 


Thank you,

NONROAD Engine Emission Modeling Team
Assessment and Standards Division, US EPA

Email:  nonroad@epa.gov
Fax:    734-214-4939
Web:    www.epa.gov/otaq/nonrdmdl.htm
US mail:  US EPA Assessment and Standards Division
          2000 Traverwood Drive
          Ann Arbor MI 48105
