question

MPeyman avatar image
0 Likes"
MPeyman asked MPeyman commented

Linked node waiting spot queue

Hi Dear All,

In the attached model, I want to consider that some nodes are link to each other for example the nodes of Queue 2 and 3 are linked together also nodes of Queue 7 and 8 are linked. so if vehicle1 take row 1 and goes to one of the Queue2 or 3 then if vehicle2 visited the queue1 and wants to visit queue 2 or 3, since vehicle 1 is still in the linked node should wait in one node like NN13 until vehicle1 get out of this link nodes, the same for the queue7 and 8 ( the NN13 is designed as a waiting spot). so the travel time of vehicle 2 might increased due to the delay. (I dont prefer to use the UseMaxWaitTimer option ) if it is the only option please let me know.

Thanks in advance.

peyman-flex-model_original.fsm

FlexSim 23.0.8
queuelinked nodewaiting spot
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

·
Jeanette F avatar image
0 Likes"
Jeanette F answered MPeyman commented

Hello @MPeyman,

Your Zone needed to be set to Global rather than Local. Since your Zone is being used in object process flows each object attached to the flow is an instance of the process flow. If you want the zone to work for both at the same time set it to Global rather than the zone working for each task executer separately.

With the Zone set to Global the task executers will not travel to the same destination while another is at it.

1704837889402.png

peyman-flex-model-original_1.fsm


· 18
5 |100000

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

MPeyman avatar image MPeyman commented ·

Hi @Jeanette F , Thank you for your answer. Now in the model if they have to visit same queue one of them will wait until the other finish his visit. but they wait if the node is the same. But, the things that I want to consider is a bit different lets explain in this way:


There are at least two operators (or vehicles), each with a set of tasks represented by nodes they need to visit in a specific sequence. For example, Operator 1 needs to visit nodes in the order 8-3-4-5-6, and Operator 2 needs to visit nodes in the order 4-2-6-3-5.

Some nodes are 'linked'. If an operator is visiting a linked node, the other operator cannot visit the other node in the linked pair. For instance, if nodes 2 and 3 are linked, and Operator 1 is at node 3, then Operator 2 cannot visit node 2. So, an operator must wait if their next node is either occupied by another operator or is part of a linked pair where the linked node is currently being visited by another operator. So it should wait on previous node or in the node between them.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ MPeyman commented ·
Then the partitions for the Zone need to based on this grouping instead of individual zones.
0 Likes 0 ·
MPeyman avatar image MPeyman Jeanette F ♦♦ commented ·
dear @Jeanette F, should I put the queues in different groups and then in Zone properties> more properties> partitions> partitions by, selecting the multiple groups that I created?
0 Likes 0 ·
Show more comments
MPeyman avatar image MPeyman commented ·

Dear @Jason Lightfoot , for the first part I did this: zonepartition.png

For the second one I didn't fully understand it

Also I did the script and the last step I did this:

lable-zonepartition.png

can you please let me know how the second one works? also how I would know which nodes are linked together?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ MPeyman commented ·

You needed to add a pointer label here to a linked queue. Use the sampler to point it to another object.

1705947193508.png

For those queues that are linked, delete the zone label that the script created (or revert to a version before you ran the script).

0 Likes 0 ·
1705947193508.png (6.7 KiB)
MPeyman avatar image MPeyman Jason Lightfoot ♦ commented ·

I did the modification but now when I compare the time, there is no difference between previous model and current. I set to see the same node.flex-model-original-modified3.fsm

0 Likes 0 ·
Show more comments

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.