- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found this problem while going through Flexsim tutorial part 3. (FlexSim In-Depth Tutorial: Part 3 | FlexSim 52:40 ~ )
In the video, he chooses to assign two numeric resources to one token's label and then release the first resource by choosing "First Acquired" for Resource(s) to Release property of Release activity. The video doesn't involve execution.
It didn't work and I read
"Multiple numeric resources can also be acquired and assigned to the same label. (...) not guaranteed that the resources will be released in the correct order when using pick options like First Acquired and Array/Range of Resources. To ensure the correct resource is released you can pass a reference to the Resource shared asset into the Resource(s) to Release property."
from the documentation.
So I put getstat(getactivity(processFlow, "Resource: Cutting"), "Output", STAT_CURRENT, current) for Resource(s) to Release.
I expected this to release only the resource acquired from Resource: Cutting, while leaving the other numeric resource acquired by the same token untouched.
The following screenshots show the 1st, 2nd, and 4th tokens, respectively, at the Delay: Polishing activity. They show unexpected Release behavior.
The 4th token keeps the first acquired resource permanently, so the model practically stops at this point.
Solved! Go to Solution.