[TRNSYS-users] Using TRNOPT with 64-bit TRNSYS install

Brandon Hathaway brandon.hathaway at sunvapor.net
Mon Jun 22 12:50:41 PDT 2020


I was attempting to use the optimization library which utilizes GenOpt
along with my 64-bit installation of TRNSYS18.  I have configured the
TRNOPT17.exe program for the correct directories, then set up the
optimization details as desired.

However, when I hit "Run Optimization" GenOpt terminates with an error.
Looking at the GenOpt window, it is clear that the error is caused by the
command string attempting to run "TrnEXE.exe" instead of "TrnEXE64.exe".

The TRNSYS17.cfg file that is created by TRNOPT17.exe in the
./Optimization/GenOpt/Simulation/ folder prior to the run is the source of
this incorrect reference. This file is automatically generated when you hit
"Run Optimization" within TRNOPT17.exe prior to calling GenOpt.

If you edit that .cfg file to point to "TrnEXE64.exe" correctly, you can
start the optimization by clicking on "File" -> "Start" in WinGenOpt and
selecting the TRNSYS17.ini

This is more of a bug-report and advice for others who may run into this
issue than a request for help, as I've found a workaround. Please consider
updating TRNOPT17.exe to correctly build the GenOpt files for a 64-bit
TRNSYS install.

Thanks,
-Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200622/3478654b/attachment.html>


More information about the TRNSYS-users mailing list