PMC Forums  

Go Back   PMC Forums > Simulation > Simulation Analysis
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Simulation Analysis simulation software (Arena, AutoMod, Enterprise Dynamics, ExtendSim, PlantSim, ProModel, SIMUL8, WITNESS), input and output analysis, experimental design, optimization, simulation model verification and validation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-2011, 03:13 PM
vinc91 vinc91 is offline
Member
 
Join Date: Nov 2011
Posts: 9
Default Stock Entities and release only a percentage of them

Hello,

I would like to be able to stock some entities in one room (using the storage panel?), and when one special entity goes in this room, release a part or the entities previously that were in the room (using UNSTORE block??).
Can you please give me some advices to do this?

Thank you
Reply With Quote
  #2 (permalink)  
Old 12-02-2011, 03:21 PM
ewilliams ewilliams is offline
Moderator
 
Join Date: May 2007
Location: Detroit area, Michigan, U.S.A.
Posts: 218
Send a message via Skype™ to ewilliams
Default

If I understand your question correctly, I doubt the STORE/UNSTORE block pair will meet your needs. The "storage" those blocks work with is a virtual, conceptual storage useful for gathering performance statistics. Let us assume you want to put an entity in a physical "detention room" where it must stay until invited out by another entity. To do this, begin by using the HOLD block from the Advanced Process template. This HOLD should be of Type "Infinite Hold". To invite this entity out of detention, send another entity to a REMOVE block (also Advanced Process template). There it will remove the detained entity from the HOLD block (specifically, remove it from the Queue automatically associated with that HOLD block). Arena will conveniently gather performance metrics (e.g., average contents, maximum contents, average length of stay, maximum length of stay) relative to that Queue.
__________________
E. Williams, PMC
Reply With Quote
  #3 (permalink)  
Old 12-02-2011, 03:54 PM
vinc91 vinc91 is offline
Member
 
Join Date: Nov 2011
Posts: 9
Default

Thank your for your helpful answer. That helped me a lot.
I was wondering if you can release more than one item from the Hold block. I saw that we can choose the rank of the item to remove, but not the number.

Sincerly
Reply With Quote
  #4 (permalink)  
Old 12-02-2011, 06:38 PM
Hirotaro Hirotaro is offline
Senior Member
 
Join Date: May 2011
Location: Europe
Posts: 37
Default

It might be worthwhile to look into Pickup block from the Blocks Template. You can easily find information on that block in the Arena Help.

If it will not satisfy all the requirements imposed by the system you are modelling, I believe you should create a loop using Search and Remove blocks combined with some decision blocks(to decide uppon a quantity to remove at a given instance). Using these blocks you should get any flexible solution you need.
Reply With Quote
  #5 (permalink)  
Old 12-03-2011, 10:39 AM
ewilliams ewilliams is offline
Moderator
 
Join Date: May 2007
Location: Detroit area, Michigan, U.S.A.
Posts: 218
Send a message via Skype™ to ewilliams
Default

To my knowledge, only one entity at a time can be removed from a Hold Queue by a visit to a Remove block -- but the removing entity could cycle in a loop, repeatedly visiting the Remove block until all entities needing removal had been removed.
__________________
E. Williams, PMC
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Off
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:13 AM.



Content Relevant URLs by vBSEO 3.0.0