FlexSim Community Forum

FlexSim Community Forum (https://archive.flexsim.com/index.php)
-   Gripes and Goodies (https://archive.flexsim.com/forumdisplay.php?f=115)
-   -   Preempting TS for TE on network with TrafficControl (https://archive.flexsim.com/showthread.php?t=3020)

Paul Wiedeking 04-15-2015 12:08 AM

Preempting TS for TE on network with TrafficControl
Hi everybody

I want to model a warehouse system with AGVs switching
different levels via elevator. The warehouse is represented with
network nodes (all levels are connected via a vertical path where I
put the lift). To make AGVs switch levels I use coordinated
task sequences to load/unload them onto the elevator. However,
the network nodes in front of the elevator are connected to a traffic
control. The current traveltask of a TE is preempted (by the coordinated TE)
if the TE arrives at the elevator entry network node.

But this preemptation causes some troubles with the logic of the traffic control.
I also read about this in the help of the traffic control but I didn't find a way
to do it right yet. Any suggestens?

Or is it even better to use a different approach than preempting with coordinated TS
to achieve level switching via elevator?


RalfGruber 04-22-2015 02:32 PM

1 Attachment(s)
Hello Paul,

I personally have done a similar project in the past and I decided to cut the tasksequence in three parts:

1. From source to node at source level elevator
2. Elevator transport to destination level
3. From elevator node at destination level to destination object.

In the attached sample model you will find part 1 in the Request Transport field of the source, part 2 in OnArrival of NN2, and part 3 in OnMessage of the AGV.

The model is only good for one transport to show you the concept...therefore there is a UserEventConnect, which connects the AGV back to the first NN to be able to run the model again.

There might be other solutions I'd like to see as well.

EDITED: I just noticed, that the lift moves through the AGV. So the first NN needs to be in front of the lift and a coordinated TS might be useful to call the lift, move the AGV into the lift and move the lift to the upper level.

Best wishes


Paul Wiedeking 04-24-2015 01:01 AM

Hi Ralf,

thank you for in reply.
I think your approach splitting up the task sequence is
pretty nice. It is a little extra code but for me it seems clearer
than interrupting an existing sequence.

I will follow your way.

Thank you very much.


All times are GMT -6. The time now is 06:05 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.