question

Hichem avatar image
0 Likes"
Hichem asked Ben Wilson commented

How to make the operator return after unloading on 2 ressources ?

I would like to be able to bring the operator back to its original starting position after finishing the tasks assigned to it without waiting to be called by processor 1, knowing that the operator travels from Processor 1 to Processor 2 then Queue 1 then back to Processor 1 Operator return.fsm

Thank you in advance.

FlexSim 19.0.0
operator
operator-return.fsm (37.1 KiB)
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Hichem, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Hichem commented

Please look into the unload trigger. There is an option to let the Taskexecuter travel to an object.

· 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.

Hichem avatar image Hichem commented ·

Yes, I have already tried this option, unfortunately, in my case I want the operator to unload the same item from processor 1 to processor 2 then processor 3 before returning to processor 1.


0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Hichem commented ·

There is a condition. You set a condition. You need something that you can compare with. You open the source code editor. You see in the header predefined variables. Here first three code lines. The header ends before a comment line something with containing "Picklist". In most cases you don't know what they do. Then you use a simple print command to print them to an output console.

print(Model.time, "On Unload of Operator");
print(current);
print(item);
print(station);

You open the output console under main menu Debug.You let run the model and watch the output console. You see the predefined variable correlates with the current output station. You compare variables in a condition.

Model.find("Source1") == station

Now you have your condition for your On UnLoad Trigger.

Travel_home_JV.fsm

0 Likes 0 ·
travel-home-jv.fsm (29.6 KiB)
Hichem avatar image Hichem Joerg Vogel commented ·

Thank you again.

0 Likes 0 ·