[TRNSYS-users] GenOpt error

Jorge Facao jorge.facao at lneg.pt
Wed Apr 4 11:27:15 PDT 2012


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



More information about the TRNSYS-users mailing list