Hi,
I am using GA as an optimization process to estimate 3 parameters in my model by comparing this with the desired model. This is working properly when I use mathematical equations of the models in objective function to get results and the Best Function graph looks acceptable. However, when I use my model as a simulation program (blocks) and import the result into GA code by sim(''), the Best Function graphs keep in constant value. My issue is that how can I write GA code to simulate the simulation model (import & export data while the GA program run). Is there anyone who has been working with GA and simulation?
Thanks