<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Look at RunDirMulti.bat that comes with EnergyPlus (in the main
    EnergyPlus folder).  It loops through a list of files and creates
    separate temp directories for a series of parallel runs.  You should
    be able to borrow from this or adapt it to your purposes.<br>
    Mike<br>
    <br>
    <div class="moz-cite-prefix">On 3/14/2014 5:48 AM, Tavis Wells
      wrote:<br>
    </div>
    <blockquote cite="mid:BLU175-W499622B36F8C881ACFDEBEA1700@phx.gbl"
      type="cite">
      <div dir="ltr">
        <div dir="ltr">
          <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
          <div dir="ltr">Greetings all!</div>
          <div dir="ltr"><br>
          </div>
          <div dir="ltr">I am attempting to optimize the passive design
            of a building using GenOpt as the optimizer, EnergyPlus as
            the primary energy model platform, and daylight reports from
            Daysim <span style="font-size: 12pt;">(an identical model to
              the Eplus model) </span><span style="font-size: 12pt;">which
              feed into the Eplus model.</span></div>
          <div dir="ltr">Each iteration dictated by GenOpt would need to
            simulate in Daysim and finish before simulating in Eplus.</div>
          <div dir="ltr">I am using a 'Master' batch file, referenced by
            GenOpt, to call Daysim and then Eplus.</div>
          <div dir="ltr">This process works when run straight from the
            batch file, but when run through GenOpt it does not create
            the temporary working directory correctly (.expidf and .err
            files missing), and so it crashes during the first
            iteration, saying ".err file does not exist".</div>
          <div dir="ltr">Simplifying the task to just optimize Eplus,
            but through a batch file, has the same result.</div>
          <div dir="ltr">The command line I've been working with
            consists of 3 parts: </div>
          <div dir="ltr">Call <RunEplus.bat> <model>
            <weatherfile></div>
          <div dir="ltr"><span style="font-size: 12pt;">I've tried
              countless different variations of this command line but
              cant figure it out!</span></div>
          <div dir="ltr"><br>
          </div>
          <div dir="ltr">Has anyone optimized an EnergyPlus model
            through GenOpt <span style="font-size: 12pt;">using</span><span
              style="font-size: 12pt;"> a batch file before? Or know
              what the command line might look like to do that?</span></div>
          <div dir="ltr"><span style="font-size: 12pt;"><br>
            </span></div>
          <div dir="ltr"><span style="font-size: 12pt;">Any ideas
              welcome!</span></div>
          <div dir="ltr"><span style="font-size: 12pt;"><br>
            </span></div>
          <div dir="ltr"><span style="font-size: 12pt;">Thanks,</span></div>
          <div dir="ltr"><span style="font-size: 12pt;">Tavis.</span></div>
          <div dir="ltr"><br>
          </div>
          <div dir="ltr"><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bldg-sim mailing list
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/bldg-sim-onebuilding.org</a>
To unsubscribe from this mailing list send  a blank message to <a class="moz-txt-link-abbreviated" href="mailto:BLDG-SIM-UNSUBSCRIBE@ONEBUILDING.ORG">BLDG-SIM-UNSUBSCRIBE@ONEBUILDING.ORG</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>