Anylogic, get the time a pedestrain is in a queue
I'm modeling a customer service office and are building a statechart of satisfied/unsatisfied customers.
How can I measure how long each customer (pedestrian) is in the pedService block?
I want to say that if the customer is waiting in the queue more than 5 minuts they are becoming unsatisfied. I tried to make the condition in the state chart like this:
main.pedService.delayTime() > 5;