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 05-04-2011
Stefan Trabut Stefan Trabut is offline
Flexsim User
 
Join Date: Mar 2011
Posts: 29
Downloads: 12
Uploads: 0
Thanks: 34
Thanked 5 Times in 5 Posts
Rep Power: 115
Stefan Trabut is on a distinguished road
Default Constant content of queue (or CONWIP)

Hi,

Here's a simplified model: Source->Queue->(UseTransport tasksequence)->Sink

I would like the queue to contain at least 3 FlowItems (in order to keep busy 3 operators)



Solutions, which may make the model very slow are the following:

1) Have a queue with a big number of FlowItems generated at time 0 - so it never runs out of FlowItems

2) Have a queue with capacity 3 and a source generating FlowItems with inter-arrival time 0



Is there a way to use a command like createinstance() to generate FlowItems, or can a source generate FlowItems "on command"?

Thanks!
  #2  
Old 05-04-2011
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

Hi Stefan,

i would take the queues OnExit-Trigger to check the content. If the content is underneath a certain level, i would use the insertcopy()-comand to refill the queue.

Could this help?

Greetings,
FlorianK
The Following User Says Thank You to FlorianK For This Useful Post:
Stefan Trabut (05-04-2011)
  #3  
Old 05-04-2011
Stefan Trabut Stefan Trabut is offline
Flexsim User
 
Join Date: Mar 2011
Posts: 29
Downloads: 12
Uploads: 0
Thanks: 34
Thanked 5 Times in 5 Posts
Rep Power: 115
Stefan Trabut is on a distinguished road
Default

Hi Florian,

Yes, it helps, thanks. What I've forgotten to say is that the FlowItems have labels (& itemtype) which are generated randomly. This is done in the OnCreation trigger of the Source until now. I would like the new FlowItems' labels to follow the same distribution rules as the created ones.

I could displace the labels' setting to the OnEntry trigger of the Queue?
  #4  
Old 05-04-2011
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

I would do the label and item setting right after the insertcopy() comand.
You can label the Items with the same randomnes there like you do it on the source.
Futhermore I would create the Items directly in the Queue by using the OnExit-Trigger (see post before).

Greetings,
FlorianK
The Following User Says Thank You to FlorianK For This Useful Post:
Stefan Trabut (05-04-2011)
  #5  
Old 05-04-2011
Stefan Trabut Stefan Trabut is offline
Flexsim User
 
Join Date: Mar 2011
Posts: 29
Downloads: 12
Uploads: 0
Thanks: 34
Thanked 5 Times in 5 Posts
Rep Power: 115
Stefan Trabut is on a distinguished road
Default

-Labels' settings displaced to OnEntry trigger of the Queue
-Using insertcopy() command
Attached Files
File Type: fsm CONWIP.fsm (38.7 KB, 135 views)


Thread Thread Starter Forum Replies Last Post
Content Variance Congshi Wang Q&A 5 12-22-2010 06:25 AM
Implementig Conwip Control Congshi Wang Q&A 9 11-08-2010 10:09 AM
Pulling from a Queue vs Sorting the Queue Brandon Peterson Tips and Tricks 3 03-03-2010 01:27 AM
Starting content in the Queue Bartosz Misiurek Q&A 4 10-04-2009 02:25 PM
How to get interval average,max,etc of a queue content ? qin tian Q&A 5 02-14-2008 10:11 PM


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.