Never mind, I made a mistake in specifying the location of TRNExe.exe! Sorry!<br><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 3:36 PM, Graham Linn <span dir="ltr"><<a href="mailto:grahamjlinn@gmail.com">grahamjlinn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello TRNSYS Users,<div><br></div><div>I am trying to use GenOpt with Type56 (as detailed by Michaël Kummert of ESRU at University of Strathclyde). I am trying to run the example detailed in his paper.</div>
<div><br></div>
<div>Anyhow, I am getting an error message when I try to run GenOpt. I've placed the error at the end of this message. I think the problem has something to do with the line  'Cannot run program "C:\Program" ' - is there a problem with using spaces in pathnames with GenOpt? I can't figure it out, it seems like paths with spaces work sometimes but not all the time.</div>

<div><br></div><div>Does anyone have any ideas?</div><div><br></div><div>Thank you!<br>Graham Linn</div><div><br></div><div>Error message:</div><div><br></div><div><div>Exception in executing the simulation program</div>
<div>
<br></div><div>Simulation working directory : 'C:\Users\G\Documents\RCL550\TRNSYS Projects\GenOpt-Type56\tmp-genopt-run-1'</div><div>Command string               : 'C:\Program Files\Trnsys17\Exe\TRNExe.exe "C:\Users\G\Documents\RCL550\TRNSYS Projects\GenOpt-Type56\tmp-genopt-run-1\GenOptRun.dck" /h'</div>

<div>Exception message: </div><div>Cannot run program "C:\Program" (in directory "C:\Users\G\Documents\RCL550\TRNSYS Projects\GenOpt-Type56\tmp-genopt-run-1"): CreateProcess error=2, The system cannot find the file specified</div>

<div><br></div><div>GenOpt terminated with error.</div><div>See logfile for further information.</div></div><div><br></div>
</blockquote></div><br>