Ask the Simul8 Community

Running a model until all work items reach an end point

t1000t1000
Created at
in Community support

I am curious if it is possible to have my system run until all work items have reached the end point of the system.

Say, for example, the model represents a bar that serves drinks. The bar opens at 7 and closes at 12 - hence the clock properties used represent this time.

The issue is when the clock reaches 12 the model stops running despite work items (the customers) still being in the system (which fails to reflect real life).

Is it possible to have this system continue running beyond 12 and stop when all customers reach the end point?



Comments

  • Was this answer helpful?


    0

    You could try running the simulation for 24 hours but add the time restriction another way. You can add shift patterns directly to the start point (under constraints on the additional tab) meaning no new customers could enter the bar after 12 but existing work items/customers can still continue to move through the system.

  • Was this answer helpful?


    0

    @Matthew thanks for the help. I will look into doing this

  • Was this answer helpful?


    0

    Just put a workcenter just before the exit point and test if the clock is past the closing time and if it is, then check to see if the number of items that entered the system is the same as the number of items that have been processed by this workcenter and if it is, just STOP the simulation at this point to collect the statistics.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Attach file
Attach image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file