title: AnyLogic Batching agents i.t.o Weight
body: <p>How do I set the batch size i.t.o the weight I want to batch? I am currently simulating a potato plant.  And the potatoes(agent) all have their own weight due to the randomness of potatoes, but now I must batch them into 10Kg bags. The weight should just be over 10kg but not smaller, so it is going to be 9.9kg plus one more potato.</p>
  
  <p>The F1 help function suggests to use a customized Queue. But I do not know how to go forward with that option.</p>
  
  <p>Any help would be appreciated</p>