I am running TRNSYS on Vista with GENOPT in order to use TRNOPT. I have it all configured for my system, based on the Example. I set it running, it runs the first simulation fine but then I get the following error:
Error message:
**************
genopt.lang.OptimizerException:
Program error. Attempted to delete non-temporary file.
GenOpt terminated with error.
Jeff at TRNSYS suggested it was a file permission problem with Vista, so I've tried a variety of things, running with Admin rights, changing permissions on TRNSYS/genopt folder trees to 'full control', turning off User Account Control, to no avail. Another suggestion was to move it out of the 'Program Files' folder, I uninstalled genopt and TRNSYS and reinstalled them in a different (non-system) directory, but still encounter the same problem.
Next I dug out an old very slow XP laptop and installed TRNSYS et all on this, eventually getting it running but with the same error!
I'm tearing my hair out slightly, up against a deadline now and wasting hours trying to get the TRNOPT simulations running with no progress. If anyone has any advice or has seen this please get in touch, either via mailing list or on ben @
mendipclimb.org.uk
Jeff - I guess you'll read this, any further advice appreciated, I'm just posting here as I guess you won't see this until Monday now
many thanks,
Ben