First time here? Check our help page!
2

doe21e .bin output

Hi I need to export the variable to a file in doe21e

PLOTER2 = REPORT-BLOCK
 VARIABLE-TYPE = GLOBAL
 VARIABLE-LIST = (4) .. $ DRY BULB TEMPERATURE

PLOTD = HOURLY-REPORT
 REPORT-SCHEDULE=PLTSCH
 REPORT-BLOCK = (PLOTER2)
 OPTION = PRINT  ..

Updated: I have gotten the CEC1_01.DAT file but it adds more lines each run so i need to remove .DAT each run. Have any way to update not append the .DAT file thanks

ngkhanh's avatar
2.2k
ngkhanh
asked 2016-10-20 21:19:11 -0500, updated 2016-10-21 23:36:41 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

If it is the same as DOE2.2, you should see a file that looks like CECDDT<>.bin

As far as parsing goes, you may have to look into the source code to see if they do any data compression or encryption before writing to the .bin file (perhaps similar to the strategy used int he weather .bin files). I could be wrong, but the binary output option was probably never meant to be used by end users.

You may want to try the HOURLY-REPORT-SAVE = FORMATTED option. Again, if this were DOE2.2, you'll see a file like CEC2<>.DAT which is a plain text fixed-format file that can easily be opened in excel. It should have the same data as the binary file, but it will be larger and readable.

aaron's avatar
888
aaron
answered 2016-10-21 09:44:40 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks but am not able to find those output file anywhere in my disks. How to know where doe21e saves output file ?

ngkhanh's avatar ngkhanh (2016-10-21 19:08:34 -0500) edit
add a comment see more comments