<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I use the DOE22.bat file that comes with the installation.  At the top of that batch file you see: set doedir=C:\doe22.  Change that to the location of your
 installation.  In my case it is: set doedir=I:\doe2h2 (I have multiple versions of DOE22 that correspond to the different eQuest versions). 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Then I change my environment so that that directory is in the PATH.  That way I can change to the directory containing the .inp file at the DOS prompt run DOE22
 from there.  That way I keep projects in separate directories.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The other thing required is to make sure the .lib files from the DOE22 installation contain the definitions from the eQuest libraries.  I do this by copying
 the entire eQ_Lib.dat into the DOE22 usrlib.dat file.  <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1C467A">Christopher Jones</span></b><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1C467A">,</span></b><b><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
</span></b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D">P.Eng.</span><i><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
<br>
</span></i><span lang="EN-CA" style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tel: 416.644.4226 • Toll Free: 1.888.425.7255 x 527</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> equest-users-bounces@lists.onebuilding.org [mailto:equest-users-bounces@lists.onebuilding.org]
<b>On Behalf Of </b>Joe Huang<br>
<b>Sent:</b> Wednesday, March 26, 2014 4:03 AM<br>
<b>To:</b> equest-users@lists.onebuilding.org<br>
<b>Subject:</b> Re: [Equest-users] Run Equest file in command line DOE2<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">You have no idea the pleasure your post brings to an old hacker like me, since that's  how I still use DOE-2, including even DOE-2.2, i.e., by command line batch scripts.  My recommendation to you is to be familiar with MS-DOS commands
 and then walk through the run22.bat script to see what it does step-by-step.  Keep in mind that all the "smarts" are in this batch file (run22.bat) that tells the computer to do this, and then do that.<br>
<br>
Setting up a DOE-2 run is really very straightforward (at least to me).  The program needs an input file called INPUT.TMP, a weather file called WEATHR.TMP, and several utility or library files (BDLLIB.TMP - library file, BDLKEY.TMP - keyword file, HDRFIL.TMP
 - hourly report file data,  etc.).  Note that these files are all temporary (*.TMP), so the common procedure is to copy them from their permanent file names, e.g., *.inp,*.bin, *.dat, etc. 
<br>
<br>
DOE-2 then runs doebdl, which is an input processor program, and then runs doesim, which is the actual simulation program. Both produces output files, called OUTPUT (natch), that are typically concatenated and then renamed as [input file name].out, or in the
 case of DOE-2.2, they're kept separate as  *.bdl and *.sim.  Once the simulation has been completed, the temporary files are typically deleted.
<br>
<br>
If you're looking at the run22.bat supplied with eQUEST, you'll notice that it contains some "bells and whistles" , like creating a subdirectory with the input file name, change to it, and then doing the simulations there.  Such embellishments are not necessary,
 and I like to keep my scripts simple and direct so I don't have to debug them, but to each his/her own.<br>
<br>
>From the looks of the screen dump you've provided, the script is having trouble finding the needed utility and library files.  One surefire way to fix that is to give the full path, rather than the relative path, for the permanent copies of these files.<br>
<br>
Good luck and I hope you can get <i>it to work.<br>
<br>
Joe<br>
Joe Huang     <br>
White Box Technologies, Inc.<br>
346 Rheem Blvd., Suite 108D<br>
Moraga CA 94556<br>
<a href="mailto:yjhuang@whiteboxtechnologies.com">yjhuang@whiteboxtechnologies.com</a><br>
<a href="http://weather.whiteboxtechnologies.com">http://weather.whiteboxtechnologies.com</a> for simulation-ready weather data<br>
<a href="http://www.whiteboxtechnologies.com">http://www.whiteboxtechnologies.com</a><br>
(o) (925)388-0265<br>
(c) (510)928-2683<br>
"building energy simulations at your fingertips"<br>
<br>
</i><br>
<br>
On 3/25/2014 1:47 PM, Ben Brannon wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have an equest file that I would like to be able to run from the command line.  I have plenty of Equest experience, but never DOE2 from the command line.  I have been able to
 find the general syntax: c:\...\run22 exe ModelFile WeatherFile, but it seems like there are some library differences between equest and pure DOE2 that I am not sure how to deal with.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">This is what I am seeing from a default Equest project I was trying to get to run:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><img border="0" width="680" height="399" id="Picture_x0020_1" src="cid:image001.png@01CF48D3.F12BC2B0" alt="cid:image001.png@01CF23F5.FCA53980"><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>Ben</b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p>____________________________________________________________<br>
Electronic mail messages entering and leaving Arup  business<br>
systems are scanned for acceptability of content and viruses<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Equest-users mailing list<o:p></o:p></pre>
<pre><a href="http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org</a><o:p></o:p></pre>
<pre>To unsubscribe from this mailing list send  a blank message to <a href="mailto:EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG">EQUEST-USERS-UNSUBSCRIBE@ONEBUILDING.ORG</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br clear="both">
______________________________________________________________________<BR>
NOTICE: This communication and any attachments ("this message") may contain confidential information for the sole use of the intended recipient(s). Any unauthorized use, disclosure, viewing, copying, alteration, dissemination or distribution of, or reliance on this message is strictly prohibited. If you have received this message in error, or you are not an authorized recipient, please notify the sender immediately by replying to this message, delete this message and all copies from your e-mail system and destroy any printed copies.<BR>
</body>
</html>