question

WILSON TRIGUEIRO DE SOUSA JÚNIOR avatar image
0 Likes"
WILSON TRIGUEIRO DE SOUSA JÚNIOR asked Emily Hardy edited

How to recursively call the simulation for optimization.

Hi, I’m trying to recursively call the simulation on a loop where each call of the loop gives a specific value for resource and process parameters. With that I want to implement a simulation optimization algorithm (like Genetic Algorithm) inside Flexsim (different from OptQuest), probably inside FlexScript but I haven't found any specific reference to functions like “reset simulation” and “start simulation”. Please, I will be really grateful if someone could help with any idea how to make this.

FlexSim 18.1.0
optquestoptimizationloopgenetic algorithm
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Michael Machado avatar image
3 Likes"
Michael Machado answered WILSON TRIGUEIRO DE SOUSA JÚNIOR commented

Here is the material step by step on how to handle that with Scilab, per instance. The material is available in portuguese only. Tks

Be aware that with FlexSim 2018 and 2018 Update 1 the integration should be done more easily with the new features. integration-model-flexsim-scilab-161.zip


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.