<html>
<head>
</head>
<body class='hmmessage'><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></body>
</html>