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 04-20-2009
Alistair Smitheman Alistair Smitheman is offline
Flexsim User
 
Join Date: Aug 2007
Location: Nottingham, England
Posts: 43
Downloads: 6
Uploads: 0
Thanks: 21
Thanked 1 Time in 1 Post
Rep Power: 157
Alistair Smitheman is on a distinguished road
Default Recycling

A little of bit of guidance is required.

I have sources that is continually creating flowitems and as such appear to slow down the model. I have been using the destroyobject function however the consensus on here seems to be against that.

So what I want to know is that is there a way of forcing an source to recycle an item if the output is blocked.

OR

Do I put a sink to each source and get the source to send any objects to the sink when blocked and get the sink to do the recycling.
  #2  
Old 04-20-2009
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

Alistair,

Creating flow items cost time. If they can't be taken from a recycle bin it takes even more time because memory has to be allocated and filled. If the item exists, the source can simply take that and send it out again.

If you want to recycle or not has to be entered on a sink or on a combiner (if applicable). The source automatically tries to recycle if possible. And it is only possible if somewhere else you have entered that flowitems should be recycled.

If you want to have a source that produces in a fixed rythm but can not always get rid of it's production, using a sink is a good way to go. If you want to destroy the object, use recycleitem instead of destroyobject.

You will find that it speeds up your models quite a lot if you recycle. especially if you create large amounts of products.

1 piece of warning, if you start with recycling, make sure that all your labels are reset and itemtypes are correct when the items enter your model again, because you can get very strange results otherwise that are quite difficult to find. (experience has taught me)
The Following 2 Users Say Thank You to Steven Hamoen For This Useful Post:
Scott Mackay (10-07-2009)


Thread Thread Starter Forum Replies Last Post
Recycling Flow Items Joe Allen Q&A 1 09-16-2008 03:57 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.