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
|
|||
|
|||
how to initialize a queue?
Dear all, I want to initialize a queue with 10 box, how to do it.
I tried "createcopy(node("/Tools/FlowItemBin/1/1",model()),model)" in the onreset trigger of the queue, but it seems that the flowitem cannot leave the queue when I run the model. any idea? thanks |
#2
|
|||
|
|||
Use a source
Hi,
You could connect a source to the queue and set the arrival style of the source to arrival schedule with the arrival time 0. That way, when you start the model, immediately, 10 flowitems will be created. Thank you, Vin Low |
The Following User Says Thank You to Vin Low For This Useful Post: | ||
zhang xin (07-10-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
Pulling from a Queue vs Sorting the Queue | Brandon Peterson | Tips and Tricks | 3 | 03-03-2010 01:27 AM |