Hi,
I have a repeatability issue with a model I'm developing, and I can't find what's causing it. I think it could be a bug, but maybe I'm missing something.
The model consists of a storage facility that needs to have an initial stock built at the beginning of the simulation. The only information I have about this stock is quantity. Because of that, the first time I run the simulation I assign random empty slots to the stock items and write all the addresses on a table, so that the second time I run it, it can be built a lot faster and the model performance will improve. Both ways, the stock locations are exactly identical.
The first situation (having an empty stock table) could happen again anytime, since the model layout is auto-buildable based on some parameters, and, every time it is re-built, the table is reset.
The issue appears when the order creation logic starts, and it persists in all newer FlexSim versions; different items are chosen to be part of those orders depending on how the stock was created.
I have developed a small dummy with only 1 rack to illustrate what's happening. The items chosen to be part of the orders are colored, so that it's easy to identify them. It also contains a script to clear all the "Stock" table cells to be able to replicate the two scenarios.
Thanks in advance!