<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Drew,<br>
<br>
The answer to your question is simple. The BDL error message says
that it couldn't find the material "Polyurethane 1 1/2in" in the
BDLLIB.DAT file. So, when you added that material to BDLLIB.DAT, the
program then ran. Things are actually more transparent now with
DOE-2.2, compared to DOE-2.1E that I use. In DOE-2.1E, BDLLIB.DAT
is a binary file, i.e., it's not humanly readable. In DOE-2.2,
BDLLIB.DAT is a straight text file, so you could actually open that
file with a text editor to see if indeed the missing library item is
there or not.<br>
<br>
Joe<br>
<pre class="moz-signature" cols="90">Joe Huang
White Box Technologies, Inc.
346 Rheem Blvd., Suite 205A
Moraga CA 94556
<a class="moz-txt-link-abbreviated" href="mailto:yjhuang@whiteboxtechnologies.com">yjhuang@whiteboxtechnologies.com</a>
<a class="moz-txt-link-freetext" href="http://weather.whiteboxtechnologies.com">http://weather.whiteboxtechnologies.com</a> for simulation-ready weather data
(o) (925)388-0265
(c) (510)928-2683
"building energy simulations at your fingertips"
</pre>
<div class="moz-cite-prefix">On 2/5/2016 1:36 PM, Drew Morrison
wrote:<br>
</div>
<blockquote
cite="mid:BY2PR1201MB0936C0E86E59A7A295FB02ABA1D20@BY2PR1201MB0936.namprd12.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Arial",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Arial",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Looks
like there’s a solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">At
first, I tried copying the text replacing the text in the
usrlib.dat folder in the …\doe22 directory with the text
from the eQ_Lib.dat file in the …\eQuest 3-64 Data\DOE-2
folder. That didn’t change anything. Eventually I found out
that the library entries triggering errors in the BDL file
were not present in the BDLLIB.dat file. However, they were
in the original userlib.dat file. I copied the library
entries for the missing components (which were some
construction materials, a water heater performance curve,
and all the hourly report library entries) into the
BDLLIB.dat file, and the simulation ran without a hitch:
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><img id="Picture_x0020_1"
src="cid:part1.00030007.08050400@whiteboxtechnologies.com"
height="411" width="633"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">I’m
not sure what the DOE2 scripts are doing with the library
files, since the same entries are missing in the eQuest
folder’s BDLLIB file, and yet running the simulation in
eQuest works perfectly. Since the simulation now executes
from the command line successfully, the problem is solved
for the moment, though I don’t feel any less confused about
what’s going on. And unfortunately, the simulation doesn’t
appear to run significantly faster, since the total elapsed
time was still over 4 minutes.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Still,
thanks for all your help and suggestions. Despite my ongoing
confusion, I feel like I’ve learned a lot about what goes on
behind the scenes in DOE2. And if anyone has any insights as
to why appending missing library entries to the BDLLIB file
fixed this run, I’d love to hear them.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Drew
Morrison, Energy Engineer<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Seventhwave<span
style="color:#5F5F5F"><o:p></o:p></span></span></b></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">608.210.7151
seventhwave.org</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Julien Marrec
[<a class="moz-txt-link-freetext" href="mailto:julien.marrec@gmail.com">mailto:julien.marrec@gmail.com</a>] <br>
<b>Sent:</b> Friday, February 05, 2016 3:11 PM<br>
<b>To:</b> Drew Morrison <a class="moz-txt-link-rfc2396E" href="mailto:DMorrison@seventhwave.org"><DMorrison@seventhwave.org></a><br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:equest-users@lists.onebuilding.org">equest-users@lists.onebuilding.org</a><br>
<b>Subject:</b> Re: [Equest-users] FW: DOE2 Batch
Processing Error<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Very likely because you are using the doe
library and not equest's<span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I posted something a while back with a
modified bat script that allows you to choose your equest
version.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Try and find it in the archive if you
can't let me know and I'll find it next time I'm on a
computer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
Envoyé de mon iPhone<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Le 5 févr. 2016 à 19:04, Drew Morrison <<a
moz-do-not-send="true"
href="mailto:DMorrison@seventhwave.org"><a class="moz-txt-link-abbreviated" href="mailto:DMorrison@seventhwave.org">DMorrison@seventhwave.org</a></a>>
a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Hi
Everyone,</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">I’ve
got an issue trying to run DOE-2.2 models from the
command prompt using the batch processing script. The
.inp file is rather large (about 47,000 lines) and I’m
hoping to get the simulations to run a little faster by
bypassing the eQuest interface. I’d like to thank Ben
Brannon and Joe Huang for this thread (<a
moz-do-not-send="true"
href="http://energy-models.com/forum/run-equest-file-command-line-doe2"><a class="moz-txt-link-freetext" href="http://energy-models.com/forum/run-equest-file-command-line-doe2">http://energy-models.com/forum/run-equest-file-command-line-doe2</a></a>)
which helped me get started.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">I’m
able to run the doe22.bat script, but I’m getting an
error when the script runs DOEBDL. When I open up the
BDL file, I get a series of errors in the exterior
construction layers which say “Symbol Previously
Undefined”, which seem to be in reference to the
materials which compose the layers. However, the layers
all come directly from the DOE-2 library files.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Is
there some reference to the library files I need to
establish or have missed? Right now I have the .inp file
in C:\doe22, the same directory as the doe22.bat file.
I’ve attached the .inp file I’m trying to process, and
below are excerpts from my command line and the BDL file
generated when I executed the script.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Drew</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">****
Command Line Screen Shot ****</span><o:p></o:p></p>
<p class="MsoNormal"><image001.png><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">***** BDL File Error Text *****</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 235 * "H2Roof Cons Layers" = LAYERS</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 236 * MATERIAL = ( "Blt-Up
Roof 3/8in (BR01)", "Polyurethane 1 1/2in",</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">*ERROR**********************************************************
====================== ******SYMBOL PREVIOUSLY UNDEFINED
</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 237 * "Plywd 5/8in (PW04)",
"H2Roof Cons Mat 4 (31.52)" )</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 238 * ..</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 1 * $LIBRARY-ENTRY Plywd 5/8in
(PW04) MAT Plywood</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 2 * $Plywood, 5/8 Inch</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New""> * 3 * TYPE=PROPERTIES TH=0.0521
COND=0.0667 DENS=34.0 S-H=0.29 ..</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">*ERROR****************************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New"">*ERROR*****MATERIAL Layer position number 3
is incomplete or undefined</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Drew
Morrison, Energy Engineer</span><o:p></o:p></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">Seventhwave</span></b><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">608.210.7151
<a moz-do-not-send="true" href="http://seventhwave.org">seventhwave.org</a></span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><ComplicatedBldg.BDL><o:p></o:p></span></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><ComplicatedBldg.inp><o:p></o:p></span></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif">_______________________________________________<br>
Equest-users mailing list<br>
<a moz-do-not-send="true"
href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a><br>
To unsubscribe from this mailing list send a blank
message to <a moz-do-not-send="true"
href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">
EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Equest-users mailing list
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a>
To unsubscribe from this mailing list send a blank message to <a class="moz-txt-link-abbreviated" href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a>
</pre>
</blockquote>
<br>
</body>
</html>