title: AnyLogic Chat Call Center Model
body: <p>I am trying to model a Call Center with Chat communication and need your thoughts on this scenario. Real world scenario is that Customer Service Representatives[CSR] in Chat Call Center can service multiple customer chats at same time based on their capacity[integer value 1,2...]</p>
  
  <ol>
  <li>"Chat" Agent [source]</li>
  <li>"ChatAgent" resource unit with int parameters totalCapacity[default=3]</li>
  </ol>
  
  <p>Using a service, incoming "Chat" from source seizes a "ChatAgent" from a resourcePool[with resourceUnit "ChatAgent"]. In this model, a "ChatAgent" accepts only 1 "Chat" inside the service block.</p>
  
  <p>ResourcePool
  On seize: unit.totalCapacity--;
  On release: unit.totalCapacity++;</p>
  
  <p>But I couldn't model a scenario where 1 "ChatAgent" can service multiple customer "Chats" at a time based on their totalCapacity like in a real chat call center.</p>
  
  <p>Please advise on how I can configure this multiple agents to 1 resource seize/delay.</p>
  
  <p><a href="https://i.stack.imgur.com/vmbLT.png" rel="nofollow noreferrer">Updated Model</a></p>
  
  <p><a href="https://i.stack.imgur.com/A63Qt.png" rel="nofollow noreferrer">Updated ChatAgent Resource Structure</a></p>
  
  <p>Thanks,
  Shiva</p>