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, 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 07-20-2007, 12:33 PM
Bremen Jurgen Bremen Jurgen is offline
Member
 
Join Date: Jul 2007
Location: Bremen, Germany
Posts: 1
Exclamation How to set prioritize in a storage bin thru VL in Simul8?

Hi, I try to set the checkbox-settings of a storage bin with VL but I canīt find out how - I have search in the help but it was not mentioned. The settings I need to set is Prioritize and FIFO/LIFO!
Hope someone can help me out!

Thanks,
Jurgen
Reply With Quote
  #2 (permalink)  
Old 07-20-2007, 03:25 PM
ewilliams ewilliams is offline
Moderator
 
Join Date: May 2007
Location: Detroit area, Michigan, U.S.A.
Posts: 50
Send a message via Skype™ to ewilliams
Default Dynamic control of Storage queueing discipline

Greetings. I am unaware of any method of directly controlling whether a Storage is FIFO or uses a Label to prioritize (e.g. switching a Storage from one discipline to the other during a run) via Visual Logic. I am pessimistic that such a method exists because none of the 18 Properties of a Storage accessible to a VL Set statement seem to pertain to which discipline to use (but I am undertaking an investigation of this possibility). Hence, I suggest the following approach: (1) Create the Storage and set it to prioritize incoming work items by Label X. (2) Create an Information Store Y and arrange that if it equals 1, the Storage should prioritize by label X, but if it equals 2, the Storage should use FIFO discipline. Y can then be changed by VL as desired to specify or switch the discipline the Storage will use. (3) When work items enter the model, set their label Arrived to the current simulation time. (4) Just before work items arrive at the Storage, they should execute VL which checks the value of Y. (4a) If Y = 1, set X to the urgency the work item should have, which is presumably in some other Label of the work item. (4b) If Y = 2, set X to 100000-Arrived (where 100000 represents a number longer than the simulation running time in time units used). Then, the earlier a work item arrived, the larger Y will be, as desired for mimicking FIFO discipline. (For LIFO, set X to Arrived without the subtraction.) Hope this helps!
__________________
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

vB 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 12:09 PM.



Content Relevant URLs by vBSEO 3.0.0