Resource available Sub Flow

Resource available Sub Flow

andrea_to
Not applicable
405 Views
5 Replies
Message 1 of 6

Resource available Sub Flow

andrea_to
Not applicable

[ FlexSim 18.2.0 ]

Hi! I'm using 2 cranes and 2 operator as Shared Assets to work on 6 stations. And I'm using a Sub Flow to check if they're available. How could I write the logic to make this decision in the follwing sub flow?

13954-f49pu.png

Is the a better way to use this resources only when they have finished their previous Tasks and are available?

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

isaac_l1
Not applicable

Hi @Andrea TO

Without seeing how your model works exactly, it is a little difficult to understand how to write the logic. Would you be able to upload your model for me?

If your model contains sensitive information, you could post it to a new private question.

Or create a smaller sample model that duplicates the problem?

Thanks

Message 3 of 6

tanner_p
Not applicable

I'm not sure if this will help, but this is an alternative approach to deciding a resource's availability. Essentially, the token loops through the delay until it can be sent on to an acquire activity.

13963-alternative-decide-resource-available.png

0 Likes
Message 4 of 6

andrea_to
Not applicable

Thank you @Tanner Poulton, but what would write inside of the Decide activity? (The condition inside of the conditional decide for example)

0 Likes
Message 5 of 6

tanner_p
Not applicable
Accepted solution

Oh, I think I see what you're asking now. The token will not be able to acquire a resource until a resource is available. That's already built in to the software. So, for example, if I have one operator with many tokens wanting to acquire it, the tokens will wait until he is available before they acquire him.

13964-acquire-with-tokens.png

Summary: Unless you are wanting to divert to an alternate set of tasks or an alternate resource, you don't need to check for availability of a resource because the tokens will wait anyway.

Message 6 of 6

andrea_to
Not applicable

Thank you!

0 Likes