question

Andy avatar image
0 Likes"
Andy asked Andy commented

Resource available Sub Flow

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?

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

FlexSim 18.2.0
process flowsubflowresourcescranessub flow
f49pu.png (16.0 KiB)
· 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.

Isaac Litster avatar image Isaac Litster commented ·

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

1 Like 1 ·
tannerp avatar image tannerp commented ·

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.

0 Likes 0 ·
Andy avatar image Andy commented ·

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

0 Likes 0 ·

1 Answer

tannerp avatar image
1 Like"
tannerp answered Andy commented

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.

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.


· 1
5 |100000

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

Andy avatar image Andy commented ·

Thank you!

0 Likes 0 ·