[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] GenOpt error



Dear Tim,
Many thanks for your reply.
The problem was solved with your recommendation. Now it works fine.
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



On 05-04-2012 13:05, Timothy McDowell wrote:
Jorge -

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.

Regards,

Tim




----------------------------------
Timothy McDowell
Executive Vice President
Thermal Energy System Specialists, LLC
22 N. Carroll St, Suite 370
Madison, WI 53703
Phone: 608-274-2577
Fax: 608-278-1475



----- Original Message -----
From: "Jorge Facao" <jorge.facao@lneg.pt>
Sent: Wed, April 4, 2012 13:27
Subject: [TRNSYS-users] GenOpt error

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
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users