question

Kuilin S avatar image
0 Likes"
Kuilin S asked Jason Lightfoot commented

How to write task sequence based on the crane scheduling?

Hello everyone,

Now I'm working on a specific problem. We need to call the crane block to Queue1 20 seconds after start processing, and wait for the completion of processing (the crown block is in the occupied state) to carry "Box" to Queue2. The Source generates an endless stream of orders, and each order is a task that generates the above sequence of required tasks, which are sent to the Dispatcher to assign a random crane (equivalent to the field dispatcher). I don't want to solve this problem based on process flow. I want to finish this TASK by writing TASKTYPE_, Please help me with the logic. Many thanks.

demo-craneTaskSequence.fsm

FlexSim 22.0.4
dispatchercranetasksequencemessage trigger
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

You could send a message to the processor for 20 seconds time after process starts (use the process time trigger) and in the message trigger call the crane over using TraveltoLoc task.

You could use a multiprocessor and have the processFinish of a 20second operation call the crane over.

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

Kuilin S avatar image Kuilin S commented ·

I tried the idea you said, but I can't guarantee whether the waiting crane and the handling crane are the same. I can't find the overall logic of this task sequence. I hope you can help me with more details. Thank you.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Kuilin S commented ·
You mean in the model you can't guarantee the same crane? Then store the reference to the crane you got to travel to the queue somewhere and use that in the generation of the task sequence to transport the item.
0 Likes 0 ·

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.