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

Re: [TRNSYS-users] Fwd: I/O error 32 using TRNOPT



Michel,

 I am afraid I do not know what the cause of that error is although I have run into it myself. I always assumed it had to do with a simulation being launched (automatically by GenOpt) when some other TRNSYS (or GenOpt) process had not yet completed and that the reason it runs after clicking the message away is that by that point the process has completed. I have not run into this behavior lately (in the past few years) so it may be that a more recent version of TRNOpt/GenOpt is the answer.

kind regards,

 David



On 11/14/2018 03:56, Michel Tamarzians via TRNSYS-users wrote:
Dear all,

Once again I need some help with TRNSYS/TRNOPT.
I am trying to do an optimization with the "hybrid for continuous and discrete variables (VonNeumann)" algorithm which contains the particle swarm optimization and the hooke-jeeves. However, when doing the optimization I get an I/O error 32 (see attached screenshots) and the following:

Simulation 21: Caught 'genopt.lang.OptimizerException' with message:   File: 'C:\Trnsys17\Optimization\GenOpt\Simulation\tmp-genopt-run-21\GenoptInputFile.LST' does not exist after simulation call.

Simulation working directory : 'C:\Trnsys17\Optimization\GenOpt\Simulation\tmp-genopt-run-21'
Command string               : 'C:\Trnsys17\Exe\TRNExe.exe "C:\Trnsys17\Optimization\GenOpt\Simulation\tmp-genopt-run-21\GenoptInputFile.DCK" /h /WAIT '
   Try to evaluate simulation a second time.


When I close the error the optimization continues again and after doing this two or three times it eventually finds the minimum of the cost function. Does anyone know what this error could be and how to solve it? Otherwise I can't be sure how correct the results are ofcourse. Or could be have to do with the random particles chosen by the algorithm and some of them falling outside the boundaries?

Any help is appreciated. Thanks.

Kind regards,
Michel


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com