question

Adil M avatar image
0 Likes"
Adil M asked Felix Möhlmann answered

Decide based on status of combiner

I want the operator 3 to pick up the pallet once they are ready and load it into the truck, which the model is doing right now. But once unloaded into the truck I want Operator 3 to take one of 2 decisions. If there is another pallet available to load on the trailer then the operator should do that , if not, then the operator should go to Queue 9 and take an empty pallet and place it on the location which is available to take a pallet amongst the three locations next to the conveyor( This would always be true since a pallet space was just made by the same operator). Once both conditions are not true I want to operator to keep checking when the next pallet is ready to load into the truck.


I was trying to add a decide function after the loading is completed into the truck but wasn't sure how to check the status of the 1st condition in the decide function. Truck Loading model_6 Scenario A.fsm


Also, what if I wanted to do this for both side of the conveyor instead of just one side. Since I have different process flows, would I need to use resource and acquire resource where operator 3 is the resource?

FlexSim 24.0.2
queuecombinerdecide
· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

We already answered the question about using the same logic for both sides here.

I would have the jobs push to a list and then have the operator pull from that list (in order of priority)

Alternatively use task sequences for your jobs and have the default priority logic decide which should be done next.

0 Likes 0 ·
Adil M avatar image Adil M Jason Lightfoot ♦ commented ·
This does not answer my question about determining when to do the first action vs the second action using decide
0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

You don't need a Decide activity. Pallets on other combiners will be moved by the additional tokens created by the Event-Triggered Source. And every time a pallet gets removed from a combiner it will need replenishment.

So this isn't a question of what to do next, but of when to do the one possible task (replenishing the combiner). As Jason suggested, you can just make these two separate task sequences and give the first task a higher priority. Between mulitple pending task sequences, the operator will then first do those with a higher priority.

truck-loading-model-6-scenario-a-fm.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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