simulationanylogiclogistics

I have a process to move a picking agent and a product through the same delay block


Currently, I have two delay blocks above each other, where one agent goes through one of the blocks and the other through the other one.

Screenshot of my model

But when I want exponentially distributed values with a mean of 120 seconds, They both need to have the same value always. So they are done at the same time.


Solution

  • You simply need to have the two delay blocks use their own (but with the same seed) random object.

    Start off by creating two identical random objects

    enter image description here

    And have each of the delay blocks use of them of them

    enter image description here

    Then the numbers they will sample will be the same for every sampling iteration.

    See this post for a similar problem

    Why do two flowcharts set up exactly the same end with different results every time the simulation is run even when I use a fixed seed?