Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
0

Is it possible to edit and/or run a *.bdl file?

asked 4 years ago

lshaver's avatar

I have an older project for which I can only find *.bdl and *.sim files -- no *.inp file, and no *.pd2 file. Is it possible to load these files into eQuest, or run them on their own through the DOE2 command line utility?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

updated 4 years ago

Yes and no. No, because eQUEST will only let you load INP of PD2 files. Yes, because you should be able to convert your BDL file to an INP file by removing all non-valid INP fields (and changing the extension from .BDL to .inp). For example:

 * 586 *  
 * 587 * "South Win (G.S1.E1.W2)" = WINDOW
 * 588 *    GLASS-TYPE       = "Window Type #2 GT"
 * 589 *    X                = 60.7483
 * 590 *    Y                = 3.10833
 * 591 *    HEIGHT           = 5.00333
 * 592 *    WIDTH            = 46.4456
 * 593 *    FRAME-WIDTH      = 0.108333
 * 594 *    FRAME-CONDUCT    = 2.781
 * 595 *    ..

Should be changed to

"South Win (G.S1.E1.W2)" = WINDOW
GLASS-TYPE       = "Window Type #2 GT"
X                = 60.7483
Y                = 3.10833
HEIGHT           = 5.00333
WIDTH            = 46.4456
FRAME-WIDTH      = 0.108333
FRAME-CONDUCT    = 2.781
..

Tedious manually, much easier with a script or using regular expressions.

Preview: (hide)
link

Comments

1

I have a script like that. Note that if your INP file uses macros, you should include the ##show or ##write macro listing control command to expand those macros clearly in the BDL output. See question 37819

simular's avatar simular  ( 3 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 4 years ago

Seen: 475 times

Last updated: May 01 '21