I have a simulation model with following flow:
source -> seize -> delay -> release -> sink
In the release block, I want to configure the worker to go back to their home/base location only when there is no more agents from the source block.
I have tired 2 configs:
- Return to home location -> each time: In this case, each worker moves to their home/base location and then go to the source block (which makes sense)
- Return to home location -> in no other task: In this case, the worker gets stuck at sink node and does not move (either to their base node or to the source node)
How do I make the worker go to the source node if there are more source agents or go to their base node if there is no more agent in the source node?