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 07-08-2012
zhang xin zhang xin is offline
Flexsim User
 
Join Date: Dec 2008
Location: China
Posts: 136
Downloads: 147
Uploads: 0
Thanks: 81
Thanked 6 Times in 6 Posts
Rep Power: 150
zhang xin is on a distinguished road
Default 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  
Old 07-08-2012
Vin Low Vin Low is offline
Flexsim User
 
Join Date: Jun 2012
Posts: 10
Downloads: 1
Uploads: 0
Thanks: 2
Thanked 1 Time in 1 Post
Rep Power: 96
Vin Low is on a distinguished road
Default 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


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.