ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 04-29-2010
Frans Zeng Frans Zeng is offline
Flexsim User
 
Join Date: Apr 2010
Location: Wuhan, China
Posts: 28
Downloads: 16
Uploads: 0
Thanks: 17
Thanked 1 Time in 1 Post
Rep Power: 123
Frans Zeng is on a distinguished road
Question How to transfer a flowitem from a taskexecuter-team to another taskexecuter-team?

Hi, everyone
I have a system I am modeling, which is composed of the following objects: a source, a team of six transporters, a team of two cranes, another team of four transporters, four processors and a sink.

The system will run in the following sequences:
1. The source generates a flowitem,
2. Select one idle transport from the first transport-team, and use it to bring the flowitem to the unload location,
3. Similar to Step 2, select one idle crane from the crane-team, and let this crane load the flowitem and pass it to another unload location,
4. Select one idle transport from the second transport-team, and this transport picks flowitem to processor.

In Step 2, 3 and 4, there would be a case that a flowitem is transferred from a taskexecuter-team to another taskexecuter-team, which is partly similar to KelvinHo’s scenario (“send a flowitem from a mobile object to another mobile object”), but this model is much complicated. I do not know how to solve this problem.

I know Tom David uses coordinated tasksequences (in “Vehicle to Vehicle Transfer” model) to model a flowitem transfer from a taskexecuter to another taskexecuter, but it seems that this solution doesn’t work in my model. When a proxy task is inserted into a tasksequence, for example, TASKTYPE_UNLODE, the unload station should be specified, but my unload station is not defined/unique, which is one member of a team, thus it couldn’t be specified.

If you know how to transfer a flowitem from a taskexecuter-team to another taskexecuter-team, could you please let me know? I really appreciate your help in advance.
  #2  
Old 04-30-2010
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Sounds very interessting, that there will be no unloading/loading station between the two taskexecuter-teams. The real system would be very interessting.
But to your problem:
This way you don´t only need a task sequence for unload/ load the item directly to another taskexecuter, but the information to which. Therefor you need a specific logic, because by using tasksequences you will turn off the most options (for example of picklists) flexim does automatically. Purely is no overview which options you turn off.
__________________
Hemmi
  #3  
Old 05-04-2010
Danny Pavan Danny Pavan is offline
Flexsim User
 
Join Date: Aug 2007
Location: Work: Hamilton, Ontario, Canada
Posts: 34
Downloads: 30
Uploads: 0
Thanks: 70
Thanked 38 Times in 17 Posts
Rep Power: 179
Danny Pavan will become famous soon enoughDanny Pavan will become famous soon enough
Default

I hope the attached model addresses the question.

The code for the coordinated task sequence is on the message trigger of the queue. I didn't spend time making the model look nice so the task executers overlap at the exchange points.

Danny
Attached Files
File Type: zip MultiTECoordinatedTaskSequence.zip (85.8 KB, 225 views)
The Following 3 Users Say Thank You to Danny Pavan For This Useful Post:
Tom David (05-04-2010)
  #4  
Old 05-05-2010
Frans Zeng Frans Zeng is offline
Flexsim User
 
Join Date: Apr 2010
Location: Wuhan, China
Posts: 28
Downloads: 16
Uploads: 0
Thanks: 17
Thanked 1 Time in 1 Post
Rep Power: 123
Frans Zeng is on a distinguished road
Default

Danny, thanks for your posting!

I tried to solve this problem by place an additional queue between two TEs(TaskExecuters, including Transporter, Crane, Operator, et al.), and modified the flow as: One member of Transporter team1 -> Queue1 -> One member of Crane team -> Queue2 -> One member of Transporter team2.

I wonder whether this solution can work well in my model, but I am sure that it's not a satisfied solution. Also, it makes my model much complicated by adding so many additional queues in.

Last edited by Frans Zeng; 05-05-2010 at 06:28 PM.
  #5  
Old 05-05-2010
Frans Zeng Frans Zeng is offline
Flexsim User
 
Join Date: Apr 2010
Location: Wuhan, China
Posts: 28
Downloads: 16
Uploads: 0
Thanks: 17
Thanked 1 Time in 1 Post
Rep Power: 123
Frans Zeng is on a distinguished road
Default

New problem emerged from the additional queues.

Because the queue is virtual, the flowitem can't stay in it. In other word, flowitem won't stay in queue even one second, and it will exit immediately after entrance.

Thus I want to set the "staytime" attribute of all queues to zero, but I don't know how to do this.

I really appreciate your help in advance.
  #6  
Old 05-05-2010
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

You can´t set a maximum staytime in a queue. The item leaves the queue as soon as it can. If you want to set the staytime in queue to zero you have to give the item the way to go. This must be open and not blocked. I think your problem is, that the item stays in queue until the transporter arrives to load it up?
__________________
Hemmi
  #7  
Old 05-09-2010
Frans Zeng Frans Zeng is offline
Flexsim User
 
Join Date: Apr 2010
Location: Wuhan, China
Posts: 28
Downloads: 16
Uploads: 0
Thanks: 17
Thanked 1 Time in 1 Post
Rep Power: 123
Frans Zeng is on a distinguished road
Default

Sebastian,
I am sorry if the description seems to be confused.
I post the model and maybe it will help you to understand the scenario.

In my model, the VirtualQueue1~4 don’t exist in the reality, so I want the flowitems to exit from them immediately after entrance.
Take example for VirtualQueue1, if the crane is not available at this moment or is not dispatched to load the flowitem transferred by Transporter1, the item will not enter VirtualQueue1, and it will stay or be blocked in Transporter1. Once the item enters VirtualQueue1, the crane will load and bring it to next station subsequently.
Attached Files
File Type: zip multiTESample.zip (33.5 KB, 190 views)
  #8  
Old 05-11-2010
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

I´m sorry but can´t have a look into your modell because actually I don´t got any working hardware. Will give it a try on wednesday evening or probably thursday. Hope this doesn´t take to long for you ? It really isn´t possible for me to solve the hardware problem faster.
__________________
Hemmi
  #9  
Old 05-12-2010
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Ok, I believe I understood what you want to do. Your Crane should unload the Transporter, transport the item and load it to another Transporter anywhere else? This way you have to realize, that the crane and the transporters meet at one location. The loading /unloading szenario wouldn´t be a problem with Task Sequences. But your problem was solved allready.

There is a model of Tom David. Here he realized the loading szenario from one Task Executer to anotherone.
http://www.flexsim.com/community/for...do=file&id=205

Purely I can´t give you more hints, because I still got problems with my hardware. But the model of Tom David will help you. And as I know him, he explained what he has done. This will make it possible for you, to understand how he made it work.
In your first thread I understood the problem another way, that you want a logic behind the task executers where they allways should be called randomly or even if there is anyone free.
__________________
Hemmi
The Following User Says Thank You to Sebastian Hemmann For This Useful Post:
Frans Zeng (05-15-2010)
  #10  
Old 05-12-2010
Esther Bennett Esther Bennett is offline
Flexsim User
 
Join Date: Mar 2008
Posts: 115
Downloads: 27
Uploads: 0
Thanks: 103
Thanked 116 Times in 50 Posts
Rep Power: 271
Esther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to all
Default

Hello Frans,

I have taken a look at your model and have some suggestions that might make it work:

First of all: connect your teams with multiple members to a dispatcher.

Furthermore I would go at it like this:
On the OnCreation Trigger of your source(s) create a task for the dispatcher of the first team. Include the task TASKTYPE_FRLOAD, item, source to pick up the item at the source. Add a second task TASKTYPE_TRAVEL, to travel to the node of your transfer location (i.e. NN4).
On the OnArrival trigger of the pickup location, create a new task for the crane to pick up the item (TASKTYPE_LOAD) and a second task TASKTYPE_TRAVELTOLOC to travel to the second transfer location (i.e. NN5 ).

Create a similar task for the dispatcher of the second team to pick up the item at NN5 and bring it to the Processors. This way you don't need any queues.

Note that if you create a task at the OnCreation trigger of the source without any restrictions, the item will always be picked up from the source. If you don't want that, you have to set some restrictions to pick up the item from the source.

Hope this will help you reach your goal.

Esther
The Following 2 Users Say Thank You to Esther Bennett For This Useful Post:
Sebastian Hemmann (05-17-2010)
  #11  
Old 05-15-2010
Frans Zeng Frans Zeng is offline
Flexsim User
 
Join Date: Apr 2010
Location: Wuhan, China
Posts: 28
Downloads: 16
Uploads: 0
Thanks: 17
Thanked 1 Time in 1 Post
Rep Power: 123
Frans Zeng is on a distinguished road
Default

Sebastian and Esther, thanks for your replies, I appreciate them!
I tried to solve my problem by using Coordinated Task Sequences, and it seems to work fine.
  #12  
Old 05-20-2010
Frans Zeng Frans Zeng is offline
Flexsim User
 
Join Date: Apr 2010
Location: Wuhan, China
Posts: 28
Downloads: 16
Uploads: 0
Thanks: 17
Thanked 1 Time in 1 Post
Rep Power: 123
Frans Zeng is on a distinguished road
Default

Hi, Esther
I have bulit a model accroding to your ideas, and wrote a coordinated task sequence on the OnArrival trigger of one of the pickup location (see NN2 in my model).
Now I wonder why the coordinated ts on the OnArrival trigger of NN2 will never be generated.
Attached Files
File Type: zip OnArrivalTriggerProblemOfNN.zip (48.7 KB, 175 views)
  #13  
Old 05-20-2010
Tom David's Avatar
Tom David Tom David is offline
Flexsim User
 
Join Date: Aug 2007
Location: Schwaebisch Gmuend, Germany
Posts: 430
Downloads: 157
Uploads: 47
Thanks: 486
Thanked 450 Times in 233 Posts
Rep Power: 520
Tom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant futureTom David has a brilliant future
Default

I had a look into your model and in the tree.
In Transporter1 are two nodes called tasksequence. I guess they got generated because of bad pointer. Delete these two nodes and have a look. I guess, now it is working.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions."
The Following 2 Users Say Thank You to Tom David For This Useful Post:
Frans Zeng (05-23-2010)


Thread Thread Starter Forum Replies Last Post
Taskexecuter state "blocked"? Tom David Q&A 4 03-09-2012 12:56 PM
2 Teams of Operators, 1 Team Helps Jamie Santa Ana Q&A 1 08-07-2009 12:57 PM
TaskExecuter should unload more then one item...How? TilmanDHL Tips and Tricks 1 01-28-2009 01:54 AM
Need help urgently - model with multiple lifts (taskexecuter) chrisquek Q&A 7 07-11-2008 07:50 PM
Operator Team David Chan Q&A 5 05-01-2008 11:58 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.