question

Gavin Douglas avatar image
0 Likes"
Gavin Douglas asked Anna Lisa Dierking commented

resource release?

I want six tokens to grab six resource and then get batched into one token. No problem so far. At some point in the model, the single token, needs to pass back six resources, not just one. I know its just one token now but can you release six resources based on one token? I have tried everything. Being able to track the number of resources that make up a batch and then release that number comes up in every model I write. I have hacked my around the problem and hope there is a clean way of doing this.

FlexSim 17.1.2
resource release
· 3
5 |100000

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

1 Answer

Anna Lisa Dierking avatar image
0 Likes"
Anna Lisa Dierking answered Anna Lisa Dierking commented

I had the same issue recently.

In the attached example model each token acquires one resource. After that four tokens get batched to one token. I used the Label Aggergation to store the resource information of each token onto the token that is going to leave the batch activity.

Then I used the "Release All" function to release all the resources now stored on that one token. But the problem is that only one resource gets released. Is the "Release All" function not the right one to make this happen?


release-all.png (12.4 KiB)
release-all.fsm (19.7 KiB)
· 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.