Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

GenOPT optimisation

asked 2017-06-23 08:30:15 -0600

ezeraj's avatar

updated 2017-06-27 02:58:25 -0600

I use GenOPT coupled with Dymola to identify parameters for a thermal collector. As a result as per the GenOPT manual, the program approximates a function similar to the objective function and does parameter identification.

Question1 : Do I have control over the error of approximation in dymola.

Question2 : Since I was using GPS implementation of Hookes Jeeves algorithm, I was getting different minima points for different step lengths. I guess this is because of the nature of the algorithm and objective function.Solution?

edit retag flag offensive close merge delete

Comments

Regarding 1: Yes, the Modelica experiment annotation allows specifying the tolerance, as does BuildingsPy in case you run Dymola with BuildingsPy. Also, the dsin.txt file exposes the tolerance, in case you directly execute dymosim.exe. But be careful as some parameters are evaluated during translation and hence cannot be changed when executing dymosim.exe, which is why we recommend not running dymosim.exe unless you really know what you are doing.

Regarding 2: If your cost function has multiple local minima, then there is no guarantee to find the global minimum. See also the GenOpt manual.

Michael Wetter's avatar Michael Wetter  ( 2017-06-27 12:54:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-06-23 13:59:04 -0600

Unless your simulation model has a random number generator that is not initialized with the same seed in each run, GenOpt should give the same results if you do not make any change to the simulation model or the GenOpt files. There is nothing random in GenOpt, other than a random number generator in some algorithms, but this uses the same seed each time you start the optimization.

edit flag offensive delete link more

Comments

Yes I agree to your point.

My fault, my question was not clear: I use GenOPT coupled with Dymola to identify parameters for a thermal collector. As a result as per the GenOPT manual, the program approximates a function similar to the objective function and does parameter identification.

Question1 : Do I have control over the error of approximation in dymola.

Question2 : Since I was using GPS implementation of Hookes Jeeves algorithm, I was getting different minima points for different step lengths. I guess this is because of the nature of the algorithm and objective function.Solution?

ezeraj's avatar ezeraj  ( 2017-06-27 02:58:18 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2017-06-23 08:30:15 -0600

Seen: 485 times

Last updated: Jun 27 '17