ATTENTIONThis 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 |
#1
|
|||
|
|||
Information on rack options
Hi to all
I'm building a model in which I have a Rack. A batch having 50 Items enters the rack every day ( i.e. 86400 units of time). I would that 15 items for a day leave the rack, but i don't know as to set this option in the rack (I think I should set some option in "Minimum Dwell time" of the properties of the rack). I thank you for your help |
#2
|
|||
|
|||
You can do in this way ...
You have to set "Do not release items" in minimum dwell time and send a delayed message on reset trigger so that on message you release 15 items and send another delayed message from the rack to himself. Every message has a delay of 1 day so every day you release 15 items. |
#4
|
|||
|
|||
If simulation doesen't start I think it's because something on sending items to the rack doesn't work.
When you have a rack that can collect items set to not release items on it. Then on reset send a delayed message: senddelayedmessage(current, 86400, current,0,0,0); and on message trigger release 15 items and send another message: int number = min(content(current), 15); for (int ii = 1; ii <= number; ii++) { releaseitem(rank(current,ii)); } senddelayedmessage(current, 86400, current,0,0,0); |
The Following User Says Thank You to mbaccalaro For This Useful Post: | ||
Rachid Kolfin (04-28-2010) |
#5
|
|||
|
|||
Hi
I thank you for your help, but now I have another problem. In my model the items should leave the rack based on their ascending labelnum ( I have setted this option in the trigger of the rack "On dwell Time"). When I set the option you have me suggested the order in which the items leave the rack no longer being observed. How can I to solve this problem considering your option? Thank you so much. |
#6
|
|||
|
|||
If you set the value of this label before items entry into the rack, try to sort them as they enter by the value of the label.
Use the picklist option Sort by Labelnum in OnEntry trigger. In the for cycle i've written, items are released in order from the first one so if you change this order on ontry they will be released in that order. |
Thread | Thread Starter | Forum | Replies | Last Post |
Reports and Statistics Options | Jamie Santa Ana | Q&A | 5 | 12-05-2011 12:57 AM |
Moving Network Node Information into a Table | Brandon Peterson | Q&A | 2 | 02-15-2008 09:46 AM |
Dispay information on separate screen | Maurits Brandt | Tips and Tricks | 1 | 10-09-2007 02:23 AM |
Stop message with information (Debugging) | Tom David | Tips and Tricks | 0 | 09-20-2007 01:10 AM |