question

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

AGV stop at area

Otto 1500 simulation test.fsmI am making a simple simulation of an AVG running freight from a point to another point in a warehouse. I am needing it to stop at designated stop areas before proceeding. How can I halt an AVG in a spot for a certain amount of time before it proceeds.



FlexSim 22.2.3
agv
5 |100000

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

Kavika F avatar image
1 Like"
Kavika F answered Jason Lightfoot commented

Hey @Chandler S, one thing you could try is using a Control Point (CP) and Process Flow (PF). Add a CP on the path where you want your Task Executer (TE) to stop.


Then add some PF logic. Spawn a token when the TE arrives at the CP (use the OnPreArrival trigger). Then use a Custom Code block to stop the TE. Have another one to resume the TE. Put whatever logic you want in between those two (I simply put a 10 second delay).

1670363931297.png

You can checkout the logic in this model: otto-1500-simulation-test_1.fsm


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

Chandler S avatar image Chandler S commented ·
I am trying to do this in the process flow. I am seeing the process working when the AGV goes over the control point, but the vehicle is not stopping. The delay starts, but the vehicle does not stop


0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Chandler S commented ·
Can you post your updated model?
0 Likes 0 ·
Jonah K avatar image
1 Like"
Jonah K answered


You can create this logic with task sequences. Make an event triggered source with a Create TS, Delay, Finish TS and Sink.1670365411761.png

For the source, the event will be On Pre-Arrival at the control point. Assign a taskExecuter label to each token.

1670365999441.png

In Create TS, the task executer will be token.taskExecuter. Then the preemption will be Preempt Only.

1670366056915.png



Attached is a simple demonstration model:

basicagvJK2.fsm


1670365411761.png (21.4 KiB)
1670365999441.png (38.7 KiB)
1670366056915.png (36.9 KiB)
basicagvjk2.fsm (49.0 KiB)
5 |100000

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