Hello,
please see the attached model. In it I am trying to dynamically configure a model layout. However, I could not find a way to make it work properly in the Experimenter, despite it works manually.
Thank you for your help.
Hello,
please see the attached model. In it I am trying to dynamically configure a model layout. However, I could not find a way to make it work properly in the Experimenter, despite it works manually.
Thank you for your help.
Some actions require a reset of a model. This is a not a default feature of a running flexsim model to be started from within again. But you can call an external program, scheduler or something similar to start a model by a comand line. This brings you near to your requested feature.
A classic approach is to build all possible transformations in one model and then you restrict connections in experiments.
thank you for your answer. The example I sent uses the "onStartOfReplication" as the experimenter does not have an "onStartOfScenario" to be set before the replications are started to run. I believe that would solve the request, as the layout configuration could be done in that point of the execution flow, before each replication is loaded and reset, hence ensuring integrity of the model.
On a different attempt, I tried to call the layout configuration function during the onReset, but it also does not work.
The problem with external commands in this case is that it is not easily transferable to other users and it creates difficulties to keep all information in the same results file for output analysis (it is not impossible, just adds complexity to other users).
Any other suggestions I could try or that could make this work, please?
Thank you!
Some of very first versions of FlexSim were depending on an external visual studio compiler. Currently versions have an integrated compiler.
Here's an example of using a parameter to choose a Model Layout.
Related content and workaround here:
https://answers.flexsim.com/questions/175655/possible-bug-dropuserlibraryobject-causes-exceptio.html
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved