0
votes

i'm new to AnyLogic and i started using it for a restaurant operations simulation. Right now i've figured out how to use the pedestrian library to simulate customers coming into my restaurant and go to attractors placed around the dining tables and make them stop there for a period of time. However, i need help assigning a few waiters who go to each of the customers at least once after they have "sat down at their seats" (or simply means reaching and stopping at the attractors). i cannot figure out whether i can keep using pedestrian library or i have to use another library like a process handling library or create new agents as i am not familiar with the software. any help is much appreciated!

attached below are screenshots of the model and the blocks i currently have done:

model: https://imgur.com/a/3Sumwu8 blocks: https://imgur.com/a/gKD5VSB

1

1 Answers

0
votes

I assume there are a lot of ways to do this... Normally you would use waiters as resources, but I think you can't make resources behave like pedestrians if you mix it with the Process Modeling Library... If you can do it smoothly maybe someone will answer it

What you can do is something like this: waiters and customers On this model you have a separate flow for the waiters, who are your resources and you have to use some JAVA to seize the waiters for a particular table and allow them to do something... do what? I don't know, that depends on your model.

This is just a guideline for one possible solution but there are a lot of implications on how to actually implement it correctly.