question

Amanda Prado avatar image
0 Likes"
Amanda Prado asked Amanda Prado commented

Tokens in a zone to acquire just 1 resource

Hello All,


I'm trying to develop a model where I use the zone to limit the capacity of my task executor.

So, for example, two tokens enter my zone, the others wait outside it. I managed to implement this logic, and it's working fine.

The thing is, as soon as the tokens enter the zone (2 tokens, as I gave as an example), I need to acquire a resource that will transport these items to another point in the model. I can't think of a way to acquire just ONE resource that will transport the TWO boxes.

In my model, I'm acquiring 2 resources, one for each token, and that's not what I want.

I'm attaching the model up to the point where I developed it.


Thanks in advance.

FlexSim 24.2.2
agvacquire resourcezone
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Larissa Giotti avatar image
0 Likes"
Larissa Giotti answered Logan Gold commented

Hi, Amanda.

The suggestion is to insert a Batch after the Zone, to create a batch of tokens and in this case it is quantified by the token.Weight. In Label Aggregation, the weights will be added to arrive at the definition of the Batch Quantity and transform the item into an Array, this step is necessary for the following loading and unloading steps.

Other important properties to change are the Run Sub Flow including Assign Labels to Childrens, in this step to direct the boxes to the Subflow step, where we will add an Assign Labes, increase the Label Counter and later decide to validate the entry of all the boxes that make up the sum of the weight in the Batch.





I have attached the model with the suggestions presented to make it easier to view.

Adquirir apenas 1 recurso para todos os tokens da zone - Sugestao Batch.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Dhakshna avatar image
0 Likes"
Dhakshna answered Amanda Prado commented

· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.