Jorge -<br /><br />The error you are getting is that the simulation cannot find one of your external files. Make sure you enter the entire path name for all external files read in the project. GenOpt moves files to run the simulations and TRNSYS needs to know where to find the files.<br /><br />Regards,<br /><br />Tim<br /><br /> <br /> <br /> <br />---------------------------------- <br />Timothy McDowell <br />Executive Vice President <br />Thermal Energy System Specialists, LLC <br />22 N. Carroll St, Suite 370 <br />Madison, WI 53703 <br />Phone: 608-274-2577 <br />Fax: 608-278-1475<br /> <br /> <br /> <br /> <!--replyfwdwrap--><div style="background-image: url(http://webmail.fusemail.com/de/r_bg_img.gif);background-position:top;background-repeat:repeat-x;"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Jorge Facao" <jorge.facao@lneg.pt> <br /><strong>Sent:</strong> Wed, April 4, 2012 13:27<br /><strong>Subject:</strong> !
[TRNSYS-users] GenOpt error<br /><br /><table width="100%" cellspacing="5"><tbody><tr><td><div class="PrivateMsgDiv"><pre>
Dear TRNSYS users,
I am trying to use GenOpt with TRNSYS 16.1 in order to optimize a project.
I am able to execute the tpf file but not the optimization with GenOpt.
After following all the steps of the first window appeared when
initializing the GenOpt (select input file, select and specify
variables, use a equation to minimize and choose the optimization
method, browsing the TRNSYS. ini file) the following message appears
without running the project.
Initialize.
java.lang.Exception:
Exception in executing the simulation program
Current command String: 'C:\Program Files\Trnsys16\Exe\TRNEXE.EXE
"C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '.
Exception message:
Error in executing the simulation program
Exit value of the simulation program: 1
Current command String : 'C:\Program Files\Trnsys16\Exe\TRNEXE.EXE
"C:\Program
Files\Trnsys16\optimization\GENOPT\SIMULATION\GenoptInputFile.DCK" /n
/WAIT '.
Error stream of simulation program : Simulation program did not return
an error stream.
GenOpt terminated with error.
See logfile for further information.
I have checked the file "GenoptInputFile.lst" for problems and there
appears the following error:
*** Fatal Error at time : 5.993056
Generated by Unit : 17
Generated by Type : 9
Message : Unable to correctly read from the supplied
data file. Please check the file and re-run the simulation. The most
likely cause of this problem is an empty or non-existent file.
Has anyone faced the same problem before?
Thanks in advance for your help,
Best regards,
--
Jorge Facao
Laboratorio de Energia Solar
Laboratorio Nacional de Energia e Geologia, I.P.
Edificio H
Estrada do Paco do Lumiar, 22
1649-038 Lisboa - Portugal
Tel: +351-210924600
Ext: 4379
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr> </tbody></table></div>