[TRNSYS-users] GenOpt and trnsys17 problem

mcdowell at tess-inc.com mcdowell at tess-inc.com
Tue Aug 21 08:29:06 PDT 2012


Ivan -

The simulation is not finding your building file. The newer version of 
GenOpt runs everything in subfolders to allow for parallel execution.  
If you are using GenOpt to modify the bui file it is probably writing 
the file to the subfolder and you are going to have the figure out the 
correct path for the Assign statement in your deck.  If you are using 
one bui file for all of the optimization runs make sure that the path in 
the Assign statement for the building file correctly points to your 
building file.

Regards,

Tim

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

On 2012-08-20 15:50, Ivan Flores Abascal wrote:
> Dear TRNSYS users,
>
> I have a problem in running optimization with genopt and trnsys17.
> I create  .b17 and  .dck files that work properly. I change the 
> parameters
> value with their name in order to create the template files but once 
> I run
> genopt, it starts running trnsys but I have the following trnsys 
> error
> message (see also error1.jpg and error2.jpg).
>
> In previous messages I have read that the problem could be the path
> of  the input files. I have written the entire path for all the input
> files, but the problem still remains.
>
> Any suggestions?
>
> Kind regards
>
>
> Error message:
> **************
> java.lang.Exception:
>
> Exception in executing the simulation program
>
> Simulation working directory : 'C:\Documents and Settings\Windows
> xp\Escritorio\Tesia\Opt\tmp-genopt-run-1'
> Command string               : 'C:\Trnsys17\Exe\TRNExe.exe
> "C:\Documents and Settings\Windows
> xp\Escritorio\Tesia\Opt\tmp-genopt-run-1\GenOptRun.dck" /n'
> Exception message:
>
> Error in executing the simulation program
> Exit value of the simulation program: -1073741800
> Working directory                   : 'C:\Documents and
> Settings\Windows xp\Escritorio\Tesia\Opt\tmp-genopt-run-1'.
> Current command String              : 'C:\Trnsys17\Exe\TRNExe.exe
> "C:\Documents and Settings\Windows
> xp\Escritorio\Tesia\Opt\tmp-genopt-run-1\GenOptRun.dck" /n'.
> Error stream of simulation program  : Simulation program did not
> return an error stream.
>
>
> GenOpt terminated with error.
>
>
>
>
> Ivan Flores
>
> Lecturer of Heat Transfer
>
> Department of Thermal Engineering / Departamento de Máquinas y
> Motores  térmicos
>
> Engineering School of Bilbao / E.T.S. de Ingeniería de Bilbao; EHU / 
> UPV
>
> Address: E.T.S. de Ingeniería de Bilbao, Alameda Urquijo s/n, 48013
> BILBAO, (Spain)
>
> Phone: +34 946018214  Fax: +34 946014283




More information about the TRNSYS-users mailing list