GenOPT optimisation
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?
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.