Acquire Resource Blocking Tokens when resource not in use

Acquire Resource Blocking Tokens when resource not in use

sean_p1
Not applicable
4 Views
2 Replies
Message 1 of 3

Acquire Resource Blocking Tokens when resource not in use

sean_p1
Not applicable

[ FlexSim 20.2.2 ]

2020-11-2 Hellam laser-brake-weld Simulation.fsm33897-flexsim-acquire-blocked.pngHey all, I am having a small problem with an acquire resource that is not allowing tokens to pass through it.

Right now i have 4 different part numbers trying to access the same resource, and the 4 part numbers are split into 8 tokens. The Acquire works great with the first 4 tokens. then the second 4 just sit there requesting the resource, when it is not showing that it is in use.


Special thanks to @Regan Blackett in teaching me how to scale this job shop model during my training!

0 Likes
Accepted solutions (1)
5 Views
2 Replies
Replies (2)
Message 2 of 3

JordanLJohnson
Autodesk
Autodesk
Accepted solution

When you run the Laser Process, the token is being run with access only on the parent token. That's a fine option, but when you acquire the laser, that reference is being stored on the "resource" label, just like the operator reference. You need to rename one (or maybe both) of the labels used by the Acquire activities, so you can have a separate label for the operator and the laser.

Also, I noticed you are using getstat() in the Release Laser activity. I think you just want the "Last Acquired" option. Since you only acquire one laser per token, you can use that option to release that token.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 3 of 3

sean_p1
Not applicable

This has fixed my issue. I renamed the resource label for the operator to token.operator instead of token.resource. Thank you!

0 Likes