question

Oscar C13 avatar image
0 Likes"
Oscar C13 asked Nathan B14 commented

Do an action every x time

Hi!
In the attached model I want that the operator go to BasicFr1 every 5 seconds. I think it works, but i don´t want it to if you are already executing another action (load or unload).
I`d rather you finish what you are doing and then go to BasicFR1.
Any ideas?
I have tried with zones but it failed away.
Ejemplo25_10.fsm

FlexSim 21.2.1
processflowtime
ejemplo25-10.fsm (39.8 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.

Nathan B14 avatar image Nathan B14 commented ·

Hi @Oscar C13 was Felix's answer helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

If you use the "Create Task Sequence" activity to add the load and unload tasks to a sequence instead of as individual tasks, the operator will not start the travel task to the BasicFr1 until the task sequence is finished. This is marked by the "Finish Task Sequence" activity.

ejemplo25-10_tasksequence.fsm

https://docs.flexsim.com/en/21.2/Reference/ProcessFlowObjects/TaskSequences/CreateTaskSequence/

Another feasible solution might be to use the "On Resource Available" trigger on the operator (see triggers tab in its properties). There you can define a "home location" it should travel to when it is not currently busy.

ejemplo25-10_trigger.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.