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 > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 12-08-2011
Michael Herfert's Avatar
Michael Herfert Michael Herfert is offline
Flexsim User
 
Join Date: Nov 2008
Posts: 3
Downloads: 11
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Michael Herfert is on a distinguished road
Default How to sort items in a transporter

Hello community,

we have a problem with a small modell. We can´t find a solution.

Describtion:
The model includes 3 sources, which creates 3 different labels. We need the label to send the Items into the right queue. In the example file (see attachment) we control that with an pull requirement.

Problem:
In the attached file, the transport traveled first to queue 8, then 7 and last to queue 6. How can I sort the label on the transporter, that he will going to queue 6 first.

Our solution:
First, we has tried to sort the label in the queue. We used the trigger "on exit". - problem persists
In the next step, we wanted to sort the label in the trigger "load" into the transporter. - problem persists

Thanks for answers.
Attached Files
File Type: fsm Label_HS_Test.fsm (34.9 KB, 139 views)
  #2  
Old 12-08-2011
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

Hi Michael,

please have a look into Queue 5. I'm using the flow control and "sent to port" option to control the material flow. I removed the code from the other queues.

I hope this is useful to you.


Greetings

Carsten
Attached Files
File Type: fsm Label_HS_Test_CS.fsm (34.7 KB, 128 views)
The Following User Says Thank You to Carsten Seehafer For This Useful Post:
Michael Herfert (12-08-2011)
  #3  
Old 12-09-2011
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Wink Changing the unloading order of loaded items

Hi Michael,

if you still want to change the order of the unloading process I have attached a small model.
The code is written mostly in the Onload-trigger of the transporter.
First the current active tasksequence ist getting a new priority, which is higher than any not started tasksequence.
The following code checks if the current loaded item is the last. It is the last if there isn't any loading capacity left or there isn't any not-started tasksequence in the tasksequencequeue.
Then is a message sent. OnMessage a preempting tasksequence is dispatched. It consists only of a delay task with no delay time. But that is enough to move the currently active tasksequence back in the tasksequencequeue.
Then all tasksequences are in the queue and the QueueStrategy choose the tasksequence of the highest priority to be executed next.

Jörg
Attached Files
File Type: fsm SortBegunTS-jv.fsm (34.4 KB, 395 views)

Last edited by Jörg Vogel; 12-03-2014 at 02:49 AM.
The Following User Says Thank You to Jörg Vogel For This Useful Post:
Michael Herfert (12-21-2011)
  #4  
Old 12-21-2011
Michael Herfert's Avatar
Michael Herfert Michael Herfert is offline
Flexsim User
 
Join Date: Nov 2008
Posts: 3
Downloads: 11
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
Michael Herfert is on a distinguished road
Default

Hello Mr. Seehafer and Mr. Vogel,

many thanks for your replys. We found a solution for our problems with a mix of both example models.

Merry Christmas and a happy New Year.
Kind regards
Michael Herfert
  #5  
Old 01-03-2012
FlorianK's Avatar
FlorianK FlorianK is offline
Flexsim User
 
Join Date: Jan 2011
Location: Erfurt, Germany
Posts: 27
Downloads: 10
Uploads: 0
Thanks: 16
Thanked 3 Times in 3 Posts
Rep Power: 115
FlorianK is on a distinguished road
Default Use UnLoad-Trigger

Hello all together,

fo me it is a very interessting topic because i'm trying to simplify my self created milk run model.

Now I had some time to have a look at and I think there is a much easier solution.

If you have a look at the Unload-Trigger, you can find the option "Unload all items intended for this station". I used this comand in the sample model and removed all sorting and other coding and it worked well.

Is there anything what I have to look for? To be honest: It seems to easy for me

Greetings,
FlorianK


Thread Thread Starter Forum Replies Last Post
Reversing a Transporter Nischith Kashyap Q&A 3 06-15-2011 01:51 AM
Stop a Transporter Nischith Kashyap Q&A 1 02-24-2011 03:05 AM
Merge Sort Virtual Length John Behrends Q&A 1 12-13-2010 02:30 AM
Sort a picklist for picking from a rack Michael Pohl Tips and Tricks 0 09-30-2009 02:28 AM
Operator not unloading items before picking up priority items Howe Chiat Cheng Q&A 2 05-28-2008 02:05 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.