question

Francisco P3 avatar image
0 Likes"
Francisco P3 asked Benjamin W2 commented

Decide Help

Decide Test.fsm

Hi,

I searched in the forum and read the manual but could not find a solution myself. In the attached model, the Step2 should be a decide but is not working. What should happen is: the person goes to Step2 for 7 second, and then, if one of the "floorspots" is empty, go there for the rest of the 30 second. But if neither of the "floorspots is empty, then stay in Step2 for adittional 30 seconds.

As you can see in the model, there are 3 issues. (1) the logic is not correct, (2) there are multiple persons in the same place, and (3) some persons do the 30 seconds in Step2, and then do it again in "floorspots (and that should be the decide).

Please help.

FlexSim 20.1.2
flexsim 20.1.2decide
decide-test.fsm (56.8 KiB)
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

Benjamin W2 avatar image
2 Likes"
Benjamin W2 answered Benjamin W2 commented

Hi @Francisco P3,

I think the best way to handle this is by utilizing the max wait timer on your acquire activity. The process flow will look something like this:

The key here is the Acquire FloorSpot activity:

Note that the person must acquire a FloorSpot before releasing Step2.

decide-test.fsm


1590704744908.png (74.0 KiB)
1590704787100.png (66.0 KiB)
decide-test.fsm (52.5 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.

Francisco P3 avatar image Francisco P3 commented ·

Decide Test 3.fsm

Hi @Benjamin W2,

Thanks for the fast response. The attached file is using your idea (max wait timer) but revising the flow to have what I pursue (the flow required). The problem now is that the first group of people make the correct flow as required, but the rest of the persons are stuck in the "Step1". What am I missing?

Thanks again.

0 Likes 0 ·
decide-test-3.fsm (54.5 KiB)
Benjamin W2 avatar image Benjamin W2 Francisco P3 commented ·

@Francisco P3, you need to connect your second "Release Step2" to the Step2 resource:

0 Likes 0 ·
1590787942272.png (22.9 KiB)
Francisco P3 avatar image Francisco P3 Benjamin W2 commented ·

Wow! Such a simple mistake. Thanks!

0 Likes 0 ·