Relative Content

Tag Archive for anylogic

Unbatch block fails to extract agents after the release block

In my AnyLogic model, I have a factory which produces 100 Products (of class Product). The batch block packs these 100 boxes into one Inventory agent (of class Inventory). As it can be seen from the picture AnyLogic Model, the Seize block seizes one truck from the resource pool. This truck is supposed to attach batched Inventory agent from nodeShippingArea to nodeShopStorage. However, after the release block, when Inventory enters the unbatch block, the unbatch block fails to extract previous 100 products. Instead it outputs 1 agent of type Product. I assume the problem lies within the Seize/Release blocks, because when I place the unbatch block before the seize block, everything works correctly. However, I need to unbatch the inventory block after it reaches the nodeShopStorage. What can be the problem here?

Java in Anylogic

Can we edit the java code once the model is built in Anylogic?

How to move (MoveByTransporter) multiple agent by one transporter?

I’m creating a bicycle factory simulation, where I’ve set up a source that generates 5 agents, and as they are processed(sink), 5 agents are simultaneously generated in source:frame1_5. I want to know if I can use a transporter fleet where a single forklift can transport these 5 agents at once to a pallet Rack and store them there. enter image description here