question

Joey A avatar image
0 Likes"
Joey A asked Felix Möhlmann commented

Release Resource not releasing

Hi,


I am having trouble getting my resource to release in the attached model. After reading the "Release Resource" page on the flexsim docs I'm really confused why it is not working. I have a feeling it is due to the way I'm labelling items in the acquire resource section but I'm not sure what that could be.

Background: I am trying to release the token.FL (forklift) from the flow item (orange pallet) after i put it into an AGV queue. Below are 2 screenshots. the first is my acquire resource acitivity and the 2nd is the Release Resource Activity. Can you show me what changes i need to make to get the release activity to reference my resource label correctly?

acquire-resource


release-resource.png


Bonus Question: my token stops in the "Push to List" Activity. Is that because the token still has a resource associated with it or is something else going on?

Thank you!

Joey

Release Resource help.fsm

FlexSim 23.0.5
release resource
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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

You are overwriting the "FL" label with the task sequence in the Create TS activity. So you can't return the resource since the label now holds different data. Use a different name for the task sequence (and change the subsequent activities accordingly.

1711523213903.png

By default a token will stay in the Push to List activity until the value that they pushed to the list is pulled (giving you the opportunity to assign the 'puller' to a label). If you want the token to continue immediately, use a combination of the Use Max Wait Timer and Keep On List On Early Release options.

1711523305080.png


1711523213903.png (16.8 KiB)
1711523305080.png (9.0 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.

Joey A avatar image Joey A commented ·

Hi,

thank you for the response! That makes sense that I'm overwriting a label value.

I'm still having an issue with the release resource even after i changed the "assign to" from token.FL to token.TaskSequence. I updated the remaining process steps in the task sequence to reference the token.TaskSequence but I'm still not getting the resource released. I've tried different combinations of token.FL, token.TH, token.TaskSequence and even tried to just use the "Last Acquired" to avoid needing to reference a specific label.

Do you know why my model still isn't working?

Joey

Release Resource help.fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Joey A commented ·

"token.FL" works for me.

release-resource-help_1.fsm

0 Likes 0 ·