Timothée GROS
Timothée GROS

Reputation: 3

How to define the size (dimension) of an agent on a conveyor

I am quite new with Anylogic. I am trying to model a simple conveyor system. I would like my conveyor to accumulate until the conveyed objects touch each other.

I have set the "gap" parameter of the conveyor to zero, but the objects accumulate with a pitch of (apparently) one meter ? Am I missing something ?

Please have a look to the model: https://cloud.anylogic.com/model/3af9fc14-8677-4171-9191-52614703bef6?mode=SETTINGS

Upvotes: 0

Views: 801

Answers (2)

Amy Brown Greer
Amy Brown Greer

Reputation: 726

If you have a custom agent, you can set it to type Material Item (1). You can then set the dimensions at the class level (2), and AnyLogic gives you this nice visual aid to see how big your item is (3). This visual is nice, because then you can draw your shapes for animation purposes to match the size.

enter image description here

This approach would be for components that do not change in size, like pallets or consistent parts in a manufacturing environment. For material items that have varying sizes, like boxes in a DC, I would probably use the source solution Ben suggested.

Upvotes: 1

Benjamin
Benjamin

Reputation: 1

You can set the size of your agents in several places. Best one for you is likely in the Sourceblock when you create your object agents. Tick the "change dimension" tickbox as below:

enter image description here

In your conveyor, you can override/adjust the length again if you like: enter image description here

Upvotes: 0

Related Questions