Dear Yin Hang,<br /><br />Please make sure that you can first run the example (.\Optimizaiton\Example\Example.tpf) sucessfully in the TRNSYS Simulation Studio. If that runs ok, then implement the TRNOPT with the input (*.dck) file for that example as outlined in the tutorial (.\Optimization\Documentation\TrnOptv17.pdf). I see from your email below that you were able to do this, no? If you have problems and as the tutorial says, you will have to look in the *.lst or *.log file in the ".\Optimizaiton\GenOpt\Simulation" and/or ".\Optimizaiton\GenOpt\Configuration" directories.<br /><br />The other issue is that you have to make sure that in the *.log file, the TRNOPT component Type583 needs to be loaded from the "TESSOptimizationLibrary_v17.01_Release.dll" and NOT any other former DLL.<br /><br />Last, please make sure that you are using at least GenOpt 3 for TRNOPT v17.<br /><br />Best regards,<br /><br />Matt Duffy<br /><br /><!--replyfwdwra!
p--><div style="background-image: url(http://webmail.fusemail.com/de/r_bg_img.gif); background-repeat: repeat-x; background-position: 50% top"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Yin Hang" <yhang@purdue.edu> <br /><strong>Sent:</strong> Tue, November 29, 2011 16:09<br /><strong>Subject:</strong> [TRNSYS-users] questions about TRNOPT<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html --><div class="bodyclass"><p dir="ltr"><span lang="en-us"><font face="Calibri">Dear TRNSYS users,</font></span></p><p dir="ltr"> </p><p dir="ltr"><span lang="en-us"><font face="Calibri">Probably this question was</font></span><span lang="en-us"><font face="Calibri"> already been asked, but I could not find the answer. I hope someone could help me out with my problem.</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">I want to use TRNOPT for a optimizatio!
n problem. I use TRNSYS 17</font></span><span lang="en-us"> <font face
="Calibri">for my model, and I believe the TRNOPT is version 17. </font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">My model works fine in the simulation studio, although it takes several warnings.</font></span><span lang="en-us"> <font face="Calibri">But when the GENOPT starts, I</font></span><span lang="en-us"> <font face="Calibri">received</font></span><span lang="en-us"><font face="Calibri"> an error message in the GENOPT screen:</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">“</font></span><span lang="en-us"><font face="Calibri">Assigning 2</font></span><span lang="en-us"> <font face="Calibri">threads for simulations.</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Initialize.</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Java.lang.Exception:</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Exception in executing the simulation program</font></span></p><p !
dir="ltr"><span lang="en-us"><font face="Calibri">Simulation working directory:</font></span><span lang="en-us"><font face="Calibri">…</font></span><span lang="en-us"><font face="Calibri">.</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Command string:</font></span><span lang="en-us"><font face="Calibri">…</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Error in executing the simulation program</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Exit value of the simulation program: 1</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Working directory:</font></span><span lang="en-us"> <font face="Calibri">…</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Current command String:</font></span><span lang="en-us"><font face="Calibri">…</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Error stream of simulation program: Simulat!
ion program did not return an error stream.</font></span></p><p dir="l
tr"><span lang="en-us"><font face="Calibri">GENOPT terminated with error.</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">See logfile for future information.</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">“</font></span></p><p dir="ltr"> </p><p dir="ltr"><span lang="en-us"><font face="Calibri">Could someone tell me what does this error mean, or where can I find more detailed information about this error? </font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">I run the example</font></span><span lang="en-us"> <font face="Calibri">in</font></span><span lang="en-us"><font face="Calibri"> genopt, and it works well. So I believe there should be something wrong with my model rather than the software itself</font></span><span lang="en-us"><font face="Calibri">.</font></span></p><p dir="ltr"> </p><p dir="ltr"><span lang="en-us"><font face="Calibri">Thanks.</font></span></p><p dir="ltr"><span lang="en-us"><f!
ont face="Calibri">Yin (Kathy) Hang </font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">_____________________________________</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Research Assistant, Teaching Assistant(CE497)</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Architectural Engineering</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">Purdue University</font></span></p><p dir="ltr"><span lang="en-us"><font face="Calibri">550 Stadium Mall Dr., West Lafayette, IN 47907</font></span></p><p dir="ltr"><span lang="en-us"><font!
face="Calibri">Office: CIVL G292C</font></span></p><p dir="ltr"><span
lang="en-us"><font face="Calibri">Phone: (765)-494-1714(o), (765)-430-8452(c)</font></span></p><p dir="ltr"> </p></div><!-- end sanitized html --><hr size="1" noshade="" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr></tbody></table></div>