Vous êtes sur la page 1sur 26

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Creating a DOE2 .bin file from NCDC .dat weather file


Order 10 year (they wont send 1 year) weather data from National Climatic Data Center (NCDC)
The e-mail address for orders online only is: ncdc.orders@noaa.gov.
Order by telephone number is (828) 271-4800

Date: Wed, 11 Jul 2001 11:37:25 -0400


From: "Paul E Hudspeth" <Paul.E.Hudspeth@noaa.gov>
To: orders@ncdc.noaa.gov
CC: questions@ncdc.noaa.gov, "Varkie Thomas" <varkie.thomas@som.com>
Subject: Re: PH*Hourly Weather Data for Kuwait & Tokyo
Hourly observations are available for 1947-2001 for Tokyo and 1973-2001 for Kuwait. Price is dependent on the
number of stations requested. Both stations for 10 years each would cost $420.00 + $11.00 for processing; 20 years or
more for both sites-$581.00. Price per station for 10 years is $210.00 + $11.00.
There is no 'order form'. To order call or e-mail with Visa, Mastercard or Amex.
Phone 828-271-4800 Fax 828-271-4876
Processing time is approx 1 week after receipt of payment.
"NCDC.ORDERS" wrote:
To:
National Climatic Data Center (NCDC), National Oceanic & Atmospheric Administration (NOAA)
Federal Building, 151 Patton Avenue, Asheville NC 28801-5001
Tel: 828-271-4800 Fax: 828-271-4876
Email: orders@ncdc.noaa.gov
Website: http://www.ncdc.noaa.gov/ol/about/ncdcordering.html
Could you tell me how to order hourly weather data for Kuwait and Tokyo. Can you fax the order form to
me. This is for use with the Energy Analysis Computer Program by the US Department of Energy. Below is
an example of the Test Reference Year (TRY) weather file format that we require.
Varkie C. Thomas
Skidmore, Owings & Merrill, LLP
224 S. Michigan Ave. Chicago, IL 60604
Tel: (312) 360-4467 (direct) Fax: (312) 360-4545
Station No. for Shanghai (columns 1-5)
Weather data items (DB, WB, CC, etc columns 6-59)

Blank (columns 60-69)


Year, Month, Day, Hour (columns 70-79)

Blank (column 80)


58367042041039340006999900199999999999999999999999999999999
58367039999039340010999909999999999999999999999999999999999
58367041999037350012999909999999999999999999999999999999999
58367041039037340006999900199999999999999999999999999999999
58367999999999999999999999999999999999999999999999999999999
58367045999037360012999909999999999999999999999999999999999
58367048043038020006999900399999999999999999999999999999999

1990010205
1990010206
1990010207
1990010208
1990010209
1990010210
1990010211

Clip out (Copy) any year (say the last year of the 10 years) and save it as a Text file with
Notepad or Wordpad. Change the extension from .txt to .dat.

Instructor: Varkie C. Thomas, Ph.D., P.E.

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

TRY/TMY Weather Data Format


Column Data: DB = Dry Bulb WB = Wet Bulb DP = Dew Point WD = Wind Direction WS = Wind Speed
AP = Atmos Pr W = Weather CC = Cloud Cover
WBAN
1-5

DB WB DP WD
WS
AP
W CC
Cloud Details
6-8 9-11 2-14 15-17 18-20 21-24 25 26-27 28-55

RDN
56-59

BLANK
60-69

Tokyo.dat file: Latitude = 35.4 Longitude = -139.5 Time Zone = -9


47662
47662

048 041 033


080 070 065

350
020

010
008

9999
9999

1
0

01
04

999999999999999999999999 9999
999999999999999999999999 9999

Kuwait.dat file: Latitude = 29.2 Longitude = -48.0 Time Zone = -3


40582
40582

053 045 036


115 066 025

000
330

000
014

9999
9999

0
0

04
00

999999999999999999999999 9999
999999999999999999999999 9999

YR
70-73

M
D
H
74-75 76-77 78-79

1991
1991

01
07

01
02

21
15

1989
1990

01
07

01
07

21
15

First Line of Data (Jan 1, Hr 1) must have weather data up to Cloud Cover.
DOE Weather Processor interpolates missing values. Card (CD) Column Numbers:
Card
CD-1
CD-2
CD-3

CD-4
CD-5
CD-6
CD-7
CD-8

Column Nos.
1-4
1-20
1-6
7-12
13-18
19-24
25-30
31-36
37-42
43-48
49-54
55-60
61-66
1-6 to 67-72
1-6 to 67-72
1-4
1-4
1-3

PACK
location Name. Ex: Chicago
Any one of types TRY, TMY, TMY2, WYEC, CTZ, etc
WBAN Station Number for TRY and TMY
Weather Data Year (Enter -999 if unknown)
Time Zone (Ex. USA Central Time is 6, Tokyo is -9)
Latitude (Enter as Decimal Number within column range)
Longitude (Enter as Decimal Number within column range)
60-BIT (or 30-BIT)
NORMAL (for DOE2, OLD for DOE1, SOLAR for extra solar Info)
Program will incorporate missing data for up to 4 hours)
Maximum DB increase per hour.
Soil Diffusivity (Can be omitted)
Clearness Number for each of 12 months (-999 in 1-6 to omit)
Ground Temps (deg-K) for each of 12 months (-999 in 1-6 to omit)
LIST (to list weather data omit not required)
STAT (to get statistical data can be omitted)
END (end of instructions for processing 8760 hour weather data)

Tokyo.inp file: (take an existing column formatted .inp file and change the values)
PACK
TOKYO 2000
TRY
47662 -999
-9 35.4 -139.530-BITNORMAL
4 20. .025
0.95 0.97 0.98 1.00 1.05 1.10 1.15 1.05 1.00 0.98 0.98
-999.
STAT
END

0.98

Kuwait.inp file: (take an existing column formatted .inp file and change the values)
PACK
KUWAIT 2000
TRY
40582 -999
-3 29.2 -48.1 30-BITNORMAL
4 20. .025
0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98
-999.
STAT
END

Instructor: Varkie C. Thomas, Ph.D., P.E.

0.98

Energy Efficient Building Design

Seoul.inp

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Seoul .inp file created by you see below

PACK
SEOUL 1995
TRY
47110 1995
-9 37.5 -87.5 30-BITNORMAL
4 20. .025
0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98 0.98
-999.
LIST
STAT
END

Instructor: Varkie C. Thomas, Ph.D., P.E.

0.98

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Example: Seoul Weather Data


HAS0000050121.op Name of file from NCDC
Seoul.tpe
Above file name changed to Seoul.dat
1st January Hours 1 (first hour # = hour 00) to 10 (hour # = 9)
WBAN No. for Seoul (cols 1-5)
Year, Day, Month, Hour (cols 70-79)
4711003299900929000799990999999999999999999999999999999
4711003099901228000399990999999999999999999999999999999
4711002899901200000099990999999999999999999999999999999
4711002899901211000199990999999999999999999999999999999
4711002399901032000199990999999999999999999999999999999
4711002599901609000199990999999999999999999999999999999
4711001999901234000299990999999999999999999999999999999
4711002199901835000299990999999999999999999999999999999
4711001899901433000399990999999999999999999999999999999
4711001899901432000299990999999999999999999999999999999

1995010100
1995010101
1995010102
1995010103
1995010104
1995010105
1995010106
1995010107
1995010108
1995010109

Hours in between 15 and 8745 (8760 hours per year)


31st December Hours 15 (first hour # = hour 14) to 24 (hour # = 23)
4711001499900029000499990999999999999999999999999999999
4711001499900300000099990999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999
4711099999999999999999999999999999999999999999999999999

Instructor: Varkie C. Thomas, Ph.D., P.E.

1995123114
1995123115
1995123116
1995123117
1995123118
1995123119
1995123120
1995123121
1995123122
1995123123

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

NCDC sends 10 years of TRY weather data. Select-Crop out one year and save it
a different file. Name it location.tpe (tpe is file extension). Save this
file in C:\DOE21E\WEATHER\UNPACKED Sub-Directory (see next screen)

Save the NCDC data in location.tpe C:\DOE21E\WEATHER\UNPACKED Sub-Directory

Instructor: Varkie C. Thomas, Ph.D., P.E.

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Save the location.inp file in C:\DOE21E\WEATHER\INPUT Sub-Directory

Instructor: Varkie C. Thomas, Ph.D., P.E.

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

C:>DOE21E > WEATHER


UTIL
INPUT
UNPACKED
PACKED

Weather utility programs


Copy location.inp file here
Copy location.tpe file here
Program puts location.bin file here

DOE-2 weather utilities


The DOE-2 weather utilities can run under DOS [or as non-Windows (in a DOS
box)applications in Windows 3.1 - version W09 and later only].
The C:\DOE21E\WEATHER directory contains several subdirectories as
follows:

INPUT

PACKED
UNPACKED

UTIL

Contains input files used by, and the output generated by


the batch (*.bat) procedure file found in
c:\doe21e\weather\util
Contains DOE-2 "packed" binary weather files
Contains any NOAA "raw" data files (*.tpe) and the
WTHFMT2 text files (*.ft) for the batch file in the UTIL
directory
Contains several utility programs as well as batch
procedure files to execute all the DOE-2 weather
utilities

Instructor: Varkie C. Thomas, Ph.D., P.E.

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

The C:\DOE21E\WEATHER\UTIL directory contains several programs and batch procedure files.
The following are frequently used:
MKAFT.BAT

PKAFT.BAT

PKATPE.BAT

STAT.BAT

Batch file to create a text file from a binary file using WTHFMT2
useage: MKAFT filename
(omit filename extension .bin)
filename is DOE-2 binary (filename.bin) in PACKED (no extension)
filename.ft is placed in UNPACKED directory
Batch file to create a binary file from a text file using FMTWTH2
useage: PKAFT filename
(omit filename extension .dat)
filename is WTHFMT2 text (filename.ft) in UNPACKED
(no extension) filename.bin is placed in PACKED directory
Batch file to process a NOAA text file into a DOE-2 binary file using WTH.EXE
useage: PKATPE filename
(omit filename extension .dat)
filename is NOAA "raw" text (*.tpe) in UNPACKED directory (no extension) and
matching WTH.EXE input (*.inp) in INPUT directory
filename.bin is placed in PACKED directory
filename.out is placed in INPUT directory
Batch file to create a weather file statistical summary from a DOE-2 binary file
useage: STAT filename (omit filename extension .bin)
filename is binary (*.bin) in PACKED directory (no extension)
filename.sta is placed in INPUT directory

PKATPE.BAT (Example of Program Code Listing)


set doedir=c:\doe21e\
if exist %doedir%weather\input\%1.inp goto :doit1
%doedir%weather\input\%1.inp
goto :end
:doit1
if exist %doedir%weather\unpacked\%1.tpe goto :doit2
echo ERROR: missing wth processor weather data file - %doedir%weather\unpacked\%1.tpe
goto :end
:doit2
echo Get location.tpe (NCDC weather data) file from UNPACKED subdirectory
set weathr.tmp=%doedir%weather\unpacked\%1.tpe
echo Get location.inp file from INP subdirectory
set input.tmp=%doedir%weather\input\%1.inp
echo Put the output in file location.out
set output=%doedir%weather\input\%1.out
echo Put the converted location.bin file in the PACKED subdirectory
set newth.tmp=%doedir%weather\packed\%1.bin
echo Run the weather processor program
%doedir%exe\wth
set input.tmp=
set weathr.tmp=
set newth.tmp=
del stout.tmp
:end
echo on

Instructor: Varkie C. Thomas, Ph.D., P.E.

set output=

Energy Efficient Building Design

College of Architecture

eQUEST 3.61 Weather Location Folder

Illinois Institute of Technology (IIT), Chicago

eQUEST 3.63b Weather Location Folder

eQUEST 3.61 Weather Location Folder


C:\Program Files\eQUEST 3.61\Weather
eQUEST 3.63b Weather Location Folder
C:\Users\UserName\Public\Public Documents\eQUEST 3.63 Data\Weather\Folder

Enter Weather Location in eQUEST Schematic Design General Information Form-1

Instructor: Varkie C. Thomas, Ph.D., P.E.

Energy Efficient Building Design

College of Architecture

Open the Command-Prompt Window.

Illinois Institute of Technology (IIT), Chicago

You will find it in Start > Accessories

Copy Icon to Folder on Desktop or Desktop


Open Start / All-Programs / Accessories / Copy Command-Prompt icon on to your
desktop or into some folder where you know where it is.

Create a location.bin file from location.dat weather file


Click on Command-Prompt icon to open the DOS (disk operating system) window. DOS not
distinguish between upper and lower case letters so you can use either or mix them.
If you are not in the C drive then change to C drive. Type C:\Dir1\Dir2>cd\
Change to the DOE21E sub-directory in the C drive. Type C:\>cd doe21e
Change to the WEATHER sub-dir in DOE21E dir. Type C:\>doe21e>cd weather
Change to the UTIL sub-dir in WEATHER dir. Type C:\>doe21e>cd weather> cd util
One step method. C:\>cd doe21e\weather\util
Place NCDC weather data file the (ex. BAHRAIN) in WEATHER\UNPACKED directory
Change the extension from BAHRAIN.dat to BAHRAIN.tpe
Place the BAHRAIN.inp file in WEATHER\INPUT directory
Run the program PKATPE.BAT program. Omit the extensions
C:\>cd doe21e\weather\util> pkatpe bahrain
The binary weather file bahrain.bin will be placed in the WEATHER\PACKED directory

Instructor: Varkie C. Thomas, Ph.D., P.E.

10

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Weather Utilities in C:\DOE21E\WEATHER\UTIL Folder.

Run program pkatpe to convert location.tpe (in UNPACKED directory)


to location.bin (saved in PACKED directory).
Instructor: Varkie C. Thomas, Ph.D., P.E.

11

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Creating a Text file from location.bin weather file.


The DOE21E directory should in the C: drive (C:\DOE21E)
The location.bin binary file should be in sub-directory
C:\DOE21E\WEATHER\PACKED\
Make sure that the MKAFT.BAT batch file is in C:\DOE21E\WEATHER\UTIL\
Open the Command Prompt (DOS) Window. It is in Start All Programs Accessories
In DOS, change to the C:\DOE21E\WEATHER\UTIL sub-directory
Type: MKAFT location (MKAFT space location without extensions. Ex: mkaft chicagil)
You will find a file called location.FT in directory C:\DOE21E\WEATHER\UNPACKED\
From MS-Word open the file location.FT.
The ..FT file is a text file, It can be opened with WORDPAD, NOTEPAD or any text editor.
Alternatively change the extension .FT to .txt first and then open the file.

Open DOS Command-Prompt. Change Directory to C:\DOE21E\WEATHER\UTIL

Instructor: Varkie C. Thomas, Ph.D., P.E.

12

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Run the "mkaft.bat" program. DOS command = mkaft Moscow

Instructor: Varkie C. Thomas, Ph.D., P.E.

13

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

The converted Text file is in C:\DOE21E\WEATHER\UNPACKED with extension*.FT

Open MOSCOW.FT file with a Text Editor such as NOTEPAD.


NCDC weather data.
From location.inp file
Instructor: Varkie C. Thomas, Ph.D., P.E.

14

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Creating an Excel file (charts & tables) from .txt weather file.
Delete the first 3 lines in the location.FT just created. Line 1 is miscellaneous data,
line is 2 is atmos-factor and line 3 is ground Temp. These came from the location.inp file
Save the file as a text file. Save as type: Plain Text (*.txt). Check Windows (Default)
You now have file location.txt
From MS-Excel try opening the file location.txt. Files of type should be all Files
In the Text Import window check Fixed width. Click Next
Make sure each item is in a column separated by a red line. The month-day-hour may not be.
Click Next and then Finish. Excel will open the file. Save as an Excel file.
Open the Excel file Nanjing-Example.xls. You have 2 Excel files open now.
From file location.xls hit CTRL-END together to go to end of file. Row 8760, Column Q.
Hold down CTRL and use left mouse button to highlight entire file.
From Menu-Edit Copy the highlighted section in location.xls
Switch to file Nanjing-Example.xls and paste in Row 5, Column B. The first column was
created by me to count the hours from 1 to 8760. The first few rows are headers.
You might want to format the columns in terms of text type and size (I prefer Times New Roman
Size 9), decimal places and centering the numbers.
Replace Nanjing in Row 1, Column A with the name of the location. The location names in the
charts have to be changed individually. Save as new Excel file with location name.
Statistical analysis of the weather as charts and tables (DB, WB, DP, W, H, Wind Vel., HDD &
CDD (for selected base levels) are create in separate sheets. The name of the location must be
changed in each chart since this is not done automatically.

Instructor: Varkie C. Thomas, Ph.D., P.E.

15

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

The 3 lines of the *.inp file has been deleted. Save the file as a TEXT file

Note the TEXT version of FT file. (same file without 1st three lines)
Instructor: Varkie C. Thomas, Ph.D., P.E.

16

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

C:\DOE21E\WEATHER\UNPACKED folder showing the 2 files .FT and .txt you just created

Open the MOSCOW.FT.txt file from Excel.

Instructor: Varkie C. Thomas, Ph.D., P.E.

Set file types to ALL Types

17

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Excel opens Import Form showing TEXT file data. Select Fixed Width. > Next

Month and Day Numbers are in the same column. The Weather Data Columns have not been
sorted correctly by Excel. Click on these vertical red lines (column separators) and move them to
the right positions. Double-click on a column position to insert a new red column separator.

Instructor: Varkie C. Thomas, Ph.D., P.E.

18

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Column separators have been fixed to separate the weather data columns. Columns above 70
are not shown here. Move slider to right to see columns 71 to 80.

Instructor: Varkie C. Thomas, Ph.D., P.E.

19

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

You can use "General" or "Text" before clicking Finish

Excel opens the TEXT file with all the data separated correctly. Excel will remember this file as
TEXT when you save it.
Instructor: Varkie C. Thomas, Ph.D., P.E.

20

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

File > "Save As" and save it as an Excel file

Excel Weather Analysis Templates. Beijing is the LONG version. Shanghai is the SHORT version.
Copy & overwrite the template with your Excel Weather data.

Instructor: Varkie C. Thomas, Ph.D., P.E.

21

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Short Weather Template Shanghai. Over-Write this portion with your Excel Weather Data

Long Weather Template with Beijing Weather. Dew Point & Relative Humiditys are calculated.
This portion of the template (8760 hours/lines) was replaced with your data. Change Name
Instructor: Varkie C. Thomas, Ph.D., P.E.

22

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Template Long Weather replaced by Nanjing Weather. The name "Beijing China" in the template
must be replaced with your Location Name. All Tables and Charts are automatically recalculated.
The location names in tables are replaced but NOT the names in the Charts. Change the location
names in each chart separately.

New weather charts for your location. The location name Beijing has to be changed to Nanjing.
Instructor: Varkie C. Thomas, Ph.D., P.E.

23

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Creating Weather Summary from .bin use DOE2 program STAT.bat


The DOE21E\WEATHER\UTIL\ directory should have a temporary text file called newth.tmp.
Create an empty newth.tmp text file in this directory if it does not have one: Open MS Word (or notepad or
wordpad) and save the file in the UTIL\ directory with file name newth.tmp. It gets saved as newth.tmp.txt.
Delete txt part to get newth.tmp.
The binary weather file should be in C:\DOE21E\WEATHER\PACKED\
Make sure that the STAT.BAT batch file is in C:\DOE21E\WEATHER\UTIL\
Open the Command Prompt (DOS) Window. It is in Start All Programs Accessories
In DOS, change to the C:\DOE21E\WEATHER\UTIL sub-directory
Type:

STAT location (STAT space location without extensions. Ex: stat chicagil)

You will find a file called location.STA in directory C:\DOE21E\WEATHER\INPUT\


From MS-Word open the file location.STA.
The .STA file is a text file. It can be opened with WORDPAD, NOTEPAD or any text editor.
Alternatively change the extension .STA to .txt first and then open the file. Format from portrait to landscape and
change text size and type to fit page. It can be saved as a MS Word file. If you are not going to read it into Excel.
After running the STAT program in DOS, the newth.tmp is automatically deleted. It must be created for each run or
fix the STAT.BAT program by removing the line that deletes newth.tmp after each run.

Instructor: Varkie C. Thomas, Ph.D., P.E.

24

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

Instructions for running the DOE21E program

Copy the DOE21E sub-directory from the CD into drive C.


Go to C:\doe21e\weather\packed and check the weather files in the directory. They should all
have the extension .bin. Example chicagil.bin.
Go to C:\doe21e\INP and check the sample input files in that directory. They should all have the
extension .inp. Example samp3.inp.

Go to Start / All-Programs / Accessories / Command-Prompt.


Copy Command-Prompt Icon on to your desktop.
Click on Command-Prompt icon to open the DOS (disk operating system)
window. DOS not distinguish between upper and lower case letters so you
can use either or mix them.
If you are not in the C drive then type C: to change to C drive.
Change to the DOE21E sub-directory in the C drive. Type cd doe21e
To run the SAMP3.inp input data file using the chicagil.bin weather file type:
doe21e exe inp\samp3 chicagil
doe21e
is the name of the program
exe
tells the program to execute
inp\samp3
is the location and name of the input file relative to the doe21e subdirectory. Leave out the extension .inp.
chicagil
is the name of the weather file. Leave out the extension .bin
You will find the error log file samp3.log the input file showing errors, warnings, etc
samp3.bdl and the output file (if there were no errors) samp3.sim in the same sub-directory
with the input file samp3.inp.
Open the samp3.inp file from MS-Word and save it as a Word file samp3.doc. This file has to
be edited to fit the page. Change the font size to 7. Go to Page-Setup and change from Portrait to
Landscape. Change the margins: Top = 0.7 Bottom = 0.8 Save it again.

Instructor: Varkie C. Thomas, Ph.D., P.E.

25

Energy Efficient Building Design

College of Architecture

Illinois Institute of Technology (IIT), Chicago

The first time you have to open the xxx.inp file from Word. In the future you can double-click
on the .inp file and Word will open it. Edit using Word. Click Save. You will get the
message: xxx.inp may contain features that are not compatible with Plain-Text format. Do you
want to save the document in this format? Click Yes
To save with a different file name Click Save As. The file name will appear in the Save-As
window as xxx.txt Click Save in that window. You will get File-Conversion xxx.txt window
asking for a format and other details. Select Windows-Default. All other options should be
blank. Click OK. You have saved a file named xxx.txt. This file cannot be used by
DOE2. The extension must be changed to .inp. You can do this directly if the file name
extension is displayed with the file name. If the filename.ext is not displayed, then open Control
Panel and then Folder Options. Under the View tab un-select Hide extensions for known file
types
In version 136 of DOE2.1E (the last version issued by Jeff Hirsch, the last USDOE/LBNL version
is 110) the output might have the extension xxx.sim. You can open this by double clicking on it,
but you may not be able to format it and make changes such as fitting the page, deleting pages and
adding page numbers. To do this, open the .sim file from Word and save it as a .doc file and then
make changes. To make this output fit the page, open Edit and Select All and change the Font
size to 7. Open Page-Setup and change from Portrait to Landscape. Change the margins,
particularly Top (0.7) and Bottom (0.7)
The xxx.bdl file shows warning and error messages. In Word, go to Edit and Select all. Change
the font size from 10 to 8 so that it fits the page. The errors have to be corrected in the xxx.inp
file. The xxx.log file shows what happened during execution.

Instructor: Varkie C. Thomas, Ph.D., P.E.

26