Hello,
The Experimenter does not have an OnScenarioStart (or "OnPrepareScenario") event. The suggestion is to create it.
Why this would be relevant?
The experimenter creates copies of the current model to independent threads and then run each copy. At the current moment, if changes are made on a scenario that would require a manual reset (e.g. modifying the layout, adding 3d objects via code, etc.), this does not work in experiments.
Other users already looked for similar features, as it is a common element on other simulators in the market (Anylogic, Simio, etc.).
How this would help customers?
The added trigger would run before the threads for a certain scenario are created, thus allowing layout automation before a "reset" event happens. Then the adapted version of the model for that scenario configuration would be copied to the independent threads to run.
This would add flexibility to model creation, since FlexSim does not allow multiple "model" layers as other simulators in the market allow.
Show More