I'm modelling a call centre in AnyLogic. I have two agent types - calls, and call operators.
Each call operator has a variable that tracks the number of calls that they have answered, however I want this number to reset each day. The number of available resources changes according to a schedule, but units are preserved when capacity decreases.
Can anybody shed some light on how to go about this?
I'm currently trying to use an event that triggers at the end of every day, but I can't work out how to correctly reference each call operator individually.
CallOperator
agent type next to the resource pool(dummy code):
for (CallOperator currOp : myPopulationFromStep2) {
currOp.counter = 0;
}