[TRNSYS-users] Error while running TRNSYS-Genopt

Jeff Thornton thornton at tess-inc.com
Sun Feb 28 07:18:40 PST 2021


If I had to guess, I would guess that you have not specified the FULL path to all of your external files; including the building file.  But you can check the list file that was generated.  It’s located in the Optimization/GenOpt/Simulation directory in the sub-directory corresponding to the simulation that failed.

Remember that the simulations when you optimize aren’t run in the same folder with your project so all files have to point to where the files are located like c:/trnsys18/my projects/test project/equipment/performance.dat


Sent from my iPhone

> On Feb 28, 2021, at 3:42 AM, Farah Souayfane via TRNSYS-users <trnsys-users at lists.onebuilding.org> wrote:
> Dear Trnsys Users,
> When I run my optimization in TRNopt I always get errors like the below photo, did anyone face the same issues. Also in Genopt, I get the following errors
> Exception in executing the simulation program
> Simulation working directory : 'C:\TRNSYS18\Optimization\GenOpt\Simulation\tmp-genopt-run-1'
> Command string               : 'C:\TRNSYS18\Exe\TrnEXE64.exe "C:\TRNSYS18\Optimization\GenOpt\Simulation\tmp-genopt-run-1\GenoptInputFile.DCK" /n /WAIT '
> Exception message: 
> Error in executing the simulation program
> Exit value of the simulation program: 408
> Working directory                   : 'C:\TRNSYS18\Optimization\GenOpt\Simulation\tmp-genopt-run-1'.
> Current command String              : 'C:\TRNSYS18\Exe\TrnEXE64.exe "C:\TRNSYS18\Optimization\GenOpt\Simulation\tmp-genopt-run-1\GenoptInputFile.DCK" /n /WAIT '.
> Error stream of simulation program  : Simulation program did not return an error stream.
> Any suggestions?
> Thank you and best regards,
> Farah
> <image.png>
> This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email._______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20210228/794fb7e8/attachment.html>

More information about the TRNSYS-users mailing list